/* ==========================================================================
   Dr. Adarsh Patil's Orthopaedic Clinic — Bone & Joint Specialists
   Brand: deep navy (#162648) + orange (#F07E26), taken from clinic signage.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --navy: #162648;
  --navy-600: #1b2a4e;
  --navy-800: #101c36;
  --navy-900: #0b1428;
  --navy-050: #eef1f7;
  --navy-100: #dde3ee;

  --orange: #f07e26;
  --orange-600: #d96a13; /* buttons / large text */
  --orange-700: #ae5308; /* small text on white — AA compliant */
  --orange-050: #fdf1e6;

  /* logo square colours — used ONLY as small service-category accents */
  --sq-green: #2f9e4f;
  --sq-blue: #2a52a8;
  --sq-pink: #e0338a;
  --sq-orange: #ef7f2a;

  /* surfaces */
  --white: #ffffff;
  --grey-050: #f6f7fa;
  --grey-100: #eceff5;
  --grey-200: #dfe3ec;
  --ink: #1a2338;
  --ink-soft: #4d5871;
  --ink-mute: #6b7690;

  /* type */
  --display: "Archivo", "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.14vw, 1.0625rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.22rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.45rem + 1.1vw, 2.45rem);
  --step-4: clamp(2.05rem, 1.6rem + 2vw, 3.4rem);

  /* layout */
  --wrap: 1240px;
  --wrap-narrow: 980px;
  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --sect-y: clamp(3.5rem, 6vw, 6rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 54, 0.06), 0 4px 14px rgba(16, 28, 54, 0.06);
  --shadow-md: 0 6px 28px rgba(16, 28, 54, 0.1);
  --shadow-lg: 0 18px 48px rgba(16, 28, 54, 0.14);
  --ring: 0 0 0 3px rgba(240, 126, 38, 0.45);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: rgba(22, 38, 72, 0.3); text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }

:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 2px; border-radius: 4px; }

ul, ol { margin: 0 0 1em; padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sect-y); scroll-margin-top: 60px; }
.section--tint { background: var(--grey-050); }
.section--navy { background: var(--navy); color: #e8ecf5; }
.section--navy h2, .section--navy h3 { color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-stretch: 90%;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-700); margin-bottom: 0.7rem;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--orange); border-radius: 2px; }
.section--navy .eyebrow { color: var(--orange); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.section--navy .lead { color: #c3ccdd; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-stretch: 92%;
  font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.8rem 1.5rem; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary { background: var(--orange-600); color: #fff; box-shadow: 0 6px 18px rgba(217, 106, 19, 0.28); }
.btn--primary:hover { background: #c25f0e; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.92); color: var(--navy); border-color: rgba(255, 255, 255, 0.92); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn--outline:hover { background: var(--navy-050); color: var(--navy); border-color: var(--navy); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.85rem; }

/* ---------- 5. Top utility marquee bar ---------- */
.topbar {
  background: var(--orange-600); color: #fff;
  font-size: 0.8rem; line-height: 1; overflow: hidden;
}
.topbar__track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}
.topbar__group { display: flex; align-items: center; padding-block: 0.55rem; white-space: nowrap; }
.topbar__group span { padding-inline: 1.75rem; font-weight: 500; letter-spacing: 0.02em; }
.topbar__group span::after { content: "•"; margin-left: 1.75rem; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.topbar:hover .topbar__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }

/* ---------- 6. Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--grey-100); }
.header-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto auto;
  align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem);
  padding-block: 0.9rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; min-width: 0; }
.brand__mark { width: 54px; height: 54px; flex: none; object-fit: contain; }
.brand__text { min-width: 0; }
.brand__name {
  display: block; font-family: var(--display); font-weight: 800; font-stretch: 86%;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem); line-height: 1.05; color: var(--navy);
  letter-spacing: -0.015em;
}
.brand__sub {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--orange-700); margin-top: 0.3rem;
}
.brand__cred { display: block; font-size: 0.76rem; color: var(--ink-mute); margin-top: 0.15rem; }

.header-contacts { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.hc {
  display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink);
}
.hc__icon {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-050); color: var(--navy);
}
.hc__icon svg { width: 20px; height: 20px; }
.hc--mail .hc__icon { background: var(--orange-050); color: var(--orange-700); }
.hc__label { display: block; font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.hc__value { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.hc:hover .hc__value { color: var(--orange-700); }

.header-cta { display: flex; }

/* ---------- 7. Nav bar ---------- */
.navbar { background: var(--grey-050); border-bottom: 1px solid var(--grey-100); position: sticky; top: 0; z-index: 60; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; }
.nav-links { display: flex; align-items: center; gap: clamp(0.25rem, 1.6vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 0.95rem 0.65rem; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--navy);
  border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--orange-700); }
.nav-links a[aria-current="page"] { color: var(--orange-700); border-bottom-color: var(--orange); }
.nav-social { display: flex; align-items: center; gap: 0.5rem; }
.nav-social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; transition: transform 0.15s, background 0.15s;
}
.nav-social a:hover { transform: translateY(-2px); background: var(--orange-600); color: #fff; }
.nav-social svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; align-items: center; gap: 0.55rem; background: var(--navy); color: #fff;
  border: 0; border-radius: 8px; padding: 0.55rem 0.9rem; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- 8. Hero (diagonal split) ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 46%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__panel {
  position: absolute; inset: 0; background: var(--navy);
  clip-path: polygon(0 0, 68% 0, 56% 100%, 0 100%);
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 480px at 12% 8%, rgba(240, 126, 38, 0.2), transparent 62%);
}
.hero__edge {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--orange);
  clip-path: polygon(68% 0, 69.6% 0, 57.6% 100%, 56% 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero__content { max-width: 640px; color: #fff; }
.hero__headline { color: #fff; font-size: clamp(1.5rem, 1.05rem + 2.2vw, 3.15rem); line-height: 1.14; margin-bottom: 1rem; }
.hero__headline span { display: block; }
.hero__headline .accent { color: #ffc79a; }
.hero__text { color: #c9d3e6; max-width: 54ch; margin-bottom: 1.4rem; }
.hero__points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.7rem; }
.hero__points li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: #fff; margin: 0; }
.hero__points .tick {
  width: 22px; height: 22px; flex: none; border: 2px solid rgba(255, 255, 255, 0.7);
  display: grid; place-items: center; border-radius: 3px;
}
.hero__points .tick svg { width: 10px; height: 10px; fill: #fff; }
.hero__dots { display: flex; gap: 0.55rem; margin-top: 2rem; }
.hero__dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.4); transition: background 0.2s, transform 0.2s;
}
.hero__dots button[aria-selected="true"] { background: #fff; transform: scale(1.25); }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeUp 0.5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { background: var(--navy); }
  .hero__panel, .hero__edge { display: none; }
  .hero__media {
    position: relative; width: 100%; height: clamp(240px, 52vw, 380px);
    border-bottom: 5px solid var(--orange);
  }
  .hero__media img { object-position: 50% 18%; }
  .hero__inner { padding-block: clamp(2rem, 7vw, 3rem); }
  .hero__content { max-width: none; }
}

/* ---------- 9. About split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.split__media--frame::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 55%;
  border: 4px solid var(--orange); border-radius: var(--radius); z-index: -1;
}
.doctor-name { font-size: var(--step-4); margin-bottom: 0.15em; }
.doctor-degrees { font-family: var(--display); font-weight: 700; font-stretch: 90%; font-size: var(--step-1); color: var(--orange-700); margin-bottom: 0.15em; }
.doctor-role { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.rule { height: 3px; width: 68px; background: var(--orange); border: 0; border-radius: 2px; margin: 0 0 1.4rem; }

.facts { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; display: grid; gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.facts li { display: flex; gap: 0.7rem; margin: 0; align-items: flex-start; }
.facts .ico { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--navy-050); color: var(--navy); display: grid; place-items: center; }
.facts .ico svg { width: 17px; height: 17px; }
.facts dt, .facts .k { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.facts .v { display: block; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ---------- 10. Stats strip ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(240, 126, 38, 0.22), transparent 45%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.14); }
.stat { background: var(--navy); padding: clamp(1.75rem, 3.5vw, 2.75rem) 1.25rem; text-align: center; }
.stat__num { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; color: var(--orange); }
.stat__key { display: block; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.1; color: var(--orange); }
.stat__label { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: #c9d3e6; letter-spacing: 0.02em; }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. Cards / services ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card--compact { padding: clamp(1.1rem, 1.8vw, 1.4rem); }
.card--compact h3 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.card--compact p { font-size: 0.86rem; line-height: 1.45; }
.card__icon--sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 0.7rem; }
.card__icon--sm svg { width: 20px; height: 20px; }

.card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 1rem; background: var(--navy-050); color: var(--navy);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon[data-tone="green"] { background: rgba(47, 158, 79, 0.12); color: #1f7a3a; }
.card__icon[data-tone="blue"] { background: rgba(42, 82, 168, 0.12); color: #24478f; }
.card__icon[data-tone="pink"] { background: rgba(224, 51, 138, 0.12); color: #b32369; }
.card__icon[data-tone="orange"] { background: rgba(239, 127, 42, 0.14); color: var(--orange-700); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card__more {
  margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--display); font-weight: 700; font-size: 0.88rem; color: var(--orange-700);
  text-decoration: none; align-self: flex-start;
}
.card__more svg { width: 14px; height: 14px; transition: transform 0.18s; }
.card__more:hover svg { transform: translateX(3px); }

.hospital-card { text-align: left; border-left: 4px solid var(--orange); }
.hospital-card .k { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.hospital-card h3 { margin: 0.35rem 0 0; font-size: var(--step-1); }

/* ---------- 12. Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; margin: 0; }
.checklist .tick {
  width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--orange-050);
  color: var(--orange-700); display: grid; place-items: center; margin-top: 2px;
}
.section--navy .checklist .tick { background: rgba(240, 126, 38, 0.2); color: #ffb578; }
.checklist .tick svg { width: 13px; height: 13px; }
.checklist strong { display: block; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.section--navy .checklist strong { color: #fff; }
.checklist span { color: var(--ink-soft); font-size: 0.95rem; }
.section--navy .checklist span { color: #b9c4d8; }

/* ---------- 13. Full-bleed banner band ---------- */
.band { position: relative; overflow: hidden; background: var(--navy); }
.band img { width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; object-position: 50% 42%; }
.band--tall img { height: clamp(260px, 38vw, 460px); }
/* banners with a burned-in logo in a top corner must not have that corner cropped */
.band--logo-top img { object-position: 50% 0%; }
/* banners with the clinic logo burned into the top-left must never crop that corner */
.band--logo-left img { object-position: 0% 0%; }
/* on small screens the wide logo banner is shown whole, with the caption stacked beneath it */
@media (max-width: 720px) {
  .band--logo-left img { height: auto; aspect-ratio: 1600 / 406; object-fit: contain; }
  .band--logo-left .band__caption { position: static; background: var(--navy); padding: 1.25rem 0 1.5rem; }
}
.band__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 3vw, 2.25rem) 0;
  background: linear-gradient(to top, rgba(11, 20, 40, 0.9), rgba(11, 20, 40, 0));
  color: #fff;
}
.band__caption h2 { color: #fff; margin-bottom: 0.3rem; font-size: var(--step-2); }
.band__caption p { color: #d3dcec; max-width: 60ch; font-size: 0.95rem; }

/* ---------- 13b. Temporary event banner ---------- */
.event-banner { background: var(--grey-100); padding-block: clamp(0.85rem, 2vw, 1.5rem); }
.event-banner__inner { position: relative; }
.event-banner__frame {
  position: relative; border: 0; padding: 0; background: none; cursor: zoom-in;
  display: block; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.event-banner__frame.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 961; object-fit: contain; background: var(--grey-100); }
.event-banner__summary { margin-top: 0.9rem; text-align: center; max-width: 72ch; margin-inline: auto; }
.event-banner__title { font-size: var(--step-1); color: var(--ink); margin-bottom: 0.35rem; }
.event-banner__text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- 14. Gallery + lightbox ---------- */
.gallery { display: grid; gap: clamp(0.75rem, 1.6vw, 1.25rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gallery__item {
  position: relative; border: 0; padding: 0; background: var(--grey-100); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: block; width: 100%;
}
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem 0.85rem; text-align: left;
  background: linear-gradient(to top, rgba(11, 20, 40, 0.88), transparent);
  color: #fff; font-family: var(--display); font-weight: 600; font-size: 0.95rem;
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center;
  background: rgba(8, 14, 28, 0.92); padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 10px; object-fit: contain; }
.lightbox__cap { color: #dbe3f0; text-align: center; margin-top: 1rem; font-size: 0.95rem; }
.lightbox__close {
  position: absolute; top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem);
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--navy);
  cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }

/* ---------- 15. FAQ accordion ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__item[data-open="true"] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--navy); line-height: 1.35;
}
.faq__q::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 26px; height: 26px;
  transform: translateY(-50%); border-radius: 50%; background: var(--navy-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162648' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s ease, background-color 0.2s;
}
.faq__item[data-open="true"] .faq__q::after { transform: translateY(-50%) rotate(180deg); background-color: var(--orange-050); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- 16. Contact / form / map ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; margin: 0; }
.info-list .ico { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--orange-050); color: var(--orange-700); display: grid; place-items: center; }
.info-list .ico svg { width: 19px; height: 19px; }
.info-list .k { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.info-list .v { display: block; color: var(--navy); font-weight: 600; line-height: 1.5; }
.info-list a.v:hover { color: var(--orange-700); }

.form-note {
  background: var(--orange-050); border-left: 4px solid var(--orange);
  padding: 0.9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem; color: #6b3d10; margin-bottom: 1.5rem;
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.86rem; color: var(--navy); margin-bottom: 0.35rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid var(--grey-200); border-radius: 8px; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); outline: none; box-shadow: var(--ring); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field--check { display: flex; align-items: flex-start; }
.check-label {
  display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 400 !important;
  font-size: 0.88rem !important; color: var(--ink-soft); cursor: pointer; margin-bottom: 0 !important;
}
.check-label input[type="checkbox"] { width: auto; flex: 0 0 auto; margin-top: 0.2rem; accent-color: var(--orange); }
.field input.is-error, .field select.is-error { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14); }
.form-msg--error {
  display: flex; align-items: flex-start; gap: 0.5rem;
  background: #fdecea; border-left: 3px solid #c0392b;
  padding: 0.7rem 0.85rem; border-radius: 0 6px 6px 0;
  color: #8e2c21 !important; font-weight: 500;
}
.form-msg--error svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--grey-200); }
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 42vw, 440px); border: 0; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--grey-200); }
.hours-table th { font-family: var(--display); font-weight: 700; color: var(--navy); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* ---------- 17. Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero::after {
  content: ""; position: absolute; inset: 0 auto 0 auto; right: -8%; width: 42%;
  background: var(--orange); opacity: 0.14; transform: skewX(-14deg);
}
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; position: relative; }
.page-hero p { color: #c6d0e3; max-width: 62ch; position: relative; }
.crumbs { position: relative; font-size: 0.82rem; color: #9fadc7; margin-bottom: 0.85rem; letter-spacing: 0.05em; }
.crumbs a { color: #cfd8e8; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c4d8; padding-block: clamp(2.75rem, 5vw, 4rem) 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.75rem); }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #b9c4d8; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 46px; height: 46px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-brand strong { color: #fff; font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 1.05rem; line-height: 1.2; display: block; }
.footer-brand span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links li { margin: 0; }
.footer-nap address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: #8f9db8;
}
.disclaimer {
  background: rgba(255, 255, 255, 0.05); border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem; font-size: 0.85rem; color: #a8b4cb; margin-top: 1.25rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .site-footer { padding-bottom: 7.5rem; }
  .disclaimer { padding-right: 4.75rem; }
  .hours-table th, .hours-table td { padding: 0.5rem 0.35rem; }
}

/* ---------- 19. Floating action buttons ---------- */
.fab-stack {
  position: fixed; right: clamp(0.75rem, 2vw, 1.25rem); bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 150; display: grid; gap: 0.65rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 8px 22px rgba(8, 14, 28, 0.32); text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fab svg { width: 25px; height: 25px; fill: currentColor; }
.fab--call { background: var(--navy); }
.fab--call::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 38, 72, 0.5); animation: pulse 2.4s infinite;
}
.fab--wa { background: #25d366; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(22, 38, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 38, 72, 0); } }
@media (prefers-reduced-motion: reduce) { .fab--call::after { animation: none; } }
.fab { position: relative; }
/* keep footer content clear of the FABs */
.site-footer .footer-bottom { padding-right: 80px; }

/* ---------- 20. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 21. Misc ---------- */
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill-list li { margin: 0; }
.pill {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--navy-050); color: var(--navy); font-size: 0.88rem; font-weight: 600;
  border: 1px solid var(--navy-100);
}
.pill--orange { background: var(--orange-050); color: #8a4206; border-color: rgba(240, 126, 38, 0.3); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--grey-200); display: grid; gap: 1.5rem; }
.timeline li { position: relative; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.5rem - 7px); top: 6px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--orange); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline h4 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.timeline p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

.award-badge {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.35rem;
  background: linear-gradient(135deg, var(--orange-050), #fff);
  border: 1px solid rgba(240, 126, 38, 0.35); border-radius: var(--radius);
}
.award-badge .ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.award-badge .ico svg { width: 24px; height: 24px; }
.award-badge strong { display: block; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.award-badge span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .header-row { grid-template-columns: 1fr auto; row-gap: 0.9rem; }
  .header-contacts { grid-column: 1 / -1; order: 3; flex-wrap: wrap; }
  .header-cta { order: 4; }
}
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .split__media--frame::before { display: none; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .navbar__inner { flex-wrap: wrap; padding-block: 0.6rem; }
  .navbar__inner nav { width: 100%; order: 3; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    border-top: 1px solid var(--grey-200); margin-top: 0.6rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--grey-100); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--orange); }
  .nav-social { order: -1; }
}
@media (max-width: 680px) {
  .header-row { grid-template-columns: 1fr; text-align: left; }
  .header-cta { grid-column: 1; }
  .header-cta .btn { width: 100%; }
  .brand__mark { width: 46px; height: 46px; }
  .hero__points li { font-size: 0.95rem; }
  .brand__cred { font-size: 0.72rem; }
  .fab { width: 44px; height: 44px; }
  .fab svg { width: 21px; height: 21px; }
  .fab-stack { gap: 0.5rem; }
  /* keep above-the-fold hero text clear of the floating buttons */
  .hero__content { padding-right: 3.25rem; }
}
@media (min-width: 1600px) {
  :root { --wrap: 1360px; }
}

/* ---------- 20. Google reviews marquee ---------- */
.reviews { overflow: hidden; }
.reviews__summary { margin: -0.5rem 0 2rem; }
.reviews__badge {
  display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin: 0 auto; padding: 0.7rem 1.35rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(22, 38, 72, 0.07);
}
.reviews__summary .container { display: flex; justify-content: center; }
.reviews__g { display: inline-flex; width: 22px; height: 22px; }
.reviews__g svg { width: 100%; height: 100%; }
.reviews__score { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--navy); line-height: 1; }
.reviews__stars { display: inline-flex; gap: 2px; color: #F5A623; }
.reviews__stars svg { width: 17px; height: 17px; }
.reviews__count { font-size: 0.9rem; color: var(--muted); }

.reviews__viewport {
  position: relative; overflow: hidden; padding: 0.5rem 0 0.75rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.reviews__track { display: flex; gap: 1.25rem; width: max-content; animation: reviews-scroll 80s linear infinite; }
.reviews__viewport:hover .reviews__track,
.reviews__viewport:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reviews__loading { padding: 2rem 1.5rem; color: var(--muted); }

.review-card {
  flex: 0 0 auto; width: min(380px, 82vw); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.35rem; box-shadow: 0 8px 26px rgba(22, 38, 72, 0.06);
}
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; }
.review-card__g { display: inline-flex; width: 20px; height: 20px; flex: 0 0 auto; }
.review-card__g svg { width: 100%; height: 100%; }
.review-card__stars { display: inline-flex; gap: 2px; color: #F5A623; }
.review-card__stars svg { width: 15px; height: 15px; }
.review-card__when { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.review-card__text { margin: 0 0 1.1rem; font-size: 0.95rem; line-height: 1.65; color: var(--ink); }
.review-card__foot { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.review-card__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.review-card__name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.review-card__guide { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.review-card__quote { margin-left: auto; width: 26px; height: 26px; color: rgba(240, 126, 38, 0.28); }
.review-card__quote svg { width: 100%; height: 100%; }

.reviews__foot { text-align: center; margin: 1.5rem 0 0; }
.reviews__attrib { text-align: center; margin: 1rem auto 0; max-width: 62ch; font-size: 0.8rem; line-height: 1.6; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 720px) {
  .reviews__track { animation-duration: 60s; }
  .review-card { padding: 1.25rem 1.3rem 1.1rem; }
  /* keep the CTA and attribution clear of the floating call/WhatsApp buttons */
  .reviews__foot, .reviews__attrib { padding-right: 3.25rem; }
  /* keep expertise card text clear of FABs on the right edge */
  #expertise .grid { padding-right: 0.5rem; }
  #expertise .card--compact p { padding-right: 0.5rem; }
}
