/* Gentle Dental Hamilton site styles */

/* Self-hosted Nunito (latin subset, variable weight 400-800) - avoids the round trip
   to Google's servers so the font is ready in time, every load, no visible swap. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-accent: #ea580c;
  --color-accent-dark: #c2410c;
  --color-accent-light: #ffedd5;
  --color-ink: #1a2332;
  --color-body: #44505f;
  --color-muted: #6b7684;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f7fb;
  --color-border: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(20, 30, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 30, 50, 0.10);
  --shadow-lg: 0 20px 48px rgba(20, 30, 50, 0.14);
  --container: 1180px;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--color-ink); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Every page opens on a dark hero/page-header band; matching html's background to
   that (instead of the default white) avoids a white flash between page navigations
   while the new page's CSS is still painting. */
@view-transition {
  navigation: auto;
}
img { max-width: 100%; display: block; color: transparent; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 {
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-header .eyebrow { display: block; margin-bottom: 10px; }
.section-header p { color: var(--color-muted); font-size: 1.05rem; }

.eyebrow {
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-secondary { background: var(--color-primary-light); color: var(--color-primary-dark); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Top bar */
.topbar {
  background: var(--color-ink);
  color: #cbd5e1;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { display: inline-flex; }

/* Header / nav */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 16px; min-width: max-content; }
.brand img { height: 135px; width: auto; flex-shrink: 0; }
.brand-text {
  font-weight: 800;
  color: var(--color-ink);
  font-size: 1.05rem;
  line-height: 1.25;
  white-space: nowrap;
}
.brand-text span { display: block; font-weight: 700; color: var(--color-accent); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }

.main-nav { display: flex; align-items: center; justify-content: center; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  padding: 8px 2px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a.active::after,
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active,
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.nav-book {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}
.main-nav a.nav-book::after { display: none; }
.main-nav a.nav-book:hover { background: var(--color-accent-dark); color: #fff; }
.header-cta { display: flex; align-items: center; gap: 14px; justify-self: end; }
.header-cta .btn-primary { padding: 12px 22px; font-size: 0.92rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 45;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--color-ink) 0%, #223055 55%, var(--color-primary-dark) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}
.hero-phone svg { width: 20px; height: 20px; color: var(--color-accent); }
.hero-phone:hover { color: #fff; text-decoration: underline; }
.hero-badges { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; list-style: none; padding: 0; }
.hero-badges li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 700; font-size: 0.92rem; }
.hero-badges li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; }
.hero-art-photo { padding: 20px; }
.hero-art-photo img {
  width: 100%;
  height: auto;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}
.hero-photo-glow {
  position: absolute;
  width: min(90%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 60%, transparent 75%);
}
.hero-dot { position: absolute; border-radius: 50%; }
.hero-dot-1 { top: 6%; right: 8%; }
.hero-dot-2 { bottom: 10%; left: 4%; }
.hero-dot-3 { bottom: 16%; right: 4%; }

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 1;
  transition: opacity 0.25s ease, background 0.15s ease;
  animation: scroll-hint-bounce 2s ease-in-out infinite;
}
.scroll-hint:hover { background: rgba(15, 23, 42, 0.8); }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
#form-anchor { scroll-margin-top: 90px; }
@keyframes scroll-hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
}

/* Page header (interior pages) */
.page-header {
  background: linear-gradient(120deg, var(--color-ink) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: #cbd5e1; max-width: 620px; margin: 0 auto; }
.page-header-light { background: var(--color-surface-alt); padding: 72px 0; }
.page-header-light h1 { color: var(--color-ink); }
.page-header-light p { color: var(--color-body); font-size: 1.1rem; }
.breadcrumb { color: #93c5fd; font-size: 0.85rem; margin-bottom: 12px; }
.breadcrumb a { color: #93c5fd; }

/* Cards / grids */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--color-primary);
}
.card .icon svg { width: 28px; height: 28px; }
.card .icon img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { margin-bottom: 10px; }

.card-book {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.card-book:hover {
  color: inherit;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.card-book:hover .icon { background: rgba(255, 255, 255, 0.85); color: #fff; }
.card-book:hover h3 { color: #fff; }
.card-book:hover p { color: #dbeafe; }
.card-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 18px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.card-book:hover .card-book-btn { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .card-book-btn { opacity: 1; transform: translateY(0); }
}
.card p { color: var(--color-muted); margin-bottom: 0; }
.card a.card-link { display: inline-block; margin-top: 14px; font-weight: 800; }

/* Service card with link wrapper */
.service-card { display: block; color: inherit; }
.service-card:hover { color: inherit; }

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img, .split .media-frame { border-radius: var(--radius-lg); }
.media-frame {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame svg { width: 100%; max-width: 320px; }
.media-frame-photo { padding: 0; overflow: hidden; background: var(--color-surface-alt); }
.media-frame-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame-logo img { width: 100%; max-width: 320px; height: auto; object-fit: contain; }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--color-body); }
.checklist li svg { flex-shrink: 0; color: var(--color-accent); width: 22px; height: 22px; margin-top: 2px; }

/* Stats / USP strip */
.stats { background: var(--color-primary); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 24px; text-align: center; }
.stats .container.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats strong { display: block; font-size: 2rem; font-weight: 800; }
.stats span { font-size: 0.9rem; color: #dbeafe; }
.stats .usp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}
.stats .usp svg { width: 20px; height: 20px; flex-shrink: 0; color: #fff; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--color-accent); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { color: var(--color-body); font-style: italic; }
.testimonial footer { font-weight: 800; color: var(--color-ink); font-style: normal; margin-top: 12px; }

.google-reviews-fallback {
  text-align: center;
  margin-top: 32px;
}
.google-reviews-fallback p { color: var(--color-muted); font-weight: 700; margin-bottom: 16px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #ffedd5; margin: 0; }
.cta-band .btn-outline { border-color: #fff; }
.cta-band-blue { background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }
.cta-band-blue h2 { color: #fff; }
.cta-band-blue p { color: #dbeafe; }
.cta-band-blue .btn-outline { border-color: #fff; color: #fff; }
.cta-band-blue .btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.cta-band-blue .btn-primary { background: #fff; color: var(--color-primary-dark); box-shadow: none; }
.cta-band-blue .btn-primary:hover { background: #eff6ff; color: var(--color-primary-dark); }
.cta-band-stack { flex-direction: column; align-items: flex-start; height: 100%; }
.cta-band-stack .hero-actions { margin-top: 24px; }

/* Insurance / partner logos row */
.partner-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.9;
}
.partner-break { flex-basis: 100%; height: 0; }
.partner-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 14px 28px;
  background: #fff;
  height: 64px;
  transition: box-shadow 0.2s ease;
}
.partner-pill:hover { box-shadow: var(--shadow-sm); }
.partner-pill img { height: 100%; max-height: 34px; width: auto; object-fit: contain; }
.partner-pill-dark { background: var(--color-ink); border-color: var(--color-ink); }

/* Tables (payment options) */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--color-border); }
th { background: var(--color-surface-alt); color: var(--color-ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }

/* Offer cards */
.offer-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.offer-card h3 { margin-bottom: 8px; }
.offer-tag {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.offer-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-card-head .offer-tag { margin-bottom: 12px; }
.offer-card-logo { height: 26px; width: auto; max-width: 90px; object-fit: contain; }
.offer-card-logo-group { display: flex; align-items: center; gap: 10px; }
.offer-card-link { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--color-primary); }
.offer-card-link:hover { color: var(--color-primary-dark); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-ink);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card .info-row svg { color: var(--color-accent); width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.contact-info-card a { color: #fff; font-weight: 700; display: inline-block; padding: 6px 0; }
.hours-table { width: 100%; margin-top: 8px; background: transparent; box-shadow: none; border-radius: 0; }
.hours-table td { padding: 6px 0; border: none; color: #cbd5e1; font-size: 0.92rem; background: transparent; }
.hours-table td:last-child { text-align: right; color: #fff; font-weight: 700; }

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; color: var(--color-ink); font-size: 0.9rem; }
input, select, textarea {
  font-family: var(--font-body);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-surface-alt);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 12px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); margin-top: 32px; }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

.booking-frame-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.booking-frame-header img { height: 44px; width: auto; }
.booking-frame-header span { font-weight: 800; font-size: 1.1rem; color: var(--color-ink); }
.booking-frame {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-top: none;
  box-shadow: var(--shadow-sm);
  height: 2000px;
}
.booking-frame iframe { width: 100%; height: calc(2000px + 84px); margin-top: -84px; border: 0; display: block; }
@media (max-width: 760px) {
  /* Mobile renders an extra "Book with Gentle Dental Hamilton (KARAH LTD)" title
     row below the logo that desktop doesn't show separately - crop that too. */
  .booking-frame iframe { height: calc(2000px + 154px); margin-top: -154px; }
}

.booking-cta-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
}
.booking-cta-card img { height: 64px; width: auto; margin-bottom: 20px; }
.booking-cta-card h2 { margin-bottom: 10px; }
.booking-cta-card p { color: var(--color-muted); margin-bottom: 24px; }
.booking-cta-note { color: var(--color-muted); font-size: 0.9rem; margin-top: 18px; margin-bottom: 0; }

/* Accordion (FAQ style, used on payment/deals) */
.accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; background: #fff; }
.accordion-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 400;
}
.accordion-item[open] summary::after { content: '\2212'; }
.accordion-item .accordion-body { padding: 0 22px 20px; color: var(--color-muted); }

/* Footer */
.site-footer { background: var(--color-ink); color: #94a3b8; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 2px; }
.footer-grid a { color: #94a3b8; display: inline-block; padding: 8px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-badge {
  display: inline-flex;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: var(--shadow-sm);
}
.footer-brand img { height: 72px; width: 72px; object-fit: contain; display: block; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #cbd5e1; display: inline-block; padding: 8px 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero p.lead { margin: 0; }
  .hero-art { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .media-frame { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1480px) {
  .site-header .container { min-height: 76px; }
  .brand img { height: 124px; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: 280px; max-width: 85vw; background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px 28px 28px; box-shadow: -10px 0 30px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.25s ease; z-index: 60; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 20px; width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 760px) {
  .topbar-info span:nth-child(3) { display: none; }
  .site-header .container { min-height: 68px; }
  .brand img { height: 100px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .grid-compact { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-compact .card { padding: 18px 14px; }
  .grid-compact .card .icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .grid-compact .card .icon svg { width: 20px; height: 20px; }
  .grid-compact .card h3 { font-size: 0.98rem; margin-bottom: 4px; }
  .grid-compact .card p { font-size: 0.82rem; line-height: 1.4; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 48px 0; }
}

/* Floating scroll CTA */
.floating-book-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.floating-book-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-book-btn:hover { background: var(--color-accent-dark); color: #fff; }
@media (max-width: 760px) {
  .floating-book-btn {
    top: auto;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateY(12px);
  }
  .floating-book-btn.visible { transform: translateY(0); }
}
