/* ============================================
   DENTAL SERENITY — CONTEMPORARY REDESIGN v2
   Design language: Swiss grid, medical spa, 
   geometric, high white space, sharp sans-serif
   
   Palette from photos:
   - Pure white (#ffffff) — quartz counters, walls
   - Cool gray (#f0f1f3) — flooring, glass tint
   - Slate (#2c3038) — window frames, accents
   - Burgundy (#6b2b3a) — dental chairs (hero color)
   - Teal-frost (#5eb8a8) — frosted glass panels
   - Ink (#111318) — black scrubs, dark accents
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --white: #ffffff;
  --off-white: #fafbfc;
  --cool-gray: #f0f1f3;
  --mid-gray: #d1d4d9;
  --slate: #2c3038;
  --slate-light: #5a5f6b;
  --burgundy: #6b2b3a;
  --burgundy-hover: #7d3344;
  --teal: #5eb8a8;
  --teal-light: #e8f5f2;
  --ink: #111318;
  --text: #3a3e47;
  --text-muted: #7c818c;
  --border: #e8e9ec;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.08);
  --util-h: 36px;
  --nav-h: 68px;
  --nav-offset: calc(var(--util-h) + var(--nav-h));
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }

/* ======== TYPOGRAPHY ======== */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}

.eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--teal);
}
.hero-text .eyebrow::before,
.cosmetic-section .eyebrow::before,
.image-break .eyebrow::before {
  background: rgba(255,255,255,.25);
}

/* ======== BUTTONS ======== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--slate); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
}
.btn-burgundy:hover { background: var(--burgundy-hover); }
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: #4da898; }

/* ======== UTILITY BAR ======== */
.utility-bar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--util-h);
  z-index: 201;
  background: var(--ink);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}
.util-locations {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.util-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.util-link {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.util-link:hover { color: var(--teal); }
.util-cta {
  background: var(--burgundy);
  color: var(--white);
  padding: .45rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.util-cta:hover { background: var(--burgundy-hover); }

/* ======== HEADER PHONES (right of nav) ======== */
.header-phones {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1.5rem;
}
.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--ink);
  transition: color .2s;
}
.header-phone:hover { color: var(--burgundy); }
.hp-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.header-phone:hover .hp-label { color: var(--burgundy); }
.hp-num {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* ======== NAV ======== */
.site-nav {
  position: fixed;
  top: var(--util-h); left: 0; width: 100%;
  z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
.nav-brand em {
  font-style: normal;
  color: var(--burgundy);
  font-weight: 400;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { margin-left: .5rem; }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; }
.nav-mobile span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 5px 0; transition: .3s;
}

/* ======== HERO ======== */
.hero {
  margin-top: var(--nav-offset);
  position: relative;
  height: 100vh;
  max-height: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6%;
  background: var(--ink);
  color: var(--white);
}
.hero-text h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.hero-text h1 span {
  display: block;
  font-weight: 300;
  color: var(--teal);
}
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-locations {
  margin-top: auto;
  padding-top: 3rem;
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-loc {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  font-weight: 600;
}

/* ======== MARQUEE STRIP ======== */
.marquee-strip {
  background: var(--burgundy);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-content span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-right: 4rem;
}
.marquee-content span::after {
  content: '✦';
  margin-left: 4rem;
  color: rgba(255,255,255,.25);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ======== ABOUT SECTION ======== */
.about {
  padding: 8rem 0;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-num em { font-style: normal; color: var(--teal); }
.stat-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about-image {
  position: relative;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ======== AMENITY RIBBON ======== */
.amenity-ribbon {
  background: var(--cool-gray);
  padding: 3rem 0;
}
.amenity-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
}
.amenity-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate);
}
.amenity-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ======== IMAGE BREAK ======== */
.image-break {
  position: relative;
  height: 65vh;
  overflow: hidden;
}
.image-break img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-break-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(17,19,24,.6) 0%, transparent 50%);
}
.image-break-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4rem 6%;
  color: var(--white);
}
.image-break-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 700px;
}
.image-break-text h2 strong { font-weight: 800; }

/* ======== DOCTORS GRID ======== */
.doctors-section {
  padding: 8rem 0;
  background: var(--off-white);
}
.doctors-section .wrap {
  width: calc(100% - 6rem) !important;
  max-width: 100% !important;
  padding: 0;
}
.doctors-header {
  max-width: 600px;
  margin-bottom: 4rem;
}
.doctors-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}
.doctors-header p { color: var(--text-muted); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.doctor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .3s;
}
.doctor-card:hover::before { transform: scaleX(1); }
.doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.doctor-card .initials {
  width: 64px; height: 64px;
  background: var(--cool-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -.02em;
}
.doctor-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.doctor-card .school {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .75rem;
}
.doctor-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ======== FEATURED DOCTOR SPLIT ======== */
.doctor-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.doctor-spotlight-img { overflow: hidden; }
.doctor-spotlight-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.doctor-spotlight-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
  background: var(--white);
}
.doctor-spotlight-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}
.doctor-spotlight-text p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: .75rem;
}

/* ======== SERVICES ======== */
.services-section {
  padding: 8rem 0;
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.services-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 500px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.svc-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all .25s;
  position: relative;
}
.svc-card:nth-child(3n) { border-right: none; }
.svc-card:nth-last-child(-n+3) { border-bottom: none; }
.svc-card:hover {
  background: var(--cool-gray);
}
.svc-num {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}
.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.svc-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ======== COSMETIC SECTION ======== */
.cosmetic-section {
  background: var(--ink);
  color: var(--white);
  padding: 8rem 0;
}
.cosmetic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cosmetic-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.cosmetic-text p {
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.cosmetic-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: .75rem;
}
.cosmetic-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}
.cosmetic-list li::before {
  content: '';
  width: 8px; height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}
.cosmetic-image { overflow: hidden; }
.cosmetic-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ======== TECH BANNER ======== */
.tech-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 500px;
}
.tech-banner-img { overflow: hidden; }
.tech-banner-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.tech-banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
  background: var(--cool-gray);
}
.tech-banner-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 1.25rem;
}
.tech-banner-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: .75rem;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.tech-pill {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: .5rem 1.25rem;
  border: 1.5px solid var(--border);
  background: var(--white);
}

/* ======== LOCATIONS ======== */
.locations-section {
  padding: 8rem 0;
}
.locations-header {
  margin-bottom: 4rem;
}
.locations-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.loc-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s;
}
.loc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.loc-card-img { height: 200px; overflow: hidden; }
.loc-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.loc-card:hover .loc-card-img img { transform: scale(1.05); }
.loc-card-body { padding: 1.5rem; }
.loc-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.loc-card-body address {
  font-style: normal;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: .75rem;
}
.loc-card-body .loc-phone {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.loc-hours {
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .02em;
  margin-top: .75rem;
  line-height: 1.7;
}

/* ======== CONTACT ======== */
.contact-section {
  padding: 8rem 0;
  background: var(--off-white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}
.contact-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.contact-text .phone-big {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  display: block;
  margin-bottom: .5rem;
}
.phone-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.phone-list li {
  position: relative;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}
.phone-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--teal);
}
.phone-list-loc {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  opacity: .72;
  font-weight: 700;
  margin-bottom: .15rem;
}
.phone-list-num {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.phone-list-num:hover { color: var(--teal); }
.phone-list-addr {
  font-size: .82rem;
  color: var(--ink);
  opacity: .6;
  margin-top: .4rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .phone-list { grid-template-columns: 1fr; gap: 1rem; }
  .phone-list li { padding-top: .75rem; }
  .phone-list-num { font-size: 1.25rem; }
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; margin-bottom: .5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d4d8dc;
  background: var(--white);
  font-family: inherit;
  font-size: .88rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #a8afb5;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(30, 138, 138, .12);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234a5157' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-consent {
  font-size: .72rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

/* ======== FOOTER ======== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.45);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.footer-tagline {
  font-size: .78rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-col h5 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
}
.footer-col p { font-size: .82rem; line-height: 1.65; margin-bottom: .35rem; }
.footer-col a { color: var(--teal); font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 2rem;
  font-size: .72rem;
}
.footer-credit { color: rgba(255,255,255,.35); }
.footer-credit a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-credit a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ======== ANIMATIONS ======== */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal {
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  }
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; height: auto; max-height: none; }
  .hero-media { height: 55vh; }
  .hero-text { padding: 3rem 5%; }
  .hero-locations { display: none; }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .about-layout,
  .cosmetic-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .doctor-spotlight { grid-template-columns: 1fr; }
  .doctor-spotlight-img { height: 50vh; }
  .tech-banner { grid-template-columns: 1fr; }
  .tech-banner-img { height: 40vh; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .svc-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .svc-card:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .hero-media { height: 45vh; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .services-grid,
  .locations-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none !important; }
  .svc-card:last-child { border-bottom: none; }
  .form-grid { grid-template-columns: 1fr; }
  .amenity-list { gap: 1.5rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .image-break { height: 45vh; }
  .marquee-strip { padding: 14px 0; }

  /* utility bar: shrink locations, keep CTA */
  :root { --util-h: 34px; --nav-h: 58px; }
  .utility-inner { gap: .5rem; }
  .util-locations { font-size: .58rem; letter-spacing: .06em; }
  .util-link { display: none; }
  .util-cta { padding: .35rem .65rem; font-size: .56rem; letter-spacing: .05em; }
  /* header phones: hide (surface via mobile menu instead) */
  .header-phones { display: none; }
}

@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}

/* ======== MOBILE FULL-SCREEN OVERLAY ======== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  padding: calc(var(--nav-offset) + .25rem) 20px 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
}
.mobile-menu[hidden] { display: none; }

/* All CTAs stacked at bottom (3 phones + Book Appointment) */
.mobile-menu-cta-stack {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.mm-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  line-height: 1.25;
  transition: background .2s, transform .1s;
}
.mm-cta:active { transform: scale(.98); }
.mm-cta-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  margin-bottom: .15rem;
}
.mm-cta-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.mm-cta-phone {
  background: var(--teal);
  color: var(--white);
}
.mm-cta-phone:hover { background: #4da898; }

/* Compact phone row */
.mm-phone-row {
  display: flex;
  gap: .5rem;
  margin-top: .25rem;
}
.mm-phone-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem .5rem;
  border-radius: 6px;
  background: var(--cool-gray);
  text-decoration: none;
  transition: background .2s;
}
.mm-phone-link:hover { background: #e0deda; }
.mm-phone-loc {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .15rem;
}
.mm-phone-num {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}
.mm-cta-book {
  background: var(--ink);
  color: var(--white);
  margin-top: .35rem;
  padding: 1.1rem 1.25rem;
}
.mm-cta-book:hover { background: var(--slate, #2a2f3a); }
.mm-cta-book .mm-cta-num {
  font-size: 1.1rem;
  letter-spacing: .04em;
}

/* Accordion nav */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.mm-section {
  border-bottom: 1px solid var(--border);
}
.mm-section > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}
.mm-section > summary::-webkit-details-marker { display: none; }
.mm-caret {
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-right: 8px;
}
.mm-section[open] > summary { color: var(--burgundy); }
.mm-section[open] > summary .mm-caret {
  transform: rotate(-135deg);
  border-color: var(--burgundy);
}
.mm-section > ul,
.mm-section .mm-subgroup > ul {
  list-style: none;
  margin: 0;
  padding: 0 4px .5rem 4px;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.mm-section a {
  display: block;
  padding: .7rem 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 4px;
  transition: background .15s, color .15s;
}
.mm-section a:hover,
.mm-section a.is-active {
  background: var(--cool-gray);
  color: var(--burgundy);
}
.mm-subgroup {
  padding: .1rem 0 .5rem;
}
.mm-subgroup h6 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: .75rem 10px .4rem;
}

/* Flat link at the bottom (Reviews) */
.mm-flat {
  display: block;
  padding: 1.25rem 4px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mm-flat:hover { color: var(--burgundy); }

/* Hamburger to X animation */
.nav-mobile.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Lock body scroll when overlay open */
body.menu-open { overflow: hidden; }

/* ================================================================
   MEGA MENU (desktop)
   ================================================================ */
.nav-links .has-mega { position: static; }
.nav-links .has-mega > a {
  display: inline-flex; align-items: center; gap: .35rem; cursor: pointer;
  padding: 24px 0; /* increase hover target so gap doesn't kill hover */
}
.nav-links .has-mega > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
  opacity: .55;
}
.nav-links .has-mega:hover > a::after,
.nav-links .has-mega:focus-within > a::after { transform: rotate(-135deg) translateY(-2px); }

.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 190;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.mega-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.25rem 2rem 2.5rem;
  display: grid;
  gap: 2rem;
}
.mega-services .mega-inner {
  grid-template-columns: 1fr 1fr 1fr 1fr 1.15fr;
}
.mega-locations .mega-inner {
  grid-template-columns: repeat(3, 1fr);
}
/* About + Patient Info: three link columns then a feature card */
.mega-about .mega-inner {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.mega-patient .mega-inner {
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
}
/* Spacer heading in the doctors overflow column keeps the rule line aligned */
.mega-about .mega-col h4:empty,
.mega-about .mega-col h4 { min-height: 1.05rem; }
.mega-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 .9rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}
.mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .1rem; }
.mega-col a {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  padding: .35rem 0;
  transition: color .18s, transform .18s;
}
.mega-col a:hover { color: var(--burgundy); transform: translateX(2px); }
.mega-feature {
  background: var(--cool-gray);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 220px;
}
.mega-feature img {
  width: 100%; height: 130px;
  object-fit: cover; display: block;
}
.mega-feature-body {
  padding: 1rem 1.15rem 1.15rem;
  flex: 1; display: flex; flex-direction: column;
}
.mega-feature-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem;
}
.mega-feature h5 {
  font-size: 1rem; font-weight: 700; margin: 0 0 .35rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.mega-feature p {
  font-size: .78rem; color: var(--text-muted);
  line-height: 1.5; margin: 0 0 auto;
}
.mega-feature .mega-feature-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--burgundy);
  margin-top: .9rem;
}
.mega-feature .mega-feature-link::after {
  content: "→"; transition: transform .2s;
}
.mega-feature .mega-feature-link:hover::after { transform: translateX(3px); }

/* Locations mega */
.mega-loc-card {
  background: var(--cool-gray);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mega-loc-card img {
  width: 100%; height: 140px;
  object-fit: cover; display: block;
}
.mega-loc-body { padding: 1rem 1.15rem 1.2rem; }
.mega-loc-body .mega-loc-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.mega-loc-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: .2rem 0 .55rem;
  letter-spacing: -.01em;
}
.mega-loc-body .mega-loc-addr {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 .8rem;
}
.mega-loc-body .mega-loc-phone {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .95rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
}
.mega-loc-body .mega-loc-phone::before {
  content: "";
  width: 12px; height: 2px; background: var(--teal);
}
.mega-loc-body .mega-loc-phone:hover { color: var(--burgundy); }

/* Hide mega menu on mobile — mobile overlay covers it */
@media (max-width: 900px) {
  .mega { display: none !important; }
  .nav-links .has-mega > a::after { display: none; }
}

/* ======== REVIEWS EMBED ======== */
.reviews-embed {
  padding: 5rem 0;
  background: var(--off-white);
}
.reviews-embed .wrap {
  max-width: 1100px;
}
.reviews-embed-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.reviews-embed-header .eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.reviews-embed-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 .75rem;
}
.reviews-embed-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: .95rem;
}
/* Override EmbedSocial iframe container */
.embedsocial-reviews {
  border-radius: 8px;
  overflow: hidden;
}
.embedsocial-reviews iframe {
  border: none !important;
  border-radius: 8px;
}
