/* Brightsmile Dental - handwritten static CSS. No frameworks, no gradients. */

:root {
  --brand: #0E5C52;
  --brand-deep: #093B35;
  --brand-tint: #E8F0ED;
  --bg: #FBF9F6;
  --surface: #FFFFFF;
  --text: #14231F;
  --muted: #5C6B66;
  --line: #E3DED6;
  --radius: 12px;
  --maxw: 1180px;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Karla", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }
ul { margin: 0; padding: 0; }

a { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -64px;
  z-index: 200;
  background-color: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: top 200ms ease;
}
.skip-link:focus { top: var(--s2); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--s3);
  padding-right: var(--s3);
}

.eyebrow {
  font-family: "Karla", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 var(--s2);
}

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 54ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: "Karla", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.btn-primary {
  background-color: var(--brand);
  color: #fff;
}
.btn-primary:hover { background-color: var(--brand-deep); }

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-onlight {
  background-color: #fff;
  color: var(--brand-deep);
}
.btn-onlight:hover { background-color: var(--brand-tint); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 76px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.brandmark svg { color: var(--brand); flex: none; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
}
.nav-desktop a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-desktop a:hover { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: var(--s2); }
.header-cta .btn { min-height: 46px; padding: 10px 22px; font-size: 15px; }

/* mobile disclosure nav */
.nav-mobile { display: none; position: relative; }
.nav-mobile > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--surface);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { border-color: var(--text); }

.nav-mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(78vw, 280px);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s2);
  box-shadow: 0 12px 32px rgba(20, 35, 31, 0.08);
  list-style: none;
}
.nav-mobile-panel li + li { border-top: 1px solid var(--line); }
.nav-mobile-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s1);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

/* ---------- hero ---------- */

.hero { padding: var(--s7) 0 var(--s6); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s7);
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 82px);
  margin-bottom: var(--s3);
}
.hero h1 em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.hero-notes svg { color: var(--brand); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--surface);
}

.hero-badge {
  position: absolute;
  left: -32px;
  bottom: 40px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s3);
  width: 216px;
  box-shadow: 0 16px 40px rgba(20, 35, 31, 0.07);
}
.hero-badge .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  display: block;
}
.hero-badge span.lbl {
  display: block;
  margin-top: var(--s1);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- section shell ---------- */

.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; }

.section-head { max-width: 60ch; margin-bottom: var(--s6); }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: var(--s2); }

.split {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: var(--s7);
  align-items: start;
}
.split-aside { position: sticky; top: 108px; }
.split-aside h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: var(--s3); }

/* ---------- services ---------- */

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4) var(--s4);
  transition: border-color 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}
.service-card:hover { border-color: #C9D6D1; }
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--brand-tint);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
}
.service-card h3 { font-size: 25px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 16px; }
.service-meta {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ---------- trust band ---------- */

.band {
  background-color: var(--brand-deep);
  color: #fff;
  padding: var(--s7) 0;
}
.band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); }
.band .eyebrow { color: #9FC7BF; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s6);
}
.trust-item { border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: var(--s3); }
.trust-item .idx {
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: #9FC7BF;
  display: block;
  margin-bottom: var(--s2);
}
.trust-item h3 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.trust-item p { color: #C6D8D4; font-size: 16px; }

/* ---------- team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--surface);
  margin-bottom: var(--s3);
}
.team-card h3 { font-size: 22px; font-weight: 700; }
.team-card .role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 6px 0 10px;
}
.team-card p { color: var(--muted); font-size: 16px; }

/* ---------- testimonials ---------- */

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.review {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.review:nth-child(2) { margin-top: var(--s4); }
.stars { color: var(--brand); letter-spacing: 3px; font-size: 15px; }
.review blockquote {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.42;
}
.review figcaption {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- hours + location ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

.hours { list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.hours li:first-child { border-top: 1px solid var(--line); }
.hours .day { font-weight: 700; }
.hours .time { color: var(--muted); }
.hours li.closed .time { color: var(--muted); }

.visit-note {
  margin-top: var(--s3);
  font-size: 15px;
  color: var(--muted);
}

.visit-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--surface);
}
.visit-facts { list-style: none; margin-top: var(--s4); }
.visit-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  font-size: 16px;
  color: var(--muted);
}
.visit-facts svg { color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- contact ---------- */

.contact { background-color: var(--brand-tint); }
.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.contact-card {
  margin-top: var(--s5);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  text-align: left;
}
.contact-pending {
  margin-top: var(--s3);
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* ---------- footer ---------- */

.site-footer {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  padding: var(--s6) 0 var(--s5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s5);
}
.footer-grid p { color: var(--muted); font-size: 16px; margin-top: var(--s2); max-width: 36ch; }
.footer-grid h3 {
  font-family: "Karla", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--s2);
}
.footer-links { list-style: none; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  line-height: 2;
}
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 3 / 2; }
  .hero-badge { left: auto; right: 16px; bottom: -24px; }
  .split { grid-template-columns: 1fr; gap: var(--s4); }
  .split-aside { position: static; }
  .team-grid, .reviews-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brandmark { font-size: 18px; }
  .header-cta .btn-primary { display: none; }
  .nav-mobile-panel li:last-child a {
    margin-top: var(--s1);
    background-color: var(--brand);
    color: #fff;
    border-radius: 10px;
    padding: 0 var(--s2);
    font-weight: 700;
  }
  .nav-mobile-panel li:last-child { border-top: 0; }
  .hero { padding: var(--s5) 0 var(--s6); }
  .section, .band { padding: var(--s6) 0; }
  .section-head { margin-bottom: var(--s4); }
  .services, .team-grid, .reviews-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .review:nth-child(2) { margin-top: 0; }
  .hero-badge { position: static; width: auto; margin-top: var(--s3); box-shadow: none; }
  .contact-card { padding: var(--s3); }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
/*iw-decor-guard-start*/
[data-iw-nohit][data-iw-nohit],[data-iw-decor][data-iw-decor],[data-iw-overlap][data-iw-overlap],[data-iw-icon-slot][data-iw-icon-slot],[data-iw-placed][data-iw-placed]{pointer-events:none!important}
/*iw-decor-guard-end*/
