/*
 * classic-dental site.css
 * Component, layout, and chrome styles. Per-client palette + fonts come
 * from a templated <style> block in _partials/head.njk.
 */
/* :root variables are templated per-client in _partials/head.njk */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: var(--f-body); color: var(--c-text); background: var(--c-white); line-height: 1.7; }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }
    *:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 3px; }
    ul { list-style: none; }
    h1,h2,h3,h4,h5 { font-family: var(--f-display); line-height: 1.2; color: var(--c-text); }
    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
    .section-pad { padding: 5rem 1.5rem; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
    .eyebrow { display: inline-block; font-family: var(--f-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.6rem; }
    .section-title { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; }
    .section-sub { font-size: 1rem; color: var(--c-muted); max-width: 600px; margin-top: 0.75rem; line-height: 1.75; }
    .btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.6rem; border-radius: 50px; font-family: var(--f-body); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap; }
    .btn-primary { background: var(--c-primary); color: var(--c-white); }
    .btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); }
    .btn-accent  { background: var(--c-accent); color: var(--c-white); }
    .btn-accent:hover  { filter: brightness(1.1); transform: translateY(-1px); }
    .btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
    .btn-outline:hover { background: var(--c-primary); color: var(--c-white); }
    .btn-white  { background: var(--c-white); color: var(--c-primary); }
    .btn-white:hover { background: var(--c-accent-light); }

    /* TOPBAR */
    .topbar { background: var(--c-primary-dark); color: rgba(255,255,255,0.75); font-size: 0.8rem; padding: 0.45rem 1.5rem; }
    .topbar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
    .topbar a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
    .topbar a:hover { color: var(--c-white); }
    .topbar-left { display: flex; gap: 1.5rem; align-items: center; }
    .topbar-right { display: flex; gap: 1rem; align-items: center; }
    .topbar-sep { opacity: 0.3; }

    /* NAV */
    header { position: sticky; top: 0; z-index: 200; }
    nav { background: var(--c-primary); box-shadow: 0 2px 20px rgba(44,55,57,0.25); }
    .nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
    .nav-logo { display: flex; align-items: center; flex-shrink: 0; }
    .nav-logo img { width: 160px; height: auto; display: block; }
    .nav-menu { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
    .nav-item { position: relative; }
    .nav-link { display: flex; align-items: center; gap: 0.3rem; padding: 0 0.85rem; height: 72px; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.88); transition: color 0.2s, background 0.2s; white-space: nowrap; }
    .nav-link:hover, .nav-item:hover > .nav-link { color: var(--c-white); background: rgba(255,255,255,0.08); }
    .nav-link .chevron { font-size: 0.6rem; opacity: 0.7; transition: transform 0.2s; }
    .nav-item:hover .chevron { transform: rotate(180deg); }
    .dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--c-white); border-top: 3px solid var(--c-accent); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 48px rgba(44,55,57,0.18); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; z-index: 300; }
    .nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .dropdown a { display: block; padding: 0.65rem 1.25rem; font-size: 0.83rem; font-weight: 400; color: var(--c-text); border-bottom: 1px solid var(--c-border); transition: background 0.15s, color 0.15s; }
    .dropdown a:last-child { border-bottom: none; }
    .dropdown a:hover { background: var(--c-light); color: var(--c-primary); }
    .dropdown .drop-group-label { display: block; padding: 0.55rem 1.25rem 0.2rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); background: none; }
    .dropdown .drop-group-label:hover { background: none; color: var(--c-accent); }
    .nav-cta { flex-shrink: 0; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; -webkit-appearance: none; appearance: none; outline: none; }
    .hamburger span { width: 24px; height: 2px; background: var(--c-white); border-radius: 2px; transition: all 0.3s; }
    .mobile-menu { display: none; }
    .mobile-menu.is-open { display: flex; flex-direction: column; gap: 0; background: var(--c-primary-dark); padding: 1rem 0; }
    .mobile-menu a { display: block; padding: 0.75rem 1.5rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; }
    .mobile-menu a:hover { background: rgba(255,255,255,0.06); color: white; }
    .mobile-menu .m-label { display: block; padding: 0.5rem 1.5rem 0.2rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent); }

    /* PAGE HERO (inner pages) */
    .page-hero { background: linear-gradient(135deg, #111d1e 0%, #2C3739 60%, #1a2627 100%); padding: 5rem 1.5rem 4rem; text-align: center; position: relative; overflow: hidden; }
    .page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(178,117,88,0.12) 0%, transparent 60%); }
    .page-hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
    .page-hero .eyebrow { color: var(--c-accent); }
    .page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); color: var(--c-white); margin-bottom: 1rem; }
    .page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem; }
    .page-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* BREADCRUMB */
    .breadcrumb { background: var(--c-light); padding: 0.75rem 1.5rem; font-size: 0.8rem; color: var(--c-muted); }
    .breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
    .breadcrumb a { color: var(--c-primary); }
    .breadcrumb a:hover { text-decoration: underline; }
    .breadcrumb-sep { opacity: 0.4; }

    /* CTA BAND */
    .cta-band { background: var(--c-accent); padding: 4rem 1.5rem; text-align: center; }
    .cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--c-white); margin-bottom: 0.75rem; }
    .cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1rem; }
    .cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* FOOTER */
    footer { background: var(--c-primary-dark); padding: 4rem 1.5rem 2rem; color: rgba(255,255,255,0.55); }
    .footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-brand-logo { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--c-white); margin-bottom: 1rem; }
    .footer-brand-logo span { color: var(--c-accent); }
    .footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
    .footer-social { display: flex; gap: 0.75rem; }
    .footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: background 0.2s, border-color 0.2s; }
    .footer-social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: white; }
    .footer-col h4 { font-family: var(--f-body); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
    .footer-col li { margin-bottom: 0.5rem; }
    .footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
    .footer-col a:hover { color: var(--c-white); }
    .footer-bottom { max-width: var(--max-w); margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; }
    .footer-bottom-links { display: flex; gap: 1.25rem; }
    .footer-bottom-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
    .footer-bottom-links a:hover { color: var(--c-white); }

    /* CONTENT SECTIONS */
    .content-section { padding: 5rem 1.5rem; }
    .content-section.alt { background: var(--c-light); }
    .content-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
    .content-grid.thirds { grid-template-columns: repeat(3, 1fr); }
    .content-image { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); }
    .content-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .content-text p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.85; margin-bottom: 1rem; }
    .content-text .btn { margin-top: 1.5rem; }

    /* CARDS */
    .cards-section { padding: 5rem 1.5rem; }
    .cards-grid { max-width: var(--max-w); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.25s; position: relative; overflow: hidden; }
    .card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
    .card:hover { box-shadow: 0 12px 40px rgba(44,55,57,0.1); transform: translateY(-3px); }
    .card:hover::before { transform: scaleX(1); }
    .card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--c-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
    .card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
    .card p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.65; }

    /* PROCESS STEPS */
    .steps { max-width: var(--max-w); margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1.5rem; }
    .step { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 1.75rem; }
    .step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; font-family: var(--f-display); }
    .step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; font-family: var(--f-body); }
    .step-content p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.65; }

    /* FAQ */
    .faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
    .faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
    .faq-q { padding: 1.25rem 1.5rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--c-white); transition: background 0.2s; }
    .faq-q:hover { background: var(--c-light); }
    .faq-q .faq-arrow { transition: transform 0.25s; font-size: 0.75rem; color: var(--c-primary); }
    .faq-a { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--c-muted); line-height: 1.75; display: none; }
    .faq-item.open .faq-a { display: block; }
    .faq-item.open .faq-arrow { transform: rotate(180deg); }

    /* DOCTOR PROFILE */
    .doctor-profile { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: start; }
    .doctor-photo-lg { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-light); }
    .doctor-photo-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .doctor-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
    .badge { display: inline-block; background: var(--c-light); border: 1px solid var(--c-border); border-radius: 50px; padding: 0.3rem 0.85rem; font-size: 0.78rem; font-weight: 600; color: var(--c-primary); }
    .doctor-detail p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.85; margin-bottom: 1rem; }
    .stat-row { display: flex; gap: 2rem; margin: 1.5rem 0; flex-wrap: wrap; }
    .stat-item { text-align: center; }
    .stat-num { font-family: var(--f-display); font-size: 2rem; font-weight: 700; color: var(--c-primary); display: block; }
    .stat-label { font-size: 0.78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; }

    /* GALLERY GRID */
    .gallery-grid { max-width: var(--max-w); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
    .gallery-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); }
    .gallery-item-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--c-light); display: flex; align-items: center; justify-content: center; color: var(--c-muted); font-size: 0.8rem; text-align: center; padding: 1rem; }
    .gallery-item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; padding: 0; margin: 0; }
    .gallery-item-photo iframe { width: 100%; height: 100%; border: 0; display: block; }
    .gallery-item-photo:has(img), .gallery-item-photo:has(iframe) { padding: 0; }
    .gallery-item-caption { padding: 0.75rem 1rem; background: var(--c-white); }
    .gallery-item-caption h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.2rem; font-family: var(--f-body); }
    .gallery-item-caption p { font-size: 0.78rem; color: var(--c-muted); }

    /* PRICING TABLE */
    .pricing-table { max-width: 760px; margin: 2rem auto; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
    .pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--c-border); font-size: 0.9rem; }
    .pricing-row:last-child { border-bottom: none; }
    .pricing-row:nth-child(even) { background: var(--c-light); }
    .pricing-row .price { font-weight: 700; color: var(--c-primary); }

    /* TWO-COL PROSE */
    .prose-section { max-width: var(--max-w); margin: 0 auto; }
    .prose-section h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1rem; margin-top: 2.5rem; }
    .prose-section h2:first-child { margin-top: 0; }
    .prose-section p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.85; margin-bottom: 1rem; }
    .prose-section ul { list-style: disc; padding-left: 1.5rem; color: var(--c-muted); font-size: 0.95rem; margin-bottom: 1rem; }
    .prose-section ul li { margin-bottom: 0.4rem; line-height: 1.7; }

    /* RESPONSIVE */
    @media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
    @media (max-width: 860px) {
      .content-grid, .doctor-profile { grid-template-columns: 1fr; gap: 2.5rem; }
      .cards-grid, .content-grid.thirds { grid-template-columns: 1fr 1fr; }
      .gallery-grid { grid-template-columns: 1fr 1fr; }
      .nav-menu, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .topbar { display: none; }
      .doctor-profile { grid-template-columns: 1fr; }
    }
    @media (max-width: 580px) {
      .cards-grid, .content-grid.thirds, .gallery-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    /* Floating CTA */
    .floating-cta { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 999; background: var(--c-accent); color: var(--c-white); padding: 0.85rem 1.5rem; border-radius: 50px; font-family: var(--f-body); font-size: 0.9rem; font-weight: 700; box-shadow: 0 4px 20px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 0.5rem; transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap; }
    .floating-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }

/* ===== HOME PAGE — hero ===================================================== */
.home-hero {
  background: linear-gradient(135deg, #1a2627 0%, #2C3739 60%, #1a2627 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(178,117,88,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.home-hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.home-hero .eyebrow { color: var(--c-accent); }
.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--c-white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.home-hero h1 em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 600;
}
.home-hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.home-hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.home-hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  justify-content: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  max-width: 720px;
  margin: 0 auto;
}
.home-hero-trust strong {
  color: var(--c-white);
  font-weight: 700;
  margin-right: 0.4rem;
}

/* skip-link helper used in base.njk */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ===== ICONS (inline SVG sprite) ============================================ */
.icon {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 18px; height: 18px; }
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 28px; height: 28px; }
.icon-tile {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--c-primary);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-tile .icon { width: 18px; height: 18px; }
.icon-tile.alt {
  background: var(--c-accent-light);
  color: var(--c-primary);
}


/* ===== HOMEPAGE-SPECIFIC SECTIONS (hero / welcome / pillars / specials / doctors / services / why / reviews / billing / location) ===== */
/* ============================================================
       HERO
    ============================================================ */
    .hero {
      position: relative; min-height: 90vh;
      display: flex; align-items: center;
      overflow: hidden;
      background: var(--c-primary-dark);
    }
    .hero-bg { position: absolute; inset: 0; }
    /* BRAND: Swap these 5 images for your preferred hero photos */
    .hero-slide {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      opacity: 0;
      animation: heroFade 15s infinite;
    }
    .hero-slide:nth-child(1) { background-image: url('/images/team8.jpg');   animation-delay: 0s; }
    .hero-slide:nth-child(2) { background-image: url('/images/team1.jpg');   animation-delay: 5s; }
    .hero-slide:nth-child(3) { background-image: url('/images/office9.jpg'); animation-delay: 10s; }
    @keyframes heroFade {
      0%        { opacity: 0; }
      4%, 30%   { opacity: 1; }
      37%, 100% { opacity: 0; }
    }
    .hero-bg::after {
      content: ''; position: absolute; inset: 0; z-index: 1;
      background: rgba(26, 38, 39, 0.65);
    }
    .hero-inner {
      position: relative; z-index: 1;
      max-width: var(--max-w); margin: 0 auto; padding: 5rem 1.5rem;
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    }
    .hero-content { color: var(--c-white); }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(178,117,88,0.2); border: 1px solid rgba(178,117,88,0.4);
      color: #E0B090; font-size: 0.75rem; font-weight: 600;
      letter-spacing: 0.12em; text-transform: uppercase;
      padding: 0.35rem 1rem; border-radius: 50px; margin-bottom: 1.25rem;
    }
    .hero h1 {
      font-size: clamp(3rem, 6vw, 5.5rem);
      color: var(--c-white); margin-bottom: 0.25rem; font-weight: 700;
    }
    .hero h1 em { font-style: italic; color: #E0B090; }
    .hero-tagline {
      font-size: 1.4rem; font-weight: 300;
      color: rgba(255,255,255,0.7);
      font-family: var(--f-display); font-style: italic;
      margin-bottom: 1.5rem;
    }
    .hero-desc { font-size: 1.15rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 560px; }
    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

    .hero-card {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: var(--radius-lg);
      backdrop-filter: blur(10px);
      padding: 2.5rem;
      align-self: center;
    }
    .hero-card-title {
      font-family: var(--f-display); font-size: 1.45rem;
      color: var(--c-white); margin-bottom: 1.25rem; font-weight: 500;
    }
    .hero-hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
    .hero-hours-row {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 0.85rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .hero-hours-row:last-child { border-bottom: none; }
    .hero-hours-day { color: rgba(255,255,255,0.65); }
    .hero-hours-time { color: var(--c-white); font-weight: 500; }
    .hero-hours-badge {
      background: rgba(178,117,88,0.25); color: #E0B090;
      font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem;
      border-radius: 50px; letter-spacing: 0.05em;
    }
    .hero-cta-strip {
      margin-top: 1.5rem; display: flex; gap: 0.75rem; flex-direction: column;
    }

    /* ============================================================
       WELCOME BAND
    ============================================================ */
    .welcome { background: var(--c-light); padding: 5rem 1.5rem; }
    .welcome-inner {
      max-width: var(--max-w); margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
    }
    .welcome-image {
      aspect-ratio: 4/3.2; border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #e8d5c4 0%, #c9a585 100%);
      display: flex; align-items: center; justify-content: center;
      color: var(--c-primary); font-size: 0.9rem;
      font-family: var(--f-display); text-align: center; padding: 1.5rem;
    }
    .welcome-text .section-sub { max-width: 100%; }
    .welcome-text p { color: var(--c-muted); font-size: 0.95rem; line-height: 1.8; margin-top: 1rem; }
    .welcome-text .btn { margin-top: 2rem; }

    /* ============================================================
       PILLARS (3 columns)
    ============================================================ */
    .pillars { background: var(--c-white); padding: 5rem 1.5rem; }
    .pillars-header { text-align: center; margin-bottom: 3.5rem; }
    .pillars-header .section-sub { margin: 0 auto; }
    .pillars-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
    .pillar-card {
      border: 1px solid var(--c-border); border-radius: var(--radius-lg);
      padding: 2.5rem 2rem; text-align: center;
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .pillar-card:hover { box-shadow: 0 16px 48px rgba(44,55,57,0.1); transform: translateY(-4px); }
    .pillar-icon {
      width: 60px; height: 60px; border-radius: 50%;
      background: var(--c-light); margin: 0 auto 1.5rem;
      display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    }
    .pillar-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
    .pillar-card p { font-size: 0.9rem; color: var(--c-muted); line-height: 1.7; }

    /* ============================================================
       SPECIALS
    ============================================================ */
    .specials { background: var(--c-primary); padding: 5rem 1.5rem; }
    .specials-header { text-align: center; margin-bottom: 3rem; }
    .specials-header .section-title { color: var(--c-white); }
    .specials-header .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto; }
    .specials-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
    .special-card {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
      transition: background 0.2s, transform 0.2s;
    }
    .special-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
    .special-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; font-weight: 500; letter-spacing: 0.05em; }
    .special-price { font-family: var(--f-display); font-size: 3rem; font-weight: 700; color: var(--c-accent); line-height: 1; margin-bottom: 1rem; }
    .special-price sup { font-size: 1.2rem; vertical-align: super; }
    .special-card h3 { font-size: 1rem; color: var(--c-white); font-weight: 600; margin-bottom: 0.6rem; font-family: var(--f-body); }
    .special-card p { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.6; min-height: 5rem; }
    .specials-footer { text-align: center; margin-top: 2.5rem; }

    /* ============================================================
       DOCTORS
    ============================================================ */
    .doctors { background: var(--c-light); padding: 5rem 1.5rem; }
    .doctors-inner { max-width: var(--max-w); margin: 0 auto; }
    .doctors-header { text-align: center; margin-bottom: 3.5rem; }
    .doctors-header .section-sub { margin: 0 auto; }
    .doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); gap: 2rem; justify-content: center; }
    .doctor-card {
      background: var(--c-white); border-radius: var(--radius-lg);
      overflow: hidden; border: 1px solid var(--c-border);
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .doctor-card:hover { box-shadow: 0 16px 48px rgba(44,55,57,0.1); transform: translateY(-3px); }
    .doctor-photo {
      aspect-ratio: 4/4.2;
      overflow: hidden;
      background: var(--c-light);
    }
    .doctor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .doctor-info { padding: 1.5rem; }
    .doctor-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
    .doctor-role { font-size: 0.8rem; color: var(--c-accent); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
    .doctor-bio { font-size: 0.85rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 1rem; }
    .doctor-link { font-size: 0.82rem; color: var(--c-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
    .doctor-link:hover { gap: 0.55rem; }

    /* ============================================================
       SERVICES
    ============================================================ */
    .services { background: var(--c-white); padding: 5rem 1.5rem; }
    .services-inner { max-width: var(--max-w); margin: 0 auto; }
    .services-header { text-align: center; margin-bottom: 3.5rem; }
    .services-header .section-sub { margin: 0.75rem auto 0; }
    .services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
    .service-card {
      position: relative; overflow: hidden; border-radius: var(--radius-lg);
      border: 1px solid var(--c-border); padding: 2rem 1.75rem;
      transition: all 0.25s; background: var(--c-white);
    }
    .service-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--c-primary); transform: scaleX(0); transform-origin: left;
      transition: transform 0.3s;
    }
    .service-card:hover { box-shadow: 0 12px 40px rgba(44,55,57,0.1); transform: translateY(-3px); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-icon {
      width: 52px; height: 52px; border-radius: 12px;
      background: var(--c-light); display: flex; align-items: center;
      justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem;
    }
    .service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
    .service-card p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.65; }
    .service-link {
      display: inline-flex; align-items: center; gap: 0.3rem;
      color: var(--c-primary); font-size: 0.82rem; font-weight: 600;
      margin-top: 1rem; transition: gap 0.2s;
    }
    .service-link:hover { gap: 0.55rem; }

    /* ============================================================
       WHY CHOOSE
    ============================================================ */
    .why { background: var(--c-accent-light); padding: 5rem 1.5rem; }
    .why-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
    .why-image {
      aspect-ratio: 1/1; border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #e8d0b8 0%, #c9956a 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.85rem; color: #5c3d28; font-family: var(--f-display);
      text-align: center; padding: 1.5rem;
    }
    .why-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
    .why-item { display: flex; gap: 1rem; align-items: flex-start; }
    .why-icon {
      width: 44px; height: 44px; border-radius: 50%;
      background: var(--c-primary); color: var(--c-white);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; flex-shrink: 0;
    }
    .why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; font-family: var(--f-body); }
    .why-item p { font-size: 0.875rem; color: var(--c-muted); }

    /* ============================================================
       REVIEWS
    ============================================================ */
    .reviews { background: var(--c-primary-dark); padding: 5rem 1.5rem; }
    .reviews-header { text-align: center; margin-bottom: 3.5rem; }
    .reviews-header .section-title { color: var(--c-white); }
    .reviews-header .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto; }
    .reviews-inner { max-width: var(--max-w); margin: 0 auto; }
    .reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
    .review-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--radius-lg); padding: 1.75rem;
      display: flex; flex-direction: column;
    }
    .review-stars { color: var(--c-accent); font-size: 0.9rem; margin-bottom: 1rem; }
    .review-text {
      font-size: 0.9rem; color: rgba(255,255,255,0.78);
      font-style: italic; line-height: 1.75; margin-bottom: 1.25rem;
      font-family: var(--f-display); flex: 1;
    }
    .review-author { display: flex; align-items: center; gap: 0.75rem; }
    .review-avatar {
      width: 38px; height: 38px; border-radius: 50%;
      background: var(--c-primary); color: var(--c-white);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
    }
    .review-name { font-size: 0.875rem; font-weight: 600; color: var(--c-white); }
    .review-source { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
    .reviews-footer { text-align: center; margin-top: 2.5rem; }

    /* ============================================================
       CTA BAND
    ============================================================ */
    .cta-band {
      background: var(--c-accent);
      padding: 4rem 1.5rem; text-align: center;
    }
    .cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--c-white); margin-bottom: 0.75rem; }
    .cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1rem; }
    .cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* ============================================================
       LOCATION / HOURS / MAP
    ============================================================ */
    .location { background: var(--c-light); padding: 5rem 1.5rem; }
    .location-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .location-map {
      aspect-ratio: 4/3; border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--c-border);
    }
    .location-map iframe { display: block; width: 100%; height: 100%; }
    /* BRAND: Replace the map placeholder div with:
       <iframe src="https://www.google.com/maps/embed?pb=..." width="100%" height="100%"
       style="border:0;" allowfullscreen loading="lazy" title="Key Dental location map"></iframe> */
    .location-details .section-title { margin-bottom: 1.5rem; }
    .location-info-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
    .location-info-item { display: flex; gap: 1rem; align-items: flex-start; }
    .location-info-icon {
      width: 42px; height: 42px; border-radius: 10px;
      background: var(--c-primary); color: var(--c-white);
      display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
    }
    .location-info-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-muted); margin-bottom: 0.2rem; }
    .location-info-value { font-size: 0.95rem; font-weight: 600; color: var(--c-text); }
    .location-info-value a { color: var(--c-primary); }

    .hours-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-bottom: 2rem; }
    .hours-table tr { border-bottom: 1px solid var(--c-border); }
    .hours-table tr:last-child { border-bottom: none; }
    .hours-table td { padding: 0.55rem 0; color: var(--c-muted); }
    .hours-table td:last-child { text-align: right; font-weight: 600; color: var(--c-text); }
    .hours-today { background: rgba(44,55,57,0.06); }
    .hours-today td { color: var(--c-primary); }
    .hours-today td:first-child::before { content: '▸ '; }

    /* ============================================================
       BILLING SECTION
    ============================================================ */
    .billing { background: var(--c-white); padding: 5rem 1.5rem; }
    .billing-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
    .billing-content p { font-size: 0.95rem; color: var(--c-muted); line-height: 1.8; margin-bottom: 1rem; }
    .billing-content .btn { margin-top: 1rem; }
    .billing-financing { background: var(--c-light); border-radius: var(--radius-lg); padding: 2rem; }
    .billing-financing h3 { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 700; font-family: var(--f-body); }
    .financing-options { display: flex; flex-direction: column; gap: 0.75rem; }
    .financing-item {
      display: flex; align-items: center; gap: 0.85rem;
      background: var(--c-white); border-radius: var(--radius);
      padding: 0.85rem 1rem; border: 1px solid var(--c-border);
    }
    .financing-item span { font-size: 0.875rem; font-weight: 500; }
    .financing-check { color: var(--c-primary); font-size: 1rem; }

/* ===== Photo placeholders (template default — replace with real <img> per client) ===== */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background:
    repeating-linear-gradient(45deg, rgba(178,117,88,0.04) 0 14px, transparent 14px 28px),
    linear-gradient(155deg, var(--c-light) 0%, var(--c-accent-light) 100%);
  color: var(--c-muted);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-lg, 18px);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
  min-height: 320px;
}
.photo-placeholder .icon {
  width: 36px; height: 36px;
  color: var(--c-accent);
  opacity: 0.85;
}
.photo-placeholder span {
  letter-spacing: 0.02em;
  max-width: 22ch;
}
