/* ═══════════════════════════════════════════════════════
   psychotherapy/ — style.css
   Site-specific palette, fonts, and layout.
   Loaded AFTER ../_partials/shared.css
   Shared structural CSS (reset, nav layout, footer grid,
   .reveal) is already applied — DO NOT redefine here.
═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --nav-mob-bg: #F0ECE8;
  --sage:       #7D9B76;
  --sage-light: #A8C0A2;
  --sage-pale:  #D4E4D1;
  --sage-glow:  rgba(125,155,118,.12);
  --lav:        #C4B7D3;
  --lav-light:  #DDD5E8;
  --lav-pale:   #EDE9F3;
  --warm:       #FAF8F5;
  --warm2:      #F2EDE8;
  --bark:       #3D3530;
  --bark2:      #5C524C;
  --muted:      rgba(61,53,48,.52);
  --border:     rgba(125,155,118,.18);
  --card:       rgba(250,248,245,.85);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --warm:   #1A1916;
    --warm2:  #221F1C;
    --bark:   #E8E0D8;
    --bark2:  #C4BAB0;
    --muted:  rgba(232,224,216,.5);
    --card:   rgba(34,31,28,.85);
    --border: rgba(125,155,118,.2);
  }
}


body { font-family: var(--sans); background: var(--warm); color: var(--bark); overflow-x: hidden; }

/* ── REVEAL ─────────────────────────────────── */

.reveal-slow { opacity: 0; transition: opacity 1.4s ease; }
.reveal-slow.is-visible { opacity: 1; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(26,25,22,.92); }
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 400;
  letter-spacing: .04em; color: var(--bark);
}
.nav__logo em { font-style: italic; color: var(--sage); }
.nav__links { display: flex; gap: 2.2rem; list-style: none; }
.nav__links a {
  font-size: .8rem; font-weight: 400;
  color: var(--muted); letter-spacing: .06em;
  transition: color .25s;
}
.nav__links a:hover { color: var(--sage); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: flex; gap: .3rem; }
.lang-toggle button {
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted); padding: .22rem .6rem;
  border-radius: 20px; cursor: pointer; transition: all .2s;
}
.lang-toggle button.active,
.lang-toggle button:hover {
  border-color: var(--sage); color: var(--sage);
  background: var(--sage-glow);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: .4rem;
}
.hamburger span { display: block; width: 20px; height: 1px; background: var(--bark); transition: all .3s; }
body.nav-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.nav__drawer {
  display: none; position: fixed; inset: 0;
  background: var(--warm);
  z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.8rem;
}
body.nav-open .nav__drawer { display: flex; }
.nav__drawer a { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--bark); letter-spacing: .06em; }
.nav__drawer a:hover { color: var(--sage); }
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 65px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8vw;
  gap: 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 50vw; height: 50vw;
  background: radial-gradient(ellipse, rgba(196,183,211,.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 5%; left: -8%;
  width: 35vw; height: 35vw;
  background: radial-gradient(ellipse, var(--sage-glow) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero__left { position: relative; z-index: 1; }
.hero__kicker {
  font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero__kicker::before { content: ''; width: 24px; height: 1px; background: var(--sage); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 300; line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 1.8rem;
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero__body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--muted); line-height: 1.85;
  max-width: 440px; margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-sage {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem;
  background: var(--sage); color: white;
  border: none; border-radius: 40px;
  cursor: pointer; transition: all .3s;
}
.btn-sage:hover { background: var(--sage-light); box-shadow: 0 8px 28px var(--sage-glow); transform: translateY(-2px); }
.btn-outline {
  font-size: .78rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 2rem;
  background: transparent;
  border: 1px solid var(--border); color: var(--muted);
  border-radius: 40px; cursor: pointer; transition: all .3s;
}
.btn-outline:hover { border-color: var(--sage); color: var(--sage); }
.hero__right {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero__portrait {
  width: min(380px, 90%);
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--lav-pale) 0%, var(--sage-pale) 100%);
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 80px rgba(125,155,118,.15);
}
.hero__portrait::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(125,155,118,.2));
}
.hero__portrait-name {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center;
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 300; font-style: italic;
  color: var(--bark); letter-spacing: .08em;
}
.hero__float {
  position: absolute; right: -1.5rem; top: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}
.hero__float .fl-num {
  font-family: var(--serif); font-size: 1.8rem;
  font-weight: 300; color: var(--sage); line-height: 1;
}
.hero__float .fl-label { font-size: .68rem; color: var(--muted); letter-spacing: .08em; margin-top: .2rem; }
.hero__float2 {
  position: absolute; left: -2rem; bottom: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  backdrop-filter: blur(12px); max-width: 190px;
}
.hero__float2 p { font-size: .78rem; color: var(--muted); line-height: 1.6; font-style: italic; }
.hero__float2 cite { font-size: .65rem; color: var(--sage); letter-spacing: .08em; display: block; margin-top: .4rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; min-height: auto; gap: 3rem; text-align: center; }
  .hero__kicker { justify-content: center; }
  .hero__body { margin: 0 auto 2rem; }
  .hero__cta { justify-content: center; }
  .hero__portrait { width: min(280px, 80%); margin: 0 auto; }
  .hero__float, .hero__float2 { display: none; }
}

/* ── SECTION COMMON ──────────────────────────── */
.section-eye {
  font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 1rem; opacity: .8;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 300; line-height: 1.2;
  letter-spacing: .01em; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sage); }
.section-sub {
  font-size: .95rem; color: var(--muted);
  line-height: 1.85; font-weight: 300;
  max-width: 520px;
}

/* ── ABOUT / STORY ───────────────────────────── */
.story-section {
  padding: 7rem 8vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.story-section .section-sub { max-width: 100%; }
.story__paras p {
  font-size: .95rem; color: var(--muted);
  line-height: 1.95; font-weight: 300;
  margin-bottom: 1.4rem;
}
.story__paras p:last-child { margin-bottom: 0; }
.story__paras strong { color: var(--bark); font-weight: 500; }
.story__visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.8rem;
  backdrop-filter: blur(8px);
}
.sv-card.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.sv-card.lavender { background: linear-gradient(135deg, var(--lav-pale) 0%, var(--warm2) 100%); }
.sv-card.sage { background: linear-gradient(135deg, var(--sage-pale) 0%, var(--warm2) 100%); }
.sv-num {
  font-family: var(--serif); font-size: 2.8rem;
  font-weight: 300; color: var(--sage);
  line-height: 1; margin-bottom: .4rem;
}
.sv-label { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.sv-quote {
  font-family: var(--serif); font-size: 1.05rem;
  font-style: italic; color: var(--bark); line-height: 1.65;
}

@media (max-width: 900px) {
  .story-section { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .story__visual { grid-template-columns: 1fr 1fr; }
  .sv-card.tall { grid-row: span 1; }
}
@media (max-width: 520px) {
  .story__visual { grid-template-columns: 1fr; }
}

/* ── APPROACH ────────────────────────────────── */
.approach-section {
  padding: 7rem 8vw;
  background: linear-gradient(to bottom, var(--warm2), var(--warm));
}
.approach-section .inner { max-width: 1100px; margin: 0 auto; }
.approach-section .head { text-align: center; margin-bottom: 4rem; }
.approach-section .head .section-sub { margin: 0 auto; }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.acard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 2.2rem;
  backdrop-filter: blur(8px); position: relative;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.acard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--sage), var(--lav));
  opacity: 0; transition: opacity .3s;
}
.acard:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(125,155,118,.1); }
.acard:hover::before { opacity: 1; }
.acard__icon { font-size: 1.8rem; margin-bottom: 1.2rem; display: block; }
.acard__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: .7rem; letter-spacing: .02em; }
.acard__body { font-size: .85rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ── WHAT TO EXPECT ──────────────────────────── */
.expect-section { padding: 7rem 8vw; }
.expect-section .inner { max-width: 900px; margin: 0 auto; }
.expect-section .head { margin-bottom: 3.5rem; }
.expect-steps { display: flex; flex-direction: column; gap: 0; }
.estep {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.estep:last-child { border-bottom: none; }
.estep__num {
  font-family: var(--serif); font-size: 3rem;
  font-weight: 300; color: var(--sage-light);
  line-height: 1; opacity: .6; padding-top: .2rem;
}
.estep__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: .6rem; }
.estep__body { font-size: .88rem; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ── FAQ ─────────────────────────────────────── */
.faq-section {
  padding: 7rem 8vw;
  background: linear-gradient(to bottom, var(--warm), var(--warm2));
}
.faq-section .inner { max-width: 760px; margin: 0 auto; }
.faq-section .head { text-align: center; margin-bottom: 3.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: none; cursor: pointer;
  padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
  color: var(--bark); transition: color .2s;
}
.faq-q:hover { color: var(--sage); }
.faq-q .arrow {
  width: 22px; height: 22px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-q .arrow { transform: rotate(45deg); background: var(--sage); border-color: var(--sage); color: white; }
.faq-a {
  font-size: .88rem; color: var(--muted); line-height: 1.85;
  font-weight: 300; max-height: 0; overflow: hidden;
  transition: max-height .5s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.4rem; }

/* ── CONTACT / BOOKING ───────────────────────── */
.contact-section { padding: 7rem 8vw; }
.contact-section .inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-info p { font-size: .9rem; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.info-item .icon { font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.info-item div { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.info-item strong { color: var(--bark); display: block; margin-bottom: .1rem; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 2.5rem; backdrop-filter: blur(8px); }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: .8rem 1.1rem;
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 10px; color: var(--bark);
  font-family: var(--sans); font-size: .88rem; font-weight: 300;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-glow);
}
.form-row select option { background: var(--warm); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; margin-top: .5rem;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 1rem; background: var(--sage);
  color: white; border: none; border-radius: 40px;
  cursor: pointer; transition: all .3s;
}
.form-submit:hover { background: var(--sage-light); box-shadow: 0 8px 28px var(--sage-glow); }
#cConfirm { display: none; margin-top: 1rem; padding: .9rem; border-radius: 10px; background: var(--sage-glow); border: 1px solid var(--sage); font-size: .82rem; color: var(--sage); text-align: center; }

@media (max-width: 900px) {
  .contact-section .inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-section { padding: 4rem 1.5rem; }
}

/* ── FITBYJUSTINO BRIDGE ─────────────────────── */
.bridge-section {
  padding: 5rem 8vw;
  text-align: center;
  background: linear-gradient(135deg, var(--lav-pale) 0%, var(--sage-pale) 100%);
}
.bridge-section .section-title { margin-bottom: 1rem; }
.bridge-section .section-sub { margin: 0 auto 2.5rem; }
@media (prefers-color-scheme: dark) {
  .bridge-section { background: linear-gradient(135deg, rgba(196,183,211,.08) 0%, rgba(125,155,118,.08) 100%); }
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--warm2);
  border-top: 1px solid var(--border);
  padding: 4rem 8vw 2.5rem;
}
.ft-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1100px; margin: 0 auto 3rem;
}
.ft-brand .flogo { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--sage); margin-bottom: .8rem; }
.ft-brand p { font-size: .82rem; color: var(--muted); line-height: 1.7; max-width: 240px; font-weight: 300; }
.ft-col h4 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; opacity: .7; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.ft-col ul li a { font-size: .82rem; color: var(--muted); transition: color .2s; font-weight: 300; }
.ft-col ul li a:hover { color: var(--sage); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border); font-size: .75rem; color: var(--muted); }
.ft-bot a { color: var(--sage); opacity: .6; transition: opacity .2s; }
.ft-bot a:hover { opacity: 1; }
@media (max-width: 768px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ft-brand { grid-column: 1/-1; }
  .ft-bot { flex-direction: column; gap: .8rem; text-align: center; }
}
@media (max-width: 480px) {
  .ft-grid { grid-template-columns: 1fr; }
}

/* ── THEME TOGGLE BUTTON ───────────────────────────── */
.btn-theme {
  border-color: var(--border, rgba(255,255,255,.1));
  color: var(--text-m, #888);
}
.btn-theme:hover { border-color: var(--accent, #888); color: var(--accent, #fff); }
.nav__ham span { background: var(--bark); }
.nav-open .nav__links { background: var(--warm); border-top: 1px solid var(--border); }

/* ── MANUAL THEME TOGGLE — psychotherapy ── */
/* Dark: manual override of light default */
[data-theme="dark"] {
  --warm:   #1A1916;
  --warm2:  #221F1C;
  --bark:   #E8E0D8;
  --bark2:  #C4BAB0;
  --muted:  rgba(232,224,216,.5);
  --card:   rgba(34,31,28,.85);
  --border: rgba(125,155,118,.2);
  color-scheme: dark;
}
/* Light: re-assert light values when OS is dark but user toggled light */
[data-theme="light"] {
  --warm:   #FAF8F5;
  --warm2:  #F2EDE8;
  --bark:   #3D3530;
  --bark2:  #5C524C;
  --muted:  rgba(61,53,48,.52);
  --card:   rgba(250,248,245,.85);
  --border: rgba(125,155,118,.18);
  color-scheme: light;
}

/* ── FOOTER colours ── */
.site-footer { background: var(--warm2); border-top: 1px solid var(--border); }
.site-footer .ft-brand .ft-logo { color: var(--bark); }
.site-footer .ft-col h4 { color: var(--sage); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--bark); }
.site-footer .ft-bot { color: var(--muted); border-top: 1px solid var(--border); }
