/* ===========================================================
   Ray of Sunshine Therapy — shared styles
   Warm "sunshine" palette
   =========================================================== */

:root {
  --cream:        #FFFBF4;
  --cream-2:      #FFF4E4;
  --sun:          #F5B841;
  --sun-deep:     #E39A2E;
  --peach:        #F4A26B;
  --peach-soft:   #FBE3CE;
  --terracotta:   #C9704B;
  --ink:          #4A3F35;
  --ink-soft:     #6E6053;
  --line:         #EAD9C4;
  --white:        #FFFFFF;
  --radius:       18px;
  --shadow:       0 12px 40px rgba(201, 112, 75, 0.10);
  --shadow-sm:    0 6px 20px rgba(201, 112, 75, 0.08);
  --maxw:         1080px;
  --serif:        "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --sans:         "Helvetica Neue", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
a  { color: var(--terracotta); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 244, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand .name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; letter-spacing: .2px; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: .95rem;
  padding: 8px 12px; border-radius: 999px; transition: all .2s ease;
}
.nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.nav-links a.active { color: var(--terracotta); font-weight: 600; }
.nav-cta {
  background: var(--sun); color: var(--ink) !important; font-weight: 600 !important;
  padding: 9px 18px !important; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--sun-deep) !important; color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 0; transition: all .2s ease;
}
.btn-primary { background: var(--sun); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sun-deep); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--terracotta); border: 1.5px solid var(--peach); }
.btn-ghost:hover { background: var(--peach-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--cream-2) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--peach-soft) 0%, transparent 55%),
    var(--cream);
  padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 9vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-block; background: var(--cream-2); color: var(--sun-deep);
  font-weight: 600; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero p.lead { font-size: 1.2rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero-art { display: flex; justify-content: center; align-items: center; }
.sun-badge {
  width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--sun) 0%, var(--peach) 70%, var(--terracotta) 130%);
  box-shadow: 0 30px 70px rgba(227, 154, 46, .35), inset 0 0 60px rgba(255,255,255,.25);
  position: relative; display: grid; place-items: center;
}
.sun-badge .quote {
  font-family: var(--serif); color: #fff; text-align: center; padding: 0 30px;
  font-size: 1.15rem; line-height: 1.5; text-shadow: 0 2px 12px rgba(160,90,40,.35);
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section.alt { background: var(--cream-2); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--sun-deep); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-2); margin-bottom: 16px; font-size: 1.4rem;
}
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: 0; font-size: .98rem; }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills li {
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-size: .93rem;
}

/* fact list */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .dot { color: var(--sun-deep); font-weight: 800; }

/* profile split */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.portrait {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--peach-soft), var(--cream-2));
  aspect-ratio: 4/5; display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--ink-soft); font-size: .9rem; border: 1px solid var(--line);
}

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 10px; }
.stat .n { font-family: var(--serif); font-size: 2rem; color: var(--terracotta); }
.stat .l { font-size: .9rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sun) 0%, var(--peach) 100%);
  border-radius: 24px; padding: clamp(36px, 6vw, 60px); text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2, .cta-band p { color: #4a2f18; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-primary:hover { background: #2f271f; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); transition: border .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(245,184,65,.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-msg { padding: 14px 16px; border-radius: 12px; background: var(--peach-soft); color: var(--terracotta); font-size: .95rem; display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #E9DDCB; padding: 54px 0 30px; }
.footer a { color: #F6C453; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { font-family: var(--serif); color: #fff; margin: 0 0 12px; font-size: 1.05rem; }
.footer p, .footer li { color: #CFC2AE; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand .name { color: #fff; }
.footer-bottom { border-top: 1px solid #5a4c3d; padding-top: 20px; font-size: .85rem; color: #B5A794; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.disclaimer { font-size: .8rem; color: #9c8e7c; max-width: 60ch; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 12px 24px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 12px; }
  .nav-toggle { display: block; }
  .form .row { grid-template-columns: 1fr; }
}
