/* ===========================================================================
   Therapy Clips — Design System
   Palette: forest/sage green + warm gold + cream. Serif display + sans body.
   =========================================================================== */

:root {
  --green: #4c5f3f;          /* primary brand green (buttons, links)        */
  --green-dark: #3a4a30;     /* hover / deep headings                       */
  --green-deep: #2f3d27;     /* darkest sections                            */
  --green-soft: #6f8060;     /* muted green accents                         */
  --gold: #c6a25e;           /* warm gold accent                            */
  --gold-dark: #b08d49;
  --cream: #faf6ee;          /* page background                             */
  --cream-2: #f3eee2;        /* alt section background                      */
  --sage-tint: #e9ecdf;      /* panels / cards on cream                     */
  --sage-line: #dcdfcf;
  --text: #38382f;           /* body text (warm charcoal)                   */
  --muted: #6c6c5f;          /* secondary text                             */
  --white: #ffffff;
  --line: rgba(56, 56, 47, .12);
  --shadow-sm: 0 4px 18px rgba(47, 61, 39, .07);
  --shadow: 0 18px 50px rgba(47, 61, 39, .12);
  --shadow-lg: 0 28px 70px rgba(47, 61, 39, .16);
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--green-deep);
  line-height: 1.08;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }

.container { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
  font-size: .76rem;
  color: var(--green-soft);
  margin: 0 0 .8rem;
}
.eyebrow.gold { color: var(--gold-dark); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #4d4d42; }

/* ----- Skip link / a11y --------------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -200px;
  background: var(--green-deep); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 10px 10px; z-index: 2000; font-weight: 700;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ----- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--green); color: #fff; border: 2px solid var(--green);
  text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 10px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(76, 95, 63, .22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  font-family: var(--sans);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); }
.btn.ghost { background: rgba(255,255,255,.85); color: var(--green-deep); border-color: var(--green); box-shadow: none; }
.btn.ghost:hover { background: var(--white); color: var(--green-dark); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green-deep); box-shadow: 0 8px 22px rgba(198,162,94,.3); }
.btn.gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn.lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.text-link { font-weight: 700; color: var(--green-dark); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ----- Announcement bar --------------------------------------------------- */
.announcement {
  background: linear-gradient(90deg, var(--gold), #d8b878);
  color: var(--green-deep);
  text-align: center; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  padding: .6rem 1rem;
}
.announcement a { color: var(--green-deep); font-weight: 800; text-underline-offset: 3px; }

/* ----- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 82px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--green-deep); }
.brand .leaf { width: 34px; height: 34px; flex: none; color: var(--green); }
.brand-text strong { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; display: block; line-height: 1; color: var(--green-deep); }
.brand-text small { display: block; font-size: .5rem; letter-spacing: .06em; white-space: nowrap; text-transform: uppercase; color: var(--green-soft); margin-top: 3px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; padding: .3rem 0; position: relative; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-links a.active { color: var(--green-deep); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown > button {
  background: none; border: 0; font: inherit; cursor: pointer;
  color: var(--text); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .25rem;
}
.has-dropdown > button:hover { color: var(--green); }
.has-dropdown > button::after { content: "\25BE"; font-size: .65em; opacity: .7; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: .5rem; min-width: 230px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transition: .18s ease; z-index: 120;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .dropdown.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; padding: .55rem .8rem; border-radius: 9px; }
.dropdown a:hover { background: var(--sage-tint); color: var(--green-deep); }

.menu-toggle { display: none; background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: .55rem .75rem; font-size: 1.25rem; cursor: pointer; line-height: 1; }

/* ----- Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--cream-2); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250,246,238,.97) 0%, rgba(250,246,238,.9) 34%, rgba(250,246,238,.45) 52%, rgba(250,246,238,0) 70%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 7rem) 0; min-height: 540px; display: flex; align-items: center; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { color: var(--green-deep); margin-bottom: 1rem; }
.hero-copy .lead { max-width: 480px; }

/* ----- Trust bar ---------------------------------------------------------- */
.trust { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust-item { display: flex; align-items: center; gap: .6rem; padding: 1.15rem 1rem; border-right: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--green-deep); line-height: 1.25; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--green-soft); }

/* ----- Sections ----------------------------------------------------------- */
.section { padding: clamp(2.4rem, 4.5vw, 4rem) 0; }
.section.cream2 { background: var(--cream-2); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.section-head h2 { margin-bottom: .5rem; }

/* Feeling/topic icon grid (Support for what you're facing, Imagine feeling) */
.icon-grid { display: grid; gap: 1rem; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
.topic-card {
  background: var(--sage-tint); border: 1px solid var(--sage-line); border-radius: var(--radius);
  padding: 1.5rem 1.25rem; text-align: center; text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
a.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.topic-card .ic { width: 42px; height: 42px; color: var(--green); margin-bottom: .2rem; }
.topic-card h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: var(--green-deep); margin: 0; }
.topic-card p { font-size: .85rem; color: var(--muted); margin: 0; }

.feeling { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.feeling .ic { width: 40px; height: 40px; color: var(--green-soft); }
.feeling span { font-weight: 600; color: var(--green-deep); font-size: .95rem; }

/* ----- Panels (Why choose / Accessible care) ------------------------------ */
.panel { background: var(--sage-tint); border: 1px solid var(--sage-line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.why-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.why-points li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; }
.why-points .ic { width: 42px; height: 42px; flex: none; background: #fff; color: var(--green); border-radius: 50%; padding: 9px; box-shadow: var(--shadow-sm); }
.why-points strong { display: block; color: var(--green-deep); font-size: 1rem; }
.why-points p { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }
.toni-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.toni-photo img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-round { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.toni-photo { position: relative; display: block; }
.toni-photo .sx-verified-seal { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: block; width: clamp(72px, 22%, 104px); line-height: 0; }
.toni-photo .sx-verified-seal img, .toni-photo .sx-verified-seal > * { width: 100%; height: auto; display: block; }
.toni-photo .sx-verified-seal img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.icon-badge { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; }
.icon-badge svg { width: 30px; height: 30px; }

/* ----- Final CTA ---------------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; text-align: center; }
.final-cta .bg { position: absolute; inset: 0; }
.final-cta .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(47,61,39,.82), rgba(47,61,39,.9)); }
.final-cta .inner { position: relative; z-index: 2; padding: clamp(2.6rem, 5vw, 4rem) 0; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.88); max-width: 560px; margin-inline: auto; }

/* ----- Page hero (interior pages) ----------------------------------------- */
.page-hero { background: linear-gradient(120deg, var(--cream-2), var(--sage-tint)); padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .5rem; }

/* ----- Content / prose ---------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--green-dark); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.8rem; margin: .5rem 0; }
.prose ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.prose a { font-weight: 600; }
.cols-2 { columns: 2; column-gap: 2.5rem; }
@media (max-width: 640px) { .cols-2 { columns: 1; } .why-points { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.notice-box { background: var(--sage-tint); border: 1px solid var(--sage-line); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 2rem 0; }
.notice-box .btn { margin-top: .6rem; }
.crisis-box { background: #fbeeee; border: 1px solid #e3b9b9; border-left: 5px solid #b34a4a; border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.8rem 0; }
.crisis-box strong { color: #8c2f2f; }

/* Fees table */
.fees-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fees-table th, .fees-table td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); }
.fees-table th { background: var(--sage-tint); font-family: var(--serif); font-size: 1.1rem; color: var(--green-deep); }
.fees-table tr:last-child td { border-bottom: 0; }

/* Accordion (FAQ) */
.accordion { max-width: 820px; margin-inline: auto; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .3rem 1.3rem; margin-bottom: .8rem; box-shadow: var(--shadow-sm); }
.accordion summary { cursor: pointer; font-weight: 700; color: var(--green-deep); padding: .9rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-dark); font-weight: 400; }
.accordion details[open] summary::after { content: "\2013"; }
.accordion details > p { padding-bottom: 1rem; margin: 0; color: #4d4d42; }

/* Contact form */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.contact-form label { display: block; font-weight: 700; margin-bottom: 1rem; font-size: .9rem; color: var(--green-deep); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: .35rem; padding: .8rem 1rem; border: 1px solid var(--sage-line); border-radius: 10px; font: inherit; background: var(--cream); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--green); background: #fff; }

/* ----- Footer ------------------------------------------------------------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 3.5rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green-soft); margin-bottom: 1rem; }
.site-footer a { display: block; text-decoration: none; color: var(--text); margin: .4rem 0; font-size: .92rem; }
.site-footer a:hover { color: var(--green); }
.footer-brand { margin-bottom: 1rem; }
.footer-col p { font-size: .9rem; color: var(--muted); }
.contact-line { display: flex; gap: .55rem; align-items: flex-start; margin: .4rem 0; font-size: .92rem; color: var(--text); }
.contact-line svg { width: 18px; height: 18px; color: var(--green-soft); flex: none; margin-top: 3px; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: var(--sage-tint); display: grid; place-items: center; margin: 0; }
.social a:hover { background: var(--green); }
.social svg { width: 18px; height: 18px; color: var(--green-deep); }
.social a:hover svg { color: #fff; }
.footer-crisis { font-size: .85rem; color: var(--muted); }
.footer-notice { margin-top: 1.1rem; font-size: .7rem; font-style: italic; color: var(--muted); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .82rem; color: var(--muted); }
.footer-bottom nav a { display: inline; margin: 0 .5rem; font-size: .82rem; }
.footer-bottom nav a:first-child { margin-left: 0; }

/* ----- Sticky mobile CTA -------------------------------------------------- */
.sticky-cta { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; background: var(--gold); color: var(--green-deep); text-decoration: none; font-weight: 700; padding: .8rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow); display: none; }

/* ----- Reveal animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ----- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav-links { display: none; position: absolute; top: 82px; left: 16px; right: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 1rem; gap: .3rem; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .7rem .4rem; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .has-dropdown { width: 100%; }
  .has-dropdown > button { padding: .7rem .4rem; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: .2rem 0 .2rem 1rem; min-width: 0; display: none; }
  .dropdown.open { display: grid; }
  .nav-links .btn { margin-top: .6rem; }
  .menu-toggle { display: block; }
  .why-points { grid-template-columns: 1fr 1fr; }
  .toni-photo { max-width: 380px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3n) { border-right: 0; }
  .cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .cols-6, .cols-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .button-row .btn { width: 100%; }
}
