/* ==========================================================================
   Meaningful Days - Yosefa Morgenstern
   Brand palette (exact): Navy #304B68 / Deep Navy #22364C / Cream #F3F0E8
   Ivory #FAF8F3 / Sage #8FA58C / Gold #B8975A / Terracotta #C1785A / Charcoal #2E2E2E
   ========================================================================== */

:root {
  --navy: #304B68;
  --navy-deep: #22364C;
  --cream: #F3F0E8;
  --ivory: #FAF8F3;
  --sage: #8FA58C;
  --gold: #B8975A;
  --terracotta: #C1785A;
  --terracotta-text: #9E4E30; /* darker, for text on light grounds: 5.5:1 on ivory */
  --charcoal: #2E2E2E;
  /* Extended palette (from the brand palette sheet) */
  --white: #FFFFFF;
  --sage-green: #9BB1A5;
  --sage-light: #E6EDE8;
  --slate: #8A9CB0;
  --slate-light: #E4E9EF;
  --taupe: #C7B9AC;
  --taupe-light: #EFE9E3;
  --whatsapp: #25D366;

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --max: 1200px;
  --gutter: 20px;
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 84px;
  --shadow: 0 8px 28px rgba(48, 75, 104, 0.08);
  --shadow-sm: 0 2px 10px rgba(48, 75, 104, 0.06);
  --focus: var(--navy);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.25rem); line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--cream); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.eyebrow.centered::after { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.section--navy .eyebrow { color: var(--cream); }
.lead { font-size: 1.12em; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.55rem; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--navy); color: var(--cream); text-decoration: none; border: 1.5px solid var(--navy);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; fill: var(--whatsapp); }
.btn--light, .section--navy .btn--light { background: var(--sage-light); color: var(--navy-deep); border-color: var(--sage-light); }
.btn--light:hover, .section--navy .btn--light:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
.btn--lg { min-height: 60px; padding: 1rem 2.1rem; font-size: 1rem; }
.btn--sm { min-height: 48px; padding: .6rem 1.1rem; font-size: .8rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px;
  font-family: var(--font-sans); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: var(--navy); }
.text-link .arrow { color: var(--terracotta); font-size: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--sage-light);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 22px rgba(34, 54, 76, 0.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}
/* The wordmark takes its natural width and never compresses: a shrunken box let the
   text spill under the first menu link. The menu takes whatever room is left. */
.site-header__inner > .brand { margin-inline-end: auto; flex: none; }
.site-header.is-scrolled .site-header__inner { min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-height: 48px; min-width: 0; }
.brand__leaf { width: 34px; height: 41px; transition: width .3s var(--ease), height .3s var(--ease); }
.site-header.is-scrolled .brand__leaf { width: 28px; height: 34px; }
.brand__name { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.brand__tag { display: block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-top: 5px; }

.nav__panel { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color .2s var(--ease);
}
.nav__list a:hover { border-bottom-color: var(--gold); }
.nav__cta { margin-left: 16px; }

.nav__toggle, .nav__wa-mobile { display: none; }
.header-actions { display: contents; }

@media (max-width: 1199px) {
  .brand__name { font-size: 1rem; }
  .brand__tag { display: none; }
  .site-header__inner { gap: 10px; }
  .header-actions { display: flex; align-items: center; gap: 6px; }
  .nav__toggle, .nav__wa-mobile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1.5px solid transparent; background: transparent; color: var(--navy); cursor: pointer; padding: 0;
  }
  .nav__wa-mobile { border-color: var(--navy); }
  .nav__wa-mobile svg { width: 22px; height: 22px; fill: var(--whatsapp); }
  .nav__toggle { flex-direction: column; gap: 5px; }
  .nav__toggle .bar { display: block; width: 24px; height: 2px; background: currentColor; margin: 0; transition: transform .25s var(--ease), opacity .2s; border-radius: 2px; }
  .nav__toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--sage-light);
    box-shadow: 0 16px 30px rgba(34, 54, 76, .12);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    display: none;
  }
  .nav__panel.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { min-height: 54px; padding: 0 8px; font-size: .95rem; border-bottom: 1px solid rgba(184, 151, 90, .25); width: 100%; }
  .nav__list a:hover { border-bottom-color: var(--gold); }
  .nav__cta { margin: 20px 0 0; }
  html:not(.js) .nav__panel { display: flex; position: static; box-shadow: none; }
  html:not(.js) .nav__toggle { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--navy { background: var(--navy); color: var(--cream); --focus: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy a { color: var(--cream); }
.section--cream { background: var(--cream); }
.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__head .eyebrow { justify-content: center; }

.hairline { height: 1px; border: 0; margin: 0 auto; width: min(100% - (var(--gutter) * 2), var(--max));
  background: linear-gradient(90deg, rgba(184, 151, 90, 0) 0%, var(--gold) 20%, var(--gold) 80%, rgba(184, 151, 90, 0) 100%); opacity: .7; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; background: var(--ivory); min-height: 520px; display: flex; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 88px 0 104px; min-height: 620px; } }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(.74); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250, 248, 243, .82) 0%, rgba(250, 248, 243, .7) 100%); }
@media (min-width: 1024px) {
  .hero__overlay { background: linear-gradient(90deg, rgba(250, 248, 243, .93) 0%, rgba(250, 248, 243, .85) 44%, rgba(250, 248, 243, .34) 62%, rgba(250, 248, 243, .04) 100%); }
  [dir="rtl"] .hero__overlay { background: linear-gradient(270deg, rgba(250, 248, 243, .93) 0%, rgba(250, 248, 243, .85) 44%, rgba(250, 248, 243, .34) 62%, rgba(250, 248, 243, .04) 100%); }
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero__text { max-width: 600px; }
.hero__sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--navy); margin-bottom: 1rem; }
.hero__support { font-size: 1rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.media-placeholder {
  position: relative; border-radius: var(--radius); background: var(--cream);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 5; padding: 32px;
  border: 1px solid rgba(184, 151, 90, .3);
}
.media-placeholder--wide { aspect-ratio: 4 / 3; }
.media-placeholder__leaf { position: absolute; width: 58%; right: -6%; bottom: -4%; opacity: .16; pointer-events: none; }
.media-placeholder__label { position: relative; z-index: 1; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin: 0; }
.media-placeholder__label small { display: block; letter-spacing: .04em; text-transform: none; font-weight: 500; margin-top: 8px; font-size: .85rem; }
.media-placeholder .real-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; z-index: 0; width: 58%; aspect-ratio: 1; border-radius: 50%;
  right: -9%; top: -24%; background: radial-gradient(circle, var(--sage-green) 0%, rgba(155, 177, 165, .55) 55%, rgba(155, 177, 165, 0) 72%);
  pointer-events: none;
}
.hero__media::after {
  content: ""; position: absolute; z-index: 0; width: 24%; aspect-ratio: 1; border-radius: 50%;
  left: -6%; bottom: -16%; background: var(--taupe); opacity: .6; pointer-events: none;
}
.hero__photo {
  position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #F5F0E4; border: 1px solid rgba(255, 255, 255, .8);
}
.hero__photo img { width: 100%; height: auto; display: block; }
.hero__media .leaf-decor { position: absolute; z-index: 2; width: 110px; top: -34px; left: -26px; opacity: .55; pointer-events: none; }
@media (max-width: 1023px) { .hero__media { max-width: 560px; } .hero__media .leaf-decor { display: none; } }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0; background: var(--sage-green); --focus: var(--navy-deep); }
.trust .trust__item { color: var(--navy-deep); }
.trust .icon { background: var(--white); border-radius: 50%; padding: 9px; width: 48px; height: 48px; }
.trust__list { list-style: none; display: grid; gap: 22px; }
@media (min-width: 640px) { .trust__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust__list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.trust__item { display: flex; align-items: center; gap: 14px; font-size: .95rem; font-weight: 500; color: var(--navy); }
.icon { display: inline-flex; width: 40px; height: 40px; flex: none; color: var(--sage); }
/* Illustrative icon style: thin navy outline, offset flat sage shape, small gold accent, sparkle lines */
.icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: none; }
.icon .ln { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon .fl { fill: var(--sage-green); opacity: .6; stroke: none; }
.icon .ac { fill: var(--gold); stroke: none; }
.icon .sp { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; }

/* ---------- Families ---------- */
.families__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .families__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.families__copy p { font-family: var(--font-serif); font-style: italic; font-size: 1.15em; line-height: 1.6; }
.families__copy .accent { color: var(--terracotta-text); font-family: var(--font-sans); font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; display: block; margin-top: 1.5rem; font-style: normal; }

/* ---------- Visits ---------- */
.cards { list-style: none; display: grid; gap: 22px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; margin-bottom: 18px; background: var(--sage-light); border-radius: 50%; padding: 11px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .98em; }
.cards__closing { text-align: center; margin: 40px auto 0; max-width: 640px; font-family: var(--font-serif); font-style: italic; font-size: 1.15em; color: var(--navy); }

/* ---------- Benefits ---------- */
.benefits__list { list-style: none; display: grid; gap: 4px; max-width: 720px; margin: 0 auto; }
.benefits__list li { display: flex; align-items: center; gap: 16px; font-family: var(--font-serif); font-size: 1.2rem; color: var(--charcoal); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .55); }
.benefits__list li:last-child { border-bottom: 0; }
.benefits__list .icon { width: 36px; height: 36px; color: var(--navy); background: var(--white); border-radius: 50%; padding: 6px; }

/* ---------- Testimonials slot (hidden until filled) ---------- */
.testimonials[hidden] { display: none; }
.testimonials__grid { list-style: none; display: grid; gap: 24px; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(184, 151, 90, .2); margin: 0; }
.testimonial blockquote { margin: 0 0 12px; font-family: var(--font-serif); font-style: italic; font-size: 1.1em; }
.testimonial figcaption { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); font-weight: 600; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.about__media { max-width: 440px; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(0, 0, 0, .22); background: var(--slate); }
.about__photo img { width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { .about__media { max-width: 340px; margin-inline: auto; } }
.section--navy .media-placeholder { background: var(--navy-deep); border-color: rgba(243, 240, 232, .18); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.section--navy .media-placeholder__label { color: var(--cream); }
.about__copy p { font-family: var(--font-serif); font-style: italic; font-size: 1.1em; line-height: 1.6; }
.about__copy .btn { margin-top: 12px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 0; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 0 0 36px; }
.step__num {
  font-family: var(--font-serif); font-size: 1.7rem; line-height: 1; color: var(--gold); position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1.5px solid var(--slate); box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: .35em; margin-top: 12px; }
.step p { margin: 0; }
.step::before { content: ""; position: absolute; left: 27.5px; top: 56px; bottom: 0; width: 1.5px; background: var(--slate); opacity: .7; }
.step:last-child::before { display: none; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 0; }
  .step::before { left: 56px; right: -32px; top: 27px; bottom: auto; height: 1.5px; width: auto; }
  .step:last-child::before { display: none; }
  .step__num { justify-self: start; }
}

/* ---------- Pricing ---------- */
.price-card {
  max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  padding: 44px 28px; text-align: center; box-shadow: 0 14px 40px rgba(34, 54, 76, .16); border: 1px solid rgba(255, 255, 255, .7); position: relative;
}
@media (min-width: 768px) { .price-card { padding: 56px 56px; } }
.price-card::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 80px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }
.price { font-family: var(--font-serif); color: var(--navy); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; margin: 8px 0 4px; }
.price small { display: block; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); margin-top: 10px; }
.price-card__list { list-style: none; text-align: left; margin: 28px 0 32px; display: grid; gap: 12px; }
.price-card__list li { display: flex; gap: 12px; align-items: flex-start; }
.price-card__list .icon { width: 24px; height: 24px; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--sage-green); }
.faq__item:first-child { border-top: 1px solid var(--sage-green); }
.faq__q:hover { background: var(--sage-light); }
.faq__q { border-radius: var(--radius-sm); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 20px 4px;
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); min-height: 64px;
}
.faq__q:hover { color: var(--navy-deep); }
.faq__q .plus { flex: none; width: 28px; height: 28px; position: relative; color: var(--gold); }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform .25s var(--ease); }
.faq__q .plus::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__q .plus::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { padding: 4px 4px 24px 20px; max-width: 720px; border-left: 3px solid var(--sage-green); margin: 0 0 20px 4px; }
.faq__a[hidden] { display: none; }
.faq__a p { margin: 0; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { font-family: var(--font-serif); font-style: italic; font-size: 1.2em; margin-bottom: 2rem; }
.cta__phone { margin-top: 20px; font-size: .95rem; margin-bottom: 0; font-family: var(--font-sans); font-style: normal; letter-spacing: .04em; }
.cta__phone a { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 56px 0 40px; --focus: var(--cream); }
.site-footer a { color: var(--cream); }
.footer__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: auto 1fr; gap: 32px 48px; }
  .footer__grid nav { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: auto 1fr auto; gap: 48px; }
  .footer__grid nav { grid-column: auto; }
}
.footer__logo { width: 210px; }
.footer__meta { font-size: .95rem; }
.footer__meta p { margin: 0 0 6px; }
.footer__meta a { text-decoration: none; border-bottom: 1px solid rgba(243, 240, 232, .5); }
.footer__meta a:hover { border-bottom-color: var(--cream); }
.footer__ig a { display: inline-flex; align-items: center; gap: 8px; }
.footer__ig-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__ig-icon .dot { fill: currentColor; stroke: none; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.footer__links a:hover { border-bottom-color: var(--gold); }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(184, 151, 90, .4); font-size: .85rem; }
@media (max-width: 1023px) { .site-footer { padding-bottom: 104px; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(34, 54, 76, .22); border: 1.5px solid var(--sage-green);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--sage-light); }
@media (min-width: 1024px) { .to-top { left: auto; right: 24px; bottom: 24px; width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- Floating WhatsApp (mobile/tablet) ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cream);
  display: none; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(34, 54, 76, .3);
  border: 2px solid var(--cream);
}
.fab svg { width: 28px; height: 28px; fill: var(--whatsapp); }
.fab:hover { background: var(--navy-deep); }
@media (max-width: 1023px) { .fab { display: inline-flex; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: .08s; }
.js .reveal--d2 { transition-delay: .16s; }
.js .reveal--d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .brand__leaf, .site-header__inner, .faq__q .plus::before, .faq__q .plus::after { transition: none; }
}

/* ---------- Coloured sections ---------- */
.section--white { background: var(--white); }
.section--sage { background: var(--sage-green); color: var(--navy-deep); --focus: var(--navy-deep); }
.section--sage h2, .section--sage h3, .section--sage .eyebrow, .section--sage .cards__closing, .section--sage .section__head p { color: var(--navy-deep); }
.section--sage .eyebrow::before, .section--sage .eyebrow::after { background: var(--white); }
.section--taupe { background: var(--taupe); color: var(--charcoal); --focus: var(--navy-deep); }
.section--taupe h2, .section--taupe h3, .section--taupe .eyebrow { color: var(--navy-deep); }
.section--taupe .eyebrow::before, .section--taupe .eyebrow::after { background: var(--white); }
.section--slate { background: var(--slate); color: var(--charcoal); --focus: var(--navy-deep); }
.section--slate h2, .section--slate h3 { color: var(--navy-deep); }
.section--slate .eyebrow { color: var(--charcoal); }
.section--slate .eyebrow::before, .section--slate .eyebrow::after { background: var(--white); }
.media-placeholder--sage { background: var(--sage-light); }
.media-placeholder--taupe { background: var(--taupe-light); }
.media-placeholder--white { background: var(--white); border-color: rgba(255, 255, 255, .8); }
.section--navy .media-placeholder--slate { background: var(--slate); border-color: rgba(255, 255, 255, .25); }
.section--navy .media-placeholder--slate .media-placeholder__label { color: var(--navy-deep); }
.cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.section--navy.about { background: linear-gradient(180deg, var(--navy) 0%, #2A4159 100%); }

/* ---------- Language switch (always visible in the header) ---------- */
.lang-switch {
  order: 1; /* sits last on desktop, where .header-actions is display: contents */
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--sage-green); background: var(--white); color: var(--navy);
  text-decoration: none; font-family: var(--font-sans); font-weight: 600; font-size: .82rem; line-height: 1;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lang-switch:hover { background: var(--sage-light); border-color: var(--navy); }
.lang-switch .flag { width: 23px; height: 15.3px; flex: none; display: block; border-radius: 2px; }
.lang-switch__code { letter-spacing: .04em; }
@media (max-width: 1199px) { .lang-switch { padding: 0 10px; gap: 5px; font-size: .8rem; } }
/* Narrow phones: shrink the wordmark so it never collides with the header buttons */
@media (max-width: 600px) {
  .brand { gap: 8px; }
  .brand__leaf { width: 26px; height: 32px; }
  .brand__name { font-size: .78rem; letter-spacing: .02em; }
  .lang-switch { padding: 0; width: 44px; }
  .lang-switch__code { display: none; }
  [dir="rtl"] .brand__name { font-size: .95rem; }
}

/* ---------- Hebrew (RTL) version ---------- */
.rtl-root { display: contents; }
[dir="rtl"] {
  /* One typeface across the whole Hebrew page, headings included. */
  --font-serif: 'Assistant', 'Arial Hebrew', Arial, sans-serif;
  --font-sans: 'Assistant', 'Arial Hebrew', Arial, sans-serif;
}
/* Sans headings need a little more weight than the serif did to hold the same presence. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 600; letter-spacing: -.01em; }
/* The brand headline stays in the serif, matching the logo and the English page. */
[dir="rtl"] h1[lang="en"] { font-family: 'Lora', Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.005em; }
[dir="rtl"] body { font-size: 18px; }
@media (min-width: 768px) { [dir="rtl"] body { font-size: 19px; } }
[dir="rtl"] .eyebrow, [dir="rtl"] .btn, [dir="rtl"] .nav__list a, [dir="rtl"] .text-link, [dir="rtl"] .footer__links a,
[dir="rtl"] .media-placeholder__label, [dir="rtl"] .brand__tag, [dir="rtl"] .families__copy .accent, [dir="rtl"] .cta__phone {
  letter-spacing: 0; text-transform: none;
}
[dir="rtl"] .brand__name { letter-spacing: 0; text-transform: none; font-size: 1.25rem; }
[dir="rtl"] .brand__tag { font-size: .72rem; }
[dir="rtl"] .eyebrow { font-size: .95rem; font-weight: 600; }
[dir="rtl"] .btn { font-weight: 700; font-size: 1rem; }
[dir="rtl"] .nav__list a { font-size: 1rem; font-weight: 600; }
[dir="rtl"] .text-link { font-size: 1rem; font-weight: 600; }
[dir="rtl"] .footer__links a { font-size: .95rem; }
[dir="rtl"] .hero__sub, [dir="rtl"] .families__copy p, [dir="rtl"] .about__copy p, [dir="rtl"] .cards__closing, [dir="rtl"] .cta p { font-style: normal; }
[dir="rtl"] .nav__cta { margin-left: 0; margin-right: 16px; }
[dir="rtl"] .faq__a { border-left: 0; border-right: 3px solid var(--sage-green); padding: 4px 20px 24px 4px; margin: 0 4px 20px 0; }
@media (max-width: 1199px) { [dir="rtl"] .nav__cta { margin: 20px 0 0; } }

/* ---------- Simple legal pages ---------- */
.page { padding: 56px 0 88px; }
.page .container { max-width: 800px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.page li { margin-bottom: .4em; }
.page .back { margin-top: 40px; }
.page .updated { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }

/* ==========================================================================
   ACCESSIBILITY TOOL (Israeli Standard 5568 / WCAG AA)
   Lets a visitor resize text, raise contrast, widen spacing, switch to a plain
   font, highlight links and stop animation. Choices persist on their device.
   Everything below is last in the file so it wins the cascade.
   ========================================================================== */

:root { --a11y-scale: 1; }
html { font-size: calc(100% * var(--a11y-scale)); }
body { font-size: calc(17px * var(--a11y-scale)); }
@media (min-width: 768px) { body { font-size: calc(18px * var(--a11y-scale)); } }

/* ---------- Launcher button ---------- */
.a11y__btn {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--navy); color: var(--cream); border: 2px solid var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 54, 76, .3);
}
.a11y__btn:hover { background: var(--navy-deep); }
.a11y__btn svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Panel ---------- */
.a11y__panel {
  position: fixed; left: 18px; bottom: 80px; z-index: 96;
  width: min(272px, calc(100vw - 36px));
  background: var(--white); color: var(--charcoal);
  border: 1.5px solid var(--navy); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(34, 54, 76, .28);
  padding: 16px; display: grid; gap: 8px;
  max-height: min(70vh, 560px); overflow-y: auto;
}
.a11y__panel[hidden] { display: none; }
.a11y__title {
  margin: 0 0 4px; font-family: var(--font-sans); font-weight: 700;
  font-size: .95rem; color: var(--navy); text-align: center;
}
.a11y__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.a11y__size { font-family: var(--font-sans); font-weight: 600; font-size: .85rem; text-align: center; min-width: 52px; color: var(--navy); }
.a11y__panel button, .a11y__link {
  font-family: var(--font-sans); font-size: .88rem; font-weight: 600; line-height: 1.3;
  min-height: 44px; padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--sage-light); color: var(--navy-deep); border: 1.5px solid transparent;
  text-align: center; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.a11y__panel button:hover, .a11y__link:hover { border-color: var(--navy); }
.a11y__panel button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.a11y__panel button[aria-pressed="true"]::after { content: " \2713"; }
.a11y__reset { background: var(--white) !important; color: var(--navy) !important; border-color: var(--sage-green) !important; }
.a11y__link { background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }

/* ---------- Floating controls: keep the three apart ---------- */
.to-top { left: auto; right: 20px; bottom: 90px; }
@media (min-width: 1024px) { .to-top { right: 24px; bottom: 24px; } }

/* ---------- Mode: high contrast ---------- */
:root.a11y-contrast {
  --ivory: #000000; --white: #000000; --cream: #FFFFFF;
  --navy: #FFFF00; --navy-deep: #000000;
  --sage-green: #000000; --sage-light: #000000; --sage: #000000;
  --slate: #000000; --slate-light: #000000; --taupe: #000000; --taupe-light: #000000;
  --gold: #FFFF00; --terracotta: #FFFF00; --charcoal: #FFFFFF;
}
:root.a11y-contrast body { background: #000; color: #fff; }
:root.a11y-contrast h1, :root.a11y-contrast h2, :root.a11y-contrast h3 { color: #FFFF00; }
:root.a11y-contrast p, :root.a11y-contrast li, :root.a11y-contrast span { color: #fff; }
:root.a11y-contrast .section, :root.a11y-contrast .hero, :root.a11y-contrast .trust,
:root.a11y-contrast .site-footer, :root.a11y-contrast .site-header { background: #000 !important; }
:root.a11y-contrast .card, :root.a11y-contrast .media-placeholder, :root.a11y-contrast .about__photo {
  background: #000 !important; border: 2px solid #fff !important; box-shadow: none !important;
}
:root.a11y-contrast .site-header { border-bottom: 2px solid #fff; }
:root.a11y-contrast a { color: #FFFF00; }
:root.a11y-contrast .btn, :root.a11y-contrast .btn--light {
  background: #000 !important; color: #FFFF00 !important; border: 2px solid #FFFF00 !important;
}
:root.a11y-contrast .btn:hover, :root.a11y-contrast .btn--light:hover { background: #222 !important; }
:root.a11y-contrast .icon { background: transparent !important; }
:root.a11y-contrast .icon .fl { fill: transparent; }
:root.a11y-contrast .icon .ln, :root.a11y-contrast .icon .sp { stroke: #FFFF00; }
:root.a11y-contrast .icon .ac { fill: #FFFF00; }
:root.a11y-contrast .hero__bg { display: none; }
:root.a11y-contrast .benefits__list li { border-bottom-color: #fff; }
:root.a11y-contrast .eyebrow::before, :root.a11y-contrast .eyebrow::after { background: #FFFF00; }
:root.a11y-contrast .a11y__panel { background: #000; border-color: #FFFF00; color: #fff; }
:root.a11y-contrast .a11y__panel button, :root.a11y-contrast .a11y__link {
  background: #000; color: #FFFF00; border-color: #FFFF00;
}
:root.a11y-contrast .a11y__panel button[aria-pressed="true"] { background: #FFFF00; color: #000; }
:root.a11y-contrast .a11y__btn { background: #000; color: #FFFF00; border-color: #FFFF00; }
:root.a11y-contrast .to-top, :root.a11y-contrast .fab { background: #000; color: #FFFF00; border-color: #FFFF00; }
:root.a11y-contrast :focus-visible { outline: 3px solid #FFFF00 !important; }

/* ---------- Mode: highlight links ---------- */
:root.a11y-links main a, :root.a11y-links footer a {
  text-decoration: underline !important; text-underline-offset: 3px;
  font-weight: 700 !important; text-decoration-thickness: 2px;
}

/* ---------- Mode: wider spacing ---------- */
:root.a11y-spacing p, :root.a11y-spacing li, :root.a11y-spacing .hero__support,
:root.a11y-spacing .hero__sub, :root.a11y-spacing .lead { line-height: 2 !important; }
:root.a11y-spacing body { letter-spacing: .04em; word-spacing: .12em; }
:root.a11y-spacing h1, :root.a11y-spacing h2, :root.a11y-spacing h3 { line-height: 1.45 !important; }

/* ---------- Mode: plain readable font ---------- */
:root.a11y-readable { --font-serif: Arial, Helvetica, sans-serif; --font-sans: Arial, Helvetica, sans-serif; }
:root.a11y-readable * { font-style: normal !important; }

/* ---------- Mode: stop animation ---------- */
:root.a11y-motion *, :root.a11y-motion *::before, :root.a11y-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
:root.a11y-motion .hero__video { display: none; }
:root.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Testimonials: real quotes, added 2026-10-08 ---------- */
.testimonial { border-inline-start: 3px solid var(--gold); }
.testimonial blockquote p { margin: 0 0 .8em; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { margin-top: 14px; }
.testimonials__grid--single { max-width: 720px; margin-inline: auto; }
@media (min-width: 768px) {
  .testimonials__grid.testimonials__grid--single { grid-template-columns: 1fr; }
}
/* Hebrew: drop the Latin-styled italics, small caps and letter-spacing */
[dir="rtl"] .testimonial blockquote { font-style: normal; }
[dir="rtl"] .testimonial figcaption { letter-spacing: 0; text-transform: none; font-size: 1rem; }

/* ---------- Personalisation section (Hebrew page): three text blocks under gold rules ---------- */
.tailor__list { list-style: none; display: grid; gap: 34px; }
@media (min-width: 900px) { .tailor__list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.tailor__item { padding-top: 20px; border-top: 2px solid var(--gold); }
.tailor__item h3 { margin-bottom: .5em; }
.tailor__item p { margin: 0; }

/* ---------- Fuller menu: tighten the desktop header so the links fit ---------- */
@media (min-width: 1200px) {
  .nav__list a { padding: 0 9px; font-size: .74rem; letter-spacing: .08em; }
  .nav__cta { margin-left: 10px; }
  [dir="rtl"] .nav__cta { margin-left: 0; margin-right: 10px; }
  .site-header__inner { gap: 10px; }
  [dir="rtl"] .nav__list a { font-size: .85rem; letter-spacing: 0; }
}
@media (min-width: 1200px) {
  .nav__list a, .nav__cta { white-space: nowrap; }
}
/* At this range the wordmark would otherwise run under the first menu link. */
@media (min-width: 1200px) {
  .brand__leaf { width: 28px; height: 34px; }
  .brand__name { font-size: .92rem; letter-spacing: .03em; }
  .brand__tag { font-size: .5rem; letter-spacing: .13em; margin-top: 3px; }
}

/* ---------- Real photo in a section, replacing a placeholder ---------- */
.photo-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--sage-light);
}
.photo-frame img { width: 100%; height: auto; display: block; }
/* Narrow desktops: the six menu labels need a little more squeezing to fit. */
@media (min-width: 1200px) and (max-width: 1340px) {
  .nav__list a { padding: 0 7px; font-size: .7rem; letter-spacing: .06em; }
  [dir="rtl"] .nav__list a { font-size: .82rem; }
}
