/* Luminos Psychoeducational Services — shared styles */

:root {
  --navy: #1b3a6b;
  --navy-deep: #14294d;
  --blue: #2f6fb3;
  --blue-light: #5b9bd5;
  --gold: #f3b73b;        /* sunny "light" accent — matches the Luminos sun */
  --gold-deep: #e09e1f;
  --sky: #eaf2fb;         /* soft blue wash */
  --cream: #f6f1e9;
  --paper: #ffffff;
  --ink: #1f2733;
  --muted: #5c6573;
  --line: #e4e9f0;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 34px rgba(20, 41, 77, 0.10);
  --shadow-gold: 0 14px 40px rgba(224, 158, 31, 0.22);
  --shadow-blue: 0 14px 40px rgba(47, 111, 179, 0.18);
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #faf9f6;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .wordmark { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: 0.14em; color: var(--navy); font-weight: 700; }
.brand .wordmark span { display: block; font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.28em; color: var(--muted); font-weight: 600; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--blue); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.btn-sun { background: var(--gold); color: var(--navy-deep) !important; box-shadow: var(--shadow-gold); }
.btn-sun:hover { background: var(--gold-deep); color: var(--navy-deep) !important; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 15% -80px, rgba(243,183,59,0.20), transparent 70%),
    radial-gradient(1000px 480px at 85% -60px, rgba(91,155,213,0.20), transparent 70%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 92px;
  text-align: center;
}
.hero .sun { width: 64px; height: 64px; margin: 0 auto 26px; display: block; }
.hero h1 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 18px;
}
.hero .tagline { font-style: italic; color: var(--blue); font-size: 1.25rem; margin: 0 0 14px; }
.hero p.lead { max-width: 620px; margin: 0 auto 32px; color: var(--muted); font-size: 1.1rem; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-label { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: var(--blue); font-weight: 700; margin: 0 0 10px; }
h2 { font-family: var(--font-serif); color: var(--navy); font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 18px; }
.section-intro { max-width: 640px; color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-blue); }
.card .icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: rgba(47,111,179,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
/* playful per-card icon tints — blue & sunny gold */
.card:nth-child(1) .icon { background: rgba(47,111,179,0.12); }
.card:nth-child(2) .icon { background: rgba(243,183,59,0.20); }
.card:nth-child(2) .icon svg { stroke: var(--gold-deep); }
.card:nth-child(3) .icon { background: rgba(47,111,179,0.12); }
.card h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.25rem; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Alt section ---------- */
.alt {
  background: linear-gradient(180deg, var(--sky), #f6faff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 48px; align-items: start; }
.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue), var(--navy));
  box-shadow: var(--shadow-blue);
  border: 5px solid #fff;
  outline: 1px solid var(--line);
}
.portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.portrait .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 24px 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(20,41,77,0.78), transparent);
}
.portrait .name { font-family: var(--font-serif); font-size: 1.5rem; }
.portrait .role { font-size: 0.9rem; opacity: 0.92; letter-spacing: 0.04em; }
/* little sun accent on the portrait */
.portrait::after {
  content: "";
  position: absolute; top: 16px; right: 16px;
  width: 26px; height: 26px;
  background: radial-gradient(circle, var(--gold) 30%, transparent 32%),
    conic-gradient(from 0deg, transparent 0 12deg, var(--gold) 12deg 18deg, transparent 18deg 30deg);
  border-radius: 50%;
  opacity: 0.9;
}
.prose p { color: var(--ink); margin: 0 0 18px; }
.prose h3 { font-family: var(--font-serif); color: var(--navy); margin: 28px 0 10px; }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cred-list li { padding-left: 26px; position: relative; color: var(--muted); }
.cred-list li::before { content: "✦"; position: absolute; left: 0; color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn { background: #fff; color: var(--navy) !important; }
.cta-band .btn:hover { background: var(--cream); }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 560px;
  margin: 36px auto 0;
  text-align: left;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: #fff; margin-bottom: 6px; letter-spacing: 0.02em; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.97rem;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.55); }
.field input:focus,
.field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.14); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; border: none; cursor: pointer; font-size: 1rem; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-align: center; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 48px 0 36px; font-size: 0.92rem; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer .brand .wordmark { color: #fff; }
.site-footer .brand .wordmark span { color: rgba(255,255,255,0.6); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.footer-col a { display: block; margin-bottom: 8px; }
.footer-bottom { padding-top: 22px; opacity: 0.7; font-size: 0.85rem; }

/* ---------- Header scroll state + active link ---------- */
.site-header { transition: box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(20,41,77,0.08); background: rgba(250,249,246,0.97); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--gold); margin-top: 4px;
}

/* ---------- Hamburger toggle ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
  padding: 10px; border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Stats strip ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); line-height: 1; }
.stat .label { color: rgba(255,255,255,0.82); margin-top: 8px; font-size: 0.98rem; }

/* ---------- Process / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 26px 28px; box-shadow: var(--shadow);
}
.step .step-num {
  position: absolute; top: -18px; left: 26px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--shadow-gold);
}
.step h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.2rem; margin: 8px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Meet Ibis band ---------- */
.meet { background: linear-gradient(180deg, var(--sky), #f6faff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meet-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.meet .photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; border: 5px solid #fff;
  box-shadow: var(--shadow-blue); outline: 1px solid var(--line);
}
.meet .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.meet h2 { margin-top: 6px; }
.meet .sig { font-family: var(--font-serif); font-style: italic; color: var(--blue); font-size: 1.2rem; margin-top: 18px; }

/* ---------- Testimonial ---------- */
.quote { text-align: center; }
.quote blockquote {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--navy); line-height: 1.4; max-width: 760px; margin: 0 auto; position: relative;
}
.quote blockquote::before { content: "\201C"; color: var(--gold); font-size: 3.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 6px; }
.quote .cite { color: var(--muted); margin-top: 22px; font-size: 0.98rem; }

/* ---------- Services detail list ---------- */
.service-row { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: none; }
.service-row .s-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(47,111,179,0.1); display: flex; align-items: center; justify-content: center;
}
.service-row:nth-child(even) .s-icon { background: rgba(243,183,59,0.18); }
.service-row:nth-child(even) .s-icon svg { stroke: var(--gold-deep); }
.service-row h3 { font-family: var(--font-serif); color: var(--navy); font-size: 1.35rem; margin: 4px 0 8px; }
.service-row p { color: var(--muted); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; font-size: 1.05rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.3s ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px; }
.faq-q .plus::before { top: 11px; left: 3px; right: 3px; height: 2.5px; }
.faq-q .plus::after { left: 11px; top: 3px; bottom: 3px; width: 2.5px; transition: transform 0.3s ease; }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Form success ---------- */
.form-success { text-align: center; padding: 20px 0; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700;
}
.form-success h3 { color: #fff; font-family: var(--font-serif); margin: 0 0 8px; }
.form-success p { color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- Booking embed ---------- */
.booking-embed {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 10px;
  overflow: hidden;
  max-width: 480px;          /* keeps Google's widget as a tidy centered column */
  margin: 0 auto;
}
.booking-embed iframe { display: block; width: 100%; border: 0; border-radius: 12px; min-height: 760px; }
.book-note { text-align: center; color: var(--muted); margin: 22px auto 0; max-width: 560px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 60px 0 44px; text-align: center; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .stats .grid { grid-template-columns: 1fr; gap: 28px; }
  .meet-grid { grid-template-columns: 1fr; gap: 28px; }
  .meet .photo { max-width: 300px; }

  /* mobile nav */
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20,41,77,0.10);
    padding: 8px 16px 18px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }
  .nav-links.open { max-height: 420px; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: inline-block; width: 22px; }
  .nav-links a.btn { text-align: center; margin-top: 14px; border-bottom: none; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
}
