/* City View Eye Care — original styles. Not derived from another practice's CSS. */
:root {
  /* Palette sampled from the official City View Eye Care logo */
  --navy: #012a60;          /* CITY VIEW letters, ring, skyline */
  --navy-deep: #021433;     /* footer, deep silhouette */
  --navy-mid: #003368;
  --royal: #0a5cad;         /* mid iris / royal blue */
  --sky-bright: #17a5ef;    /* sweeping lid blue */
  --sky-lid: #3eb0f5;
  --accent: #0a5cad;
  --accent-hover: #17a5ef;
  --accent-soft: #b9e0f8;
  --teal: #0a5cad;          /* alias: links use royal, not teal */
  --teal-bright: #17a5ef;
  --sky: #e8f4fc;
  --cloud: #f3f9fd;
  --paper: #f7fbfe;
  --ink: #12243a;
  --muted: #4e6780;
  --line: #cfe3f2;
  --white: #ffffff;
  --ph-bg: #d9f0fc;
  --ph-ink: #0a3a6e;
  --shadow: 0 10px 30px rgba(2, 20, 51, 0.08);
  --radius: 14px;
  --max: 1120px;
  --header-h: 96px;
  --font-display: "Montserrat", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  margin: 0 0 0.5em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); letter-spacing: 0.06em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); letter-spacing: 0.07em; }
h3 { font-size: 1.15rem; letter-spacing: 0.08em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: 0.3em 0; }

.ph, .placeholder {
  background: var(--ph-bg);
  color: var(--ph-ink);
  padding: 0.02em 0.22em;
  border-radius: 4px;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.wrap {
  width: min(calc(100% - 2.4rem), var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(calc(100% - 2.4rem), 1240px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand picture, .brand-logo, .brand img {
  width: 80px;
  height: 80px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-bright);
  margin-top: 0.32rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.brand-tag::before,
.brand-tag::after {
  content: "";
  width: 0.65rem;
  height: 1px;
  background: currentColor;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--sky-bright);
}
.header-cta { margin-left: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--royal); color: var(--white); }
.btn-accent, .btn-gold {
  background: var(--royal);
  color: var(--white);
}
.btn-accent:hover, .btn-gold:hover { background: var(--sky-bright); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(1, 42, 96, 0.28);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--accent-soft); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 20, 51, 0.15) 0%, rgba(2, 20, 51, 0.28) 50%, rgba(2, 20, 51, 0.55) 100%),
    linear-gradient(180deg, #021433 0%, #0a3a7a 48%, #17a5ef 100%);
  min-height: clamp(32rem, 78vh, 44rem);
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 5.2rem;
}
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero .lede {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.92);
  max-width: 38rem;
  margin-bottom: 1.6rem;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.4rem 0; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: #e8f2f5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.kicker {
  color: var(--royal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
}
.lede-muted { color: var(--muted); max-width: 40rem; }

.band {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 2rem 0 2.8rem;
}
.band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 52px;
  background: url("../images/lid-paper.svg") no-repeat center / 100% 100%;
  pointer-events: none;
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.band h2 { color: #fff; font-size: 1.85rem; margin: 0 0 0.2em; }
.band p { margin: 0; color: rgba(255,255,255,0.85); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.trio, .cards, .plan-grid {
  display: grid;
  gap: 1.25rem;
}
.trio { grid-template-columns: repeat(3, 1fr); }
.cards { grid-template-columns: repeat(2, 1fr); }
.plan-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}
.why-list { list-style: none; padding: 0; }
.why-list li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 0; }
.why-list strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 0.15rem; }

/* Page hero (interior) */
.page-hero {
  background:
    linear-gradient(180deg, rgba(2,20,51,0.55), rgba(10,58,122,0.42)),
    linear-gradient(160deg, #021433, #0a5cad 70%, #17a5ef);
  color: #fff;
  padding: 3.4rem 0 2.8rem;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 52px;
  background: url("../images/lid-paper.svg") no-repeat center / 100% 100%;
  pointer-events: none;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 38rem; margin: 0; }

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block h2 {
  font-size: clamp(1.35rem, 4.6vw, 1.85rem);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: none;
  text-wrap: pretty;
}

.tech-card .media,
.photo-ph {
  border-radius: 12px;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  color: var(--ph-ink);
  background:
    linear-gradient(160deg, #d7eaf8 0%, #b9d4ee 50%, #8ec8f0 120%);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}
.photo-ph.tall { min-height: 280px; }
.photo-ph.portrait { min-height: 320px; aspect-ratio: 4/5; }

.doc-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2.2rem; align-items: start; }
.doc-card { margin-bottom: 3rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.hours-table th { color: var(--navy); font-weight: 600; width: 45%; }

.map-ph {
  min-height: 240px;
  border-radius: var(--radius);
  border: 1px dashed #7eb8e4;
  background: repeating-linear-gradient(-45deg, #f3f9fd, #f3f9fd 12px, #d9eef9 12px, #d9eef9 24px);
  display: grid;
  place-items: center;
  color: var(--ph-ink);
  text-align: center;
  padding: 1rem;
}
.map-embed {
  margin: 1rem 0 1.15rem;
  height: 220px;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location-card .map-embed { height: 200px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
form.contact-form {
  display: grid;
  gap: 0.85rem;
}
label { font-size: 0.88rem; font-weight: 560; color: var(--navy); }
input, textarea, select {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--muted); }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-size: 1.4rem;
  color: var(--royal);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 0 1.2rem; color: var(--muted); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

.plan-col h3 { margin-bottom: 0.8rem; }
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-list li {
  background: var(--sky);
  margin: 0.45rem 0;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
}
.plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}
a[href^="tel:"] { white-space: nowrap; }
.plan-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.8rem 1.25rem;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}
.band-inner > div { flex: 1 1 18rem; max-width: 42rem; }

.review-grid { grid-template-columns: 1fr 1fr; }
.stars { color: var(--royal); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.review-card {
  display: flex;
  flex-direction: column;
}
.review-card .btn-row { margin-top: auto; }
.review-score-block { margin: 0.15rem 0 1.15rem; }
.review-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.4rem;
}
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0 0 0.55rem;
}
.star-rating .star-bg { color: var(--line); }
.star-rating .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 98%;
  color: var(--royal);
}
.review-count {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 600;
}
.review-invite {
  margin: 0.35rem 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}
.review-links {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}
.review-links a { font-weight: 600; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding: 3.2rem 0 1.6rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.site-footer h3 { color: #fff; font-size: 1.25rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-nav { display: grid; gap: 0.35rem; }
.footer-fine {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.draft-note {
  font-size: 0.82rem;
  color: var(--accent-soft);
  margin-top: 0.8rem;
}


/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.88);
  font-size: 0.84rem;
  font-weight: 500;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  min-height: 2.25rem;
  padding: 0.35rem 0;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.topbar a:hover { color: var(--accent-soft); }
.topbar .loc-name {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-soft);
}

/* Book Appointment location chooser */
.book-menu { position: relative; display: inline-flex; flex-direction: column; align-items: stretch; }
.book-options {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 17.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.65rem;
  z-index: 60;
}
.hero .book-options { left: 0; right: auto; }
.book-label {
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.book-options a {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 560;
  border-bottom: none;
}
.book-options a:hover,
.book-options a:focus {
  background: var(--sky);
  color: var(--navy);
  border-bottom-color: transparent;
}
.site-nav .book-options a,
.site-nav .book-options a:hover,
.site-nav .book-options a[aria-current] {
  border-bottom: none;
  padding: 0.7rem 0.75rem;
}

/* Preferred booking copy */
.hero-booking-note {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 12px rgba(2, 20, 51, 0.4);
}
.booking-preferred {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--navy);
}
.page-hero .booking-preferred {
  color: #fff;
  text-shadow: 0 1px 12px rgba(2, 20, 51, 0.4);
}
.page-hero p + p { margin-top: 0.75rem; }
.location-card .booking-preferred {
  margin: 0.85rem 0 0.85rem;
  font-size: 0.95rem;
}

/* Booking location reminder modal */
body.book-modal-open { overflow: hidden; }
.book-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 20, 51, 0.55);
}
.book-modal-backdrop[hidden] { display: none; }
.book-modal {
  position: relative;
  width: min(100%, 28rem);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(2, 20, 51, 0.28);
  padding: 1.6rem 1.5rem 1.4rem;
  outline: none;
}
.book-modal h2 {
  margin: 0 1.75rem 0.7rem 0;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.book-modal p {
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.book-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.book-modal-close:hover,
.book-modal-close:focus-visible {
  background: var(--sky);
  outline: none;
}
.book-modal-actions { margin-top: 0.25rem; }
.book-modal-actions .btn { min-width: 7.5rem; }

@media (max-width: 520px) {
  .book-modal {
    width: 100%;
    padding: 1.4rem 1.15rem 1.25rem;
  }
  .book-modal-actions { width: 100%; }
  .book-modal-actions .btn { flex: 1 1 auto; }
}


/* Locations */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.location-card h3 { margin-bottom: 0.55em; }
.location-card .map-ph { margin: 1rem 0 1.15rem; min-height: 180px; }
.contact-form-wrap { max-width: 720px; margin-inline: auto; }


/* Footer logo chip */
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  background: var(--white);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.footer-logo-chip picture,
.footer-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.site-footer .brand {
  align-items: flex-start;
}

/* Lid-curve and skyline motifs */
.lid-divider,
.hero-lid {
  line-height: 0;
  pointer-events: none;
}
.lid-divider svg,
.hero-lid svg {
  width: 100%;
  height: 52px;
  display: block;
}
.hero-lid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
}
.hero-lid svg { height: 64px; color: var(--navy-deep); }
.section-sky > .lid-divider:first-child,
.section > .lid-divider:first-child {
  margin: -4.5rem 0 2.6rem;
}
.skyline-rule {
  display: flex;
  justify-content: center;
  margin: 0 0 1.4rem;
  line-height: 0;
  pointer-events: none;
}
.skyline-rule img,
.skyline-rule svg {
  width: min(100%, 420px);
  height: 52px;
  display: block;
}


/* Hero typography and CTA contrast over the skyline */
.hero h1 { text-shadow: 0 2px 18px rgba(2, 20, 51, 0.32); }
.hero .lede { text-shadow: 0 1px 12px rgba(2, 20, 51, 0.4); }
.hero .btn-accent,
.hero .btn-gold {
  background: var(--white);
  color: var(--navy);
}
.hero .btn-accent:hover,
.hero .btn-gold:hover {
  background: var(--accent-soft);
  color: var(--navy-deep);
}

/* Footer wordmark (if present) and chip sizing */
.site-footer .brand { align-items: center; }
.site-footer .brand-name { color: #fff; }
.site-footer .footer-logo-chip,
.site-footer .footer-logo-chip picture,
.site-footer .footer-logo-chip img {
  width: 112px;
  height: 112px;
}

/* Utility */


.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .split, .trio, .cards, .plan-grid, .service-block, .doc-grid, .contact-grid, .review-grid, .footer-grid, .location-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem 1.1rem;
    gap: 0;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .book-menu { width: 100%; }
  .book-menu .header-cta { width: 100%; margin: 0.8rem 0 0.2rem; }
  .site-nav .book-options {
    position: static;
    margin-top: 0.35rem;
    min-width: 0;
    box-shadow: none;
  }
  .topbar-inner { justify-content: center; gap: 0.5rem 1.15rem; }
  .hero { min-height: clamp(28rem, 70vh, 36rem); padding: 4.5rem 0 3.2rem; }
  .band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .wrap, .wrap-wide { width: min(calc(100% - 1.5rem), var(--max)); }
  .brand-name { font-size: 0.92rem; }
  .brand picture, .brand-logo, .brand img { width: 64px; height: 64px; }
  .footer-logo-chip { width: 104px; height: 104px; }
  .section { padding: 3.2rem 0; }
}

/* Draft: reviews stay in the markup but are hidden until approved.
   When that section is hidden, two sky bands meet — drop the paper-to-sky wave. */
#reviews[hidden] + #locations > .lid-divider:first-child {
  display: none;
}
#reviews[hidden] + #locations {
  padding-top: 0;
}
