/* =========================================================
   בדרך אמונה · הודיה אלנבוגן
   Shared stylesheet for all pages
   ========================================================= */

:root {
  --paper:     #FBF8F3;
  --sand:      #F2ECE2;
  --sand-2:    #E8DFD1;
  --ink:       #1F1B17;
  --ink-2:     #3F3830;
  --muted:     #6F6457;
  --gold:      #9C7A45;
  --gold-soft: #D8C6A3;
  --line:      rgba(31, 27, 23, .12);
  --line-2:    rgba(31, 27, 23, .22);
  --white:     #FFFFFF;

  --serif: 'Frank Ruhl Libre', 'David', serif;
  --sans:  'Assistant', 'Arial', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 999;
  background: var(--ink); color: var(--white); padding: 10px 18px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }
p + p { margin-top: 1em; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 18px;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-sm { padding-block: clamp(56px, 7vw, 88px); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.78); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.split.top { align-items: start; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink); color: var(--white);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 3px;
  transition: gap .25s, border-color .25s;
}
.link-arrow::after { content: "←"; font-weight: 400; }
.link-arrow:hover { gap: 16px; border-color: var(--gold); }

.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 243, .96);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-weight: 500; }
.brand-sub { font-size: .78rem; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 1rem; font-weight: 500; color: var(--ink-2);
  background: none; border: 0; cursor: pointer;
  transition: color .2s;
}
.main-nav a:hover, .main-nav .nav-trigger:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .2s; }

.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(31, 27, 23, .08);
  padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.has-sub:hover .nav-trigger svg, .has-sub.open .nav-trigger svg { transform: rotate(180deg); }
.sub-menu a { display: block; padding: 10px 22px; }
.sub-menu a small { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

.header-cta { padding: 12px 22px; font-size: .95rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-2); border-radius: 2px;
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; right: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--sand); padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li + li::before { content: "/"; margin-left: 8px; color: var(--gold-soft); }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 680px; margin-top: 22px; color: var(--muted); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 520px; margin-bottom: 40px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-soft); z-index: -1;
}
.hero-caption {
  position: absolute; bottom: 24px; left: -28px;
  background: var(--paper); padding: 16px 22px; border-right: 2px solid var(--gold);
  box-shadow: 0 14px 34px rgba(31, 27, 23, .08);
}
.hero-caption strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.hero-caption span { font-size: .9rem; color: var(--muted); }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Statement band ---------- */
.statement { text-align: center; }
.statement blockquote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.45;
  color: var(--ink); max-width: 900px; margin-inline: auto;
}
.statement cite { display: block; margin-top: 26px; font-style: normal; font-size: .95rem; letter-spacing: .1em; color: var(--gold); }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.service {
  display: flex; flex-direction: column;
  padding: 40px 32px 44px;
  border-bottom: 1px solid var(--line-2);
  transition: background .3s;
}
.service + .service { border-right: 1px solid var(--line); }
.service:hover { background: var(--white); }
.service-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); margin-bottom: 26px; letter-spacing: .08em; }
.service h3 { margin-bottom: 6px; }
.service .service-kind { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.service p { font-size: 1.02rem; margin-bottom: 30px; }
.service .link-arrow { margin-top: auto; align-self: flex-start; }

/* Service detail: feature row with image */
.feature-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-img.tall { aspect-ratio: 4 / 5; }
.img-frame { position: relative; }
.img-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }

/* ---------- Lists ---------- */
.check-list li { position: relative; padding: 14px 34px 14px 0; border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; right: 4px; top: 25px;
  width: 12px; height: 7px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.check-list.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.check-list.cols li:nth-child(2) { border-top: 1px solid var(--line); }

.meta-list { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.meta-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.meta-list dt { color: var(--muted); }
.meta-list dd { color: var(--ink); font-weight: 600; text-align: left; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { padding: 0 0 0 28px; position: relative; }
.step + .step { padding-right: 28px; border-right: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: .98rem; color: var(--muted); }

.steps-vertical { display: grid; gap: 0; }
.steps-vertical .step-row { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.steps-vertical .step-row:first-child { border-top: 1px solid var(--line-2); }
.steps-vertical .step-num { margin: 0; font-size: 3rem; }
.steps-vertical h3 { margin-bottom: 8px; }

/* ---------- Topics grid ---------- */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { background: var(--paper); padding: 30px 26px; font-size: 1.02rem; color: var(--ink-2); min-height: 150px; display: flex; flex-direction: column; gap: 14px; }
.topic span { font-family: var(--serif); color: var(--gold); font-size: .95rem; }
.bg-sand .topic { background: var(--sand); }

/* ---------- Values / why ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px; }
.value h3 { font-size: 1.25rem; margin-bottom: 10px; padding-top: 22px; border-top: 1px solid var(--gold-soft); }
.value p { font-size: 1rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: var(--white); padding: 40px 34px 34px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.quote::before { content: "”"; font-family: var(--serif); font-size: 4.2rem; line-height: .6; color: var(--gold-soft); margin-bottom: 12px; }
.quote p { font-size: 1.04rem; color: var(--ink-2); margin-bottom: 28px; }
.quote footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.quote footer strong { display: block; font-weight: 600; }
.quote footer span { display: block; color: var(--muted); font-size: .9rem; }
.quote footer .tag { display: inline-block; margin-top: 8px; font-size: .8rem; letter-spacing: .08em; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 28px; max-width: 720px; color: var(--muted); }

.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin-inline: auto; }
.cta-band p { max-width: 600px; margin: 22px auto 40px; }
.cta-band .actions { justify-content: center; }
.cta-band .small { margin-top: 26px; font-size: .9rem; opacity: .65; }

/* ---------- Price block ---------- */
.price-card { background: var(--white); border: 1px solid var(--line); padding: 44px 40px; }
.price-card .price { font-family: var(--serif); font-size: 3.6rem; color: var(--ink); line-height: 1; margin: 6px 0 8px; }
.price-card .price small { font-size: 1.6rem; margin-left: 4px; }
.price-card .meta-list { margin: 28px 0 32px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(156, 122, 69, .14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 18px 50%, 13px 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-left: 36px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 6px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }

.contact-aside { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.contact-aside > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-aside dt { font-size: .85rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 6px; }
.contact-aside dd { font-size: 1.15rem; color: var(--ink); }
.contact-aside dd a:hover { color: var(--gold); }

/* ---------- Prose (privacy etc.) ---------- */
.prose h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-right: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); font-size: .98rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 80px 64px; }
.footer-brand .brand-name { color: var(--white); font-size: 1.7rem; }
.footer-brand .brand-sub { color: var(--gold-soft); }
.footer-brand p { margin-top: 22px; max-width: 320px; line-height: 1.7; }
.site-footer h4 { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-soft); margin-bottom: 22px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transition: border-color .2s, background .2s; }
.social a:hover { border-color: var(--gold-soft); background: rgba(255,255,255,.05); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .88rem; color: rgba(255,255,255,.45); }
.footer-bottom nav { display: flex; gap: 24px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: transform .25s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Reveal (subtle) ---------- */
/* (content is always visible; no scroll-hide animations) */

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-open .main-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto;
  }
  .nav-open .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-open .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-open .main-nav a, .nav-open .main-nav .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.15rem; }
  .nav-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 16px 12px 0; display: none; min-width: 0; }
  .nav-open .has-sub.open .sub-menu { display: block; }
  .nav-open .sub-menu a { padding: 10px 0; font-size: 1.02rem; }
  .nav-open .main-nav .mobile-cta { display: flex; margin-top: 28px; border: 0; }
  .nav-open .main-nav .mobile-cta a { justify-content: center; color: var(--white); font-size: 1.05rem; padding: 16px; }
  body.nav-open { overflow: hidden; }

  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(odd) { border-right: 0; padding-right: 0; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.mobile-cta { display: none; }

@media (max-width: 860px) {
  body { font-size: 1.0625rem; }
  :root { --header-h: 72px; }
  .split, .split-5-7, .split-7-5, .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 400px; width: 88%; margin-inline: auto; }
  .hero-caption { left: 12px; }
  .hero-photo::before { inset: 14px -14px -14px 14px; }
  .services, .quotes, .values { grid-template-columns: 1fr; }
  .service + .service { border-right: 0; }
  .service { padding-inline: 0; }
  .service:hover { background: transparent; }
  .check-list.cols { grid-template-columns: 1fr; }
  .check-list.cols li:nth-child(2) { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .order-first-mobile { order: -1; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: .7rem; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-right: 0; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .topics { grid-template-columns: 1fr; }
  .topic { min-height: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-block: 64px 48px; }
  .steps-vertical .step-row { grid-template-columns: 56px 1fr; gap: 14px; }
  .steps-vertical .step-num { font-size: 2.2rem; }
  .price-card { padding: 34px 24px; }
  .btn { white-space: normal; }
  .actions .btn { width: 100%; }
  .wa-float { width: 50px; height: 50px; bottom: 18px; left: 18px; }
}

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.has-sub:has([aria-current]) > .nav-trigger { color: var(--ink); box-shadow: inset 0 -1px 0 var(--gold); }
.sub-menu a[aria-current="page"] { box-shadow: none; color: var(--gold); }
/* backdrop-filter would trap the fixed mobile menu inside the header */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); border-color: var(--line); }
.feature-img.natural { aspect-ratio: auto; max-width: 440px; margin-inline: auto; box-shadow: 0 24px 50px rgba(31,27,23,.12); }

/* ---------- Dark home hero ---------- */
.hero-dark {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(156,122,69,.22), transparent 60%),
    linear-gradient(160deg, #26201B 0%, var(--ink) 70%);
  color: rgba(255,255,255,.8);
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
}
.hero-dark .hero-grid { width: 100%; }
.hero-dark h1.kicker {
  font-family: var(--sans); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 700;
  letter-spacing: .12em; color: var(--gold-soft); margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-dark h1.kicker::before { content: ""; width: 36px; height: 1px; background: var(--gold-soft); }
.hero-title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(2.7rem, 5.8vw, 4.8rem); line-height: 1.1; margin-bottom: 30px;
}
.hero-title em { font-style: normal; color: var(--gold-soft); }
.hero-dark .lead { color: rgba(255,255,255,.82); }
.hero-dark .lead strong { color: var(--white); }
.hero-dark .link-arrow { color: var(--white); border-color: rgba(216,198,163,.55); }
.hero-dark .hero-points { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
.hero-dark .hero-points li::before { background: var(--gold-soft); }
.hero-dark .hero-photo::before { border-color: rgba(216,198,163,.45); }
.hero-dark .hero-photo img { box-shadow: 0 30px 70px rgba(0,0,0,.45); }
@media (max-width: 860px) { .hero-dark { min-height: 0; } }

/* =========================================================
   Accessibility toolbar
   ========================================================= */
.a11y-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1D4ED8; color: #fff; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.a11y-btn svg { width: 30px; height: 30px; fill: currentColor; }
.a11y-btn:focus-visible { outline: 3px solid #FACC15; outline-offset: 3px; }
.a11y-panel {
  position: fixed; bottom: 90px; right: 24px; z-index: 96;
  width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto;
  background: #fff; color: #111; border: 1px solid #d4d4d4; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25); padding: 18px; font-family: 'Assistant', Arial, sans-serif; font-size: 16px; line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 18px; }
.a11y-panel button { font: inherit; cursor: pointer; }
.a11y-close { background: none; border: 0; font-size: 18px; width: 36px; height: 36px; border-radius: 4px; }
.a11y-close:hover { background: #f1f1f1; }
.a11y-size { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #f4f4f5; border-radius: 4px; margin-bottom: 12px; }
.a11y-size span { flex: 1; font-weight: 600; }
.a11y-size button { width: 40px; height: 36px; background: #fff; border: 1px solid #c4c4c4; border-radius: 4px; font-weight: 700; }
.a11y-size output { min-width: 48px; text-align: center; font-weight: 700; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { padding: 12px 8px; background: #fff; border: 1px solid #c4c4c4; border-radius: 4px; text-align: center; min-height: 48px; }
.a11y-opt:hover, .a11y-size button:hover { border-color: #1D4ED8; }
.a11y-opt[aria-pressed="true"] { background: #1D4ED8; border-color: #1D4ED8; color: #fff; font-weight: 700; }
.a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid #FACC15; outline-offset: 2px; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e4e4e7; }
.a11y-reset { background: none; border: 0; color: #B91C1C; font-weight: 600; text-decoration: underline; padding: 6px 0; }
.a11y-foot a { color: #1D4ED8; text-decoration: underline; font-weight: 600; }
@media (max-width: 560px) { .a11y-btn { width: 50px; height: 50px; bottom: 18px; right: 18px; } .a11y-panel { right: 16px; bottom: 80px; } }

/* --- effects --- */
html.a11y-size-1 { font-size: 115%; }
html.a11y-size-2 { font-size: 130%; }
html.a11y-size-3 { font-size: 145%; }

html.a11y-contrast {
  --paper: #FFFFFF; --sand: #FFFFFF; --sand-2: #FFFFFF;
  --ink: #000000; --ink-2: #000000; --muted: #1a1a1a;
  --gold: #5C3D00; --gold-soft: #FFE08A;
  --line: rgba(0,0,0,.55); --line-2: #000;
}
html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .hero-dark, html.a11y-contrast .bg-ink, html.a11y-contrast .site-footer { background: #000; color: #fff; }
html.a11y-contrast .hero-dark .lead, html.a11y-contrast .site-footer, html.a11y-contrast .footer-bottom { color: #fff; }
html.a11y-contrast a:not(.btn) { text-decoration: underline; }
html.a11y-contrast .btn { border-width: 2px; }

html.a11y-grayscale main, html.a11y-grayscale .site-header, html.a11y-grayscale .site-footer, html.a11y-grayscale .wa-float { filter: grayscale(1); }

html.a11y-links a:not(.btn) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-links a { outline: 2px dashed #1D4ED8; outline-offset: 2px; }

html.a11y-font, html.a11y-font * { font-family: Arial, 'Assistant', sans-serif !important; }

html.a11y-spacing body { letter-spacing: .04em; word-spacing: .14em; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing dd { line-height: 2 !important; }

html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9.5-7 1.5 4 7.5-3 1.5-4-7.5-6 5z' fill='black' stroke='white' stroke-width='1.3'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.stage-photo { max-width: 354px; margin-inline: auto; }
.stage-photo img { width: 100%; box-shadow: 0 24px 50px rgba(31,27,23,.14); }
.stage-photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }

/* =========================================================
   Motion & polish
   ========================================================= */
.progress-bar {
  position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 120;
  background: linear-gradient(to left, var(--gold), var(--gold-soft));
  transform-origin: right center; transform: scaleX(0); pointer-events: none;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-dark .kicker, .hero-dark .hero-title, .hero-dark .lead, .hero-dark .actions, .hero-dark .hero-points, .hero-dark .hero-photo {
    animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero-dark .hero-title { animation-delay: .12s; }
  .hero-dark .lead { animation-delay: .24s; }
  .hero-dark .actions { animation-delay: .36s; }
  .hero-dark .hero-points { animation-delay: .48s; }
  .hero-dark .hero-photo { animation: heroPhoto 1.2s cubic-bezier(.2,.7,.2,1) .15s both; }
  .page-hero h1, .page-hero .lead { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
  .page-hero .lead { animation-delay: .12s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroPhoto { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Gentle hover depth on cards and images */
.quote, .price-card { transition: transform .35s ease, box-shadow .35s ease; }
.quote:hover, .price-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(31,27,23,.09); }
.img-frame, .hero-photo { overflow: visible; }
.feature-img { transition: transform .6s ease; }
.btn { position: relative; overflow: hidden; }
.btn:not(.btn-ghost):not(.btn-outline-light)::after {
  content: ""; position: absolute; inset: 0; transform: translateX(110%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transition: transform .7s ease;
}
.btn:hover::after { transform: translateX(-110%); }
.service-num { transition: letter-spacing .3s, color .3s; }
.service:hover .service-num { letter-spacing: .2em; }

/* =========================================================
   Scroll invitation popup
   ========================================================= */
.invite { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.invite[hidden] { display: none; }
.invite-backdrop { position: absolute; inset: 0; background: rgba(20,16,12,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.invite-card {
  position: relative; display: grid; grid-template-columns: 220px 1fr; max-width: 720px; width: 100%;
  background: var(--paper); box-shadow: 0 40px 90px rgba(0,0,0,.35); border-top: 3px solid var(--gold);
  opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1);
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.invite.open .invite-backdrop { opacity: 1; }
.invite.open .invite-card { opacity: 1; transform: none; }
.invite-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.invite-body { padding: 40px 36px 30px; }
.invite-body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 16px; }
.invite-body h2 em { font-style: normal; color: var(--gold); display: block; }
.invite-body p { color: var(--ink-2); margin-bottom: 26px; }
.invite-actions { display: grid; gap: 10px; }
.invite-actions .btn { width: 100%; }
.invite-later { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .95rem; }
.invite-x { position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; border: 0; background: rgba(251,248,243,.9); border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--ink); z-index: 1; }
.invite-x:hover { background: var(--sand); }
@media (max-width: 600px) {
  .invite-card { grid-template-columns: 1fr; }
  .invite-img { height: 150px; object-position: 50% 25%; }
  .invite-body { padding: 26px 22px 22px; }
}

html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } .invite, .progress-bar, .a11y-btn, .wa-float { display: none !important; } }

.notice { background: var(--sand); border-right: 3px solid var(--gold); padding: 20px 24px; margin-bottom: 40px; color: var(--ink); }
.footer-disclaimer { flex-basis: 100%; font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-top: 4px; }
.footer-bottom nav { flex-wrap: wrap; }

/* Keep the bottom of the page clear of the floating WhatsApp / accessibility buttons */
.footer-bottom { padding-bottom: 100px; }
@media (max-width: 560px) { .footer-bottom { padding-bottom: 92px; } }
.price-note { font-size: .88rem; color: var(--muted); margin: -2px 0 6px; }
.price-note-inline { font-weight: 400; color: var(--muted); font-size: .85rem; margin-right: 6px; }

/* ---------- Logo ---------- */
.brand { flex-direction: row; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-logo { width: 54px; height: auto; flex: none; }
.footer-logo { width: 190px; height: auto; margin-bottom: 4px; }
@media (max-width: 560px) { .brand-logo { width: 44px; } .brand { gap: 9px; } }

/* ---------- Lecture video ---------- */
.video-card { position: relative; max-width: 340px; margin-inline: auto; }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; object-fit: cover; box-shadow: 0 28px 60px rgba(31,27,23,.22); }
.video-card figcaption { margin-top: 14px; text-align: center; font-size: .92rem; color: var(--muted); }
.video-play {
  position: absolute; top: calc(50% - 20px); left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  background: rgba(31,27,23,.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px); transition: transform .25s, background .25s;
}
.video-play:hover { background: var(--gold); transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 32px; height: 32px; fill: currentColor; margin-right: -4px; }
.video-card.playing .video-play { display: none; }

/* ---------- WhatsApp screenshots ---------- */
.wa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .wa-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.wa-shot { margin: 0; background: #E9E4DC; padding: 16px; border-radius: 14px; box-shadow: 0 14px 34px rgba(31,27,23,.07); }
.wa-shot img { width: 100%; height: auto; border-radius: 10px; }
.wa-shot figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }

/* =========================================================
   Final polish
   ========================================================= */
/* No single-word orphan lines in headings, nicer paragraph wrapping */
h1, h2, h3, .hero-title, .statement blockquote { text-wrap: balance; }
p, li, .answer { text-wrap: pretty; }

/* Inner page headers: subtle brand mark */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; left: clamp(-60px, 2vw, 40px); top: 50%; transform: translateY(-50%);
  width: clamp(180px, 22vw, 300px); aspect-ratio: 1; pointer-events: none;
  background: url("../images/logo-mark.png") center / contain no-repeat; opacity: .13;
}
.page-hero .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .page-hero::after { opacity: .08; left: -50px; } }

/* Contact: what happens next */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); margin-top: clamp(56px, 7vw, 88px); }
.next-steps li { padding: 28px 0 0 28px; }
.next-steps li + li { padding-right: 28px; border-right: 1px solid var(--line); }
.next-steps .n { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.next-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.next-steps p { font-size: .98rem; color: var(--muted); }
@media (max-width: 860px) { .next-steps { grid-template-columns: 1fr; } .next-steps li, .next-steps li + li { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Google review ---------- */
.google-review { margin-top: 32px; padding: 26px 24px; background: var(--sand); border-right: 3px solid var(--gold); }
.google-review p { margin-bottom: 16px; }
.google-review .form-note { margin: 14px 0 0; }
.btn-google { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-google:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-google svg { width: 20px; height: 20px; }
