/* =========================
   HERO
========================= */

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 82px 0 165px;
  background: #fffdf9;
}

.hero-container {
  position: relative;
  z-index: 4;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 610px;
}

.hero-content h1 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4.8vw, 70px);
  line-height: 1.13;
}

.hero-content h1 span {
  color: var(--color-primary);
}

.hero-content p {
  max-width: 470px;
  margin-bottom: 34px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56vw;
  min-width: 720px;
  overflow: hidden;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 40%;
  background: linear-gradient(
    90deg,
    #fffdf9 0%,
    rgba(255, 253, 249, 0.95) 20%,
    rgba(255, 253, 249, 0.58) 54%,
    rgba(255, 253, 249, 0) 100%
  );
  pointer-events: none;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -5%;
  bottom: -100px;
  z-index: 3;
  height: 178px;
  background: #fffdf9;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .hero-section {
    padding: 64px 0 78px;
  }

  .hero-container {
    min-height: auto;
  }

  .hero-content {
    max-width: 560px;
  }

  .hero-image-wrap {
    position: relative;
    width: min(100% - 48px, var(--container));
    min-width: 0;
    height: 420px;
    margin: 44px auto 0;
    border-radius: 32px;
  }

  .hero-image-wrap::before {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 253, 249, 0.32),
      rgba(255, 253, 249, 0)
    );
  }

  .hero-image-wrap::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-section {
    padding: 44px 0 60px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-image-wrap {
    width: calc(100% - 32px);
    height: 300px;
    margin-top: 34px;
  }
}

/* =========================
   TRUST CARDS
========================= */

.trust-section {
  position: relative;
  z-index: 5;
  padding: 0 0 62px;
  margin-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.trust-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(232, 238, 232, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(32, 42, 37, 0.08);
  backdrop-filter: blur(12px);
}

.trust-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  color: var(--color-primary);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--color-text);
}

/* TRUST RESPONSIVE */

@media (max-width: 1100px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-section {
    margin-top: 0;
    padding-top: 20px;
  }
}

@media (max-width: 620px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-card {
    min-height: 96px;
    padding: 22px;
    border-radius: 20px;
  }

  .trust-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .trust-card p {
    font-size: 16px;
  }
}

/* =========================
   AUDIENCE
========================= */

.audience-section {
  padding: 24px 0 76px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.audience-card {
  min-height: 310px;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(232, 238, 232, 0.95);
  box-shadow: 0 18px 44px rgba(32, 42, 37, 0.07);
}

.audience-card-child {
  background: linear-gradient(90deg, #f7faf5 0%, #ffffff 100%);
}

.audience-card-adult {
  grid-template-columns: 1fr 0.95fr;
  background: linear-gradient(90deg, #fffaf5 0%, #f7eee7 100%);
}

.audience-image {
  position: relative;
  min-height: 310px;
}

.audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(255, 255, 255, 0.86) 100%);
}

.audience-image-right::after {
  background: linear-gradient(90deg, rgba(255, 250, 245, 0.82) 0%, transparent 38%);
}

.audience-content {
  position: relative;
  z-index: 2;
  padding: 46px 40px 34px;
}

.audience-content h2 {
  margin-bottom: 22px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.audience-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.audience-list-brown li::before {
  background: var(--color-partner);
}

.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.audience-link span {
  transition: transform 0.2s ease;
}

.audience-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card,
  .audience-card-adult {
    grid-template-columns: 0.85fr 1fr;
  }
}

@media (max-width: 680px) {
  .audience-section {
    padding: 12px 0 58px;
  }

  .audience-card,
  .audience-card-adult {
    grid-template-columns: 1fr;
  }

  .audience-card-adult .audience-content {
    order: 2;
  }

  .audience-card-adult .audience-image {
    order: 1;
  }

  .audience-image {
    min-height: 240px;
  }

  .audience-image::after,
  .audience-image-right::after {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.95) 100%);
  }

  .audience-content {
    padding: 30px 26px;
  }
}

/* =========================
   ABOUT + PROCESS
========================= */

.about-process-section {
  padding: 18px 0 90px;
}

.about-process-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.82fr 1fr;
  align-items: center;
  gap: 58px;
}

.about-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(32, 42, 37, 0.07);
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 3vw, 46px);
}

.about-content h2 span {
  color: var(--color-primary);
}

.about-content p {
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
}

.about-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 30px;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-muted);
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.about-btn {
  min-height: 48px;
  padding-inline: 24px;
}

.process-content {
  padding-left: 40px;
  border-left: 1px solid var(--color-border);
}

.process-list {
  display: grid;
  gap: 24px;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  width: 1px;
  height: calc(100% - 18px);
  border-left: 1px dashed #cbd8cc;
}

.process-icon {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(32, 42, 37, 0.06);
  color: var(--color-primary-dark);
  font-weight: 900;
}

.process-item h3 {
  margin: 0 0 4px;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.process-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
}

/* ABOUT PROCESS RESPONSIVE */

@media (max-width: 1180px) {
  .about-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-content {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .process-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .process-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .about-process-section {
    padding: 8px 0 70px;
  }

  .about-process-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-image img {
    height: 280px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-item {
    grid-template-columns: 54px 1fr;
    text-align: left;
    justify-items: start;
  }

  .process-item:not(:last-child)::after {
    display: block;
  }
}

/* ===================================
   PARTNER
=================================== */

.partner-section {
    padding: 0 0 110px;
}

.partner-card {
    display: grid;
    grid-template-columns: 390px 1fr;
    overflow: hidden;
    border-radius: 30px;
    background: #fffdfa;
    border: 1px solid #eef1ea;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .04);
}

/* =========================
   LEWA KOLUMNA
========================= */

.partner-intro {
    position: relative;
    padding: 60px 52px;
    background:
        radial-gradient(circle at top right,
            rgba(111, 155, 114, .08),
            transparent 45%),
        linear-gradient(180deg, #fffdfa, #faf6f1);
}

.partner-kicker {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: #f1f6ef;
    color: #6f9b72;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.partner-intro h2 {
    margin: 0;
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.partner-intro h2 span {
    color: #6f9b72;
    font-weight: 500;
}

.partner-intro p {
    max-width: 290px;
    margin: 34px 0;
    color: #59635d;
    font-size: 18px;
    line-height: 1.7;
}

.partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 60px;
    padding: 0 34px;
    border-radius: 16px;
    background: #6f9b72;
    color: #fff;
    font-weight: 700;
    transition: .25s;
}

.partner-btn:hover {
    transform: translateY(-3px);
    background: #5f8b63;
}

/* =========================
   PRAWA KOLUMNA
========================= */

.partner-services {
    padding: 60px;
    border-left: 1px solid #eef1ea;
}

.partner-services h3 {
    margin: 0 0 34px;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -.04em;
    position: relative;
}

.partner-services h3::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: #6f9b72;
}

.partner-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.partner-service {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 96px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid #edf1ec;
    border-radius: 22px;
    transition: .25s;
}

.partner-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .05);
}

.partner-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #f3f7f0;
    color: #6f9b72;
    font-size: 34px;
}

.partner-service strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.3;
}

.partner-service span {
    display: block;
    color: #69756d;
    font-size: 14px;
    line-height: 1.45;
}

/* =========================
   DÓŁ
========================= */

.partner-bottom {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #eef1ea;
}

.partner-bottom-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 36px;
    color: #44514a;
    font-size: 16px;
    font-weight: 600;
}

.partner-bottom-item:first-child {
    border-right: 1px solid #eef1ea;
}

.partner-bottom-item > :first-child {
    font-size: 34px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {

    .partner-card {
        grid-template-columns: 1fr;
    }

    .partner-services {
        padding: 40px;
        border-top: 1px solid #eef1ea;
        border-left: 0;
    }

    .partner-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-bottom {
        grid-template-columns: 1fr;
    }

    .partner-bottom-item:first-child {
        border-right: 0;
        border-bottom: 1px solid #eef1ea;
    }

}

@media (max-width: 760px) {

    .partner-intro,
    .partner-services {
        padding: 32px 24px;
    }

    .partner-intro h2 {
        font-size: 42px;
    }

    .partner-services h3 {
        font-size: 28px;
    }

    .partner-services-grid {
        grid-template-columns: 1fr;
    }

    .partner-bottom-item {
        flex-direction: column;
        text-align: center;
    }

}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
  position: relative;
  padding: 0 0 92px;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 120px;
  width: 190px;
  height: 260px;
  background: url("../img/front-page/leaf-left.webp") center / contain no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-label,
.testimonials-title,
.testimonials-rating,
.testimonial-note {
  text-align: center;
}

.testimonials-label {
  display: block;
}

.testimonials-title {
  margin-bottom: 12px;
  font-size: clamp(32px, 3vw, 44px);
}

.testimonials-rating {
  margin: 0 0 34px;
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 700;
}

.testimonials-rating strong {
  color: var(--color-text);
}

.testimonials-rating span {
  margin: 0 8px;
  color: #ccd5ce;
}

.testimonials-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 22px;
}

.testimonials-viewport {
  overflow: hidden;
  padding: 6px 2px 18px;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);
  min-height: 230px;
  padding: 34px 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(32, 42, 37, 0.07);
}

.testimonial-card::after {
  content: "”";
  position: absolute;
  right: 28px;
  bottom: 8px;
  color: #eaded8;
  font-size: 86px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  margin-bottom: 18px;
  color: #f4ad32;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.testimonial-card p {
  margin-bottom: 22px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.testimonial-card strong {
  display: block;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.testimonial-arrow:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8ded9;
  cursor: pointer;
}

.testimonial-dots button.is-active {
  background: var(--color-primary);
}

.testimonial-note {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonial-arrow {
    display: none;
  }

  .testimonial-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonials-section {
    padding-bottom: 70px;
  }

  .testimonials-section::before {
    display: none;
  }

  .testimonial-card {
    flex-basis: 100%;
    padding: 28px 24px;
  }
}

/* =========================
   CTA
========================= */

.cta-section {
  padding: 0 0 90px;
}

.cta-card {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: 48px 56px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.72) 45%, rgba(255, 253, 249, 0.36) 100%),
    url("../img/front-page/cta.webp") center right / cover no-repeat;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 48px rgba(32, 42, 37, 0.08);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.4vw, 48px);
}

.cta-content h2 span {
  color: var(--color-primary);
}

.cta-content p {
  max-width: 460px;
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-phone {
  min-width: 190px;
}

.cta-mail {
  min-width: 210px;
  background: #fff;
}

@media (max-width: 900px) {
  .cta-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .cta-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .cta-section {
    padding-bottom: 70px;
  }

  .cta-card {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}