/* BrightSmile Dental — site styles */

:root {
  --teal-900: #0b4f4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-100: #ccfbf1;
  --teal-50: #effcfa;
  --sun-400: #fbbf24;
  --ink: #12302d;
  --muted: #56706c;
  --line: #d8ebe8;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 79, 74, 0.10);
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-700); }

a:hover { color: var(--teal-900); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }

h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

h3 { font-size: 1.2rem; }

.container { width: min(1180px, 100% - 40px); margin: 0 auto; }

.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; }

.skip-link:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 50; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.brand img { width: 230px; }

.site-nav { display: flex; gap: 26px; margin-left: 12px; }

.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; }

.site-nav a:hover { color: var(--teal-700); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.header-phone { font-weight: 700; text-decoration: none; color: var(--teal-900); }

.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--teal-700); color: var(--white); }

.btn-primary:hover { background: var(--teal-900); color: var(--white); }

.btn-ghost { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }

.btn-light { background: var(--white); color: var(--teal-900); }

.btn-small { padding: 9px 18px; font-size: 0.95rem; background: var(--teal-700); color: var(--white); }

.btn-small:hover { color: var(--white); background: var(--teal-900); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--teal-50), var(--white)); padding: 64px 0 72px; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--teal-600); margin: 0 0 12px; }

.eyebrow a { color: inherit; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }

.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 0.95rem; }

.hero-proof strong { color: var(--ink); }

.hero-media { position: relative; }

.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

.hero-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  min-width: 220px;
}

.hero-card p { margin: 0; }

.hero-card-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-card-value { font-size: 1.25rem; font-weight: 800; color: var(--teal-900); }

.hero-card-sub { font-size: 0.9rem; color: var(--muted); }

/* Sections */
.section { padding: 76px 0; }

.section-tint { background: var(--teal-50); }

.section-head { max-width: 680px; margin-bottom: 36px; }

.section-head p { color: var(--muted); }

.section-link { margin-top: 28px; }

.page-hero { background: linear-gradient(180deg, var(--teal-50), var(--white)); padding: 64px 0 40px; }

.grid { display: grid; gap: 24px; }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

.service-card h3, .service-card h2 { font-size: 1.2rem; }

.service-dot { display: block; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--teal-100), var(--teal-600)); margin-bottom: 18px; }

.location-card h3 a { color: var(--ink); text-decoration: none; }

.text-link { font-weight: 700; text-decoration: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.split-reverse > img { order: 2; }

.split-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }

.checklist { list-style: none; padding: 0; }

.checklist li { padding-left: 32px; position: relative; margin: 12px 0; }

.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal-600); font-weight: 800; }

.quote { margin: 0; }

.quote p { font-size: 1.05rem; }

.quote cite { color: var(--muted); font-style: normal; font-weight: 600; }

.cta-band { background: var(--teal-900); color: var(--white); padding: 56px 0; }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.cta-inner p { color: var(--teal-100); margin: 0; }

.muted { color: var(--muted); }

.address { font-size: 1.1rem; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 16px; }

.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }

.hours th { font-weight: 600; }

/* Forms */
.contact-form { display: grid; gap: 16px; }

.contact-form label { display: grid; gap: 6px; font-weight: 600; }

.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.contact-list { list-style: none; padding: 0; }

.contact-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: #0a2f2c; color: #cfe7e3; padding: 56px 0 24px; }

.site-footer a { color: #ffffff; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }

.footer-brand { font-weight: 800; font-size: 1.2rem; color: var(--white); }

.footer-title { font-weight: 700; color: var(--white); }

.footer-list { list-style: none; padding: 0; margin: 0; }

.footer-list li { margin: 6px 0; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; }

.footer-bottom p { margin: 0; }

.prototype-notice { color: #9cc9c2; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .split-reverse > img { order: 0; }
  .hero-card { left: 16px; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); padding: 16px 20px; border-bottom: 1px solid var(--line); margin: 0; }
}
