/* ============================================================
   ERIC GUZAK DMD — BASE STYLES
   Shared layout, typography, spacing, and animations.
   Theme colors are set in theme-gold.css or theme-white.css.
   ============================================================ */

/* ---------- Reset & Globals ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s ease; }
ul { list-style: none; }

/* ---------- CSS Variables (defaults — overridden by theme) ---------- */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', Helvetica, sans-serif;
  --max-width: 1200px;
  --section-pad: 100px 0;
  --radius: 6px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Utility ---------- */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--btn-text);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  z-index: 9999;
}
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--heading-color); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.005em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

p, li { font-family: var(--font-body); font-size: 1.05rem; }

.overline {
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

/* ---------- Focus Styles (WCAG 2.4.7) ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px 40px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-text);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--btn-text);
}

/* ---------- Form Required Note ---------- */
.form-required-note {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .06em;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--accent); }
.top-bar a:hover { text-decoration: underline; }
.top-bar-hours { color: var(--text-muted); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.4); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 84px;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 12px; }

/* Dropdown menus */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after { width: 100%; }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--accent); }

.dropdown-chevron {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform var(--transition);
}
.nav-dropdown.open .dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  list-style: none;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  color: var(--accent);
  background: rgba(255,255,255,.04);
}
.nav-dropdown-menu li a::after { display: none; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  transform-origin: center;
}
/* Hamburger → X when open */
.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;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 20px;
}
.hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  color: #FFFFFF;
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.hero-content .overline {
  color: rgba(255,255,255,.8);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Section Shared ---------- */
section { padding: var(--section-pad); }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 600px; margin: 16px auto 0; color: var(--text-muted); }

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 20px auto 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 48px; height: 48px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: 1rem; color: var(--text-muted); }
.service-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-muted);
}

/* ---------- About / Doctor ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-muted);
  overflow: hidden;
}
.about-content .overline { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 16px; }
.credentials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: .88rem;
}
.credential-icon {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 8px;
}
.page-hero p {
  max-width: 560px;
  margin-top: 20px;
  color: var(--text-muted);
}

/* ---------- Team Group Header ---------- */
.team-group-header {
  text-align: center;
  margin-bottom: 52px;
}
.team-group-header p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--text-muted);
}

/* ---------- Team Doctor (featured) ---------- */
.team-doctor-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.team-doctor-photo {
  aspect-ratio: 4/5;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-muted);
  overflow: hidden;
}
.team-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-doctor-content .overline { margin-bottom: 16px; }
.team-doctor-content h2 { margin-bottom: 24px; }
.team-doctor-content p { margin-bottom: 16px; }

/* ---------- Meet the Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  transition: border-color var(--transition);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-card:hover .team-photo {
  border-color: var(--accent);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}
.team-role {
  font-family: var(--font-sans);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.team-bio {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Why Choose Us ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-item { text-align: center; padding: 32px 16px; }
.value-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.value-label {
  font-family: var(--font-sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}

/* ---------- Process / Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--border);
}
.step { text-align: center; position: relative; }
.step-number {
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: .95rem; color: var(--text-muted); max-width: 280px; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .5;
}
.testimonial-card p { font-size: 1rem; font-style: italic; margin-bottom: 24px; }
.testimonial-author {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Patient Videos ---------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.video-card { display: flex; flex-direction: column; gap: 16px; }
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.video-placeholder:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.video-placeholder:hover .video-play-icon svg {
  color: var(--accent);
}
.video-play-icon svg {
  width: 56px;
  height: 56px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.video-label {
  font-family: var(--font-sans);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-muted);
}
.video-caption {
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Gallery Placeholder ---------- */
.gallery-banner {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.gallery-banner p { color: var(--text-muted); margin-top: 16px; }

/* ---------- Insurance ---------- */
.insurance-content { text-align: center; max-width: 700px; margin: 0 auto; }
.insurance-content p { color: var(--text-muted); margin: 16px 0 32px; }
.insurance-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.insurance-logo-placeholder {
  width: 120px;
  height: 60px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .7rem;
  color: var(--text-muted);
}

/* ---------- Locations ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.location-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.location-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location-card h3 { margin-bottom: 20px; color: var(--accent); }
.location-card address {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.location-card a { color: var(--accent); }
.location-card a:hover { text-decoration: underline; }
.location-hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 2;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { margin-bottom: 32px; color: var(--text-muted); }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: .9rem;
}
.contact-detail svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-form label .required {
  color: var(--accent);
  margin-left: 2px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: .9rem;
  transition: border-color var(--transition), outline-color var(--transition);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  outline-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { align-self: flex-start; }

/* Form feedback states */
.form-group { display: flex; flex-direction: column; }
.form-success {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  font-family: var(--font-sans);
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: .95rem; }
.form-error-msg {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: #e05c5c;
  margin-top: 4px;
  display: none;
}
.form-error-msg.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: .9rem; color: var(--text-muted); max-width: 300px; }
.footer-brand img { height: 48px; margin-bottom: 4px; }
.footer-col h4 { margin-bottom: 20px; color: var(--accent); font-size: .82rem; }
.footer-col a {
  display: block;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text-muted);
}
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-muted); }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 20px; height: 20px; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp .6s ease-out forwards;
}
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .25s; }
.fade-up.d3 { animation-delay: .4s; }
.fade-up.d4 { animation-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .testimonials-grid, .locations-grid, .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-doctor-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .top-bar-hours { display: none; }
  .top-bar-inner { justify-content: center; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  :root { --section-pad: 64px 0; }
  .nav-inner { height: 72px; }
  .nav-logo img { height: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }
  /* Mobile dropdowns — stack inline */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 16px;
    margin-top: 8px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .hero { min-height: 80dvh; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .testimonials-grid, .steps-grid, .locations-grid, .team-grid, .videos-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}
