:root {
  --green:      #2F6B4F;
  --green-2:    #3E8564;
  --green-soft: #E3EFE6;
  --coral:      #E8735A;
  --coral-soft: #FBE3DC;
  --butter:     #FBF0CF;
  --cream:      #FBF6EE;
  --bg:         #FBF6EE;
  --surface:    #FFFFFF;
  --surface-2:  #F4EDE2;
  --border:     #EADFCF;
  --text:       #2B2A27;
  --muted:      #6E6A62;
  --on-green:   #FFFFFF;
  --shadow:     0 18px 50px rgba(47, 107, 79, .14);
  --radius:     20px;
  --maxw:       1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green:      #7CC59D;
    --green-2:    #96D4B1;
    --green-soft: #26342E;
    --coral:      #F08A72;
    --coral-soft: #3A2B2A;
    --butter:     #3A3424;
    --bg:         #1C222B;
    --surface:    #252C37;
    --surface-2:  #2D3542;
    --border:     #36404E;
    --text:       #EEF0F3;
    --muted:      #A6AEBA;
    --on-green:   #14231B;
    --shadow:     0 18px 50px rgba(0, 0, 0, .45);
  }
}

:root[data-theme="dark"] {
  --green:      #7CC59D;
  --green-2:    #96D4B1;
  --green-soft: #26342E;
  --coral:      #F08A72;
  --coral-soft: #3A2B2A;
  --butter:     #3A3424;
  --bg:         #1C222B;
  --surface:    #252C37;
  --surface-2:  #2D3542;
  --border:     #36404E;
  --text:       #EEF0F3;
  --muted:      #A6AEBA;
  --on-green:   #14231B;
  --shadow:     0 18px 50px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: var(--green); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

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

/* Top bar */
header.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: block; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.topnav { display: flex; gap: 24px; }
.topnav a { color: var(--muted); font-weight: 700; font-size: .95rem; }
.topnav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .topnav { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); background: var(--green-soft);
  font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 1.08; margin: 0 0 16px; font-weight: 900; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { color: var(--muted); font-size: 1.15rem; margin: 0 0 28px; max-width: 540px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art .phone { width: 100%; max-width: 290px; border-radius: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (max-width: 820px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  border: 1px solid transparent; transition: transform .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }

/* Sections */
section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 900; letter-spacing: -.02em; margin: 0 0 8px; }
.section-head p { color: var(--muted); margin: 0 auto; max-width: 560px; font-size: 1.05rem; }
.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px dashed var(--border); }
.feature.reverse .shot { order: 2; }
.pill {
  display: inline-block; border-radius: 999px; padding: 4px 12px;
  font-size: .8rem; font-weight: 800; margin-bottom: 10px;
  background: var(--green-soft); color: var(--green);
}
.pill.coral { background: var(--coral-soft); color: var(--coral); }
.pill.butter { background: var(--butter); color: #9A7A1E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.butter { color: #E8C96A; } }
:root[data-theme="dark"] .pill.butter { color: #E8C96A; }
.feature h3 { font-size: 1.6rem; font-weight: 900; margin: 0 0 10px; letter-spacing: -.01em; }
.feature p { color: var(--muted); margin: 0 0 16px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--coral);
}
.shot { display: flex; justify-content: center; }
.shot img { width: 100%; max-width: 280px; border-radius: 34px; border: 1px solid var(--border); box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse .shot { order: 0; }
  .shot img { max-width: 250px; }
}

/* Bond stages */
.stages { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.stage { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px 10px 10px; width: 112px; text-align: center; }
.stage img { width: 76px; height: 76px; display: block; margin: 0 auto 6px; }
.stage span { font-size: .85rem; font-weight: 800; color: var(--muted); }

/* Mascots */
.mascots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.mascot { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px 8px 12px; text-align: center; }
.mascot img { width: 80px; height: 80px; display: block; margin: 0 auto 8px; }
.mascot strong { display: block; }
.mascot span { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .mascots { grid-template-columns: repeat(3, 1fr); } }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: none; width: 220px; scroll-snap-align: center; text-align: center; }
.gallery img { width: 100%; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.gallery figcaption { font-size: .9rem; color: var(--muted); font-weight: 700; margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; padding: 0 20px; }
details[open] { border-color: var(--green); }
summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary .chev { color: var(--coral); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; flex: none; }
details[open] summary .chev { transform: rotate(45deg); }
details .answer { padding: 0 0 18px; color: var(--muted); }
details .answer p { margin: 0 0 10px; }
details .answer p:last-child { margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .ico { font-size: 1.8rem; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 900; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Contact */
.contact {
  background: var(--green); color: var(--on-green);
  border-radius: 28px; padding: 44px 28px; text-align: center; position: relative; overflow: hidden;
}
.contact h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; }
.contact p { margin: 0 auto 18px; max-width: 520px; opacity: .9; }
.contact .email {
  display: inline-block; background: var(--cream); color: #2F6B4F;
  padding: 14px 26px; border-radius: 999px; font-size: 1.1rem; font-weight: 900; word-break: break-all;
}
.contact .note { font-size: .92rem; margin-top: 14px; opacity: .85; }
.contact img { width: 84px; display: block; margin: 0 auto 10px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 40px; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 24px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 900; margin: 0 0 6px; letter-spacing: -.02em; }
.legal .effective { color: var(--muted); margin: 0 0 28px; }
.legal .summary { background: var(--green-soft); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.legal .summary h2 { margin-top: 0; font-size: 1.1rem; }
.legal .summary ul { margin: 0; padding-left: 20px; }
.legal h2 { font-size: 1.25rem; font-weight: 900; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
picture { display: contents; }

/* Theme switch */
.topbar-end { display: flex; align-items: center; gap: 18px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  font: inherit; padding: 0;
}
.theme-toggle:hover { border-color: var(--green); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
.is-dark .theme-toggle .sun { display: none; }
.is-dark .theme-toggle .moon { display: block; }
