/* Revive Dental Clinic — multi-page modern system */
:root {
  /* Clinic brand: royal blue + soft seafoam teal */
  --brand-blue: #3457a1;
  --brand-teal: #99ced3;
  --ink: #101820;
  --ink-soft: #252e3d;
  --muted: #5a6474;
  --bg: #f1f6f8;
  --bg-warm: #e9f2f4;
  --surface: #ffffff;
  --surface-2: #eef6f7;
  --border: rgba(16, 24, 40, 0.1);
  --accent: var(--brand-blue);
  --accent-hover: #2a4785;
  --accent-soft: rgba(52, 87, 161, 0.12);
  --accent-glow: rgba(52, 87, 161, 0.26);
  --teal-soft: rgba(153, 206, 211, 0.35);
  --whatsapp: #128c7e;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, 0.09);
  --header-h: 76px;
  --max: 1180px;
  --narrow: 720px;
  --font: "Aptos", "Aptos Narrow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Aptos Display", "Aptos", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.28s;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--narrow));
}

@media (max-width: 480px) {
  .container,
  .container--narrow {
    width: min(100% - 1.25rem, var(--max));
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  order: 0;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--accent);
}

.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 48px;
  max-width: min(320px, 72vw);
  min-width: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.logo-mark img {
  height: 48px;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo-text {
  min-width: 0;
}

.logo-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 10px;
  margin-left: auto;
  order: 2;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 1px;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle-bar {
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}

.site-nav {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  order: 3;
  min-width: 0;
}

.site-nav nav {
  grid-column: 2;
  justify-self: center;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.header-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  touch-action: manipulation;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--wa {
  background: var(--whatsapp);
  color: #fff;
}

.btn--wa:hover {
  background: #0d6b62;
  color: #fff;
}

.btn--block {
  width: 100%;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .header-actions .header-phone {
    display: none;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s var(--ease-out), opacity 0.28s, visibility 0.28s;
    max-height: min(70vh, calc(100dvh - var(--header-h) - 1rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-list a {
    padding: 0.9rem 0.65rem;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .header-actions .btn {
    width: 100%;
  }

  .site-nav nav {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .header-actions {
    grid-column: auto;
    justify-self: stretch;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none !important;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, var(--accent-soft), transparent),
    radial-gradient(ellipse 55% 50% at 5% 100%, var(--teal-soft), transparent),
    var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.page-hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

/* Home hero — mid slate (lighter than ink; keeps light text) */
.hero {
  position: relative;
  overflow: hidden;
  background: #1e2a3f;
  color: #eef2f8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 18% 18%, rgba(52, 87, 161, 0.42), transparent 58%),
    radial-gradient(ellipse 85% 58% at 80% 32%, rgba(153, 206, 211, 0.22), transparent 55%),
    radial-gradient(ellipse 65% 55% at 88% 62%, rgba(255, 255, 255, 0.11), transparent 52%),
    linear-gradient(165deg, #2c3e5c 0%, #263652 42%, #1c2840 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-deck {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 1.75rem;
  max-width: 42ch;
}

.areas-served-section .section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.areas-served-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 72ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-actions .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-visual-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  width: auto;
  padding: 1rem 1.15rem;
  background: rgba(15, 22, 36, 0.38);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Trust bento */
.trust-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-top: -1px;
}

.trust-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
  .trust-card:hover {
    transform: none;
  }
}

.trust-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.trust-card span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections */
.section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.section--alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section--dark {
  background: linear-gradient(180deg, #161d2a 0%, #0e1520 100%);
  color: #d5dce6;
  border: 0;
}

.section--dark h2,
.section--dark .section-title {
  color: #fff;
}

.section--dark .muted {
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .dark-section-link {
  color: #b8dde3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section--dark .dark-section-link:hover {
  color: #fff;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* Blockquote */
.pullquote {
  margin: 0;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.pullquote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

/* Welcome split */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.media-placeholder {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, var(--accent-soft), transparent),
    var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.media-placeholder p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.media-frame {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Featured treatments bento */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1000px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }

  .bento-card--wide {
    grid-column: span 2;
  }
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow-lg);
}

.bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Values grid */
.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.value-card {
  padding: 1.35rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--ink);
}

.value-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Home: easy booking options (dark section) */
.care-options-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .care-options-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.care-options-list li {
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.45;
}

.care-options-list strong {
  color: #fff;
  display: block;
  margin-bottom: 0.25rem;
}

/* Testimonials */
.quotes {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .quotes:not(.quotes--google) {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.quote {
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.quote footer {
  font-size: 0.875rem;
  color: var(--muted);
}

.quote footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.quote footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* CTA band */
.cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background:
    linear-gradient(135deg, var(--teal-soft) 0%, transparent 55%),
    linear-gradient(120deg, var(--accent-soft), transparent),
    var(--surface);
  border-block: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  color: var(--muted);
  max-width: 40ch;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Treatments page */
.treatment-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.treatment-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.treatment-block h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.treatment-meaning {
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.treatment-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.treatment-block li {
  margin-bottom: 0.5rem;
}

/* About page */
.about-block {
  margin-bottom: 2rem;
}

.about-block h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.about-block p,
.about-block ul {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.doctor-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.doctor-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .doctor-card {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }
}

.doctor-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 0;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.doctor-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  background:
    linear-gradient(160deg, var(--accent-soft), transparent),
    var(--surface-2);
}

.doctor-photo--placeholder span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* Gallery — natural image aspect ratio (no crop); slightly larger cells */
.gallery-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

/* Before & after: larger tiles (2 columns on wide screens; wider on phones) */
.gallery-grid--before-after {
  gap: 1.2rem;
}

@media (min-width: 1100px) {
  .gallery-grid--before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.65rem;
  }
}

@media (max-width: 639px) {
  .gallery-grid--before-after {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    box-sizing: border-box;
    gap: 1rem;
  }

  .gallery-grid--before-after .gallery-item {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 32px rgba(16, 24, 40, 0.1);
  }
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.gallery-half {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
}

.gallery-half span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.gallery-half p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.gallery-caption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.gallery-photo {
  margin: 0;
  line-height: 0;
  background: var(--surface-2);
  display: block;
}

.gallery-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.85rem;
  padding-left: 0;
  color: var(--muted);
}

.contact-list strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.map-embed {
  margin-top: 1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed-link {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.map-embed-link a {
  font-weight: 600;
}

/* FAQ (SEO / contact) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.faq-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

.emergency-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.emergency-callout p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.booking-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.booking-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.booking-form {
  margin-top: 0;
}

.booking-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-soft);
}

.booking-form input:focus-visible,
.booking-form select:focus-visible,
.booking-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.booking-form textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-form-fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.booking-form-legend {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  padding: 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.radio-label input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.radio-label input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
}

.form-hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--surface-2);
  border-radius: 4px;
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.form-success:empty:not(.is-visible) {
  display: none;
}

.form-success:not(:empty),
.form-success.is-visible {
  display: block;
}

.form-error:empty {
  display: none;
}

.form-error:not(:empty) {
  display: block;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.25);
  border-radius: var(--radius);
  color: #8f1f14;
  font-size: 0.9rem;
}

.form-fs-alerts {
  margin-bottom: 0.25rem;
}

.field-error:empty {
  display: none;
}

.field-error:not(:empty) {
  display: block;
  color: #b42318;
  font-size: 0.8rem;
  margin: -0.35rem 0 0.65rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Footer */
.site-footer {
  padding: 2rem 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin: 0;
}

.footer-logo {
  height: clamp(44px, 6.5vw, 64px);
  width: auto;
  max-width: min(340px, 88vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  opacity: 0.95;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: 0.75rem;
}

.mt-md {
  margin-top: 1.25rem;
}

/* Utilities */
.muted {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Mobile polish (phones) ——— */
@media (max-width: 639px) {
  .hero-grid {
    padding-top: clamp(2rem, 6vw, 3rem);
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
    line-height: 1.18;
    word-break: break-word;
  }

  .hero-deck {
    font-size: 1rem;
    max-width: none;
  }

  .areas-served-text {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-actions .btn,
  .hero-actions .btn--ghost,
  .hero-actions .btn--wa {
    width: 100%;
    justify-content: center;
  }

  .cta-band .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.25rem;
  }

  .cta-band .hero-actions .btn,
  .cta-band .hero-actions .btn--ghost,
  .cta-band .hero-actions .btn--wa {
    width: 100%;
  }

  .page-hero .lead {
    max-width: none;
    font-size: 1rem;
  }

  .pullquote {
    padding: 1.25rem 1.1rem;
  }

  .section {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  .logo {
    max-width: calc(100vw - 5.5rem);
    min-width: 0;
  }

  .logo-mark {
    max-width: min(280px, 74vw);
  }

  .logo-mark img {
    max-height: 42px;
    height: 42px;
  }

  .booking-form input:not([type="radio"]):not([type="checkbox"]),
  .booking-form select,
  .booking-form textarea {
    font-size: 1rem;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
  }

  .booking-form textarea {
    min-height: 120px;
  }

  .booking-form label,
  .booking-form-legend {
    font-size: 0.9rem;
  }

  .radio-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .radio-label {
    padding: 0.85rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 48px;
    box-sizing: border-box;
  }

  .radio-label input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
  }

  .site-footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .footer-links {
    gap: 0.5rem 1rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .care-options-list li {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .logo-mark {
    max-width: min(240px, 78vw);
  }

  .logo-mark img {
    max-height: 38px;
    height: 38px;
  }
}
