/* =========================================================
   Dulay Dental — main stylesheet
   Same design as the OneSolution® site (desktop frame 1728px wide).
   ========================================================= */

:root {
  --blue: #00b9f2;
  --blue-btn: #00bbf1;
  --blue-cost: #00bcf8;
  --blue-light: #36cdfb;
  --blue-band: #00a2dc;
  --navy: #004886;
  --navy-mark: #004c91;
  --orange: #ff6700;
  --orange-form: #ee7b30;
  --green: #75c459;
  --soft: #f1f8fb;
  --card-gray: #f7f7f7;
  --dark: #222;
  --ink: #060c17;
  --ink-2: #1d1d1f;
  --muted: rgba(0, 0, 0, 0.59);
  --line: #626262;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-nav: 'Inter', sans-serif;

  --container: 1440px;   /* max content width: header, sections, footer */

  --fs-xl: clamp(28px, calc(2.2vw + 10px), 48px);
  --fs-lg: clamp(26px, calc(1.75vw + 10px), 40px);
}

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

/* scroll-padding-top: in-page links (#schedule…) stop below the sticky header */
html { scroll-behavior: smooth; scroll-padding-top: 160px; }

body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 17.4px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

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

.container,
.wrap { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
/* Elements that slide in from the side (animations) must never cause a sideways scroll.
   clip (unlike hidden) doesn't create a scroll box, so the sticky header etc. keep working. */
.site-main { overflow-x: clip; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.c-blue { color: var(--blue); }

/* ---------- Type ---------- */
.h-xl {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.22;
  letter-spacing: 0.75px;
  color: var(--ink);
}
.h-lg {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--ink);
}
.body-text {
  margin: 0;
  font-size: 17.4px;
  line-height: 28px;
  letter-spacing: -0.36px;
  color: var(--muted);
}

/* Highlighted words ("3 hours", "METAL!", "PATIENT TESTIMONIALS"…) */
.mark {
  display: inline-block;
  margin: 0;
  padding: 0 17px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: inherit;
  line-height: 1.2;
  letter-spacing: -1.04px;
}
.mark-navy { background: var(--navy-mark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(250px, 100%);
  min-height: 54px;
  padding: 8px 20px;
  border: 2px solid transparent;
  border-radius: 25px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  white-space: normal;      /* single line normally; wraps instead of spilling out if a translation is too long */
  line-height: 1.15;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue-btn); color: #fff; }
.btn-blue:hover { background: #009fd0; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #003a6c; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e85d00; }
.btn-white { background: #fff; color: var(--dark); min-width: min(288px, 100%); }
.btn-white:hover { background: var(--blue-btn); color: #fff; }
.btn-outline-blue { border-color: var(--blue-btn); color: var(--blue-btn); }
.btn-outline-blue:hover { background: var(--blue-btn); color: #fff; }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--blue-cost); }

.btn-row { display: flex; flex-wrap: wrap; gap: 11px; }
.btn-row > .btn { flex-shrink: 0; max-width: 100%; }   /* never squash button text (longer translations wrap the row instead) */
.btn-row.center { justify-content: center; }
.phone-num { white-space: nowrap; }   /* phone number never splits across two lines */

/* Long button labels ("BOOK A CONSULTATION", and longer still in Spanish) */
@media (min-width: 992px) and (max-width: 1279px) {
  .footer-col .footer-btn { font-size: 16px; padding-left: 12px; padding-right: 12px; }   /* fits the narrow footer column */
}
@media (max-width: 767px) {
  .btn-row > .btn.btn { flex-basis: auto; }   /* a pair that can't fit side by side stacks instead of squeezing the text */
}
/* Spanish "RESERVA UNA CONSULTA" in the narrow footer column */
html:not([lang="en"]) .footer-col .footer-btn { font-size: 17px; padding-left: 14px; padding-right: 14px; }
@media (min-width: 992px) and (max-width: 1279px) {
  html:not([lang="en"]) .footer-col .footer-btn { font-size: 15px; padding-left: 10px; padding-right: 10px; }
}

/* ---------- Rounded section panels ---------- */
.panel { position: relative; border-radius: 25px; }
.panel-soft { background: var(--soft); }
.panel-blue { background: var(--blue-cost); color: #fff; }
.panel-dark { background: var(--dark); color: #fff; }

/* ---------- Video thumbnails + play button ---------- */
.video-card { position: relative; overflow: hidden; border-radius: 25px; background: #111; }
.video-card > img { width: 100%; height: 100%; object-fit: cover; }
.video-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.35); pointer-events: none;
}
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: url(/assets/img/circle-play.svg) center / 60px 60px no-repeat;
  transition: transform .2s;
}
.play-btn span {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translate(-38%, -50%);
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

/* =========================================================
   HEADER
   ========================================================= */
/* Sticky header: floats over the hero, stays at the top while scrolling */
.site-header {
  position: fixed; top: 27px; left: 0; right: 0; z-index: 50;
  padding: 0 16px;
  pointer-events: none;   /* the empty space beside the header card stays clickable */
  transition: top .25s ease;
}
.site-header .header-card { pointer-events: auto; transition: filter .25s ease; }
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .header-card { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18)); }
.header-card {
  position: relative;
  max-width: var(--container); height: 128px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.15));
}
.logo { position: absolute; left: 35px; top: 35px; }
.logo img { width: 265px; height: auto; display: block; }

.header-tabs {
  position: absolute; top: 0; right: 36px;
  display: flex; align-items: flex-start; gap: 5px;
}
.header-tab {
  display: block;
  padding: 0 25px;
  border-radius: 0 0 15px 15px;
  font-weight: 600; font-size: 16px; line-height: 45px;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: filter .2s;
}
.header-tab:hover { filter: brightness(1.1); }
.tab-navy { background: var(--navy); }
.tab-blue { background: var(--blue); }

.lang-pill {
  position: relative;
  margin-top: 1px;
  background: #fff;
  border-radius: 2px 2px 15px 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

/* Translated pages (GTranslate sets <html lang="es">): longer words → slightly tighter desktop menu */
html:not([lang="en"]) .main-nav a, html:not([lang="en"]) .main-nav span { font-size: 13px; padding-left: 3.5px; padding-right: 3.5px; }
/* Spanish header tabs ("PROGRAMAR CONSULTA") are longer: a little smaller below 1440px so they clear the logo */
@media (max-width: 1439px) {
  html:not([lang="en"]) .header-tab { font-size: 12.5px; letter-spacing: 0.4px; padding-left: 12px; padding-right: 12px; }
}
html:not([lang="en"]) .main-nav ul { gap: 0; }
html:not([lang="en"]) .main-nav .menu-sub a { padding: 14px 20px; font-size: 14px; }   /* dropdown links keep their own size */
html:not([lang="en"]) .header-phone { font-size: 12.5px; }

/* GTranslate widget inside the language pill — styled like the design's "EN" pill */
.lang-pill.gtranslate_wrapper { min-width: 114px; min-height: 45px; }
.lang-pill #gt_float_wrapper { position: relative; }
.lang-pill .gt_float_switcher {
  box-shadow: none !important; background: transparent !important; border-radius: 0 0 15px 15px !important;
  font-family: var(--font-body) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 20px !important;
  color: #333 !important; overflow: visible !important;
}
.lang-pill .gt_float_switcher .gt-selected { background: transparent !important; border-radius: 0 0 15px 15px; }
.lang-pill .gt_float_switcher .gt-selected .gt-current-lang {
  display: flex !important; align-items: center; gap: 9px;
  padding: 10px 15px !important; color: #333 !important; font-weight: 700 !important;
}
.lang-pill .gt_float_switcher img { width: 33px !important; height: 25px !important; margin: 0 !important; border-radius: 3px; object-fit: cover; }
.lang-pill .gt-lang-code { text-transform: uppercase; letter-spacing: 0.8px; }
.lang-pill .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow { margin-left: 0 !important; }
/* the drop-down with the other language(s) */
.lang-pill .gt_float_switcher .gt_options {
  position: absolute !important; top: 100%; left: 0; right: 0; z-index: 60;
  background: #fff !important; border-radius: 0 0 15px 15px; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.lang-pill .gt_float_switcher .gt_options a { display: flex !important; align-items: center; gap: 9px; padding: 8px 15px !important; font-size: 15px !important; color: #333 !important; }
.lang-pill .gt_float_switcher .gt_options a:hover { background: var(--soft) !important; color: var(--blue) !important; }


.header-nav {
  position: absolute; right: 64px; top: 60px;
  display: flex; align-items: center; gap: 16px;
}
.main-nav ul { display: flex; gap: 3.7px; margin: 0; padding: 0; list-style: none; }
/* Desktop (1300px+, where the full menu shows): one-row header (logo left, phone + tabs top right, menu below them).
   If the menu does not fit beside the logo (e.g. longer Spanish labels), js/main.js adds .nav-two-row to <html>
   and the menu moves to its own row across the header (150px tall, so the hero and banners start lower). */
@media (min-width: 1300px) {
  .logo img { width: 240px; }
  .header-nav { right: 40px; }
  html.nav-two-row { scroll-padding-top: 185px; }
  html.nav-two-row .header-card { height: 150px; }
  html.nav-two-row .logo { top: 22px; }
  html.nav-two-row .logo img { width: 230px; }
  html.nav-two-row .header-nav { left: 32px; right: 32px; top: auto; bottom: 4px; justify-content: center; padding-top: 4px; border-top: 1px solid #e6eef3; }
  html.nav-two-row .main-nav ul { gap: 4px; }
}
@media (min-width: 1300px) {
  html:not([lang="en"]) .main-nav ul { gap: 0; }
  html:not([lang="en"]) .main-nav a, html:not([lang="en"]) .main-nav span { font-size: 12.5px; padding-left: 3px; padding-right: 3px; }
  html:not([lang="en"]) .main-nav .menu-sub a { padding: 14px 20px; font-size: 14px; }
}
/* 1300–1439px (narrower desktops): a slightly smaller logo and menu text, so the 7 items stay on one row */
@media (min-width: 1300px) and (max-width: 1439px) {
  .logo img { width: 210px; }
  .header-nav { right: 30px; }
  html[lang="en"] .main-nav > ul > li > a { font-size: 14px; padding-left: 6px; padding-right: 6px; }
  html:not([lang="en"]) .main-nav > ul > li > a { font-size: 12px; padding-left: 2.5px; padding-right: 2.5px; }
}
.main-nav a, .main-nav span {
  display: block;
  padding: 14.75px 7px 15.25px;
  font-family: var(--font-nav); font-weight: 500; font-size: 15px; line-height: 15px;
  color: rgba(0, 0, 0, 0.8); text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); }

/* Menu dropdowns (same look and behaviour as onesolutionnow.com): open on hover or keyboard focus;
   js/main.js adds aria-expanded, Esc to close and tap-to-open on touch screens */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a { display: flex; align-items: center; gap: 5px; }
.menu-chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.main-nav .has-sub:hover > a, .main-nav .has-sub:focus-within > a, .main-nav .has-sub.is-open > a { color: var(--blue); }
.main-nav .has-sub:hover > a .menu-chev, .main-nav .has-sub.is-open > a .menu-chev { transform: rotate(180deg); }
.main-nav ul.menu-sub {
  position: absolute; top: 100%; left: -14px; z-index: 70;
  display: block; min-width: 250px; margin: 0; padding: 6px 0; list-style: none;
  border-radius: 10px; background: #0b2a4a;
  box-shadow: 0 22px 48px rgba(6, 22, 40, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  /* closing waits a moment, so moving the mouse diagonally doesn't snap the menu shut */
  transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .3s;
}
.main-nav ul.menu-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* bridge over the gap */
.main-nav .has-sub:hover > .menu-sub, .main-nav .has-sub:focus-within > .menu-sub, .main-nav .has-sub.is-open > .menu-sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s ease, transform .2s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.main-nav .has-sub.is-closed > .menu-sub { opacity: 0; visibility: hidden; transform: translateY(8px); transition: none; }
.main-nav .menu-sub li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.main-nav .menu-sub a {
  position: relative; padding: 14px 20px;
  font-size: 15px; line-height: 1.3; color: rgba(255, 255, 255, 0.92);
  transition: background-color .2s, color .2s, padding-left .2s cubic-bezier(.2, .7, .2, 1);
}
.main-nav .menu-sub a:hover, .main-nav .menu-sub a:focus-visible { background: rgba(255, 255, 255, 0.07); color: #5fd3fb; padding-left: 24px; }
.main-nav .menu-sub a[aria-current="page"] { color: #5fd3fb; }
.main-nav .menu-sub a[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #5fd3fb; }
.main-nav .menu-sub a:focus-visible { outline: 2px solid #5fd3fb; outline-offset: -2px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-nav); font-weight: 500; font-size: 13.3px; line-height: 22.75px;
  color: #000; text-decoration: none; white-space: nowrap;
}
.header-phone img { width: 18px; height: 18px; }
.header-phone .hp-label { margin-right: -4px; }
.header-tabs .header-phone { height: 45px; margin-right: 18px; font-size: 15px; color: var(--navy); }   /* top row, beside the tabs */   /* normal word space before the number (the link is a flex row with an 8px gap) */
.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  position: absolute; right: 24px; top: 50%;
  width: 46px; height: 46px; padding: 11px;
  transform: translateY(-50%);
  border: 0; border-radius: 12px; background: var(--soft);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; margin: 4px 0; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (banner text + buttons, no form)
   ========================================================= */
.hero {
  position: relative;
  min-height: 0;          /* height follows the content (design: 917px) */
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
/* Banner background: covers the whole hero. It sits inside .hero-text but is
   positioned against .hero on desktop. (Add a photo here later if wanted.) */
.hero-video {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: #00203f;
}
.hero-video::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }   /* dark tint for the white text */

.hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  min-height: 760px;
  padding: 195px 112px 90px 52px;   /* header ends at 155px */
}
.hero-text { max-width: 760px; }
.hero-eyebrow {
  margin: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 18px; line-height: 22px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero h1 {
  margin: 2px 0 0;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(40px, calc(3vw + 12px), 64px); line-height: 1.22;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero-sub {
  max-width: 600px;
  margin: 14px 0 0;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 27px;
  letter-spacing: 1px; text-transform: uppercase;
}

.hero-btns { margin-top: 32px; }

/* Banner background: stock photo (Unsplash) under a navy fade so the white text stays readable */
.hero-bg {
  background:
    linear-gradient(90deg, rgba(0, 32, 63, 0.94) 0%, rgba(0, 54, 105, 0.82) 40%, rgba(0, 72, 134, 0.35) 75%, rgba(0, 72, 134, 0.15) 100%),
    url(/assets/img/stock/hero-dentist-patient.jpg) 70% 40% / cover no-repeat #00203f;
}
.hero-bg::after { display: none; }
@media (max-width: 991px) {
  .hero-bg { background: linear-gradient(180deg, rgba(0, 32, 63, 0.88) 0%, rgba(0, 54, 105, 0.82) 100%), url(/assets/img/stock/hero-dentist-patient.jpg) 60% 40% / cover no-repeat #00203f; }
}

/* =========================================================
   SMILE GALLERY — BEFORE & AFTER SLIDER
   ========================================================= */
.diff { margin-top: 61px; }
.diff-title { max-width: 904px; margin: 0 auto; color: var(--ink-2); letter-spacing: 1px; text-transform: uppercase; }
.diff-sub {
  max-width: 904px;
  margin: 27px auto 0;
  font-size: 20px; line-height: 1.3; letter-spacing: 0.8px; text-transform: uppercase;
}
.ba-slider { position: relative; margin-top: 46px; }
.ba-track {
  position: relative;
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ba-track::-webkit-scrollbar { display: none; }
.ba-slide {
  position: relative;
  flex: 0 0 430px; height: 432px;
  margin: 0;
  overflow: hidden;
  border-radius: 25px;
  scroll-snap-align: center;
}
.ba-slide img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute; bottom: 27px;
  font-weight: 500; font-size: 14px; line-height: 21px; letter-spacing: 1px; color: #fff;
}
.ba-before { left: 28px; }
.ba-after { left: 232px; }
.ba-arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 60px; height: 60px; padding: 0;
  transform: translateY(-50%);
  border: 0; border-radius: 50%;
  background: center / 60px 60px no-repeat;
  cursor: pointer;
  transition: transform .2s;
}
.ba-arrow::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 15px;
  border-top: 5px solid #fff; border-right: 5px solid #fff;
}
.ba-prev { left: max(12px, calc(50% - var(--container) / 2 + 13px)); background-image: url(/assets/img/circle-prev.svg); }
.ba-next { right: max(12px, calc(50% - var(--container) / 2 + 8px)); background-image: url(/assets/img/circle-next.svg); }
.ba-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.ba-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.ba-arrow:hover { transform: translateY(-50%) scale(1.08); }
.diff-btns { margin-top: 51px; padding: 0 16px; }   /* outside .container → same 16px side gutter */

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why { margin-top: 107px; padding: 80px 70px 59px 77px; }
.why-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.why-lead {
  max-width: 1180px;   /* full width (no seals beside it on the Dulay site) */
  margin: 0;
  font-family: var(--font-head); font-weight: 500; font-size: var(--fs-xl); line-height: 1.3125;
  color: var(--ink-2);
}
.why-lead strong { font-weight: 700; }
.why-lead .mark { line-height: 1.2; }
.why-seals { flex: none; display: flex; align-items: center; gap: 24px; margin-top: 23px; }
.why-seals .seal-warranty { width: auto; height: 168px; }
.why-seals .seal-usa { width: auto; height: 160px; }
.why-main {
  display: grid; grid-template-columns: 479px minmax(0, 534px); column-gap: 73px; align-items: start;
  margin-top: 102px; padding-left: 81px;
}
.why-video { aspect-ratio: 479 / 858; }
.why-video::after { background: rgba(0, 0, 0, 0.25); }
.why-content { padding-top: 14px; }
.why-intro { margin: 8px 0 0; font-size: 17.4px; line-height: 25.2px; letter-spacing: -0.36px; color: var(--muted); }
.why-list { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; align-items: start; min-height: 137px; }
.why-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: url(/assets/img/icon-circle.svg) center / 52px 52px no-repeat;
}
.why-icon img { width: 25px; height: 25px; }
.why-list h3 { margin: 0; font-weight: 600; font-size: 20px; line-height: 35.2px; letter-spacing: -0.05px; color: var(--ink); }
.why-list p { max-width: 395px; margin: 5px 0 0; font-size: 17.4px; line-height: 25.2px; letter-spacing: -0.36px; color: var(--muted); }
.why-content .btn-row { flex-wrap: wrap; margin: 16px -24px 0 -16px; }   /* a bit wider than the text column so both buttons fit side by side (design); wraps if a translation is longer */

/* =========================================================
   OUR SERVICES
   ========================================================= */
.cost { margin-top: 44px; padding: 76px 70px 39px 56px; }
.cost-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 586px); column-gap: 40px; align-items: start; }
.cost .h-xl { color: #fff; }
.cost-intro p { margin: 0; font-size: 17.4px; line-height: 28px; letter-spacing: -0.36px; }
.cost-intro .btn-row { margin-top: 27px; }
.cost-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 59px; }
.cost-card {
  display: flex; flex-direction: column; align-items: center;
  width: 450px; max-width: 100%; min-height: 796px;
  padding: 24px;
  border-radius: 24px;
  background: #fff; color: var(--dark);
}
.cost-img { display: flex; flex-direction: column; align-items: center; width: 100%; height: 300px; }
.cost-img img { width: 370px; }
.cost-img.has-tag img { width: auto; height: 240px; }
.cost-tag {
  margin-top: 13.6px; padding: 10px 30px;
  border-radius: 50px; background: var(--navy); color: #fff;
  font-size: 16px; line-height: 26px; letter-spacing: 0.8px;
}
.cost-card h3 {
  margin: 20px 0 0;
  font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 38.4px;
  letter-spacing: 0.8px; text-transform: uppercase; text-align: center; color: #111;
}
.cost-prices { display: flex; justify-content: center; gap: 30px; padding: 32px 0 13px; }
.cost-price { display: flex; flex-direction: column; align-items: center; max-width: 120px; text-align: center; letter-spacing: 0.8px; }
.cost-arch { font-size: 18px; line-height: 25.2px; }
.cost-from { font-size: 12px; line-height: 16.8px; color: var(--blue); }
.cost-price strong { font-size: 18px; line-height: 25.2px; }
.cost-inclusive {
  display: flex; align-items: center; gap: 20px;
  padding: 17px 0 7px;
  font-weight: 500; font-size: 20px; line-height: 26px; letter-spacing: 0.8px; color: var(--blue);
}
.cost-inclusive::before, .cost-inclusive::after { content: ''; width: 80px; height: 2px; background: var(--blue); }
.cost-free {
  margin-top: 10px; padding: 10px 30px;
  border: 2px solid var(--green); border-radius: 50px;
  font-size: 16px; line-height: 26px; letter-spacing: 0.8px; color: var(--dark); text-decoration: none;
  transition: background-color .2s;
}
.cost-free:hover { background: #f1faee; }
.check-list { display: grid; gap: 10px; min-width: 212px; margin: 10px 0 0; padding: 0 0 10px; list-style: none; white-space: nowrap; }
.check-list li {
  position: relative; padding: 3px 0 3px 30px;
  font-size: 16px; line-height: 26px; letter-spacing: 0.8px;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px;
  background: url(/assets/img/check-icon.svg) center / 20px 20px no-repeat;
}

/* =========================================================
   WHAT TO EXPECT (4 steps)
   ========================================================= */
.method { margin-top: 98px; }
.method-top {
  display: grid; grid-template-columns: minmax(0, 625px) minmax(0, 586px); justify-content: space-between; column-gap: 35px;
  padding: 0 102px 0 57px;
}
.method-title { max-width: 543px; line-height: 1.366; text-transform: uppercase; }
.method-intro {
  margin: 16px 0 0;
  font-family: var(--font-head); font-weight: 600; font-size: 17.4px; line-height: 28px; letter-spacing: 0.75px; color: var(--dark);
}
.method-right .btn { margin-top: 26px; }
.method-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  width: 100%;
  margin: 35px auto 0; padding: 0;
  list-style: none;
}
.method-head { display: flex; align-items: center; gap: 8px; min-height: 77px; }
.method-num {
  flex: none; padding: 10px 17px;
  border-radius: 30px; background: var(--blue-btn);
  font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 21.6px; color: #fff;
}
.method-head h3 {
  margin: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 38.4px;
  letter-spacing: -0.64px; color: var(--ink);
}
.method-step:nth-child(1) h3 { max-width: 263px; }
.method-step:nth-child(2) h3 { max-width: 245px; }
.method-step:nth-child(3) h3 { max-width: 247px; }
.method-step:nth-child(4) h3 { max-width: 210px; }
.method-card { min-height: 500px; margin-top: 15px; padding-bottom: 20px; overflow: hidden; border-radius: 28px; background: var(--card-gray); }
.method-img { height: 296px; overflow: hidden; border-radius: 28px; }
.method-img img { width: 100%; height: 100%; object-fit: cover; }
/* Which part of each step photo shows in the short box (keeps faces in view) */
.method-step:nth-child(1) .method-img img { object-position: 50% 55%; }
.method-step:nth-child(2) .method-img img { object-position: 50% 78%; }   /* patient's face is low in the photo */
.method-step:nth-child(3) .method-img img { object-position: 50% 30%; }
.method-step:nth-child(4) .method-img img { object-position: 50% 45%; }
.method-card p { margin: 28px 0 0; padding: 0 20px;   /* 315px card → 275px text, as in the design; wider cards use their full width */ font-size: 17.4px; line-height: 1.5; letter-spacing: -0.36px; color: rgba(0, 0, 0, 0.6); }

.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.member-logos { justify-content: space-between; gap: 20px 40px; max-width: 1246px; margin: 85px auto 0; }
.member-logos img { width: auto; height: 55px; }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.experience { margin-top: 92px; }
.exp-video { width: min(1131px, 100%); margin: 0 auto; aspect-ratio: 1131 / 629; }
.split-head {
  display: grid; grid-template-columns: minmax(0, 587px) minmax(0, 586px); justify-content: space-between; column-gap: 40px;
  margin-top: 92px; padding: 0 86px 0 75px;
}
.split-head .btn-row { margin-top: 27px; }
/* Dulay Dental vs Others table (same look as the live onesolutionnow.com table) */
.compare-table {
  width: min(1100px, 100%); margin: 56px auto 0;
  border-collapse: separate; border-spacing: 0; table-layout: fixed;
  border-radius: 24px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px #e3edf3, 0 24px 50px -28px rgba(0, 72, 134, 0.35);
  font-size: 17px; line-height: 1.5; color: var(--dark);
}
.compare-table th, .compare-table td {
  width: 50%; padding: 20px 32px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid #e6eff5;
  font-weight: 500;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { padding: 26px 32px; text-align: center; border-bottom: 0; }
.compare-table thead .compare-us { background: var(--navy); }
.compare-table thead .compare-us img { display: block; width: 200px; height: auto; margin: 0 auto; }
.compare-table thead .compare-them {
  background: #f3f6f8; color: #7b8792;
  font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.compare-table tbody .compare-us { background: #f0faff; color: var(--navy); font-weight: 600; border-right: 1px solid #dcebf3; }
.compare-table tbody .compare-them { color: #5d6873; font-weight: 400; }
.compare-table tbody td { position: relative; padding-left: 74px; }
.compare-icon {
  position: absolute; left: 32px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: center / 14px 14px no-repeat;
}
.compare-icon.is-yes {
  background-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 185, 242, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.3l3 3 6-6.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.compare-icon.is-no {
  background-color: #eceff2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7M10.5 3.5l-7 7' fill='none' stroke='%238a96a1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
}

/* =========================================================
   TEAM
   ========================================================= */
.team {
  position: relative;
  margin-top: 47px; padding: 64px 16px 77px;
  overflow: hidden;
  background: var(--dark); color: #fff;
}
.team .h-xl { color: #fff; }
.team-body { position: relative; margin-top: 63px; }
.team-watermark {
  position: absolute; left: 50%; top: 79px;
  transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: 160px; line-height: 1.22;
  letter-spacing: 0.75px; color: #303030; white-space: nowrap; pointer-events: none;
}
.team-card {
  position: relative;
  display: grid; grid-template-columns: 489px minmax(0, 588px); column-gap: 40px; align-items: center;
  width: min(1233px, 100%); min-height: 449px;
  margin: 0 auto; padding: 26px 40px 26px 32px;
  border-radius: 25px; background: #2d2d2d;
}
.team-photo { width: 100%; aspect-ratio: 489 / 387; object-fit: cover; border-radius: 25px; }
/* doctor card: the headshot keeps its own portrait shape (not cropped to the landscape frame) */
.team-card.team-card-doc { grid-template-columns: 360px minmax(0, 1fr); column-gap: 56px; padding-right: 56px; }   /* photo against the card padding, text fills the rest (no empty side bands) */
.team-card-doc .team-text p { max-width: 640px; }
.team-photo-doc { aspect-ratio: 622 / 734; object-position: 50% 0; background: #eef1f4; }
@media (max-width: 1279px) {
  .team-card.team-card-doc { grid-template-columns: 320px minmax(0, 1fr); column-gap: 40px; }
}
@media (max-width: 991px) {
  .team-card.team-card-doc { grid-template-columns: 1fr; padding-right: 24px; }   /* same padding on both sides when stacked */
  .team-card.team-card-doc .team-photo-doc { width: min(340px, 100%); margin: 0 auto; }
}
.team-text h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 32px; line-height: 1.22; letter-spacing: 0.75px; }
.team-text p { margin: 20px 0 0; font-size: 16px; line-height: 1.5; letter-spacing: 0.75px; }
.team-text .btn { margin-top: 16px; }

/* =========================================================
   DENTAL IMPLANTS
   ========================================================= */
.metal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 613px); column-gap: 40px; align-items: center;
  min-height: 797px;
  margin-top: 64px; padding: 61px 23px 42px 56px;
}
.metal .h-xl { color: var(--dark); }
.metal-intro { max-width: 555px; margin: 23px 0 0; font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: 0.75px; }
.dot-list { margin: 24px 0 0; padding: 0 0 0 15px; list-style: none; }
.dot-list li { position: relative; padding-left: 15px; font-size: 17.4px; line-height: 26.5px; letter-spacing: 0.75px; }
.dot-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px; transform: translateY(-50%);
  background: url(/assets/img/bullet-dot.svg) center / 5px 5px no-repeat;
}
.metal .btn-row { margin-top: 48px; }
.metal-imgs { display: flex; flex-direction: column; gap: 34px; }
.metal-imgs img { width: 100%; border-radius: 25px; }
/* First box: autoplay video over the photo (photo shows until the video plays) */
.metal-video { position: relative; overflow: hidden; border-radius: 25px; aspect-ratio: 16 / 9; }
.metal-video img { height: 100%; object-fit: cover; }
.metal-video .bg-video { position: absolute; inset: 0; pointer-events: none; }
.metal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   READY TO UNDERSTAND YOUR OPTIONS
   ========================================================= */
.ready {
  display: grid; grid-template-columns: 605px minmax(0, 1fr); align-items: start;
  min-height: 280px;
  margin-top: 37px; padding: 74px 40px 50px 74px;
  background: var(--blue-band); color: #fff;
}
.ready .h-xl { color: #fff; line-height: 58px; }
.ready .mark { margin-top: 8px; font-size: clamp(20px, calc(1vw + 15px), 32px); line-height: 58px; }
.ready-right { margin-top: -27px; }
.ready-right h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, calc(1vw + 15px), 32px); line-height: 57.2px; letter-spacing: -1.04px; }
.ready-right .btn-row { margin-top: 10px; }
.ready-right .btn { min-width: 240px; }
.ready-right .btn-outline-white:hover { color: var(--blue-band); }

/* =========================================================
   PATIENT REVIEWS
   ========================================================= */
.testimonials { margin-top: 47px; padding: 76px 56px 59px; }
.testimonials .h-xl { color: var(--dark); }
.testimonials .mark { margin-top: 8px; font-size: var(--fs-xl); }
.testimonials > p { margin: 0; }
.testi-sub { margin-top: 15px !important; font-weight: 500; font-size: 20px; letter-spacing: 0.75px; }
.testimonials .btn-row { margin-top: 16px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 358px)); justify-content: center; gap: 38px; margin-top: 37px; }
.testi-video { aspect-ratio: 358 / 643; }

/* =========================================================
   SCHEDULE YOUR VISIT (hours + address)
   ========================================================= */
.schedule { margin-top: 42px; padding: 84px 56px 70px; text-align: center; }
.schedule .h-xl { max-width: 875px; margin: 0 auto; color: #fff; }
.schedule-sub { max-width: 862px; margin: 20px auto 0; font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: 0.75px; color: #d3d3d3; }
.schedule .btn-white { margin-top: 32px; }
.consult-form {
  width: min(834px, 100%);
  margin: 39px auto 0; padding: 22px 23px;
  border-radius: 16px;
  background: #fff; color: var(--ink-2);
  text-align: left;
}
.consult-form h3 { margin: 0 0 15px; font-weight: 600; font-size: 17px; line-height: 1.3; text-transform: uppercase; }
.consult-form iframe { display: block; width: 100%; min-height: 320px; border: 0; }   /* GHL survey; height set by form_embed.js */

/* Appointment request form (sends to GoHighLevel) — same look as the onesolutionnow.com form */
.lead-form { position: relative; font-family: 'Inter', var(--font-body); }
.lf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.lf-field label { display: block; margin-bottom: 9px; font-size: 16px; line-height: 1.3; color: var(--ink-2); }
.lf-field input {
  display: block; width: 100%; height: 50px; min-height: 50px; padding: 0 14px;
  border: 1px solid #c4c4c4; border-radius: 3px;
  background: #fff; color: var(--ink-2);
  font: 400 16px/1.2 'Inter', var(--font-body);
  -webkit-appearance: none; appearance: none;
}
.lf-field input::-webkit-date-and-time-value { text-align: left; }
.lf-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 185, 242, 0.2); }
.lf-field.is-invalid input { border-color: #d93025; }
.lf-error { display: block; margin-top: 5px; font-size: 13px; line-height: 1.3; color: #d93025; }
.lf-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; font-size: 15px; line-height: 1.75; color: var(--ink-2); cursor: pointer; }
.lf-check input { flex: none; width: 16px; height: 16px; margin: 6px 0 0; accent-color: var(--blue); cursor: pointer; }
.lf-legal { margin: 22px 0 12px; font-size: 14px; color: var(--ink-2); }
.lf-legal a { color: #1a5bd6; text-decoration: underline; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .lf-submit { width: 100%; min-width: 0; min-height: 48px; border-radius: 4px; font-size: 20px; }
.lead-form .lf-submit:hover { transform: none; }
.lead-form .lf-submit[disabled] { opacity: 0.7; cursor: wait; }
.lf-status { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.lf-status:empty { display: none; }
.lf-status.is-error { color: #d93025; }
.lf-done { padding: 26px 8px; text-align: center; }
.lf-done h3 { font-size: 22px; color: var(--navy); }
.lf-done p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* =========================================================
   LOCATIONS
   ========================================================= */
.locations {
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  min-height: 560px; margin-top: 88px; overflow: hidden;
  border-radius: 25px; box-shadow: 0 24px 50px -30px rgba(0, 72, 134, 0.45);
}
/* Office details card (left of the map) */
.loc-card {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 52px;
  background: linear-gradient(150deg, #00376a 0%, var(--navy) 55%, #0068a8 100%);
  color: #fff;
}
.loc-eyebrow { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); }
.loc-title { margin: 8px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, calc(1.6vw + 14px), 42px); line-height: 1.2; text-transform: uppercase; }
.loc-details { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.loc-details li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; }
.loc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.loc-icon svg { width: 22px; height: 22px; fill: var(--blue-light); }
.loc-details strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-light); }
.loc-details div { font-size: 17px; line-height: 1.5; color: #e8f1f8; }
.loc-details a { color: #fff; text-decoration: none; }
.loc-details a:hover { text-decoration: underline; }
.loc-btns { margin-top: 36px; }
.loc-btns .btn { min-width: 0; flex: 0 1 auto; padding: 8px 24px; font-size: 16px; white-space: nowrap; }
.locations + * { margin-top: 0; }
.site-main > .locations:last-child { margin-bottom: 88px; }
.loc-map { position: relative; min-height: 360px; overflow: hidden; background: #e5e3df; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding: 56px 0 30px; background: var(--dark); color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
/* same logo and size as the header, no background; "DULAY" is white here (logo-footer.svg) so it reads on the dark footer */
.footer-logo { display: inline-block; }
.footer-logo img { display: block; width: 265px; height: auto; }
.footer-credit { font-size: 14px; letter-spacing: 0.75px; color: #e5e5e5; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 33px; }
.footer-col h4 { margin: 0 0 17px; font-weight: 500; font-size: 20px; line-height: 1.5; letter-spacing: 0.75px; text-transform: uppercase; }
.footer-col .footer-h-gap { margin-top: 33px; }
.footer-col p, .footer-list { margin: 0; font-size: 17.4px; line-height: 1.5; letter-spacing: 0.75px; color: #d9d9d9; }
.footer-list { padding: 0; list-style: none; }
/* Text links only — buttons (.btn) keep their own colours */
.footer-col a:not(.btn) { color: inherit; text-decoration: none; }
.footer-col a:not(.btn):hover { color: var(--blue); }
/* Social icons: one image (from the design) with a round link placed exactly over each circle */
.footer-social { position: relative; width: 214px; height: 58px; }
.footer-social img { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-social a {
  position: absolute; top: 7.5px; z-index: 1;
  width: 39px; height: 39px; border-radius: 50%;
  transition: background-color .2s, box-shadow .2s;
}
.footer-social a:nth-of-type(1) { left: 13.6px; }    /* Facebook */
.footer-social a:nth-of-type(2) { left: 62.9px; }    /* X */
.footer-social a:nth-of-type(3) { left: 112.2px; }   /* Instagram */
.footer-social a:nth-of-type(4) { left: 161.4px; }   /* YouTube */
/* Hover: the circle turns blue (screen blend keeps the white icon visible) with a soft glow */
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--blue);
  mix-blend-mode: screen;
  box-shadow: 0 0 0 4px rgba(0, 185, 242, 0.35);
  outline: none;
}
.footer-btn { min-width: min(250px, 100%); margin-top: 25px; }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 15px;
  margin-top: 40px; padding: 31px 10px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: 17.4px; letter-spacing: 0.75px; text-transform: uppercase;
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { max-width: 1127px; margin: 0 auto; padding-top: 25px; text-align: center; font-size: 16px; line-height: 1.5; letter-spacing: 0.75px; color: #c2c2c2; }
.footer-bottom p { margin: 0 0 19px; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   INNER PAGES — title band (e.g. Schedule Appointment)
   ========================================================= */
.page-banner {
  padding: 200px 0 64px;            /* clears the floating header */
  background: var(--blue); color: #fff; text-align: center;
}
/* 1300px+ with the two-row header (150px tall, ends at 177px): the home hero and the page banners start lower */
@media (min-width: 1300px) {
  html.nav-two-row .hero-inner { padding-top: 217px; }
  html.nav-two-row .page-banner { padding-top: 222px; }
}
.page-banner h1 {
  margin: 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(32px, calc(2.4vw + 14px), 54px); line-height: 1.2;
  letter-spacing: 1px; text-transform: uppercase;
}
.page-breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 15px; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.85); }
.page-breadcrumb a { color: #fff; text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-sub { max-width: 760px; margin: 16px auto 0; font-size: 19px; line-height: 1.5; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.92); }
.page-banner-btns { margin-top: 28px; }
.page-updated { margin: 14px 0 0; font-size: 16px; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.9); }
.booking { padding: 50px 0 90px; }
.booking-embed { max-width: 900px; margin: 0 auto; }
.booking-embed iframe { display: block; width: 100%; min-height: 700px; border: 0; }   /* height set by form_embed.js */

/* =========================================================
   LEGAL PAGES (Privacy Policy, Terms & Conditions) — type sizes from the live site
   ========================================================= */
.legal { padding: 50px 0 90px; }
.legal-content { font-size: 16px; line-height: 26.4px; color: var(--dark); }
.legal-content p { margin: 13.6px 0; }
.legal-content h2, .legal-content h3, .legal-content h4 { font-family: var(--font-head); font-weight: 600; color: var(--dark); }
.legal-content h2 { margin: 51px 0 14px; font-size: clamp(24px, calc(1.2vw + 14px), 34px); line-height: 1.1; text-transform: uppercase; }
.legal-content h3 { margin: 42px 0 10px; font-size: clamp(21px, calc(0.9vw + 13px), 28px); line-height: 1.1; text-transform: uppercase; }
.legal-content h4 { margin: 27px 0 4px; font-size: 18px; line-height: 1.1; }
.legal-content > :first-child { margin-top: 0; }
.legal-content ul { margin: 10px 0 16px; padding-left: 24px; list-style: disc; }
.legal-content li { margin: 4px 0; }
.legal-content a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.legal-content a:hover { color: var(--navy); }
@media (max-width: 767px) {
  .legal { padding: 36px 0 60px; }
  .legal-content { font-size: 15px; line-height: 25px; }
}

@media (max-width: 767px) {
  .page-banner { padding: 140px 0 44px; }
  .booking { padding: 32px 0 56px; }
}

/* ---------- Video pop-up ---------- */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.85); }
.video-modal[hidden] { display: none; }
.video-modal-box { position: relative; width: min(1000px, 100%); }
.video-modal-frame { aspect-ratio: 16 / 9; background: #000; }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; right: 0; top: -44px; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1439px) {
  .hero-inner { padding-left: 24px; padding-right: 24px; }
  .why { padding-left: 56px; padding-right: 56px; }
  .why-main { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 56px; padding-left: 0; }
  .method-top { padding: 0 24px; }
  .split-head { padding: 0 24px; }
  .ready { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 56px; }

}

@media (max-width: 1299px) {
  /* Below 1300px the full menu no longer fits next to the logo: the hamburger opens the slide-in drawer */
  html { scroll-padding-top: 125px; }
  .site-header { top: 16px; }
  .header-card { height: 96px; border-radius: 22px; }
  .logo { top: 22px; left: 24px; }
  .logo img { width: 240px; height: auto; }
  .header-tabs { right: 90px; }
  .header-tab { font-size: 14px; line-height: 40px; padding: 0 18px; }
  .nav-toggle { display: block; }
  .header-nav { display: none; }   /* below 1300px the hamburger opens the slide-in drawer instead */
  .header-tabs .header-phone { display: none; }   /* the drawer has the call button */
}

@media (max-width: 1279px) {
  .hero { min-height: 0; }
  .hero-inner { min-height: 640px; padding-top: 150px; padding-bottom: 60px; }

  .why-top { flex-direction: column; }
  .why-content .btn-row { flex-wrap: wrap; margin: 16px 0 0; }
  .why-seals { margin-top: 0; }
  .why-main { margin-top: 56px; }

  .cost { padding: 60px 40px 40px; }
  .cost-top { grid-template-columns: 1fr; row-gap: 24px; }

  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .method-step h3 { max-width: none !important; }
  .member-logos { justify-content: center; }
  .member-logos img { height: 45px; }

  .team-card { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
  .metal { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); padding: 48px 40px; min-height: 0; }
  .testimonials { padding: 60px 40px 48px; }
  .testi-grid { gap: 24px; }

  .locations { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
  .loc-card { padding: 44px 36px; }
}

@media (max-width: 991px) {
  .header-tab { display: none; }
  .header-tabs { right: 90px; top: 26px; }
  .lang-pill { border-radius: 12px; }

  /* Banner: full-width background, text stacked */
  .hero-inner { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 0; }
  .hero-text {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column; justify-content: center;
    max-width: none; min-height: 560px;
    padding: 150px 0 64px;
  }
  .hero-video { left: 50%; right: auto; width: 100vw; transform: translateX(-50%); }

  .why { padding: 48px 28px; }
  .why-main { grid-template-columns: 1fr; row-gap: 40px; margin-top: 40px; }
  .why-video { width: min(479px, 100%); margin: 0 auto; }

  .method-top { grid-template-columns: 1fr; row-gap: 24px; padding: 0; }
  .split-head { grid-template-columns: 1fr; row-gap: 20px; padding: 0; margin-top: 56px; }
  .experience, .method { margin-top: 64px; }

  .team-card { grid-template-columns: 1fr; row-gap: 28px; padding: 24px; }
  .team-watermark { display: none; }

  .metal { grid-template-columns: 1fr; row-gap: 32px; padding: 40px 28px; }

  .ready { grid-template-columns: 1fr; row-gap: 28px; padding: 40px 28px; }
  .ready .h-xl, .ready .mark { line-height: 1.4; }
  .ready-right { margin-top: 0; }
  .ready-right h3 { line-height: 1.3; }
  .ready-right .btn-row { margin-top: 14px; }

  .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .schedule { padding: 56px 24px; }

  .locations { grid-template-columns: 1fr; margin-top: 64px; }
  .loc-map { order: 2; }
  .loc-map { min-height: 380px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 110px; }
  body { font-size: 16px; }
  .header-tabs { right: 78px; top: 20px; }
  .lang-pill.gtranslate_wrapper { min-width: 0; }
  .lang-pill .gt_float_switcher .gt-selected .gt-current-lang { padding: 8px 10px !important; gap: 6px; }
  .lang-pill .gt_float_switcher-arrow { display: none !important; }
  .header-card { height: 84px; }
  .logo { top: 21px; left: 18px; }
  .logo img { width: 190px; }
  .nav-toggle { right: 18px; }

  .hero-text { min-height: 480px; padding: 130px 0 48px; }
  .hero-eyebrow, .hero-sub { font-size: 15px; line-height: 1.5; }

  .diff-sub { font-size: 16px; }
  .ba-track { gap: 14px; }
  .ba-slide { flex-basis: 300px; height: 302px; }
  .ba-after { left: 162px; }
  .ba-label { bottom: 18px; }
  .ba-arrow { width: 44px; height: 44px; background-size: 44px 44px; }
  .ba-arrow::before { width: 11px; height: 11px; border-width: 4px 4px 0 0; }

  .btn { min-width: 0; min-height: 50px; font-size: 17px; padding: 8px 22px; }
  .btn-row { justify-content: center; }
  .btn-row > .btn { flex: 1 1 240px; max-width: 320px; }
  .mark { padding: 0 10px; }

  .why-lead { line-height: 1.4; }
  .why-seals { gap: 16px; }
  .why-seals .seal-warranty { height: 112px; }
  .why-seals .seal-usa { height: 106px; }
  .why-content { padding-top: 0; }
  .why { padding: 40px 20px; }
  .why-list { gap: 20px; }
  .why-list li { min-height: 0; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .why-icon { width: 44px; height: 44px; background-size: 44px 44px; }
  .why-icon img { width: 22px; height: 22px; }
  .why-list h3 { font-size: 18px; line-height: 1.4; }
  .cost { padding: 44px 18px 24px; }
  .cost-card { min-height: 0; padding: 20px 16px; }
  .cost-img { height: auto; min-height: 200px; }
  .cost-img img, .cost-img.has-tag img { width: 100%; height: auto; max-height: 240px; object-fit: contain; }
  .cost-card h3 { font-size: 20px; line-height: 1.4; }
  .cost-prices { gap: 20px; padding-top: 20px; }
  .cost-inclusive::before, .cost-inclusive::after { width: 48px; }

  .method-steps { grid-template-columns: 1fr; max-width: 420px; }
  .method-card { min-height: 0; }
  .member-logos { gap: 20px 28px; margin-top: 56px; }
  .member-logos img { height: 34px; }


  .team { padding: 48px 16px 56px; }
  .team-body { margin-top: 32px; }
  .team-text h3 { font-size: 26px; }

  .testimonials { padding: 44px 18px 32px; }
  .testi-grid { grid-template-columns: minmax(0, 300px); }

  .schedule-sub { font-size: 16px; }
  .consult-form { padding: 20px 16px; }

  .loc-card { padding: 36px 22px; }
  .loc-details div { font-size: 16px; }
  .loc-map { min-height: 300px; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { font-size: 15px; }
  .footer-bottom { font-size: 14px; }
}

/* Tablet & phone: exactly 50px between sections (desktop keeps the design's gaps) */
@media (max-width: 991px) {
  :root { --section-gap: 50px; }
  .diff, .why, .cost, .method, .experience, .team, .metal, .ready, .testimonials, .schedule, .locations { margin-top: var(--section-gap) !important; }
}

/* Small phones (≤ 400px, e.g. iPhone SE / older Android) */
@media (max-width: 400px) {
  .logo img { width: 158px; }
  .logo { top: 24px; left: 14px; }
}
@media (max-width: 359px) {
  .logo img { width: 138px; }   /* smallest phones: room for the language button */
  .logo { top: 27px; }
  .header-tabs { right: 70px; }
  .lang-pill .gt-lang-code { display: none; }          /* flag only */
  .nav-toggle { right: 12px; width: 42px; height: 42px; padding: 10px; }
  .hero h1 { font-size: clamp(30px, 10vw, 40px); }
  .why-lead .nowrap { white-space: normal; }
  .why-lead .mark { display: inline; padding: 1px 8px; line-height: 1.6; }   /* flows like text, so the full stop stays on its line */
  .why-lead > .mark { white-space: nowrap; }   /* keep "3 hours" on one line */
  .mark { padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .ready-right .btn { min-width: 0; width: 100%; }
  .btn-white { min-width: 0; }
  .btn { font-size: 16px; padding: 0 16px; }
  .cost-card { padding: 18px 12px; }
  .cost-inclusive { gap: 10px; white-space: nowrap; font-size: 18px; }
  .cost-inclusive::before, .cost-inclusive::after { width: 32px; }
  .cost-free { padding: 8px 18px; font-size: 14px; letter-spacing: 0.4px; white-space: nowrap; }
  .check-list li { font-size: 15px; letter-spacing: 0.4px; }
  .why-seals { gap: 12px; }
  .why-seals .seal-warranty { height: 92px; }
  .why-seals .seal-usa { height: 88px; }
}

/* Comparison table on phones (same as the live site) */
@media (max-width: 767px) {
  .compare-table { margin-top: 32px; font-size: 14px; line-height: 1.4; border-radius: 18px; }
  .compare-table th, .compare-table td { padding: 14px 12px; overflow-wrap: break-word; }
  .compare-table thead th { padding: 18px 12px; }
  .compare-table tbody td { padding-left: 12px; vertical-align: top; }
  .compare-table thead .compare-us img { width: 130px; }
  .compare-table thead .compare-them { font-size: 12px; letter-spacing: 1.5px; }
  .compare-icon { position: static; display: block; transform: none; margin-bottom: 8px; width: 22px; height: 22px; background-size: 12px 12px; }
  .compare-icon.is-yes { box-shadow: 0 0 0 4px rgba(0, 185, 242, 0.15); }
  .compare-icon.is-no { background-size: 10px 10px; }
}

/* =========================================================
   DULAY DENTAL ADDITIONS
   ========================================================= */
/* Service card image cropped to the card's image box */
.cost-img .cost-img-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.cost-card .cost-inclusive { padding-top: 6px; white-space: nowrap; }   /* badge stays on one line… */
.cost-card .cost-inclusive::before, .cost-card .cost-inclusive::after { flex: 0 1 80px; min-width: 16px; }   /* …the side lines shrink instead */
.cost-card .check-list { margin-top: 6px; }
.cost-card .cost-free { margin-top: auto; }
.cost-card { min-height: 0; }

/* Office hours list (schedule section + footer) */
.hours-list { display: grid; gap: 6px; margin: 0; }
.hours-list > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid #e6edf1; }
.hours-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; text-align: right; white-space: nowrap; }
.footer-hours { font-size: 16px; color: #d9d9d9; }
.footer-hours > div { border-bottom-color: #3a3a3a; }
.footer-hours dt { font-weight: 500; }
.footer-col p + .footer-btn, .footer-col .footer-list + p { margin-top: 12px; }

/* Photo boxes in the video-card layout (no video): no dark tint */
.video-card.is-photo { background: var(--soft); }
.video-card.is-photo::after { display: none; }

/* Smile gallery: before (top half) / after (bottom half) photos, label in each half */
.ba-slide.is-split .ba-label {
  top: auto; bottom: auto; left: 16px;
  padding: 3px 12px; border-radius: 20px;
  background: rgba(0, 32, 63, 0.78);
  font-size: 13px; line-height: 20px; text-transform: uppercase;
}
.ba-slide.is-split .ba-before { top: 14px; }
.ba-slide.is-split .ba-after { top: calc(50% + 14px); left: 16px; background: rgba(0, 162, 220, 0.92); }
.ba-slide.is-split::after {   /* thin divider between the halves */
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px;
  transform: translateY(-50%); background: #fff; pointer-events: none;
}

/* Dental implant videos: portrait (9:16) cards, 3 per row */
.implant-videos { margin-top: 80px; }
.implant-videos .mark { margin-top: 8px; font-size: var(--fs-xl); }
.implant-videos p { margin: 0; }
.videos-sub { max-width: 760px; margin: 18px auto 0 !important; font-size: 18px; line-height: 1.5; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 358px)); justify-content: center; gap: 40px 38px; margin-top: 40px; }
.video-item { margin: 0; }
.video-thumb { aspect-ratio: 9 / 16; }
.video-item figcaption {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ink-2);
}
.video-num {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-btn); color: #fff; font-size: 14px; font-weight: 700;
}
.videos-btns { margin-top: 44px; }

/* Video pop-up sized for portrait (9:16) videos */
.video-modal-box { width: min(440px, 100%, calc((100vh - 110px) * 9 / 16)); }
.video-modal-frame { aspect-ratio: 9 / 16; }

@media (max-width: 991px) {
  .implant-videos { margin-top: var(--section-gap); }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .hero-btns { margin-top: 24px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; margin-top: 28px; }
  .video-item figcaption { gap: 8px; font-size: 14px; }
  .video-num { width: 24px; height: 24px; font-size: 12px; }
  .implant-videos .play-btn { width: 48px; height: 48px; background-size: 48px 48px; }
  .implant-videos .play-btn span { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .videos-sub { font-size: 16px; }
  .lf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }   /* minmax: the date box may shrink below its built-in width */
  .lf-field input { min-width: 0; padding: 0 10px; }
  .lf-check { font-size: 14px; line-height: 1.6; }
  .lf-check input { margin-top: 4px; }
  .lead-form .lf-submit { font-size: 18px; }
  .hours-list dt, .hours-list dd { font-size: 15px; }
}

/* Trust bar under the banner (implant-focused home page) */
.trust-bar { margin-top: 32px; }
.trust-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 0; padding: 22px 12px; list-style: none;
  background: #fff; border-radius: 25px; box-shadow: 0 6px 24px rgba(0, 72, 134, 0.10);
}
.trust-list li {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 6px 18px; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--navy);
}
.trust-list li + li { border-left: 1px solid #e3edf3; }
.trust-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--soft) url(/assets/img/check-icon.svg) center / 18px 18px no-repeat;
}
.metal-note { max-width: 555px; margin: 22px 0 0; font-size: 16px; line-height: 1.55; letter-spacing: 0.5px; color: var(--ink-2); }

@media (max-width: 1279px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .trust-list li { justify-content: flex-start; }
  .trust-list li + li { border-left: 0; }
}
@media (max-width: 767px) {
  .trust-bar { margin-top: 24px; }
  .trust-list { grid-template-columns: minmax(0, 1fr); padding: 14px 8px; row-gap: 4px; }
  .trust-list li { font-size: 15px; padding: 6px 12px; }
  .metal-note { font-size: 15px; }
}

/* =========================================================
   INNER PAGES (about/why-choose-us.php …): page-specific spacing on top of the home-page sections
   ========================================================= */
/* One even gap between all sections of an inner page (the home-page sections each bring their own spacing).
   Not the title band or the legal text, which have their own padding. */
body { --page-gap: 110px; }
body:not(.home) .site-main > section:not(.page-banner):not(.legal) { margin-top: var(--page-gap) !important; }
body:not(.home) .site-main > section:last-child:not(.legal) { margin-bottom: var(--page-gap); }
@media (max-width: 1199px) { body { --page-gap: 90px; } }
@media (max-width: 991px)  { body { --page-gap: 72px; } }   /* !important above beats the home-page --section-gap rule */
@media (max-width: 575px)  { body { --page-gap: 56px; } }
.why-page { margin-top: 64px; }
.why-experience .split-head { margin-top: 0; }
.case-list { margin-top: 48px; }
.case-list a { color: inherit; text-decoration: none; }
.case-list a:hover { color: var(--blue); }
.site-main > .ready:last-child { margin-bottom: 88px; }
/* Dental Implants pillar page (dental-implants.php) */
.implants-what .body-text + .body-text { margin-top: 14px; }
.implants-what .split-head { margin-top: 0; }   /* no photo above it */
.options-intro { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 18px; line-height: 1.5; color: var(--muted); }
.implants-cost { padding-bottom: 76px; }
/* benefits: a single image, shown whole and centred beside the list */
.implants-benefits .metal-imgs { align-self: center; }
.implants-benefits .metal-video { aspect-ratio: 740 / 600; }
/* icon in a light-blue circle at the top of a card (implant options) */
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: #e6f8fe; color: var(--blue); transition: background-color .2s, color .2s; }
.card-icon svg, .step-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-card:hover .card-icon { background: var(--blue); color: #fff; }

/* process: 4 step cards (icon, step label, title, text), arrows between them on wide screens */
.step-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.step-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 32px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px #e3edf3, 0 20px 40px -26px rgba(0, 72, 134, 0.35);
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #cfe6f1, 0 24px 44px -24px rgba(0, 72, 134, 0.4); }
.step-card:not(:last-child)::after {   /* arrow in the gap to the next step */
  content: ''; position: absolute; top: 56px; right: -22px; width: 11px; height: 11px;
  border-top: 3px solid var(--blue); border-right: 3px solid var(--blue); transform: rotate(45deg);
}
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 6px #e6f8fe; }
.step-label { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.step-card h3 { margin: 24px 0 10px; font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--navy); }
.step-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1199px) {
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .step-card::after { display: none; }
}
@media (max-width: 575px) {
  .step-cards { grid-template-columns: minmax(0, 1fr); margin-top: 36px; gap: 16px; }
  .step-card { padding: 24px 22px 26px; }
}
/* 5 option cards: 3 per row, last row centred */
.implant-options-list .about-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.implant-options-list .about-card { flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 991px) { .implant-options-list .about-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 575px) { .implant-options-list .about-card { flex-basis: 100%; } }
@media (max-width: 767px) { .implants-cost { padding-bottom: 40px; } .options-intro { font-size: 16px; } }

/* Dental implant option pages (dental-implants/*.php) */
.option-page .compare-table thead .compare-us { color: #fff; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.option-page .compare-table { margin-top: 40px; }
.compare-intro { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 18px; line-height: 1.5; color: var(--muted); }
.benefit-cards .about-card { cursor: default; }
/* "Other implant options" on the option pages: heading + button left, linked rows right */
.more-options { padding: 70px 56px 64px; }
.more-options-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.more-options-head .body-text { margin-top: 18px; }
.more-options-head .btn-row { margin-top: 28px; }
.more-options-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.more-option {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px 22px 28px;
  border-radius: 18px; background: #fff; color: var(--ink-2); text-decoration: none;
  box-shadow: 0 0 0 1px #e3edf3; transition: transform .2s, box-shadow .2s;
}
.more-option:hover, .more-option:focus-visible { transform: translateX(6px); box-shadow: 0 0 0 1px #cfe6f1, 0 18px 36px -18px rgba(0, 72, 134, 0.35); }
.more-option-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.more-option-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.more-option-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.more-option-arrow {
  flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid #cfe6f1; color: var(--blue); transition: background-color .2s, border-color .2s, color .2s;
}
.more-option-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more-option:hover .more-option-arrow, .more-option:focus-visible .more-option-arrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.more-options .tm-note { margin-top: 32px; }
@media (max-width: 991px) {
  .more-options-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .more-options-head { text-align: center; }
  .more-options-head .btn-row { justify-content: center; }
}
@media (max-width: 767px) { .more-options { padding: 44px 18px 40px; } }
@media (max-width: 575px) {
  .more-option { gap: 14px; padding: 16px 18px; }
  .more-option-title { font-size: 17px; }
  .more-option-arrow { flex-basis: 36px; width: 36px; height: 36px; }
}
/* four benefits: 4 in a row on wide screens, 2 x 2 below (never 3 + 1) */
.implant-options-list.benefit-cards .about-card { flex-basis: calc((100% - 60px) / 4); }
@media (max-width: 1199px) { .implant-options-list.benefit-cards .about-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 575px) { .implant-options-list.benefit-cards .about-card { flex-basis: 100%; } }
/* "Is it right for you?": checklist beside a consultation box */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.fit-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.fit-list li { position: relative; padding-left: 36px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.fit-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; background: url(/assets/img/check-icon.svg) center / 24px 24px no-repeat; }
.fit-note { padding: 40px 36px; border-radius: 25px; background: var(--navy); color: #fff; }
.fit-note h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.3; }
.fit-note p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.fit-note .btn-row { margin-top: 24px; }
.fit-note .btn-outline-white:hover { color: var(--navy); }
@media (max-width: 991px) { .fit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 767px) { .fit-list li { font-size: 16px; } .fit-note { padding: 28px 22px; } .compare-intro { font-size: 16px; } }

/* Smile Gallery (smile-gallery.php): before/after grid with treatment filters */
.gallery .mark { margin-top: 8px; font-size: var(--fs-xl); }
.gallery p { margin: 0; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.gallery-filter {
  padding: 10px 22px; border: 2px solid var(--blue-btn); border-radius: 25px;
  background: #fff; color: var(--blue-btn); cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.5px;
  transition: background-color .2s, color .2s;
}
.gallery-filter:hover, .gallery-filter.is-active { background: var(--blue-btn); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-grid .ba-slide { flex: none; height: auto; aspect-ratio: 1 / 1; }
.gallery-case[hidden] { display: none; }
.gallery-tag { position: absolute; right: 12px; bottom: 12px; padding: 3px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); font-size: 13px; font-weight: 600; color: var(--navy); }
.gallery .gallery-note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.gallery-btns { margin-top: 28px; }
@media (max-width: 1279px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 575px)  { .gallery-grid { grid-template-columns: minmax(0, 1fr); } }

/* Patient Stories & Reviews (reviews.php) */
.reviews-intro { max-width: 720px; margin: 16px auto 0 !important; font-size: 17px; line-height: 1.6; color: var(--muted); }
.reviews-widget { margin-top: 32px; text-align: left; }
.reviews-feed { text-align: center; }   /* short invite panel: centred as a whole */
.reviews-feed .btn-row { margin-top: 26px; }
.reviews-feed .btn-row { justify-content: center; }
/* Meet Dr. Dulay (about/dr-dave-dulay.php) */
.doc-bio { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 72px; }
.doc-photo img { display: block; width: 100%; height: auto; border-radius: 25px; box-shadow: 0 24px 50px -28px rgba(0, 72, 134, 0.45); }
.doc-eyebrow { margin: 0 0 8px; font-weight: 600; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.doc-text .body-text { margin: 16px 0 0; }
.doc-facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid #e3edf3; }
.doc-facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e3edf3; }
.doc-facts dt { font-weight: 600; color: var(--navy); }
.doc-facts dd { margin: 0; color: var(--ink-2); }
.doc-facts a { color: inherit; text-decoration: none; }
.doc-facts a:hover { color: var(--blue); }
.doc-text .btn-row { margin-top: 28px; }
.doc-approach { margin-top: 88px; }
.doc-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.doc-points li { min-height: 0; }
@media (max-width: 991px) {
  .doc-bio { grid-template-columns: minmax(0, 1fr); }
  .doc-photo { max-width: 420px; }
  .doc-points { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.about-intro { margin-top: 64px; }
.about-intro .body-text + .body-text { margin-top: 14px; }
.about-links { margin-top: 88px; padding: 70px 56px 64px; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.about-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px 26px;
  border-radius: 20px; background: #fff; color: var(--ink-2); text-decoration: none;
  box-shadow: 0 0 0 1px #e3edf3; transition: transform .2s, box-shadow .2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #cfe6f1, 0 18px 36px -18px rgba(0, 72, 134, 0.35); }
.about-card h3 { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--navy); }
.about-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.about-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; letter-spacing: 0.5px; color: var(--blue); }
@media (max-width: 767px) {
  .why-page { margin-top: 40px; }
  .page-sub { font-size: 16px; }
  .case-list { margin-top: 32px; }
  .site-main > .ready:last-child { margin-bottom: 56px; }
  .about-intro { margin-top: 40px; }
  .doc-bio { margin-top: 40px; gap: 32px; }
  .doc-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .doc-approach { margin-top: 56px; }
  .about-links { margin-top: 56px; padding: 44px 18px 40px; }
  .about-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
}

/* =========================================================
   MOBILE MENU: slide-in drawer below 1300px (same as onesolutionnow.com)
   markup: includes/header.php (#site-drawer), script: js/main.js
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 1100; }
.drawer[hidden] { display: none; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 37, 64, 0.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(380px, 88vw);
  background: #fff; box-shadow: -18px 0 50px rgba(10, 37, 64, 0.25);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  outline: none;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
html.menu-open { overflow: hidden; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 20px; border-bottom: 1px solid #eef1f4;
}
.drawer-logo img { display: block; width: 190px; height: auto; }
.drawer-close {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: #eef2f5; color: var(--navy); cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.drawer-close:hover { background: #e2e8ee; transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.drawer-nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-menu { margin: 0; padding: 0; list-style: none; }
.drawer-item { border-bottom: 1px solid #eef1f4; }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 17px 20px;
  font-family: var(--font-nav); font-weight: 500; font-size: 16.5px; line-height: 1.35;
  color: var(--navy); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.drawer-link:hover { background: #f7f9fb; }
.drawer-link[aria-current="page"] { color: var(--blue); }
.drawer-link.is-text { cursor: default; color: #8a97a5; }
.drawer-link.is-text:hover { background: none; }
.drawer-link:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
/* accordion sections (About Us): the button opens the sub-pages; height animates 0fr -> 1fr */
button.drawer-link { border: 0; background: none; text-align: left; cursor: pointer; }
.drawer-toggle[aria-expanded="true"] { color: var(--blue); }
.drawer-chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.drawer-toggle[aria-expanded="true"] .drawer-chev { transform: rotate(180deg); }
.drawer-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.2, .7, .2, 1); }
.drawer-collapse.is-open { grid-template-rows: 1fr; }
.drawer-collapse > .drawer-sub { overflow: hidden; min-height: 0; margin: 0; padding: 0; list-style: none; background: #f6f8fa; border-top: 1px solid #eef1f4; }
.drawer-item.is-sub { border-bottom-color: #e8edf1; }
.drawer-item.is-sub:last-child { border-bottom: 0; }
.drawer-sub .drawer-link { padding: 14px 20px 14px 32px; font-size: 15px; font-weight: 400; color: #4b5a68; }
.drawer-sub .drawer-link[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }

.drawer-foot { display: grid; gap: 10px; padding: 16px; border-top: 1px solid #eef1f4; background: #fff; }
.drawer-call { padding: 4px; text-align: center; font-family: var(--font-nav); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.drawer-call:hover { color: var(--blue); }
.drawer-book {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 6px 16px; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
  box-shadow: 0 10px 22px rgba(0, 72, 134, 0.25);
  transition: background-color .2s, transform .2s;
}
.drawer-book:hover { background: #003a6c; transform: translateY(-1px); }

/* the drawer is a small-screen tool: never on wide screens */
@media (min-width: 1300px) {
  .drawer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .drawer-backdrop, .drawer-collapse, .drawer-chev, .menu-chev, .main-nav ul.menu-sub { transition: none !important; }
}

/* =========================================================
   ANIMATIONS
   - Hero: plays on page load (pure CSS)
   - Everything else: fades/slides in when scrolled into view
     (js/main.js adds .reveal to the elements, then .is-visible)
   - Off for visitors who ask for reduced motion
   ========================================================= */
@keyframes heroUp   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

.js .hero-text > :not(.hero-video) { animation: heroUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-eyebrow { animation-delay: .15s !important; }
.js .hero h1      { animation-delay: .3s !important; }
.js .hero-sub     { animation-delay: .45s !important; }

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.reveal-zoom  { transform: scale(.94); }
.js .reveal.reveal-left  { transform: translateX(-48px); }
.js .reveal.reveal-right { transform: translateX(48px); }
.js .reveal.is-visible   { opacity: 1; transform: none; }
/* keep the location boxes' own colour change when an office is clicked */
/* Safety net: main.js didn't run */
.reveal-off .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-text > * { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

/* trademark fine print (All-on-4®) */
.tm-note { margin: 24px auto 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
/* sedation line under "How it works" (sitemap: link sedation from every surgical page) */
.sedation-line { margin: 10px auto 0; font-size: 16px; font-weight: 600; color: var(--navy); }
.method-left .sedation-line { margin-left: 0; }
.sedation-line a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Procedure pages (/procedures/*) ---------- */
.recovery-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.recovery-list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.55; }
.recovery-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
/* links inside the "need a tooth removed or more bone first?" notes */
.metal-note a, .fit-note p a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.metal-note a:hover { color: var(--blue); }
.fit-note p a:hover { color: #fff; }

/* ---------- Implant process timeline (/implant-process/) ----------
   Desktop: cards alternate left / right of a centre line. Tablet and phone: one column, line on the left. */
.journey { position: relative; max-width: 1040px; margin: 44px auto 0; padding: 0; list-style: none; }
.journey::before {
  content: ''; position: absolute; top: 32px; bottom: 32px; left: 50%; width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--blue), #cfe6f1);
}
.journey-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.journey-step + .journey-step { margin-top: 28px; }
.journey-marker {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff; box-shadow: 0 0 0 8px #e6f8fe;
}
.journey-marker svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.journey-card {
  grid-column: 1; grid-row: 1; padding: 26px 28px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px #e3edf3, 0 18px 36px -24px rgba(0, 72, 134, 0.35);
}
.journey-step:nth-child(even) .journey-card { grid-column: 3; }
.journey-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
.journey-card h3 { margin: 6px 0 0; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.journey-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.journey-when { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: #f0faff; color: var(--navy); font-size: 14px; font-weight: 600; }
.journey-link { display: block; width: fit-content; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: none; }
.journey-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) {
  .journey { max-width: 680px; }
  .journey::before { left: 31px; transform: none; }
  .journey-step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; align-items: start; }
  .journey-marker { grid-column: 1; }
  .journey-card, .journey-step:nth-child(even) .journey-card { grid-column: 2; }
}
@media (max-width: 575px) {
  .journey { margin-top: 32px; }
  .journey::before { left: 24px; }
  .journey-step { grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; }
  .journey-marker { width: 50px; height: 50px; box-shadow: 0 0 0 6px #e6f8fe; }
  .journey-marker svg { width: 24px; height: 24px; }
  .journey-card { padding: 20px 18px; }
  .journey-card h3 { font-size: 19px; }
  .journey-card p { font-size: 15px; }
}

/* Timeline scroll animation (js/main.js adds .is-animated to .journey, then .is-in to each step).
   A light track with a blue fill on top that grows as you scroll (--journey-fill, 0 to 1). */
.journey.is-animated::before { background: #dcebf3; }
.journey.is-animated::after {
  content: ''; position: absolute; top: 32px; bottom: 32px; left: 50%; width: 2px;
  background: linear-gradient(to bottom, var(--blue), #5fd3fb);
  transform: translateX(-50%) scaleY(var(--journey-fill, 0)); transform-origin: top;
}
.journey.is-animated .journey-marker {
  opacity: 0; transform: scale(.4);
  transition: opacity .35s ease, transform .55s cubic-bezier(.3, 1.6, .5, 1);
}
.journey.is-animated .journey-step.is-in .journey-marker { opacity: 1; transform: none; animation: journeyPulse 1s ease-out .35s 1; }
@keyframes journeyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 185, 242, .45), 0 0 0 8px #e6f8fe; }
  100% { box-shadow: 0 0 0 22px rgba(0, 185, 242, 0), 0 0 0 8px #e6f8fe; }
}
.journey.is-animated .journey-card {
  opacity: 0; transform: translateX(-56px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1) .12s, transform .7s cubic-bezier(.2, .7, .2, 1) .12s;
}
.journey.is-animated .journey-step:nth-child(even) .journey-card { transform: translateX(56px); }
.journey.is-animated .journey-step.is-in .journey-card { opacity: 1; transform: none; }
@media (max-width: 991px) {
  .journey.is-animated::after { left: 31px; transform: scaleY(var(--journey-fill, 0)); }
  .journey.is-animated .journey-card, .journey.is-animated .journey-step:nth-child(even) .journey-card { transform: translateX(36px); }
}
@media (max-width: 575px) {
  .journey.is-animated::after { left: 24px; }
  .journey.is-animated .journey-marker { box-shadow: 0 0 0 6px #e6f8fe; }
  .journey.is-animated .journey-step.is-in .journey-marker { animation: none; }
}
/* safety net for screenshots / no animation */
.reveal-off .journey.is-animated .journey-marker, .reveal-off .journey.is-animated .journey-card { opacity: 1 !important; transform: none !important; }
.reveal-off .journey.is-animated::after { transform: translateX(-50%) scaleY(1); }
@media (max-width: 991px) { .reveal-off .journey.is-animated::after { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .journey-marker, .journey-card { transition: none !important; animation: none !important; }
}

/* ---------- Implant journey sub-pages (/implant-process/consultation/, pre-op/, post-op/) ---------- */
/* care cards: a title with an icon and a checklist (pre-op timing, post-op sections) */
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.care-grid.care-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* card: navy header band (icon, optional "Step N" label, title) and a checklist with blue ticks */
.care-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e3edf3, 0 18px 36px -24px rgba(0, 72, 134, 0.35);
}
.care-card-head {
  display: flex; align-items: center; gap: 14px; padding: 22px 26px;
  border-radius: 20px 20px 0 0; background: linear-gradient(135deg, var(--navy) 0%, #0b5ea8 100%); color: #fff;
}
.care-card-head .card-icon { flex: 0 0 52px; width: 52px; height: 52px; margin: 0; background: rgba(255, 255, 255, 0.14); color: #fff; }
.care-step { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #5fd3fb; }
.care-card h3 { margin: 0; font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.3; color: #fff; }
.care-card .fit-list { gap: 0; margin: 0; padding: 10px 26px 10px; }
.care-card .fit-list li { padding: 13px 0 13px 34px; font-size: 16px; line-height: 1.5; }
.care-card .fit-list li + li { border-top: 1px solid #edf3f7; }
.care-card .fit-list li::before {
  top: 15px; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2300b9f2'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
.care-note { max-width: 860px; margin: 22px auto 0; padding: 16px 20px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: #f0faff; font-size: 16px; line-height: 1.6; color: var(--navy); }
.care-note strong { font-weight: 700; }
.panel-soft .care-card { box-shadow: 0 0 0 1px #e3edf3, 0 18px 36px -28px rgba(0, 72, 134, 0.3); }
/* steps in order (pre-op): an arrow between the cards on wide screens */
.care-steps.care-grid { gap: 30px; }
.care-steps .care-card:not(:last-child)::after {
  content: ''; position: absolute; top: 42px; right: -21px; z-index: 1; width: 12px; height: 12px;
  border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue); transform: rotate(45deg);
}
@media (max-width: 1199px) {
  .care-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
  .care-grid.care-2 { grid-template-columns: minmax(0, 1fr); }
  .care-steps .care-card:not(:last-child)::after { top: auto; right: auto; bottom: -17px; left: 50%; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 575px) {
  .care-card-head { padding: 18px 20px; }
  .care-card .fit-list { padding: 6px 20px; }
  .care-card .fit-list li { font-size: 15px; }
  .care-card h3 { font-size: 19px; }
  .care-grid { margin-top: 28px; gap: 16px; }
  .care-steps.care-grid { gap: 26px; }
}

/* Print (post-op instructions: "Print / save as PDF"): only the page's own content, no header, banner buttons or footer */
@media print {
  .site-header, .site-footer, .page-banner-btns, .btn, .btn-row, .ready, #other-options, .site-drawer, .drawer-backdrop { display: none !important; }
  body { background: #fff; }
  .page-banner { padding: 0 0 12px; background: none; color: #000; }
  .page-banner .page-breadcrumb, .page-banner .page-breadcrumb a, .page-banner h1, .page-banner .page-sub { color: #000; }
  body:not(.home) .site-main > section:not(.page-banner):not(.legal) { margin-top: 18px !important; }
  .panel, .panel-soft, .panel-blue { background: none !important; color: #000 !important; padding: 0 !important; }
  .panel-blue h2, .panel-blue p { color: #000 !important; }
  .care-card, .about-card, .fit-note { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  .care-card-head { background: none !important; color: #000 !important; border-bottom: 1px solid #ccc; }
  .care-card h3, .care-step, .care-card-head .card-icon { color: #000 !important; background: none !important; }
  .care-steps .care-card::after { display: none; }
  .fit-note { background: none !important; color: #000 !important; }
  .fit-note p { color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: none; }
}

/* Do / Avoid lists (post-op "Eating & cleaning"): light blue "Do" panel with ticks, light orange "Avoid" panel with crosses */
.dos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1180px; margin: 40px auto 0; }
.dos-col { padding: 30px 32px 22px; border-radius: 22px; }
.dos-col.is-do { background: #f0faff; border: 1px solid #d3edf8; }
.dos-col.is-avoid { background: #fff5ef; border: 1px solid #fde0cf; }
.dos-col h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--navy); }
.dos-badge { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.is-do .dos-badge { background: var(--blue); box-shadow: 0 8px 18px -8px rgba(0, 185, 242, 0.8); }
.is-avoid .dos-badge { background: var(--orange); box-shadow: 0 8px 18px -8px rgba(255, 103, 0, 0.7); }
.dos-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dos-list { margin: 0; padding: 0; list-style: none; }
.dos-list li { position: relative; padding: 14px 0 14px 34px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.dos-list li + li { border-top: 1px solid rgba(0, 72, 134, 0.08); }
.dos-list li::before { content: ''; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; background: center / 20px 20px no-repeat; }
.is-do .dos-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2300b9f2'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-avoid .dos-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ff6700'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 991px) { .dos-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; } }
@media (max-width: 575px) { .dos-grid { margin-top: 28px; gap: 16px; } .dos-col { padding: 24px 20px 16px; } .dos-col h3 { font-size: 21px; } .dos-list li { font-size: 15px; } }
@media print { .dos-col { background: none !important; border: 1px solid #ccc; break-inside: avoid; } }

/* ---------- Responsive polish (visual check, all inner pages) ---------- */
/* Headings and card titles (all pages): balanced lines, so no single word is left alone on the last line */
.site-main h1, .site-main h2, .site-main h3 { text-wrap: balance; }
/* Footer hours: when the column is narrow (about 1024–1199px) the time drops under the day instead of running into the next column */
.footer-hours > div { flex-wrap: wrap; column-gap: 12px; row-gap: 0; }
.footer-hours dd { margin-left: auto; }
/* "Other options" / "Related" panels on small laptops: even columns, so the button text has room */
@media (min-width: 992px) and (max-width: 1199px) {
  .more-options { padding-left: 40px; padding-right: 40px; }
  .more-options-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}
/* Wide screens: "Is it right for you", "How it works" and the timeline line up with the panels beside them (56px inside) */
@media (min-width: 1200px) {
  body:not(.home) .fit-section, body:not(.home) .implants-process, body:not(.home) .journey-section { padding-left: 56px; padding-right: 56px; }
}
/* Checklist sections: a little space between the heading and its intro line */
.fit-section h2 + .body-text { margin-top: 12px; }
/* Timeline line: from the first circle to the last (js/main.js sets --journey-line-top / --journey-line-bottom) */
.journey::before, .journey.is-animated::after { top: var(--journey-line-top, 32px); bottom: var(--journey-line-bottom, 32px); }
/* Home "Your Implant Journey at Dulay Dental": the practice name stays together */
.method-title .c-blue { white-space: nowrap; }
/* Home cost cards: the "Ask about…" button stays on one line on phones */
@media (max-width: 575px) { .cost-free { padding: 8px 16px; font-size: 14px; letter-spacing: 0.4px; white-space: nowrap; } }
/* Home cost cards on small laptops: two side by side instead of stacked */
@media (min-width: 992px) and (max-width: 1199px) { .cost-card { width: calc(50% - 7px); } .cost-img img { max-width: 100%; } }
/* "Ready" box sub-heading: normal line spacing when it wraps (one-line height stays about the same) */
.ready-right h3 { line-height: 1.25; padding-block: 0.55em; }
/* Bullet dots sit beside the first line of a two-line item */
.dot-list li::before { top: 13px; top: 0.5lh; }
/* Four cards (About "Get to know us"): 2 x 2 on tablets and small laptops, never 3 + 1 */
@media (min-width: 576px) and (max-width: 1199px) { .about-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Legal pages: a readable text column on wide screens */
.legal-content { max-width: 900px; margin-inline: auto; }
/* Smile gallery: 4 per row down to 992px, so 8 cases fill whole rows */
@media (min-width: 992px) and (max-width: 1279px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
/* Doctor's photo centred when the bio stacks (tablets) */
@media (max-width: 991px) { .doc-photo { margin-inline: auto; } }

/* ---------- Sub-page sections with a photo ----------
   Intro: heading + text + buttons on the left, photo on the right (photo on top on phones).
   Checklist ("Is it right for you" / "When you may need…"): photo on the left; checklist, a short note and the
   buttons on the right. */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.media-split .media-img { order: 2; }   /* intro photo always on the right (on top on phones) */
.media-img img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 25px; box-shadow: 0 24px 50px -28px rgba(0, 72, 134, 0.45); }
.media-text .body-text + .body-text { margin-top: 14px; }
.media-text h2 + .body-text { margin-top: 20px; }
.media-text .btn-row { margin-top: 27px; }
.fit-media { position: relative; }
/* checklist photo on the LEFT (alternates with the intro photo on the right); on phones it sits on top */
.fit-grid > .fit-media { order: -1; }
.fit-grid:has(> .fit-media) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 991px) { .fit-grid:has(> .fit-media) { grid-template-columns: minmax(0, 1fr); } }
.fit-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 25px; box-shadow: 0 24px 50px -28px rgba(0, 72, 134, 0.45); }
.fit-aside { margin: 26px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); font-size: 16px; line-height: 1.6; color: var(--muted); }
.fit-aside a { color: var(--blue); font-weight: 600; }
.fit-aside + .btn-row { margin-top: 24px; }
@media (min-width: 1200px) { body:not(.home) .media-intro { padding-left: 56px; padding-right: 56px; } }
@media (max-width: 1199px) { .media-split { gap: 44px; } }
@media (max-width: 991px) {
  .media-split { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; margin-inline: auto; }
  .media-img img { aspect-ratio: 16 / 10; }
  .media-split .media-img { order: 0; }
  .fit-media { max-width: 640px; }
}
@media (max-width: 575px) {
  .media-split { gap: 24px; }
  .media-img img, .fit-photo { border-radius: 20px; }
}
@media print { .media-img, .fit-photo { display: none; } }

/* "Visit us" cards (new patients): card body with address / hours / phone */
.care-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; padding: 24px 26px 28px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.care-body p { margin: 0; }
.care-body .btn { margin-top: auto; }
.visit-address { font-size: 18px; font-weight: 600; color: var(--navy); }
.visit-address a, .visit-phone a { color: inherit; text-decoration: none; }
.visit-address a:hover, .visit-phone a:hover { color: var(--blue); }
.visit-phone { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); }
.visit-hours { width: 100%; font-size: 15px; }
@media (max-width: 575px) { .care-body { padding: 20px; } }

/* Cost page: "Cost of each option" cards and the price-range table (shows once ranges are approved) */
/* "The cost of each option": navy band with 4 columns (no icons, no cards) */
.option-band { padding: 70px 56px 64px; background: var(--navy); color: #fff; }
.option-band .h-xl { color: #fff; }
.option-band .c-blue { color: #5fd3fb; }
.band-intro { max-width: 760px; margin: 18px auto 0; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.option-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; }
.option-col { display: flex; flex-direction: column; gap: 10px; padding: 6px 28px; color: #fff; text-decoration: none; }
.option-col + .option-col { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.option-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.3; }
@media (min-width: 576px) { .option-name { display: flex; align-items: flex-end; min-height: 2.6em; } }   /* names on 1 or 2 lines: the price lines stay level */
.option-unit { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: 0.5px; text-transform: uppercase; color: #5fd3fb; }
.option-desc { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.option-more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0.5px; color: #fff; transition: color .2s; }
.option-col:hover .option-more, .option-col:focus-visible .option-more { color: #5fd3fb; }
.option-col:hover .option-name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1199px) {
  .option-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .option-col:nth-child(odd) { border-left: 0; }
}
@media (max-width: 767px) { .option-band { padding: 44px 18px 40px; } .band-intro { font-size: 16px; } .option-name { font-size: 18px; } .option-col { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 575px) {
  .option-cols { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-top: 32px; }
  .option-col { padding: 22px 4px; border-left: 0 !important; }
  .option-col + .option-col { border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .option-unit { font-size: 22px; }
}
@media print { .option-band { background: none !important; color: #000 !important; padding: 0 !important; } .option-band .h-xl, .option-col, .option-desc, .option-unit { color: #000 !important; } }
}
.price-table td.compare-us a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.price-table td small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.price-table tbody td.compare-them { font-weight: 700; color: var(--navy); }
.price-table tbody td { padding-left: 32px; }

/* Financing: lender cards (show once lenders are added) */
.lender-section .about-cards { margin-top: 36px; }
.lender-card { cursor: default; }
.lender-card .btn { margin-top: auto; align-self: flex-start; }
.lender-card p { margin-bottom: 8px; }

/* Patient forms: download list (shows once forms are added) */
.form-list { max-width: 1000px; margin: 40px auto 0; padding: 0; list-style: none; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #e3edf3, 0 18px 36px -24px rgba(0, 72, 134, 0.35); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: 22px 28px; }
.form-row + .form-row { border-top: 1px solid #e8f0f5; }
.form-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.form-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy); }
.form-desc { font-size: 15px; line-height: 1.5; color: var(--muted); }
.form-type { padding: 4px 12px; border-radius: 999px; background: #f0faff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); }
@media (max-width: 575px) { .form-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px; } .form-row .btn { grid-column: 1 / -1; justify-self: start; } }

/* FAQs: topic links + click-to-open questions (<details>) */
.faq-section { max-width: 920px; }
.faq-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.faq-topics a { padding: 10px 18px; border-radius: 999px; background: #f0faff; box-shadow: inset 0 0 0 1px #d3edf8; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s; }
.faq-topics a:hover, .faq-topics a:focus-visible { background: var(--blue); color: #fff; }
.faq-group { margin-top: 48px; scroll-margin-top: 190px; }
.faq-group-title { margin: 0 0 16px; font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--navy); text-transform: uppercase; }
.faq-item { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #e3edf3; transition: box-shadow .2s; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item[open] { box-shadow: 0 0 0 1px #cfe6f1, 0 18px 36px -24px rgba(0, 72, 134, 0.35); }
.faq-item summary { position: relative; display: block; padding: 20px 64px 20px 24px; font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 16px; }
.faq-toggle { position: absolute; top: 50%; right: 20px; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1.5px solid #cfe6f1; transition: background-color .2s, border-color .2s, transform .2s; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform .2s, background-color .2s; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--blue); border-color: var(--blue); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.faq-answer a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575px) {
  .faq-group { margin-top: 36px; }
  .faq-group-title { font-size: 21px; }
  .faq-item summary { padding: 16px 56px 16px 18px; font-size: 16px; }
  .faq-toggle { right: 14px; }
  .faq-answer { padding: 0 18px 18px; }
  .faq-answer p { font-size: 15px; }
  .faq-topics a { padding: 8px 14px; font-size: 14px; }
}
@media print { .faq-item { box-shadow: none; border: 1px solid #ccc; } .faq-answer { display: block; } }
/* FAQ animation (js/main.js): the answer slides; the +/- turns as it opens or closes */
.faq-answer { overflow: hidden; }
.faq-item.is-closing .faq-toggle { background: transparent; border-color: #cfe6f1; }
.faq-item.is-closing .faq-toggle::before, .faq-item.is-closing .faq-toggle::after { background: var(--blue); }
.faq-item.is-closing .faq-toggle::after { transform: rotate(90deg); }

/* Contact page: full office hours inside the navy "Get in touch" panel */
.contact-hours { flex: 1; min-width: 0; }
.contact-hours-list { width: 100%; margin-top: 8px; font-size: 15px; }
.contact-hours-list > div { flex-wrap: wrap; column-gap: 12px; row-gap: 0; border-bottom-color: rgba(255, 255, 255, 0.15); }
.contact-hours-list dd { margin-left: auto; }
.contact-hours-list dt { font-weight: 500; }
.contact-hours-list dd { opacity: 0.9; }

/* ---------- Contact page: office information + hours (left), message form (right), map below ---------- */
.contact-section { padding: 56px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 24px; }
.contact-card { padding: 30px; border-top: 5px solid var(--blue); border-radius: 20px; background: #fff; box-shadow: 0 18px 36px -26px rgba(0, 72, 134, 0.35); }
.contact-card-title { margin: 0 0 16px; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--blue); }
.contact-card p { margin: 0; }
.contact-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--navy); }
.contact-address { margin-top: 12px !important; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.contact-address a { color: inherit; text-decoration: none; }
.contact-phone { margin-top: 12px !important; font-size: 18px; font-weight: 700; }
.contact-phone a { color: var(--blue); text-decoration: none; }
.contact-address a:hover, .contact-phone a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-note { margin-top: 14px !important; font-size: 15px; font-style: italic; line-height: 1.6; color: var(--muted); }
.contact-card .btn { margin-top: 20px; }
.office-hours { display: grid; gap: 0; font-size: 16px; }
.office-hours > div { flex-wrap: wrap; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef3f6; }
.office-hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
.office-hours dt { font-weight: 600; color: var(--navy); }
.office-hours dd { margin-left: auto; font-weight: 600; color: var(--blue); }
.contact-form { padding: 36px; border-radius: 20px; background: #fff; box-shadow: 0 18px 36px -26px rgba(0, 72, 134, 0.35); }
.contact-form-title { margin: 0 0 24px; font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--blue); }
.contact-form .lf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.contact-form .lf-wide { grid-column: 1 / -1; }
.contact-form .lf-field label { font-size: 15px; font-weight: 500; color: var(--navy); }
.contact-form .lf-field input, .lf-field textarea { border-radius: 8px; border: 1px solid #cfd8de; }
.lf-field textarea {
  display: block; width: 100%; min-height: 130px; padding: 12px 14px; resize: vertical;
  background: #fff; color: var(--ink-2); font: 400 16px/1.5 'Inter', var(--font-body);
}
.lf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 185, 242, 0.2); }
.contact-form .lf-check { font-size: 14px; line-height: 1.6; }
.contact-form .lf-check input { margin-top: 4px; }
.contact-form .lf-submit { min-height: 56px; margin-top: 8px; border-radius: 999px; font-size: 18px; }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 25px; }
@media (max-width: 991px) {
  .contact-section { padding: 40px 24px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) { .contact-info { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575px) {
  .contact-section { padding: 24px 14px; }
  .contact-card { padding: 24px 20px; }
  .contact-form { padding: 24px 18px; }
  .contact-form-title { font-size: 24px; }
  .contact-form .lf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-map iframe { height: 300px; border-radius: 20px; }
}

/* 404 page */
.nf-section { text-align: center; }
/* big "404": hollow letters with a blue outline, and a navy outline copy offset behind them (3D outline sign).
   Outlines are made with shadows on white-filled text, not a text stroke, so the font's overlapping inner
   lines never show; the front copy hides the back copy where they overlap. */
.nf-code-wrap { margin: 0 0 22px; }
.nf-code {
  --o: 3px; --d: 12px;
  position: relative; display: inline-block; isolation: isolate;
  font-family: var(--font-head); font-size: clamp(90px, 14vw, 170px); font-weight: 800; line-height: 1; letter-spacing: 10px;
  color: #fff;
  text-shadow:
    var(--o) 0 0 var(--blue), calc(var(--o) * -1) 0 0 var(--blue), 0 var(--o) 0 var(--blue), 0 calc(var(--o) * -1) 0 var(--blue),
    2px 2px 0 var(--blue), -2px -2px 0 var(--blue), 2px -2px 0 var(--blue), -2px 2px 0 var(--blue);
}
.nf-code::before {
  content: attr(data-text); position: absolute; left: var(--d); top: var(--d); z-index: -1;
  color: #fff;
  text-shadow:
    var(--o) 0 0 var(--navy), calc(var(--o) * -1) 0 0 var(--navy), 0 var(--o) 0 var(--navy), 0 calc(var(--o) * -1) 0 var(--navy),
    2px 2px 0 var(--navy), -2px -2px 0 var(--navy), 2px -2px 0 var(--navy), -2px 2px 0 var(--navy);
}
@media (max-width: 575px) { .nf-code { --o: 2px; --d: 7px; letter-spacing: 6px; } }
.nf-btns { margin-top: 28px; }

/* =========================================================
   SITEMAP PAGE (/sitemap/) — groups of links in a grid
   ========================================================= */
.sitemap-home { margin: 0 0 28px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; }
.sitemap-home a { color: var(--navy); text-decoration: none; }
.sitemap-home a:hover, .sitemap-home a:focus-visible { color: var(--blue); text-decoration: underline; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sitemap-group { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; padding: 26px 28px; box-shadow: 0 6px 20px rgba(11, 42, 91, .06); }
.sitemap-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid #e3e9f2; font-size: 20px; line-height: 1.3; color: var(--navy); }
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li { margin: 0; }
.sitemap-list a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #34405a; text-decoration: none; font-size: 16px; line-height: 1.4; }
.sitemap-list a::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }
.sitemap-list a:hover, .sitemap-list a:focus-visible { color: var(--blue); text-decoration: underline; }
@media (max-width: 1199px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 767px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 18px; }
  .sitemap-group { padding: 22px 20px; }
}

/* =========================================================
   FOOTER SPACING — even rhythm: implant links spaced like the hours rows,
   menu links with room between them and between their rows, balanced logo / copyright gaps
   ========================================================= */
.footer-top { padding-bottom: 24px; }
.footer-grid { padding-top: 36px; }
.footer-col .footer-list { display: grid; gap: 10px; }
.footer-nav { gap: 14px 24px; padding: 30px 10px; }
.footer-bottom { padding-top: 28px; }
.site-footer { padding-bottom: 32px; }
@media (max-width: 1199px) {
  .footer-grid { row-gap: 44px; column-gap: 32px; }
}
@media (max-width: 767px) {
  .site-footer { padding-top: 44px; }
  .footer-top { gap: 14px; }
  .footer-grid { row-gap: 36px; }
  .footer-nav { gap: 12px 20px; padding: 26px 0; margin-top: 36px; }
  .footer-bottom { padding-top: 24px; }
}
.footer-legal a { white-space: nowrap; }
@media (max-width: 767px) {
  .footer-legal { display: block; margin-top: 6px; }
  .footer-legal > .fl-sep:first-child { display: none; }
}

/* Footer columns (1200px+): each column as wide as its content, the leftover space shared equally
   between the columns, so the gaps match (equal-width columns left a wide gap after the short address
   and almost no gap after the implant links and the hours) */
@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: max-content max-content minmax(280px, 340px) minmax(240px, 340px);
    justify-content: space-between;
    column-gap: 48px;
  }
}
