/* ============================================================
   BrightSmile Dental Studio — Austin, TX
   Design & build: Ali Digital Marketing (alidigitalmarketing.com)
   Mobile-first · Pure CSS · No frameworks
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --white: #ffffff;
  --ice: #eef6f8;
  --ice-deep: #e0eef2;
  --teal: #0e7c86;
  --teal-dark: #0a5f68;
  --teal-soft: #d5eaed;
  --navy: #12333d;
  --navy-soft: #1c4552;
  --text: #46626c;
  --text-light: #6b8791;
  --line: #d9e7eb;
  --gold: #f4b942;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(18, 51, 61, 0.06);
  --shadow: 0 12px 32px rgba(18, 51, 61, 0.1);
  --shadow-lg: 0 24px 60px rgba(18, 51, 61, 0.16);

  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0; }

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

ul { list-style: none; }

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

::selection {
  background: var(--teal);
  color: var(--white);
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg { flex: none; }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(14, 124, 134, 0.35);
}

.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 124, 134, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--line);
}

.btn--ghost:hover {
  color: var(--teal);
  box-shadow: inset 0 0 0 2px var(--teal);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn--light:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18, 51, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
}

.brand:hover { color: var(--navy); }

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 13px;
  box-shadow: 0 6px 14px rgba(14, 124, 134, 0.32);
}

.brand__text {
  font-family: var(--font-display);
  line-height: 1.1;
}

.brand__name {
  display: block;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.brand__tag {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.main-nav { display: none; }

.header-cta { display: none; }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.header-phone:hover { color: var(--teal); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 12px;
  background: var(--ice);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.25rem 1.75rem;
  transform: translateY(-115%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu ul { display: grid; gap: 0.2rem; }

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.mobile-menu a:not(.btn):hover,
.mobile-menu a[aria-current="page"]:not(.btn) {
  background: var(--ice);
  color: var(--teal);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

.mobile-menu__phone {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav-toggle,
  .mobile-menu { display: none; }

  .main-nav { display: block; }

  .main-nav ul {
    display: flex;
    gap: 0.35rem;
  }

  .main-nav a {
    position: relative;
    display: block;
    padding: 0.5rem 0.85rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-soft);
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

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

  .main-nav a:hover::after,
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

  .main-nav a[aria-current="page"] { color: var(--teal); }

  .header-cta { display: inline-flex; }
}

@media (min-width: 1140px) {
  .header-phone { display: inline-flex; }
}

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(14, 124, 134, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ice) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  border: 60px solid rgba(14, 124, 134, 0.06);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 2.75rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fb47c;
  box-shadow: 0 0 0 4px rgba(47, 180, 124, 0.18);
}

.hero h1 span { color: var(--teal); }

.hero__lead {
  margin-top: 1.25rem;
  max-width: 520px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.hero__stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.hero__media {
  position: relative;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

.hero__media > img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg) 90px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto auto -22px -22px;
  width: 150px;
  height: 150px;
  border-radius: var(--radius-lg);
  background-image: radial-gradient(rgba(14, 124, 134, 0.4) 2.4px, transparent 2.5px);
  background-size: 17px 17px;
  z-index: -1;
}

.hero__card {
  position: absolute;
  left: -0.5rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
}

.hero__card-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}

.hero__card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.3;
}

.hero__card small {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .hero__media { justify-self: end; }
}

/* ---------- 7. Trust bar / stats ---------- */
.trustbar {
  background: linear-gradient(120deg, var(--navy) 0%, #16404d 100%);
  padding-block: 2.6rem;
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat__value .suffix { color: var(--teal); filter: brightness(1.9); }

.stat__label {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 246, 248, 0.72);
}

@media (min-width: 720px) {
  .trustbar-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 8. Cards / services grid ---------- */
.services-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal-soft);
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--ice);
  color: var(--teal);
  margin-bottom: 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--teal);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.service-card p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-card__link svg { transition: transform 0.25s var(--ease); }
.service-card__link:hover svg { transform: translateX(4px); }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 9. Split / alternating sections ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split + .split { margin-top: clamp(3.5rem, 8vw, 6rem); }

.split__media {
  position: relative;
}

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

.split__media::before {
  content: "";
  position: absolute;
  inset: -16px auto auto -16px;
  width: 45%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--teal-soft);
  z-index: -1;
}

.split--flip .split__media::before {
  inset: auto -16px -16px auto;
}

.split__body h2 { margin-bottom: 1rem; }

.split__body > p { max-width: 54ch; }

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--navy-soft);
}

.check-list li svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--teal);
}

.check-list li small {
  display: block;
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.88rem;
}

.split .btn { margin-top: 1.8rem; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--flip .split__media { order: 2; }
  .split--flip .split__body { order: 1; }
}

/* ---------- 10. Doctor teaser ---------- */
.doctor-teaser {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doctor-teaser__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top;
}

.doctor-teaser__body {
  padding: 2.25rem 1.75rem 2.75rem;
}

.doctor-teaser__body .eyebrow { color: #7fd1d9; }
.doctor-teaser__body .eyebrow::before { background: #7fd1d9; }

.doctor-teaser__body h2 { color: var(--white); }

.doctor-teaser__body > p {
  margin-top: 1rem;
  color: rgba(238, 246, 248, 0.82);
  max-width: 50ch;
}

.doctor-teaser__quote {
  margin-top: 1.6rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--teal);
  font-style: italic;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.doctor-teaser__sig {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: #7fd1d9;
  font-weight: 600;
}

.doctor-teaser .btn { margin-top: 1.9rem; }

@media (min-width: 900px) {
  .doctor-teaser { grid-template-columns: 0.85fr 1.15fr; gap: 0; }
  .doctor-teaser__body { padding: 3.25rem 3.5rem; }
}

/* ---------- 11. Testimonials slider ---------- */
.slider {
  position: relative;
}

.slider__viewport { overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform 0.55s var(--ease);
}

.t-slide {
  flex: 0 0 100%;
  padding: 0.25rem;
}

.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.8rem;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.t-card__stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
}

.t-card blockquote {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
}

.t-card figcaption {
  margin-top: 1.3rem;
  font-size: 0.92rem;
}

.t-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
}

.t-card figcaption span { color: var(--text-light); font-size: 0.85rem; }

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.slider__arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.slider__arrow:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.slider__dots { display: flex; gap: 0.5rem; }

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--ice-deep);
  border: 1px solid var(--line);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.slider__dot.is-active {
  width: 26px;
  background: var(--teal);
  border-color: var(--teal);
}

/* ---------- 12. Insurance strip ---------- */
.insurance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding-block: 2.2rem;
}

.insurance__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.4rem;
}

.insurance__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1rem;
}

.ins-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--navy-soft);
  opacity: 0.68;
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--ice);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.ins-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--teal-soft);
}

/* ---------- 13. CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-dark) 90%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.cta-banner::before {
  width: 300px;
  height: 300px;
  top: -130px;
  left: -110px;
}

.cta-banner::after {
  width: 380px;
  height: 380px;
  bottom: -190px;
  right: -140px;
}

.cta-banner h2 {
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-banner p {
  margin: 1rem auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn--ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.cta-banner .btn--ghost:hover {
  box-shadow: inset 0 0 0 2px var(--white);
  color: var(--white);
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(238, 246, 248, 0.78);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer .brand { color: var(--white); }
.site-footer .brand__tag { color: #7fd1d9; }

.footer-about p {
  margin-top: 1.1rem;
  max-width: 34ch;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul { display: grid; gap: 0.55rem; }

.footer-col a { color: rgba(238, 246, 248, 0.78); }
.footer-col a:hover { color: var(--white); }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 300px;
}

.footer-hours span:last-child { color: var(--white); font-weight: 500; white-space: nowrap; }

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-contact svg {
  flex: none;
  margin-top: 0.3rem;
  color: #7fd1d9;
}

.footer-bottom {
  border-top: 1px solid rgba(238, 246, 248, 0.14);
  padding-block: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(238, 246, 248, 0.6);
}

.footer-bottom a {
  color: #7fd1d9;
  font-weight: 600;
}

.footer-bottom a:hover { color: var(--white); }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(14, 124, 134, 0.12), transparent 60%),
    linear-gradient(180deg, var(--ice) 0%, var(--white) 100%);
  padding-block: clamp(3.25rem, 7vw, 5rem);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 46px solid rgba(14, 124, 134, 0.06);
  pointer-events: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.breadcrumbs .sep { opacity: 0.5; }

.page-hero h1 { max-width: 18ch; }

.page-hero p {
  margin-top: 1.1rem;
  max-width: 58ch;
  font-size: 1.05rem;
}

/* ---------- 16. Services page ---------- */
.service-block {
  display: grid;
  gap: 2.25rem;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.service-block + .service-block { border-top: 1px solid var(--line); }

.service-block__media {
  position: relative;
}

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

.service-block__num {
  position: absolute;
  top: -18px;
  left: -10px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(14, 124, 134, 0.4);
}

.service-block__icon-tile {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 300px at 30% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(140deg, var(--ice) 0%, var(--teal-soft) 100%);
  border: 1px solid var(--line);
  color: var(--teal);
}

.service-block__body h2 { margin-bottom: 0.9rem; }

.treatment-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.treatment-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--navy-soft);
  font-size: 0.97rem;
}

.treatment-list li svg {
  flex: none;
  margin-top: 0.28rem;
  color: var(--teal);
}

.service-block .btn { margin-top: 1.7rem; }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-soft);
}

.pill-note svg { color: var(--teal); flex: none; }

@media (min-width: 900px) {
  .service-block { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .service-block--flip .service-block__media { order: 2; }
  .service-block--flip .service-block__body { order: 1; }
  .treatment-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- 17. Team page ---------- */
.team-grid {
  display: grid;
  gap: 1.6rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-card__photo {
  position: relative;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-card__photo img { transform: scale(1.04); }

.team-card__role {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.team-card__body { padding: 1.5rem 1.5rem 1.7rem; }

.team-card__body h2 { font-size: 1.3rem; }

.team-card__creds {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.team-card__body p {
  margin-top: 0.85rem;
  font-size: 0.94rem;
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.team-card__tags li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-soft);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.8rem;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .team-card__body { padding: 1.35rem 1.25rem 1.5rem; }
}

.values-strip {
  display: grid;
  gap: 1.4rem;
  margin-top: clamp(3rem, 7vw, 4.5rem);
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.value-item__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.value-item h3 { font-size: 1.05rem; }

.value-item p { margin-top: 0.35rem; font-size: 0.92rem; }

@media (min-width: 900px) {
  .values-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 18. Patients page ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.step__num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(14, 124, 134, 0.35);
  margin-bottom: 1.1rem;
}

.step h3 { font-size: 1.12rem; }

.step p { margin-top: 0.55rem; font-size: 0.94rem; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* FAQ accordion */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open {
  border-color: var(--teal-soft);
  box-shadow: var(--shadow-sm);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: color 0.25s var(--ease);
}

.faq-item__q:hover { color: var(--teal); }

.faq-item__chevron {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ice);
  color: var(--teal);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  background: var(--teal);
  color: var(--white);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__a-inner {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.95rem;
}

/* Financing cards */
.finance-grid {
  display: grid;
  gap: 1.4rem;
}

.finance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.finance-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.finance-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.finance-card h3 { font-size: 1.1rem; }

.finance-card p { margin-top: 0.55rem; font-size: 0.94rem; }

@media (min-width: 900px) {
  .finance-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Forms CTA panel */
.forms-panel {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.5rem);
}

.forms-panel h2 { color: var(--white); }

.forms-panel p {
  margin-top: 0.9rem;
  color: rgba(238, 246, 248, 0.82);
  max-width: 52ch;
}

.forms-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .forms-panel { grid-template-columns: 1.2fr auto; }
}

/* ---------- 19. Contact page ---------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-form-card > p {
  margin: 0.6rem 0 1.8rem;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 1.2rem;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-field label .req { color: #d0544f; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--ice);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 134, 0.14);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #d0544f;
  background: #fdf3f2;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c2413c;
}

.form-field.has-error .field-error { display: block; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.form-note svg { flex: none; margin-top: 0.15rem; color: var(--teal); }

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success.is-visible { display: block; }

.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f5ec;
  color: #23885d;
  animation: pop-in 0.5s var(--ease) both;
}

@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-success h3 { font-size: 1.35rem; }

.form-success p { margin-top: 0.7rem; max-width: 42ch; margin-inline: auto; }

.contact-aside { display: grid; gap: 1.4rem; }

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.info-card__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.info-card h3 { font-size: 1rem; }

.info-card p, .info-card ul { margin-top: 0.4rem; font-size: 0.92rem; }

.info-card ul li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.info-card ul li span:last-child { font-weight: 600; color: var(--navy-soft); white-space: nowrap; }

.info-card a { font-weight: 600; }

@media (min-width: 980px) {
  .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .form-grid--2col { grid-template-columns: 1fr 1fr; }
  .form-grid--2col .form-field--full { grid-column: 1 / -1; }
}

/* Map */
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.map-card__pin {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.map-card__pin-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 0.95rem 1.3rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(6px);
}

.map-card__pin-inner svg { color: var(--teal); flex: none; }

.map-card__pin-inner strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 0.95rem;
}

.map-card__pin-inner small { color: var(--text-light); font-size: 0.82rem; }

.find-us-grid {
  display: grid;
  gap: 1.4rem;
}

.find-us-grid .map-card img { aspect-ratio: 16 / 9; }

.exterior-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin: 0;
}

.exterior-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.exterior-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.3rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(18, 51, 61, 0.82));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .find-us-grid { grid-template-columns: 1.6fr 1fr; }
  .find-us-grid .map-card img,
  .exterior-card img { aspect-ratio: auto; height: 100%; }
}

/* ---------- 20. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .slider__track { transition: none; }
  * { animation-duration: 0.01ms !important; }
}

/* ---------- 21. Misc ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}
