/* =====================================================
   בוא לשבת — Landing page
   Titles: postea-hebrew-vf (Adobe Typekit, variable 100-800)
   Text:   Google Sans (Assistant fallback for Hebrew)
   ===================================================== */

:root {
  --cream: #FFFBF3;
  --cream-card: #FCF9F0;
  --faq-bg: #FBF7F0;
  --ink: #242328;
  --ink-2: #171719;
  --orange-500: #E35B1C;
  --orange-600: #BE4D18;
  --orange-700: #9F4014;
  --orange-900: #52210A;
  --slate: #4B4D62;
  --yellow: #FDDF93;
  --yellow-deep: #E9CA7A;
  --purple: #8157BB;
  --purple-bg: #F8F3FF;
  --purple-deep: #4C00B7;
  --purple-text: #5F3598;
  --purple-chip: #EBE2F8;

  --font-text: 'Google Sans', 'Assistant', 'Rubik', system-ui, sans-serif;
  --font-title: 'postea-hebrew-vf', 'Assistant', system-ui, sans-serif;

  --shadow-orange: 0 8px 16px -8px rgba(217, 125, 19, 0.66);
  --shadow-dark: 0 8px 16px -8px rgba(0, 0, 0, 0.39);
  --radius-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Paper-grain texture over the cream background (design: tiled, multiply, 24%) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/bg-texture.png");
  background-size: 720px auto;
  mix-blend-mode: multiply;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

[id] {
  scroll-margin-top: 110px;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 400;
}

.section-title {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  opacity: 0.9;
  text-align: center;
}

section {
  overflow: hidden;
}

.section-title .light { font-weight: 300; }
.section-title .accent { color: var(--orange-600); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: #ec6524;
  box-shadow: 0 12px 22px -8px rgba(217, 125, 19, 0.75);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--orange-500);
  color: var(--ink-2);
}
.btn-outline:hover { background: rgba(227, 91, 28, 0.06); }

.btn-slate {
  background: var(--slate);
  color: #fff;
  box-shadow: var(--shadow-dark);
}
.btn-slate:hover { background: #585a72; }

.btn-dark {
  background: #201F1E;
  color: #fff;
}
.btn-dark:hover { background: #3a3836; }

.btn-icon { width: 24px; height: 24px; transition: transform 0.3s ease; }
.btn:hover .btn-icon { transform: rotate(-8deg) scale(1.08); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(82, 33, 10, 0.08); }

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}


.header-logo { justify-self: start; }
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.header-cta { margin: 0; }

.header-logo img { height: 48px; width: auto; }

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  position: relative;
  transition: color 0.2s ease;
}

.header-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.header-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header-toggle span + span { margin-top: 6px; }
.header-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header-toggle.open span:nth-child(2) { opacity: 0; }
.header-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.header-nav a:hover { color: var(--orange-600); }
.header-nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero { width: 100%;
    /* min-height: 90vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px;
  padding-top:128px;
  display: flex;
  direction: ltr; /* preserve design placement: image left, text right */
  gap: 80px;
  align-items: center;
  justify-content: center;
}

.hero-media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-media img {
  width: 100%;
  max-width: 690px;
  margin: -40px 0 -60px;
  animation: float 7s ease-in-out infinite;
  object-fit: contain;

}

.hero-content {
  flex: 1 1 0;
  min-width: 0;
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* right edge in ltr parent → use start of rtl child */
  align-items: start;
  gap: 24px;
}

.hero-logo { width: 354px; max-width: 85%; height: auto; }

.hero-text {
  font-size: 18px;
  max-width: 566px;
  text-align: right;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Why ===== */
.why {
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.why-text {
  max-width: 890px;
  font-size: 16px;
}
.why-text p { margin-bottom: 16px; }
.why-text p:last-child { margin-bottom: 0; }
.why-text .bold { font-weight: 700; }

/* ===== Benefits ===== */
.benefits {
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}


.benefits-grid {
  direction: ltr; /* keep the design's exact card placement */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(1086px, 100%);
}

.benefit-card {
  direction: rtl;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 32px;
  transition: transform 0.35s ease;
  background: white;
  border-radius: 24px;
}
.benefit-card:hover { transform: translateY(-6px); }

.benefit-ill {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.5;
  color: var(--orange-900);
  opacity: 0.9;
  text-align: center;
  max-width: 14ch;
  text-wrap: pretty;
}

/* description tucked below the title; slides up into view on hover */
.benefit-card p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  color: var(--ink);
  pointer-events: none;
  transition: max-height 0.45s ease, margin-top 0.45s ease,
              opacity 0.35s ease, transform 0.45s ease;
}
.benefit-card:hover p {
  max-height: 160px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- desktop: cards fan out in a semicircle around the title --- */
@media (min-width: 1025px) {
  .benefits {
    gap: 0;
    position: relative;
  }

  /* title nests at the fan's focal point, inside the arc
     (centered via auto margins — .reveal animates transform, so it must stay free) */
  .benefits .section-title {
    position: absolute;
    bottom: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    
    z-index: 4;
  }

  .benefits-grid {
    --fan-scale: 1.1;
    display: block;
    position: relative;
    height: calc(530px * var(--fan-scale));
    width: min(1086px, 100%);
    &::before {
      content: "";
      position: absolute;
      width:100%;
      height: 200%;
      bottom:-125%;
      border-radius: 50%;
      aspect-ratio: 1 / 1;
      border: 1px solid rgba(13, 12, 12, 0.06);
    }
  }

  .benefit-card {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 212px;
    padding: 28px 20px;
    box-shadow: 0 14px 34px -12px rgba(82, 33, 10, 0.08);
    z-index: var(--fan-z, 1);
    transform:
      translate(calc(-50% + var(--fan-x) * var(--fan-scale)),
                calc(-50% - var(--fan-y) * var(--fan-scale)))
      rotate(var(--fan-r));
  }

  /* arc positions: radius ~420px, 30° apart, first card at the right (RTL) */
  .benefit-card:nth-child(1) { --fan-x: 406px;  --fan-y: 109px; --fan-r: 18deg;  --fan-z: 1; }
  .benefit-card:nth-child(2) { --fan-x: 297px;  --fan-y: 297px; --fan-r: 11deg;  --fan-z: 2; }
  .benefit-card:nth-child(3) { --fan-x: 109px;  --fan-y: 406px; --fan-r: 4deg;   --fan-z: 3; }
  .benefit-card:nth-child(4) { --fan-x: -109px; --fan-y: 406px; --fan-r: -4deg;  --fan-z: 3; }
  .benefit-card:nth-child(5) { --fan-x: -297px; --fan-y: 297px; --fan-r: -11deg; --fan-z: 2; }
  .benefit-card:nth-child(6) { --fan-x: -406px; --fan-y: 109px; --fan-r: -18deg; --fan-z: 1; }

  /* reveal: cards start stacked at the bottom center, then fan open together */
  .benefits-grid .benefit-card.reveal {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 80px * var(--fan-scale))) rotate(0deg);
  }
  .benefits-grid .benefit-card.reveal.visible {
    opacity: 1;
    transform:
      translate(calc(-50% + var(--fan-x) * var(--fan-scale)),
                calc(-50% - var(--fan-y) * var(--fan-scale)))
      rotate(var(--fan-r));
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    transition-delay: 0s;
  }

  .benefits-grid .benefit-card:hover {
    z-index: 10;
    transform:
      translate(calc(-50% + var(--fan-x) * var(--fan-scale)),
                calc(-50% - var(--fan-y) * var(--fan-scale)))
      rotate(var(--fan-r))
      scale(1.06);
  }
}

/* slightly tighter fan on narrower desktops */
@media (min-width: 1025px) and (max-width: 1240px) {
  .benefits-grid { --fan-scale: 0.8; }
  .benefits .section-title {
    font-size: 32px;
    bottom: 110px;
  }
}

/* ===== Offerings (white rounded container) ===== */
.offerings {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 80px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  width: 100%;
}

.offer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  position: relative;
}

/* soft lavender glow behind the education block (Figma: faint blob at 10%) */
.offer-block.edu::before {
  content: "";
  position: absolute;
  inset: -40px 5%;
  background: radial-gradient(55% 45% at 50% 40%, rgba(129, 87, 187, 0.10), rgba(129, 87, 187, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.offer-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 1px;
}
.eyebrow.orange { color: var(--orange-500); }
.eyebrow.purple { color: var(--purple-deep); }

.offer-sub {
  font-size: 18px;
  max-width: 626px;
}

.cards-row {
  direction: ltr; /* preserve design card order */
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  position: relative;
}

.offer-card {
  direction: rtl;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 40px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.offer-card.cream { background: var(--cream-card); }
.offer-card.lilac { background: var(--purple-bg); }

.card-img {
  height: 250px;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: -36px;
  background: #f0f0f0;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.offer-card:hover .card-img img { transform: scale(1.03); }

.card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 40px 32px;
  text-align: center;
}
.offer-card.cream .card-body { gap: 24px; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px 10px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}
.chip.yellow {
  background: var(--yellow);
  filter: drop-shadow(0 4px 6px rgba(253, 223, 147, 0.27));
}
.chip.purple {
  background: var(--purple);
  color: #fff;
}
.chip.lilac-chip {
  background: var(--purple-chip);
  color: var(--purple-text);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 14px;
  padding: 4px 10px;
}

.card-title {
  font-size: 24px;
  line-height: 1.4;
}
.card-title .num {
  font-weight: 700;
  color: var(--yellow-deep);
}

.card-text { font-size: 14px; }
.card-text p { margin-bottom: 8px; }
.card-text p:last-child { margin-bottom: 0; }

.card-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.card-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.card-partner img { height: 40px; width: auto; }

/* section divider */
.divider {
  width: min(1078px, 90%);
  border: none;
  border-top: 1px solid rgba(36, 35, 40, 0.15);
}

/* ===== Personal band ===== */
.personal {
  direction: ltr; /* design: text left, photo right */
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  width: min(1280px, 100%);
  background: radial-gradient(40% 60% at 45% 50%, rgba(253, 172, 147, 0.16), rgba(253, 172, 147, 0) 100%);
}

.personal-content {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 447px;
  max-width: 100%;
}

.personal-title {
  font-size: 33px;
  line-height: 1.3;
  text-align: right;
}

.personal-text {
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}
.personal-text p { margin-bottom: 8px; }
.personal-text p:last-child { margin-bottom: 0; }

.personal-media {
  width: 492px;
  max-width: 100%;
  border-radius: 32px;
  overflow: hidden;
  flex-shrink: 1;
}
.personal-media img {
  width: 100%;
  height: 392px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.personal-media:hover img { transform: scale(1.03); }

/* ===== About ===== */
.about {
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.about-inner {
  direction: ltr; /* design: text left, portrait right */
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
}

.about-content {
  direction: rtl;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: right;
}
.about-content .section-title { text-align: right; }

.about-text { font-size: 16px; font-weight: 500; }
.about-text p { margin-bottom: 8px; }
.about-text p:last-child { margin-bottom: 0; }

.about-list {
  font-size: 15px;
  max-width: 507px;
  padding-right: 22px;
  list-style: none;
}
.about-list li {
  margin-bottom: 8px;
  position: relative;
  padding-right: 18px;
}
.about-list li::before {
  content: "—";
  position: absolute;
  right: 0;
  color: var(--orange-600);
}
.about-list li:last-child { margin-bottom: 0; }

.about-media {
  width: 568px;
  max-width: 45%;
  flex-shrink: 0;
}
.about-media img {
  width: 100%;
  height: auto;
  animation: float 8s ease-in-out infinite;
}

.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.partners-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  text-align: center;
}

.partners-logos {
  width: 100%;
  flex-wrap: wrap;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.partner-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.hashomer-logo {
  height: 48px;
}

/* Mobile: switch partners logos to a 2-column grid */
@media (max-width: 600px) {
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
    flex-wrap: initial; /* reset flex property */
  }
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 80px 80px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.testi-row {
  direction: ltr; /* preserve design card order & stagger */
  display: flex;
  gap: 25px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 1290px;
}

.testi-card {
  direction: rtl;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 411px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  background: #4C4D63;
  transition: transform 0.35s ease;
  border-radius: 40px;
}
.testi-card:hover { transform: translateY(-6px); }

.testi-1 { margin-top: 82px; }
.testi-2 { margin-top: 0; }
.testi-3 { margin-top: 49px; }

.testi-blob {
  position: absolute;
  inset: -4px -2px;
  width: calc(100% + 4px);
  height: calc(100% + 8px);
  z-index: 0;
  filter: drop-shadow(0 18px 36px rgba(75, 77, 98, 0.28));
}

.testi-quote {
  position: absolute;
  top: -34px;
  right: 10%;
  width: 57px;
  height: 50px;
  z-index: 1;
}

.testi-card blockquote {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.45;
  text-align: right;
}
.testi-card blockquote p { margin-bottom: 8px; }
.testi-card blockquote p:last-child { margin-bottom: 0; }

.testi-card figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { font-size: 12px; opacity: 0.7; }

/* ===== FAQ ===== */
.faq {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 80px 80px 0 0;
  padding: 80px 80px 136px;
  margin-bottom: -64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 920px;
}

.faq-item {
  background: var(--faq-bg);
  border-radius: 24px;
  padding: 32px;
  transition: background-color 0.3s ease;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.3s ease;
}

.faq-item.open .faq-question { color: var(--orange-600); }

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease, opacity 0.4s ease;
  opacity: 0;
  font-size: 16px;
  color: var(--ink-2);
}
.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  padding-top: 16px;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 0.8;
}

/* ===== Contact ===== */
.contact {
  position: relative;
  z-index: 2;
  background: var(--orange-700);
  border-radius: 80px 80px 0 0;
  padding: 100px 160px;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/bg-texture.png");
  background-size: 720px auto;
  mix-blend-mode: multiply;
  opacity: 0.44;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  /* rtl flow: info first → right side, form → left, matching the design */
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  direction: rtl;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: #fff;
  text-align: right;
}

.contact-info h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.contact-info > p {
  font-size: 18px;
  color: #e5e5e5;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}
.contact-details a:hover { opacity: 0.8; }

.contact-form {
  direction: rtl;
  background: #fff;
  width: 520px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 40px;
  border-radius: 56px 48px 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-head { text-align: center; }
.form-title { font-size: 22px; font-weight: 500; line-height: 1.4; }
.form-sub { font-size: 14px; color: #666; }

.form-row {
  display: flex;
  gap: 12px;
}
.form-row .form-field { flex: 1 1 0; min-width: 0; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form > .form-field { width: 100%; }

.form-field label {
  font-size: 13px;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--ink);
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--orange-900);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea {
  height: 88px;
  padding: 10px 14px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(227, 91, 28, 0.15);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #d33; }

.contact-form .btn-dark { align-self: flex-start; }
.contact-form .btn-dark:disabled { opacity: 0.6; cursor: wait; }

/* honeypot — visually removed but present for bots */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-status {
  font-size: 14px;
  color: var(--orange-600);
  min-height: 1em;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-inner { padding: 32px 40px 64px; gap: 40px; }
  .benefits, .about, .testimonials { padding-left: 40px; padding-right: 40px; }
  .offerings { padding: 64px 40px; border-radius: 56px; }
  .contact { padding: 80px 48px; }
  .faq { padding: 64px 40px 120px; }
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: auto;
    width:90vw;
    z-index: 40;
    flex-direction: column;
    gap: 0;
    background: white;
    padding: 20px 20px 24px;
    border-bottom: 1px solid rgba(36, 35, 40, 0.08);
    box-shadow: 0 18px 38px -12px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
  }
  .header-nav.open { display: flex; }
  .header-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(36, 35, 40, 0.08);
    font-size: 17px;
  }
  .header-nav a:first-child { border-top: none; }

  .header-toggle {
    display: flex;
    flex-direction: column;
  }

  .hero-inner { flex-direction: column-reverse; }
  .hero-content { align-items: center; text-align: center; }
  .hero-text { text-align: center; }
  .hero-media img { width: 100%; max-width: 540px; margin: 0; }

  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card {
    padding:16px;
  }
  .benefit-card h3 { font-size: 18px; }

  .cards-row { flex-direction: column; }
  .offer-card { width: 100%; }

  .personal { flex-direction: column-reverse; }
  .personal-content { width: 100%; align-items: center; }
  .personal-title, .personal-text { text-align: center; }

  .about-inner { flex-direction: column-reverse; gap: 24px; }
  .about-media { max-width: 100%; }
  .about-content { align-items: center; text-align: center; }
  .about-content .section-title { text-align: center; }
  .about-list { text-align: right; }

  .testi-row { flex-direction: column; align-items: center; }
  .testi-card { margin-top: 0 !important; width: 100%; max-width: 440px; }

  .contact-inner { flex-direction: column; align-items: center; }
  .contact-info { align-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .why { padding: 48px 24px; }
  .offerings { padding: 48px 20px; border-radius: 40px; gap: 56px; }
  .benefit-ill {height: 48px; width:auto; object-fit: contain; }

  /* phones: no hover — show icon, header and description together */
  .benefit-card h3 { max-width: none; }
  .benefit-card p {
    max-height: none;
    margin-top: 12px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* --- phones: cards stack on top of each other while scrolling --- */
  .benefits { padding: 48px 20px; overflow: visible; }

  .benefits-grid { display: block; width: 100%; }

  .benefit-card {
    position: sticky;
    margin-bottom: 20px;
    padding: 28px 24px;
    box-shadow: 0 -12px 32px rgba(82, 33, 10, 0.10);
    transform: scale(var(--stack-scale, 1));
    transform-origin: top center;
  }
  .benefit-card:nth-child(1) { top: 84px; }
  .benefit-card:nth-child(2) { top: 94px; }
  .benefit-card:nth-child(3) { top: 104px; }
  .benefit-card:nth-child(4) { top: 114px; }
  .benefit-card:nth-child(5) { top: 124px; }
  .benefit-card:nth-child(6) { top: 134px; margin-bottom: 0; }

  /* reveal must not fight the scroll-driven scale: fade only, transform stays live */
  .benefits-grid .benefit-card.reveal {
    opacity: 0;
    transform: scale(var(--stack-scale, 1));
    transition: opacity 0.7s ease var(--reveal-delay, 0s), transform 0.1s linear;
  }
  .benefits-grid .benefit-card.reveal.visible {
    opacity: 1;
    transform: scale(var(--stack-scale, 1));
  }
  .benefits-grid .benefit-card:hover { transform: scale(var(--stack-scale, 1)); }
  .card-body { padding: 16px 20px 28px; }
  .chip { white-space: normal; text-align: center; }
  .about { padding: 48px 24px; }
  .testimonials { padding: 48px 20px 64px; }
  .testi-card { padding: 32px 28px; }
  .faq { padding: 48px 20px 110px; border-radius: 40px 40px 0 0; }
  .faq-item { padding: 22px 20px; }
  .faq-question { font-size: 17px; }
  .contact { padding: 64px 20px; border-radius: 40px 40px 0 0; }
  .contact-form { padding: 28px 20px; }
  .form-row { flex-direction: column; }
  .hero-inner { padding: 24px 20px 48px; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px; }
  .hero-actions {justify-content: center; flex-wrap: wrap; gap: 12px; flex-direction: column; }
  .header-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-logo {margin:0 auto; max-width: 75%; }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: #201F1E;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  height: 104px;
  width: auto;
  opacity: 0.95;
}
.footer-tagline {
  font-family: var(--font-title);
  font-size: 18px;
  color: #fff;
  opacity: 0.85;
}

.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--orange-500); }

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-wa img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.footer-credit a:hover { color: var(--orange-500); }

@media (max-width: 860px) {
  .footer-inner { gap: 32px; }
  .footer-brand { max-width: none; flex-basis: 100%; }
}

@media (max-width: 640px) {
  .footer-inner { padding: 48px 24px 24px; gap: 28px; }
  .footer-bottom {
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}
