/* ===========================================================
   Gereth — Therapist site (Hebrew RTL)
   Boutique-clinic aesthetic. Warm paper, evergreen, terracotta.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&family=Frank+Ruhl+Libre:wght@400;500;700;900&display=swap');

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TOKENS === */
:root {
  --paper:   #f7f2ea;   /* warm background */
  --paper-2: #efe7d9;   /* deeper sand */
  --cream:   #fcf9f3;   /* card surface */
  --ink:     #2a322c;   /* deep green-black text */
  --muted:   #6f6a5f;
  --green:   #33453a;   /* evergreen (dark sections) */
  --green-2: #3e5347;
  --sage:    #9aac8e;
  --sage-tint:#e7ebe0;
  --clay:    #bf6f4c;   /* terracotta accent */
  --clay-2:  #a85b39;
  --clay-tint:#f1e0d6;
  --border:  #e4dac9;
  --line:    #d8cdb8;

  --shadow:    0 24px 60px -24px rgba(42,50,44,.30);
  --shadow-sm: 0 10px 30px -12px rgba(42,50,44,.22);
  --shadow-xs: 0 4px 16px -8px rgba(42,50,44,.20);

  --serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans:  'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* === BASE === */
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .8rem; letter-spacing: .18em;
  color: var(--clay-2); text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--clay); border-radius: 2px; }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === TOP STRIP === */
.top-strip {
  position: relative; z-index: 5;
  background: var(--green);
  color: #e8ede6; font-size: .85rem; letter-spacing: .01em;
  padding: 9px 16px;
  display: flex; gap: 16px; align-items: center; justify-content: center;
}
.top-strip-cta {
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  padding: 3px 16px; font-weight: 600; transition: background .25s, color .25s;
}
.top-strip-cta:hover { background: #fff; color: var(--green); }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247,242,234,.82); backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-xs); border-color: var(--border); background: rgba(247,242,234,.95); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 900; color: var(--ink); }
.brand-sub  { font-size: .78rem; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  color: var(--ink); transition: background .22s, color .22s;
}
.main-nav a:hover { background: var(--sage-tint); color: var(--green); }
.main-nav a.active { color: var(--clay-2); }
.nav-en { font-size: .82rem !important; color: var(--muted) !important; border: 1px solid var(--border); margin-inline-start: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 12px 28px -12px rgba(191,111,76,.7); }
.btn-primary:hover { background: var(--clay-2); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream); border-color: var(--sage); }
.btn-block { width: 100%; justify-content: center; }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--cream); }

/* === HERO === */
.hero { position: relative; z-index: 2; padding: clamp(46px, 8vw, 96px) 26px clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-blob, .hero-blob-2 { position: absolute; z-index: -1; filter: blur(2px); opacity: .9; }
.hero-blob  { width: 620px; top: -120px; inset-inline-start: -160px; color: var(--sage-tint); }
.hero-blob-2{ width: 460px; bottom: -160px; inset-inline-end: -120px; color: var(--clay-tint); }

.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--clay); }
.hero .lead { font-size: 1.18rem; color: var(--ink); margin-bottom: 16px; max-width: 46ch; }
.hero p { color: var(--muted); max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* hero photo: arch + offset block + badge */
.hero-photo { position: relative; display: flex; justify-content: center; }
.photo-stack { position: relative; width: min(380px, 80vw); }
.photo-stack::before {
  content: ""; position: absolute; inset-inline-end: -22px; bottom: -22px; width: 100%; height: 100%;
  border: 1.5px solid var(--sage); border-radius: 220px 220px 26px 26px; z-index: 0;
}
.photo-frame {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5;
  border-radius: 220px 220px 26px 26px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #f3ead9 0%, transparent 60%),
    linear-gradient(160deg, var(--sage-tint), var(--clay-tint));
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.photo-frame .photo-placeholder { color: var(--green-2); font-weight: 600; opacity: .7; }
.photo-frame .sprig { position: absolute; bottom: 14px; inset-inline-start: 14px; width: 120px; color: var(--green-2); opacity: .5; }
.badge {
  position: absolute; z-index: 2; bottom: 26px; inset-inline-start: -18px;
  background: var(--cream); border: 1px solid var(--border); border-radius: 16px;
  padding: 12px 18px; box-shadow: var(--shadow-sm); text-align: center; line-height: 1.2;
}
.badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--clay); }
.badge span { font-size: .8rem; color: var(--muted); }

/* trust strip */
.trust-strip {
  position: relative; z-index: 2; margin-top: 8px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center;
  color: var(--muted); font-weight: 600; font-size: .95rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 26px; }
.trust-strip span::before { content: "•"; color: var(--sage); }
.trust-strip span:first-child::before { content: none; }

/* === BANDS === */
.band { position: relative; z-index: 2; padding: clamp(56px, 8vw, 100px) 26px; }
.band-inner { max-width: var(--maxw); margin: 0 auto; }
.band-inner.narrow { max-width: 780px; }
.band-soft { background: var(--paper-2); }
.band-cream { background: var(--cream); }

.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* online therapy aside */
.check-list { display: grid; gap: 14px; }
.check-list li {
  background: var(--cream); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; font-weight: 600; position: relative; padding-inline-start: 50px;
  box-shadow: var(--shadow-xs);
}
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* methods */
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--sage); }
.method-tag { display: inline-block; font-family: var(--serif); font-weight: 900; font-size: 1.6rem; color: var(--green); margin-bottom: 8px; }
.method-card p { color: var(--muted); margin: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .num {
  font-family: var(--serif); font-size: 3.4rem; font-weight: 900; color: var(--clay);
  line-height: 1; opacity: .9;
}
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); }
.step .connector { position: absolute; top: 36px; inset-inline-start: -15px; width: 30px; height: 2px; background: var(--line); }
.step:first-child .connector { display: none; }

/* quote band */
.band-quote { background: var(--green); color: #eef1ec; text-align: center; }
.band-quote .mark { font-family: var(--serif); font-size: 4.5rem; line-height: .4; color: var(--sage); display: block; margin-bottom: 6px; }
.band-quote blockquote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.4; max-width: 900px; margin: 0 auto 22px; }
.band-quote cite { font-style: normal; color: var(--sage); font-weight: 600; }

/* areas */
.areas-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.area-pill {
  background: var(--cream); border: 1px solid var(--border); border-radius: 999px;
  padding: 13px 26px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-xs);
  transition: background .25s, color .25s, transform .18s var(--ease), border-color .25s;
}
.area-pill:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-3px); }

/* === CONTACT === */
.band-contact { background: var(--paper-2); }
.contact-block { align-items: start; }
.contact-direct { display: grid; gap: 12px; margin-top: 26px; }
.contact-line { font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 10px; }
.contact-line:hover { color: var(--clay-2); }

.contact-form {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow); display: grid; gap: 15px;
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 1rem; padding: 12px 15px; border: 1px solid var(--border);
  border-radius: 11px; background: var(--paper); outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); }
.contact-form .consent { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: .85rem; color: var(--muted); }
.contact-form .consent input { width: auto; }
.contact-form .consent a { color: var(--green); text-decoration: underline; }
.form-msg { margin: 0; color: var(--clay-2); font-weight: 600; font-size: .9rem; }

/* === PAGE HERO (sub pages) === */
.page-hero { position: relative; z-index: 2; background: var(--sage-tint); padding: clamp(54px, 8vw, 92px) 26px; text-align: center; }
.prose p { color: var(--muted); }
.prose .btn { margin-top: 16px; }

/* === FOOTER === */
.site-footer { position: relative; z-index: 2; background: var(--green); color: #cdd4cc; padding: 64px 26px 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 1.7rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-about p { color: #aeb6ac; font-size: .95rem; }
.footer-contact { display: grid; gap: 6px; margin-top: 18px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-col h3 { color: #fff; font-family: var(--sans); font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: #b9c0b6; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 44px auto 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #8d958b; text-align: center; }

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* === RESPONSIVE === */
@media (max-width: 920px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { order: -1; }
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step .connector { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top-strip span:not(.top-strip-cta) { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline-end: 16px; inset-inline-start: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border: 1px solid var(--border); border-radius: 16px;
    padding: 12px; box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
}
@media (max-width: 480px) {
  .methods-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .badge { inset-inline-start: 50%; transform: translateX(50%); }
}

/* ===========================================================
   ADDITIONS — dropdown nav, content pages, FAQ, photo tuning
   =========================================================== */

/* --- Photo framing fix (landscape headshot in arch frame) --- */
.photo-frame { aspect-ratio: 5 / 5.4; border-radius: 200px 200px 24px 24px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.photo-stack::before { border-radius: 200px 200px 24px 24px; }
.badge { bottom: 18px; }

/* --- Dropdown nav --- */
.nav-item.has-children { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 5px; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .97rem; cursor: pointer; transition: background .22s, color .22s; }
.nav-parent:hover { background: var(--sage-tint); color: var(--green); }
.nav-parent.active { color: var(--clay-2); }
.caret { font-size: .7em; opacity: .7; transition: transform .2s; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
  min-width: 230px; background: var(--cream); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 250;
}
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item.has-children:hover .caret { transform: rotate(180deg); }
.nav-dropdown a { padding: 9px 14px; border-radius: 9px; font-size: .94rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--sage-tint); color: var(--green); }
.nav-dropdown a.active { color: var(--clay-2); }

/* --- Page hero subtitle --- */
.page-hero-sub { color: var(--muted); margin-top: 12px; font-size: 1.08rem; max-width: 60ch; margin-inline: auto; }

/* --- Prose (content pages) --- */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.prose p { margin-bottom: 1.1em; color: var(--ink); }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 26px; color: var(--ink); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { color: var(--clay-2); }
.prose em { color: var(--muted); font-size: .9em; }

/* --- CTA band on content pages --- */
.cta-band { text-align: center; }
.cta-band p { color: var(--muted); margin-bottom: 22px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- FAQ (home) --- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-xs); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--clay); transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); }

/* --- Mobile: dropdown becomes inline accordion --- */
@media (max-width: 720px) {
  .nav-item.has-children { width: 100%; }
  .nav-parent { width: 100%; padding: 12px 16px; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 4px 0 4px 12px;
    border-inline-start: 2px solid var(--border); margin: 4px 0 4px 8px;
  }
  .nav-dropdown a { white-space: normal; }
}
