/* ============================================================
   SBHIS — Garden Sunrise Design System
   Shared across all pages
   ============================================================ */

/* ---------- FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Caveat:wght@400;600&display=swap');

/* ---------- VARIABLES ---------- */
:root {
  --cream:       #fffaf3;
  --cream-2:     #fdf2e6;
  --cream-3:     #fbe5cf;
  --accent:      #e76f3a;
  --accent-deep: #c84f1a;
  --accent-soft: #ffb992;
  --gold:        #d6a05a;
  --ink:         #2a1f1a;
  --ink-2:       #3d2a22;
  --ink-dim:     #6b5a52;
  --ink-faint:   #9d8a82;
  --line:        #f0e4d9;
  --line-soft:   #f7ede4;
  --terra:       #c2685a;
  --shadow-sm:   0 8px 22px rgba(200,79,26,.10);
  --shadow-md:   0 30px 70px rgba(200,79,26,.15);
  --radius-card: 32px;
  --radius-pill: 999px;
  --max-w:       1200px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- HELPERS ---------- */
.script { font-family: 'Caveat', cursive; letter-spacing: 0; }
.count  { font-variant-numeric: tabular-nums; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,243,.90);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--max-w); margin: 0 auto; height: 76px;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; }
.nav-links {
  display: flex; gap: 28px; font-size: 16px; font-weight: 500;
}
.nav-links a {
  color: var(--ink-2); opacity: .78;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--accent-deep); }
.nav-links a.active { font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--cream);
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  transition: transform .2s, background .2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.nav-burger {
  display: none; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px; flex-shrink: 0;
}
.nav-burger:hover { background: var(--cream-2); }
.nav-burger svg { width: 22px; height: 22px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: var(--radius-pill);
  font-size: 17px; font-weight: 600;
  transition: transform .25s, background .25s, box-shadow .25s, border-color .25s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-deep); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ink); box-shadow: var(--shadow-md); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--accent); }
.btn-sm { padding: 12px 22px; font-size: 15px; }

/* ---------- SECTION HEADER ---------- */
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .sup {
  font-family: 'Caveat', cursive; font-size: 26px;
  color: var(--terra); display: inline-block;
  transform: rotate(-2deg); margin-bottom: 4px;
}
.sec-head h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  letter-spacing: -.022em; line-height: 1.15; color: var(--ink);
}
.sec-head p {
  margin-top: 16px; font-size: 18px;
  color: var(--ink-dim); max-width: 600px;
  margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 80px 28px 72px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(255,185,146,.40), transparent 55%),
    radial-gradient(500px 300px at 5%  90%, rgba(255,185,146,.28), transparent 60%);
}
.page-hero-in {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--accent-deep);
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(44px, 6vw, 80px); font-weight: 800;
  letter-spacing: -.028em; line-height: 1.05; color: var(--ink);
  max-width: 820px;
}
.page-hero h1 em {
  font-style: normal; color: var(--accent-deep);
}
.page-hero p {
  margin-top: 22px; font-size: 20px; color: var(--ink-dim);
  line-height: 1.55; max-width: 620px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  margin: 80px auto;
  max-width: 1140px;
  background: var(--accent-deep); color: var(--cream);
  border-radius: 48px; padding: 72px 60px;
  position: relative; overflow: hidden; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 300px at 88% 5%,  rgba(255,185,146,.25), transparent 55%),
    radial-gradient(400px 300px at 5%  95%, rgba(194,104,90,.18), transparent 55%);
}
.cta-band .inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-band .script { font-size: 28px; color: var(--accent-soft); display: inline-block; transform: rotate(-2deg); margin-bottom: 8px; }
.cta-band h2 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.08;
}
.cta-band h2 em { font-style: normal; color: var(--accent-soft); }
.cta-band p { margin-top: 18px; font-size: 18px; color: var(--accent-soft); line-height: 1.55; }
.cta-band .phone-btn {
  margin-top: 38px; display: inline-flex; align-items: center; gap: 14px;
  background: var(--cream); color: var(--accent-deep);
  padding: 20px 36px; border-radius: var(--radius-pill);
  font-size: 22px; font-weight: 700;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-md);
}
.cta-band .phone-btn:hover { transform: translateY(-3px) scale(1.02); }
.cta-band .phone-btn svg { width: 22px; height: 22px; }
.cta-band .hours { margin-top: 20px; font-size: 14px; color: var(--gold); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--cream-2);
  padding: 64px 28px 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
}
.foot-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line);
}
.foot-brand img { height: 34px; }
.foot-brand p { margin-top: 16px; font-size: 15px; color: var(--ink-dim); max-width: 320px; line-height: 1.55; }
.foot-brand .foot-phone {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: var(--accent-deep);
}
.foot-grid h5 {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px;
}
.foot-grid ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-grid a:hover { color: var(--ink); }
.foot-bot {
  max-width: var(--max-w); margin: 0 auto; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--ink-faint);
}
.foot-bot a + a { margin-left: 16px; }
.foot-langs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.foot-langs span {
  font-size: 13px; color: var(--ink-faint);
  background: var(--cream); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 99px;
}

/* ---------- ANIMATIONS ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s ease, transform .9s ease;
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  .anim-enter {
    opacity: 0; transform: translateY(20px);
    animation: enter .9s cubic-bezier(.22,.61,.36,1) forwards;
  }
  @keyframes enter { to { opacity: 1; transform: translateY(0); } }

  @keyframes wobble {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%       { transform: translateY(-10px) rotate(3deg); }
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--cream); padding: 24px 28px; gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(42,31,26,.08);
    font-size: 18px;
  }
  .nav-burger { display: inline-flex; }
  .nav-right .nav-cta { display: none; }
  .cta-band { padding: 56px 28px; border-radius: 28px; margin: 48px 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 24px 48px; }
}
