/* ============================================================================
   KONASEEMA CARE HOSPITAL — AMALAPURAM
   Design system & site styles
   ----------------------------------------------------------------------------
   ELEMENTOR / WORDPRESS MAPPING
   Global colours  : --navy, --blue, --teal, --bg-warm, --bg-clin, --ink,
                     --muted, --line, --alert  (Elementor Site Settings > Colours)
   Global fonts    : --font-display  = Newsreader  (H1–H3, quotes, numerals)
                     --font-ui       = Manrope     (body, nav, buttons, forms)
   Buttons         : .btn / .btn--primary / .btn--outline / .btn--alert  (Global)
   Spacing         : --section-y rhythm = 72–120px  (Elementor spacing presets)
   Sections        : each <section> = one Elementor container (boxed, 1200px)
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* colour */
  --navy:        #0C2D48;
  --navy-deep:   #08243D;
  --navy-soft:   #123E5F;
  --blue:        #1B5E9B;
  --blue-soft:   #E9F1F8;
  --teal:        #0E7C6B;
  --teal-bright: #2AA79B;
  --alert:       #B42318;
  --alert-soft:  #FCEFED;
  --bg-warm:     #FBFAF7;
  --bg-clin:     #F3F7FA;
  --white:       #FFFFFF;
  --ink:         #10222F;
  --ink-soft:    #33485A;
  --muted:       #5A6B7B;
  --line:        #E2E8ED;
  --line-dark:   rgba(255, 255, 255, .14);
  --star:        #E9A23B;

  /* type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-h1: clamp(2.5rem, 5.2vw, 4.1rem);
  --fs-h2: clamp(1.95rem, 3.4vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.7vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.15vw, 1.19rem);

  /* space & shape */
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --gutter: 1.5rem;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(8, 36, 61, .06), 0 6px 18px -12px rgba(8, 36, 61, .35);
  --shadow-md: 0 2px 6px rgba(8, 36, 61, .05), 0 22px 48px -28px rgba(8, 36, 61, .5);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  line-height: 1.1;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------- eyebrow -- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}
.eyebrow--light { color: #8FBBE6; }
.eyebrow--alert { color: var(--alert); }
.eyebrow--alert::before { display: none; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
}

.note {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
}

.ph {
  color: var(--muted);
  border-bottom: 1px dashed #B9C6D1;
  padding-bottom: 1px;
}
.ph--light { color: rgba(255, 255, 255, .6); border-bottom-color: rgba(255, 255, 255, .35); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  height: 48px;
  padding: 0 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 1.7; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { height: 54px; padding: 0 2.1rem; font-size: .82rem; }
.btn--sm { height: 42px; padding: 0 1.25rem; font-size: .74rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-md); }

.btn--alert { background: var(--alert); color: #fff; box-shadow: var(--shadow-sm); }
.btn--alert:hover { background: #93180F; box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: #C7D2DC;
}
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-soft); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: .35rem;
  border-bottom: 1px solid #C7D2DC;
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow .icon { width: 1em; height: 1em; }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); gap: .95rem; }

/* ------------------------------------------------------------------ stars -- */
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 14px; height: 14px; fill: var(--star); stroke: none; }
.stars--lg svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------- top bar -- */
.topbar {
  background: var(--navy);
  color: #C6D6E4;
  font-size: .79rem;
  line-height: 1.4;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: .45rem;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
}
.topbar__item .icon { width: 15px; height: 15px; color: var(--teal-bright); }
.topbar__item strong { color: #fff; font-weight: 700; }
.topbar__item--rating .stars svg { width: 13px; height: 13px; }
.topbar__right { display: flex; align-items: center; gap: 1.3rem; }
.topbar__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .22); }

/* --------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(8, 36, 61, .8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 82px;
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .header__inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__mark svg { width: 42px; height: 42px; display: block; transition: width .35s var(--ease), height .35s var(--ease); }
.site-header.is-scrolled .brand__mark svg { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .25rem;
}
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: #8FADD0; }

.nav__list { display: flex; align-items: center; gap: .2rem; }
.nav__link {
  display: block;
  padding: .6rem .82rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }
.nav__link.is-active { color: var(--navy); font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: .7rem; }
.header__call-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.header__call-text em {
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .16em;
  opacity: .8;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 0;
  position: relative;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.6px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 21.5px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------- mobile menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--white);
  padding: 104px var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
}
.mobile-menu__nav a:hover { color: var(--blue); }
.mobile-menu__actions { display: grid; gap: .75rem; margin-top: 2rem; }
.mobile-menu__meta {
  margin-top: 1.6rem;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ hero -- */
.hero {
  background: var(--bg-warm);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  top: -18vw;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border: 1px solid #E7E2D9;
  border-radius: 50%;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__title { margin-bottom: .45em; }
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.trust-strip {
  display: flex;
  margin: 2.9rem 0 0;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.trust-strip__item { padding-inline: 1.7rem; }
.trust-strip__item:first-child { padding-left: 0; }
.trust-strip__item + .trust-strip__item { border-left: 1px solid var(--line); }
.trust-strip dt {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.trust-strip dt span { font-size: 1.1rem; color: var(--muted); }
.trust-strip dd {
  margin: .45rem 0 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media { position: relative; isolation: isolate; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid #E1DCD2;
  border-radius: calc(var(--r-lg) + 8px);
  z-index: -1;
}
.hero__frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.35;
  background: var(--blue-soft);
  box-shadow: var(--shadow-md);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .85rem 1.15rem;
  box-shadow: var(--shadow-md);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}
.hero__badge strong {
  display: block;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
}
.hero__badge .dot,
.hours__badge .dot,
.footer__hours .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex: none;
  box-shadow: 0 0 0 4px rgba(42, 167, 155, .18);
  animation: pulse 2.4s infinite;
}
.hero__place {
  position: absolute;
  top: 20px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .55rem 1.05rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero__place .icon { color: var(--blue); width: 15px; height: 15px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(42, 167, 155, .18); }
  50%      { box-shadow: 0 0 0 7px rgba(42, 167, 155, .08); }
}

/* -------------------------------------------------------- quick actions -- */
.quick { background: var(--white); border-block: 1px solid var(--line); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick__item + .quick__item { border-left: 1px solid var(--line); }
.quick__item a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.7rem 1.4rem;
  height: 100%;
  color: inherit;
  transition: background-color .3s var(--ease);
}
.quick__item a:hover { background: var(--bg-clin); }
.quick__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.quick__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.quick__item a:hover .quick__icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.quick__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.quick__title { font-size: .98rem; font-weight: 700; color: var(--navy); }
.quick__sub { font-size: .8rem; color: var(--muted); }
.quick__arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  fill: none;
  stroke: #B7C4CF;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease), stroke .3s var(--ease);
}
.quick__item a:hover .quick__arrow { transform: translateX(4px); stroke: var(--blue); }

/* ------------------------------------------------------------- emergency -- */
.emergency { background: var(--bg-clin); padding-block: clamp(3rem, 5vw, 4.5rem); }
.emergency__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--alert);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-sm);
}
.emergency__text { max-width: 42rem; }
.emergency__text h2 { margin-bottom: .4em; }
.emergency__text p { color: var(--ink-soft); margin: 0; }
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--alert);
  animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
  50%      { box-shadow: 0 0 0 8px rgba(180, 35, 24, .05); }
}
.emergency__action { display: flex; flex-direction: column; align-items: center; gap: .9rem; flex: none; }
.emergency__note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
}
.emergency__note .icon { width: 15px; height: 15px; color: var(--teal); }

/* ----------------------------------------------------------------- about -- */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { margin: 0; position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.about__caption {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: min(280px, 78%);
  background: var(--navy);
  color: #C6D6E4;
  border-radius: var(--r-md);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.about__caption-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
}
.about__caption-num em { font-style: normal; color: var(--teal-bright); font-size: 1.5rem; }
.about__caption-text { font-size: .82rem; line-height: 1.55; }

.about__content h2 { margin-bottom: .5em; }
.about__content p { color: var(--ink-soft); }
.about__content .lead { color: var(--ink-soft); }

.about__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1.5rem;
  margin: 1.9rem 0 2.1rem;
}
.about__points li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .94rem;
  font-weight: 600;
  color: var(--navy);
}
.about__points .icon { color: var(--teal); stroke-width: 2; width: 17px; height: 17px; }

/* -------------------------------------------------------------- services -- */
.services { background: var(--bg-warm); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: .45em; }
.section-head__text { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .section-head__text { padding-bottom: .4rem; }

.service-groups { border-top: 1px solid var(--line); }
.service-group {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.service-group__head { position: sticky; top: 110px; align-self: start; }
.service-group__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  line-height: 1;
  color: #A8BECE;
  margin-bottom: .55rem;
}
.service-group__head h3 { margin-bottom: .45em; }
.service-group__head p { font-size: .93rem; color: var(--muted); margin: 0; max-width: 26rem; }

.service-list { border-top: 1px solid var(--line); }
.service-list li + li { border-top: 1px solid var(--line); }
.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .3s var(--ease), padding-left .3s var(--ease), color .3s var(--ease);
}
.service-list a .icon {
  width: 17px;
  height: 17px;
  color: #B7C4CF;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.service-list a:hover {
  background: #fff;
  padding-left: 1.5rem;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.service-list a:hover .icon { opacity: 1; transform: none; color: var(--blue); }

/* -------------------------------------------------------------- featured -- */
.featured { background: var(--white); }
.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.featured__media { position: relative; }
.featured__media img {
  width: 100%;
  aspect-ratio: 3 / 3.7;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.featured__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, .95);
  border-radius: var(--r-pill);
  padding: .55rem 1.1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
}
.featured__content {
  background: var(--bg-clin);
  border: 1px solid #E4ECF3;
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
}
.featured__content .lead { margin-bottom: 1rem; }
.featured__content > p { color: var(--ink-soft); }

.featured__list { margin: 1.8rem 0 2.2rem; border-top: 1px solid #D9E3EC; }
.featured__list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 0;
  border-bottom: 1px solid #D9E3EC;
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
}
.featured__list li::before {
  content: "+";
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}
.featured__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

/* ------------------------------------------------------------------ why --- */
.why { background: var(--navy); color: #C6D6E4; }
.why h2, .why h3 { color: #fff; }
.why .section-head__text { color: #9FB6CB; }
.why__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
}
.why__item {
  display: flex;
  gap: 1.3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.why__num {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--teal-bright);
  padding-top: .35rem;
  flex: none;
}
.why__body h3 { font-size: 1.28rem; margin-bottom: .35em; }
.why__body p { font-size: .94rem; color: #9FB6CB; margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------- reviews -- */
.reviews { background: var(--white); }
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.score {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.6rem 0 2rem;
}
.score__value {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7vw, 6rem);
  line-height: .9;
  color: var(--navy);
}
.score__meta p { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.score__meta strong { color: var(--navy); }
.reviews__score .note { margin-top: 1.3rem; max-width: 26rem; }

.reviews__quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.quote {
  margin: 0;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: .7;
  color: #BBD3E7;
  margin-bottom: .8rem;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.6rem;
}
.quote__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .78rem;
  color: var(--muted);
}
.pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: var(--r-pill);
  padding: .3rem .75rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------- gallery -- */
.gallery { background: var(--bg-warm); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 205px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: zoom-in;
  background: var(--blue-soft);
}
.gallery__item--lg { grid-column: span 7; grid-row: span 2; border-radius: var(--r-lg); }
.gallery__item--md { grid-column: span 5; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 3rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(6, 24, 40, .82), rgba(6, 24, 40, 0));
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }

/* -------------------------------------------------------------- location -- */
.location { background: var(--white); }
.location__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.address {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 1.4rem 0 1.6rem;
}
.address__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .3rem;
}
.hours { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.hours__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .55rem 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-warm);
}
.hours__text { font-size: .85rem; color: var(--muted); }
.location__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.5rem; }
.ph-line { font-size: .88rem; color: var(--muted); margin: 0; }
.ph-line .ph { margin-left: .4rem; }

.location__map {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-clin);
}
.location__map iframe {
  display: block;
  width: 100%;
  height: clamp(340px, 42vw, 460px);
  border: 0;
  filter: saturate(.92);
}

/* --------------------------------------------------------------- contact -- */
.contact { background: var(--bg-clin); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__info .lead { margin-bottom: 2rem; }
.contact__details li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #DCE5EC;
  font-size: .95rem;
  color: var(--ink-soft);
}
.contact__details li:last-child { border-bottom: 1px solid #DCE5EC; }
.contact__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .25rem;
}
.contact__safety {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-top: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--muted);
}
.contact__safety .icon { color: var(--blue); width: 20px; height: 20px; margin-top: .15rem; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.7rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { margin-bottom: 1.2rem; position: relative; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .55rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-warm);
  border: 1px solid #D6DFE7;
  border-radius: 12px;
  padding: .9rem 1.1rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 94, 155, .13);
}
.field input::placeholder, .field textarea::placeholder { color: #97A6B3; }

.field__select { position: relative; }
.field__select select { padding-right: 2.8rem; cursor: pointer; }
.field__select .icon {
  position: absolute;
  right: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.field__error {
  display: none;
  font-size: .79rem;
  color: var(--alert);
  margin-top: .4rem;
}
.field.is-invalid .field__error { display: block; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--alert); }

.form__note { font-size: .83rem; color: var(--muted); margin-top: 1.1rem; }
.form__success {
  margin-top: 1.1rem;
  background: #E9F6F3;
  border: 1px solid #B9E1D9;
  color: #0B6154;
  border-radius: 12px;
  padding: .95rem 1.15rem;
  font-size: .92rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--navy-deep);
  color: #AFC4D7;
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer__about { font-size: .94rem; line-height: 1.75; margin: 1.4rem 0 1.2rem; max-width: 40ch; }
.footer__hours {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  padding: .5rem 1.05rem;
  margin: 0;
}
.footer__heading {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7FA7CC;
  margin: 0 0 1.2rem;
}
.footer__col ul li a {
  display: block;
  padding: .42rem 0;
  font-size: .94rem;
  color: #C6D6E4;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__col ul li a:hover { color: #fff; transform: translateX(4px); }
.footer__address { font-size: .94rem; line-height: 1.85; color: #C6D6E4; }
.footer__contact { font-size: .9rem; margin: .9rem 0 0; }
.footer__col .btn { margin-top: 1.3rem; }

.footer__emergency {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__emergency .eyebrow { margin-bottom: .6rem; }
.footer__emergency-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #8AA3BC;
}
.footer__bottom p { margin: 0; }
.footer__fine { font-size: .76rem; color: #6E88A4; }

/* -------------------------------------------------------- action bar ------ */
.action-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 65;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(8, 36, 61, .6);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .7rem 0 .65rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.action-bar a + a { border-left: 1px solid var(--line); }
.action-bar .icon { width: 21px; height: 21px; stroke-width: 1.6; }
.action-bar__alert { color: var(--alert) !important; }

/* -------------------------------------------------------------- lightbox -- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 20, 34, .94);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.lightbox__figure img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--r-md);
  object-fit: contain;
}
.lightbox__figure figcaption {
  text-align: center;
  color: #C6D6E4;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lightbox__btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------- reveals -- */
/* Scoped to .js so content is never hidden when JavaScript is unavailable. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================== responsive === */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .topbar { display: none; }
  .header__inner { height: 72px; }
  .site-header.is-scrolled .header__inner { height: 64px; }
  .service-group__head { position: static; }
}

@media (max-width: 940px) {
  .hero__grid,
  .about__grid,
  .featured__grid,
  .location__grid,
  .contact__grid,
  .reviews__grid,
  .section-head--split { grid-template-columns: minmax(0, 1fr); }

  .hero { padding-top: 2.5rem; }
  .hero__media { max-width: 620px; }
  .hero__media::before { inset: -12px; }
  .hero__badge { left: 14px; bottom: 14px; }
  .hero__place { right: 14px; top: 14px; }
  .hero__grid { gap: 2.6rem; }

  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick__item:nth-child(odd) { border-left: 0; }
  .quick__item:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .emergency__panel { flex-direction: column; align-items: flex-start; }
  .emergency__action { align-items: flex-start; }

  .about__caption { right: 16px; bottom: -20px; }
  .about__grid { gap: 3.5rem; }

  .service-group { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }

  .featured__media { max-width: 520px; }
  .featured__media img { aspect-ratio: 4 / 4.4; }

  .why__list { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { gap: 1.2rem; align-items: start; }

  .gallery__grid { grid-auto-rows: 190px; }
  .gallery__item--lg { grid-column: span 12; grid-row: span 2; }
  .gallery__item--md { grid-column: span 6; }
  .gallery__item { grid-column: span 6; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .mobile-menu { padding-top: 92px; }
}

@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }

  .header__call { padding-inline: .95rem; }
  .brand__mark svg { width: 36px; height: 36px; }
  .brand__name { font-size: 1.2rem; }

  .hero__frame { aspect-ratio: 4 / 3.6; }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust-strip { flex-wrap: wrap; gap: 1rem 0; }
  .trust-strip__item { flex: 1 1 33%; padding-inline: 1rem; }
  .trust-strip__item:first-child { padding-left: 0; }
  .trust-strip dt { font-size: 1.5rem; }

  .quick__item a { padding: 1.3rem 1rem; gap: .8rem; }
  .quick__icon { width: 40px; height: 40px; }
  .quick__title { font-size: .92rem; }
  .quick__sub { font-size: .75rem; }
  .quick__arrow { display: none; }

  .about__points { grid-template-columns: minmax(0, 1fr); }
  .about__caption { position: static; width: auto; margin-top: 1rem; border-radius: var(--r-md); }

  .reviews__quotes { grid-template-columns: minmax(0, 1fr); }
  .score { gap: 1rem; }

  .gallery__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .gallery__item,
  .gallery__item--lg,
  .gallery__item--md { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery__item--lg { aspect-ratio: 4 / 3.2; }
  .gallery__item figcaption { opacity: 1; transform: none; padding-top: 2.4rem; }

  .location__actions .btn,
  .featured__actions .btn { flex: 1 1 100%; }

  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form { padding: 1.5rem 1.25rem; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__brand { grid-column: auto; }
  .footer__emergency { flex-direction: column; align-items: flex-start; }
  .footer__emergency .btn { width: 100%; }
  .footer__bottom { flex-direction: column; gap: .5rem; }

  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.2rem; transform: none; }
  .lightbox__prev { left: 1.2rem; }
  .lightbox__next { right: 1.2rem; }
}

@media (max-width: 400px) {
  .brand__sub { display: none; }
  .quick__grid { grid-template-columns: minmax(0, 1fr); }
  .quick__item { border-left: 0 !important; border-top: 1px solid var(--line); }
  .quick__item:first-child { border-top: 0; }
}

/* ------------------------------------------------------- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal],
  .js [data-reveal] { opacity: 1; transform: none; }
}
