/* Brightside Family Dental: static handwritten CSS. Solid colors only. */
:root {
  --brand: #0e7c7b;
  --brand-ink: #0a5f5e;
  --brand-tint: #e6f2f1;
  --bg: #f6f7f6;
  --surface: #ffffff;
  --text: #102530;
  --muted: #4b5d66;
  --line: #e2e7e6;
  --star: #b7791f;
  --radius: 12px;
  --maxw: 1200px;
  --shadow: 0 1px 2px rgba(16, 37, 48, 0.04), 0 8px 24px rgba(16, 37, 48, 0.06);
  --display: "Newsreader", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%230e7c7b' fill-opacity='0.06'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--text); color: #fff; padding: 12px 16px; border-radius: 8px;
  text-decoration: none; transition: top 200ms ease;
}
.skip-link:focus { top: 16px; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 700 18px/1 var(--body); color: var(--text); text-decoration: none; margin-right: auto;
  letter-spacing: -0.01em;
}
.logo svg { color: var(--brand); flex: none; }
.nav-list { display: flex; gap: 8px; list-style: none; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px;
}
.nav-list a:hover { color: var(--brand-ink); }
.header-cta { min-height: 44px; padding: 0 16px; font-size: 15px; }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .icon-close { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-mobile[open] .icon-open { display: none; }
.nav-mobile .nav-list {
  position: absolute; right: 0; top: calc(100% + 8px); width: 240px;
  flex-direction: column; gap: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.nav-mobile .nav-list a { width: 100%; padding: 0 16px; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .header-inner { gap: 8px; }
}
@media (max-width: 420px) {
  .logo span { font-size: 16px; }
  .header-cta { padding: 0 12px; font-size: 14px; }
}

/* Hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand); }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--brand-ink); }
.hero-lede { font-size: 19px; color: var(--muted); max-width: 30em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; font-size: 15px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--brand); flex: none; }

.hero-media { position: relative; margin-right: -120px; }
.hero-media img {
  width: 100%; aspect-ratio: 1000 / 504; object-fit: cover; object-position: 20% 30%;
  border-radius: 16px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -24px; bottom: -24px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.3;
}
.hero-badge strong { display: block; font-weight: 700; }
.hero-badge span { color: var(--muted); }
.hero-badge .badge-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}

@media (max-width: 900px) {
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { margin-right: 0; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 16px; bottom: -24px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.section-head h2, .h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em;
}
.section-head p { color: var(--muted); max-width: 32em; }
.kicker {
  display: block; font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 16px;
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 37, 48, 0.04);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

/* Services: one feature row + three */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { padding: 32px; display: flex; flex-direction: column; }
.service:hover { border-color: var(--brand); }
.service-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service h3 { font: 700 20px/1.25 var(--body); margin-bottom: 8px; letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: 16px; }
.service-urgent { background: var(--text); border-color: var(--text); color: #fff; }
.service-urgent p { color: #c9d4d8; }
.service-urgent .service-icon { background: var(--brand); color: #fff; }
.service-urgent:hover { border-color: var(--brand); }
.service-link {
  margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: #fff; text-decoration: none;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } .service { padding: 24px; } }

/* Testimonials */
.reviews { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.review { padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.review:first-child { grid-row: span 1; }
.stars { color: var(--star); display: flex; gap: 4px; }
.review blockquote { font-family: var(--display); font-size: 22px; line-height: 1.35; font-weight: 400; }
.review:first-child blockquote { font-size: 28px; }
.review figcaption { margin-top: auto; font-size: 15px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review figcaption strong { color: var(--text); font-weight: 700; }
.sample-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--muted); border-radius: 4px; padding: 2px 8px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } .review:first-child blockquote { font-size: 24px; } }

/* Insurance + FAQ split */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.insurance-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 24px; }
.insurance-list li {
  display: flex; align-items: center; min-height: 64px; padding: 0 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.note { color: var(--muted); font-size: 15px; }

.faq-list { border-top: 1px solid var(--line); margin-top: 32px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { flex: none; color: var(--brand); transition: transform 240ms ease; }
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 64px; } }
@media (max-width: 420px) { .insurance-list { grid-template-columns: 1fr; } }

/* Booking */
.booking { background: var(--text); color: #fff; }
.booking .kicker { color: #8fd3cf; }
.booking-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.booking-copy p { color: #c9d4d8; margin-top: 24px; max-width: 26em; }
.booking-steps { list-style: none; margin-top: 32px; display: grid; gap: 16px; counter-reset: step; }
.booking-steps li { display: flex; gap: 16px; align-items: baseline; color: #e8eef0; }
.booking-steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.embed-panel {
  background: var(--surface); color: var(--text); border-radius: 16px; padding: 32px; min-height: 480px;
}
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; gap: 40px; } .embed-panel { padding: 16px; } }

/* Visit + contact */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.visit-card { padding: 32px; }
.visit-card h3 { font: 700 20px/1.25 var(--body); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.visit-card h3 svg { color: var(--brand); }
.visit-card p { color: var(--muted); }
.map {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line); margin-top: 24px; background: var(--brand-tint);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-card { grid-column: 1 / -1; display: grid; grid-template-columns: 4fr 7fr; gap: 48px; padding: 40px; }
.contact-card .embed-slot { min-height: 360px; }
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .visit-card { padding: 24px; }
}

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-meta { color: var(--muted); width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }

/* Page-load reveal (hero only) */
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
.load { animation: rise 640ms cubic-bezier(.2,.7,.2,1) both; }
.load-1 { animation-delay: 60ms; } .load-2 { animation-delay: 160ms; }
.load-3 { animation-delay: 260ms; } .load-4 { animation-delay: 360ms; } .load-5 { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
