/* =========================================================
   Dr. Vijesh C — Orthopaedic & Rheumatology
   ========================================================= */
:root {
  --navy: #0b3b4f;
  --navy-deep: #072a39;
  --teal: #147a82;
  --teal-soft: #e3f1f1;
  --sand: #f6f1ea;
  --accent: #e6b980;
  --accent-deep: #c9924f;
  --ink: #16242c;
  --muted: #5a6b73;
  --line: #e3e8ea;
  --white: #ffffff;
  --wa: #1fa855;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(7, 42, 57, .35);
  --shadow-sm: 0 6px 20px -10px rgba(7, 42, 57, .25);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
:where(img) { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent); }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.015em; color: var(--navy);
}
.section-sub { color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 17px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { justify-content: center; }
.section-head--light .section-title { color: var(--white); }
.lead { font-size: 19px; color: var(--ink); }
.subhead { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin: 32px 0 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .tabs__tab:focus-visible, .nav__link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--teal); box-shadow: var(--shadow-sm); }
.btn--accent { background: var(--accent); color: var(--navy-deep); }
.btn--accent:hover { background: #f0c993; box-shadow: 0 12px 30px -12px rgba(230, 185, 128, .8); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--whatsapp { background: var(--wa); color: var(--white); }
.btn--whatsapp:hover { background: #1b964b; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--navy-deep);
  font: 600 17px/1 var(--serif); letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--serif); font-weight: 600; font-size: 19px; }
.brand__text small { font-size: 12px; opacity: .8; letter-spacing: .04em; }
.header.is-scrolled .brand { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.88); text-decoration: none; border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--muted); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--navy); }
.nav__cta { margin-left: 12px; }
.header:not(.is-scrolled) .nav__cta { background: var(--accent); color: var(--navy-deep); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.is-scrolled .menu-toggle span, .header.menu-open .menu-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 0;
  background: var(--navy-deep);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(20,122,130,.55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(230,185,128,.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6.4vw, 80px);
  letter-spacing: -.025em; line-height: 1.04; margin-bottom: 20px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__tags { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13.5px; color: rgba(255,255,255,.75); }
.hero__tags i { color: var(--accent); font-style: normal; margin: 0 6px; }
.hero__lead { font-size: 18.5px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.doctor-card {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform: rotate(1.2deg);
}
.doctor-card__photo { aspect-ratio: 4 / 3.3; background: linear-gradient(160deg, var(--teal-soft), #cfe5e6); position: relative; }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__placeholder { position: absolute; inset: 0; display: grid; place-items: end center; }
.doctor-card__placeholder svg { width: 62%; color: var(--teal); stroke-width: 2.2; opacity: .45; }
.doctor-card__body { padding: 24px 26px 26px; }
.doctor-card__body h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--navy); }
.doctor-card__role { color: var(--muted); font-size: 14.5px; margin: 6px 0 14px; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.doctor-card__loc { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); }
.doctor-card__loc svg { width: 18px; height: 18px; color: var(--accent-deep); }

.hero__strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 72px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__strip li { padding: 26px 24px 30px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__strip li:first-child { border-left: 0; padding-left: 0; }
.hero__strip strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 20px; }
.hero__strip span { font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__visual { position: relative; }
.about__frame {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, var(--sand), #ece3d6);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { height: 100%; display: grid; place-items: center; }
.about__placeholder svg { width: 55%; color: var(--accent-deep); stroke-width: 2.5; opacity: .5; }
.about__badge {
  position: absolute; right: -18px; bottom: 36px; background: var(--navy); color: var(--white);
  padding: 20px 26px; border-radius: 16px; box-shadow: var(--shadow); text-align: center;
}
.about__badge-k { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--accent); }
.about__badge-v { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.about__content p { color: var(--muted); }
.about__content .lead { color: var(--ink); }
.quals { display: grid; gap: 10px; }
.quals li {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--navy);
  transition: border-color .2s, background .2s;
}
.quals li:hover { border-color: var(--teal); background: var(--teal-soft); }
.quals__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--white); }
.quals__icon svg { width: 15px; height: 15px; stroke-width: 2.6; }

/* ---------- Specialities ---------- */
.specialities { background: var(--sand); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec-card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 30px 30px;
  border: 1px solid transparent; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  display: flex; flex-direction: column;
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(20,122,130,.25); }
.spec-card__num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 15px; color: var(--accent-deep); }
.spec-card__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 22px; transition: background .3s, color .3s;
}
.spec-card__icon svg { width: 34px; height: 34px; stroke-width: 2.2; }
.spec-card:hover .spec-card__icon { background: var(--navy); color: var(--accent); }
.spec-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.spec-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.spec-card__link { font-weight: 600; font-size: 14.5px; color: var(--teal); text-decoration: none; }
.spec-card__link:hover { color: var(--navy); }

/* ---------- Treatments tabs ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.tabs__list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.tabs__tab {
  text-align: left; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); font: 600 15.5px/1.3 var(--sans); color: var(--muted); cursor: pointer;
  transition: all .2s ease;
}
.tabs__tab:hover { color: var(--navy); border-color: var(--teal); }
.tabs__tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow-sm); }
.tabs__panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px;
  padding: clamp(28px, 4vw, 48px); border-radius: 22px;
  background: linear-gradient(150deg, var(--teal-soft), #f4f9f9 60%); border: 1px solid #d6e9ea;
  animation: fadeUp .45s ease;
}
.tabs__panel[hidden] { display: none; }
.panel__media {
  grid-column: 1 / -1; margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 16 / 6; border-radius: 16px;
  background:
    radial-gradient(circle at 80% 20%, rgba(230,185,128,.18), transparent 50%),
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--navy-deep), var(--teal));
  box-shadow: 0 16px 40px -24px rgba(7,42,57,.6);
}
.panel__media svg { width: 100%; height: 100%; display: block; padding: 8px 0; }
.panel__media img { width: 100%; height: auto; display: block; }
.panel__media--photo, .tabs__panel .panel__media--photo { aspect-ratio: auto; background: var(--white); }
.ill-bone { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.92); stroke-width: 1.8; }
.ill-thick { stroke: rgba(255,255,255,.85); stroke-width: 9; }
.ill-accent { fill: var(--accent); stroke: none; }
.ill-insert { fill: rgba(255,255,255,.85); stroke: none; }
.ill-implant { stroke: var(--accent); stroke-width: 7; }
.ill-accent-line { stroke: var(--accent); stroke-width: 5; }
.ill-accent-line--wide { stroke-width: 7; opacity: .9; }
.ill-accent-line--thin { stroke-width: 2.2; }
.ill-glow { fill: rgba(230,185,128,.3); stroke: none; }
.ill-glow-soft { fill: rgba(230,185,128,.14); stroke: none; }
.ill-scope { stroke: #fff; stroke-width: 5; }
.ill-scope--thin { stroke-width: 3; opacity: .7; }
.ill-screw circle { fill: var(--navy-deep); stroke: none; }
.ill-lead { stroke: rgba(255,255,255,.45); stroke-width: 1; }
.ill-dot { fill: #fff; stroke: none; }
.ill-text { fill: rgba(255,255,255,.85); stroke: none; font: 700 8.5px var(--sans); letter-spacing: .12em; }
.panel__intro h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin-bottom: 14px; }
.panel__intro p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.panel__list h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li {
  position: relative; padding: 14px 18px 14px 50px; background: var(--white); border-radius: 12px;
  font-weight: 600; color: var(--navy); box-shadow: 0 1px 0 rgba(7,42,57,.04);
}
.ticks li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072a39' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Why ---------- */
.why { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,122,130,.5), transparent 65%);
}
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  padding: 32px 26px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); transition: background .3s, transform .3s;
}
.why-item:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.why-item__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--navy-deep); margin-bottom: 22px; }
.why-item__icon svg { width: 26px; height: 26px; stroke-width: 2; }
.why-item h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 10px; }
.why-item p { color: rgba(255,255,255,.72); font-size: 15.5px; margin: 0; }

/* ---------- Header phone ---------- */
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 10px;
  font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--white);
}
.nav__phone[hidden] { display: none; }
.nav__phone svg { width: 17px; height: 17px; color: var(--accent); }
.header.is-scrolled .nav__phone { color: var(--navy); }
.header.is-scrolled .nav__phone svg { color: var(--teal); }

/* ---------- Reviews ---------- */
.reviews { background: var(--sand); overflow: hidden; }
.reviews .section-head { margin-bottom: 44px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 20px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm);
}
.rating-badge[hidden] { display: none; }
.rating-badge__g, .review__g {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 700 14px/1 Arial, sans-serif; color: #4285f4; border: 1.5px solid #e4e7ea;
}
.rating-badge__score { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.rating-badge__count { font-size: 14px; color: var(--muted); }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 16px; }

.marquee {
  display: grid; gap: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex; gap: 22px; width: max-content; padding: 6px 0 14px;
  animation: marquee var(--duration, 50s) linear infinite;
}
.marquee__row--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }

.review {
  flex: none; width: 360px; margin: 0; padding: 24px 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(7,42,57,.4);
  display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__top { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--accent); font: 600 18px/1 var(--serif);
}
.review figcaption { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.review figcaption strong { color: var(--navy); font-size: 15.5px; }
.review figcaption span { color: var(--muted); font-size: 13px; }
.review blockquote {
  margin: 0; color: var(--ink); font-size: 15px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.reviews__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow-x: auto; }
  .marquee__track { animation: none; }
}
@media (max-width: 640px) { .review { width: 290px; } }

/* ---------- Hospital ---------- */
.hospital__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.info-list { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.info-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.hospital__map { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; background: var(--teal-soft); }
.hospital__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Appointment ---------- */
.appointment { padding-top: 0; }
.appt {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: 28px; color: var(--white);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(230,185,128,.25), transparent 60%),
    linear-gradient(135deg, var(--teal), var(--navy) 70%);
  box-shadow: var(--shadow);
}
.appt__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 16px; letter-spacing: -.01em; }
.appt__content p { color: rgba(255,255,255,.82); font-size: 17px; }
.appt__card { margin: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 10px 26px; backdrop-filter: blur(6px); }
.appt__card div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.appt__card div:last-child { border-bottom: 0; }
.appt__card dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.appt__card dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: box-shadow .3s, transform .3s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--accent-deep); margin-bottom: 18px; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 15px; margin: 0; }
.contact-card p a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card p a:hover { color: var(--teal); }
.contact-card__link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--teal); text-decoration: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--white); margin-bottom: 18px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__quals { font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer__list { display: grid; gap: 8px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__motto { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent); margin-top: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom p { margin: 0; }
.footer__note { color: rgba(255,255,255,.45); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(31,168,85,.7); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; stroke-width: 1.9; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.doctor-card.reveal.is-visible { transform: rotate(1.2deg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tabs__panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--white); transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
  }
  .header.menu-open .nav { transform: none; visibility: visible; transition: transform .35s ease; }
  .header.menu-open .brand { color: var(--navy); position: relative; z-index: 60; }
  .nav__link, .nav__link:hover, .nav__link.is-active,
  .header.is-scrolled .nav__link { color: var(--navy); font-size: 22px; font-family: var(--serif); padding: 10px 20px; }
  .nav__cta { margin: 18px 0 0; }
  .nav__phone, .header.is-scrolled .nav__phone { color: var(--navy); margin: 10px 0 0; font-size: 18px; }
  .header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__inner, .about__grid, .hospital__grid, .appt { grid-template-columns: 1fr; }
  .doctor-card { max-width: 440px; transform: none; }
  .doctor-card.reveal.is-visible { transform: none; }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__strip li { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__strip li:nth-child(-n+2) { border-top: 0; }
  .about__visual { max-width: 460px; }
  .about__badge { right: 16px; }
  .tabs { grid-template-columns: 1fr; }
  .tabs__list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { white-space: nowrap; flex: none; }
  .tabs__panel { grid-template-columns: 1fr; gap: 24px; }
  .panel__media { aspect-ratio: 16 / 8; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .spec-grid, .why-grid, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__actions .btn, .btn-row .btn { flex: 1 1 100%; }
  .hero__strip li { padding: 20px 14px 22px; }
  .hero__strip strong { font-size: 17px; }
  .info-list div { grid-template-columns: 1fr; gap: 4px; }
  .brand__text small { display: none; }
}

/* =========================================================
   Treatment detail pages (e.g. joint-replacement.html)
   ========================================================= */
.section--sand { background: var(--sand); }
.page-hero { padding-top: calc(var(--header-h) + 40px); }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.page-hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 66px);
  letter-spacing: -.02em; line-height: 1.05; margin-bottom: 18px;
}
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); background: var(--white); }
.page-hero__media img { width: 100%; height: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--accent); }

.overview { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.overview__text p { color: var(--muted); }
.overview__text .lead { color: var(--ink); }
.overview__text strong { color: var(--navy); }
.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid #d6e9ea; }
.facts h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.facts dl { margin: 0; }
.facts dl div { padding: 12px 0; border-bottom: 1px solid #cfe2e3; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.facts__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.signs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sign { padding: 28px 26px; background: var(--white); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.sign:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sign__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); margin-bottom: 18px; }
.sign__icon svg { width: 24px; height: 24px; }
.sign h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.sign p { color: var(--muted); font-size: 15px; margin: 0; }

.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proc { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: transform .3s, box-shadow .3s, border-color .3s; }
.proc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(20,122,130,.3); }
.proc h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin: 0 40px 12px 0; }
.proc p { color: var(--muted); font-size: 15px; }
.proc__for { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px !important; }
.proc__for strong { color: var(--teal); }
.proc--cta { background: linear-gradient(140deg, var(--navy), var(--teal)); border: 0; color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.proc--cta h3 { color: var(--white); }
.proc--cta p { color: rgba(255,255,255,.8); }
.proc--cta .btn { align-self: flex-start; }

.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: none; }
.journey::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(230,185,128,.2)); }
.journey__step { position: relative; text-align: center; padding: 0 6px; }
.journey__num { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: var(--navy-deep); font: 600 20px/1 var(--serif); box-shadow: 0 0 0 8px var(--navy); }
.journey__step h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 8px; color: var(--white); }
.journey__step p { color: rgba(255,255,255,.72); font-size: 14.5px; margin: 0; }

.recovery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.recovery__item { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--teal); }
.recovery__item:nth-child(2) { border-top-color: #2b8d8a; }
.recovery__item:nth-child(3) { border-top-color: var(--accent-deep); }
.recovery__item:nth-child(4) { border-top-color: var(--accent); }
.recovery__when { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.recovery__item h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.recovery__item p { color: var(--muted); font-size: 15px; margin: 0; }

.br-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.br { padding: 36px 34px; border-radius: 22px; background: var(--white); }
.br h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--navy); margin-bottom: 18px; }
.br--risk p { color: var(--muted); font-size: 15px; }
.br .ticks li { background: var(--sand); }
.dots { display: grid; gap: 10px; }
.dots li { position: relative; padding: 12px 18px 12px 40px; background: var(--sand); border-radius: 12px; font-weight: 600; color: var(--navy); }
.dots li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 9px; transform: translateY(-50%); border-radius: 50%; background: var(--teal); }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.section-sub--left { margin: 14px 0 26px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(20,122,130,.35); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 600; color: var(--navy); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-size: 20px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { content: "–"; background: var(--navy); color: var(--accent); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.page-disclaimer { margin: 28px auto 0; max-width: 820px; text-align: center; font-size: 13.5px; color: var(--muted); }
.appointment .page-disclaimer { margin-bottom: 0; }

.panel__more { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-card__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 1080px) {
  .proc-grid, .signs-grid { grid-template-columns: repeat(2, 1fr); }
  .recovery { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
  .journey::before { top: 10px; bottom: 10px; left: 24px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(230,185,128,.2)); }
  .journey__step { text-align: left; padding: 0 0 28px 76px; }
  .journey__num { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 960px) {
  .page-hero__inner, .overview, .faq-wrap, .br-grid { grid-template-columns: 1fr; }
  .facts, .faq-head { position: static; }
}
@media (max-width: 640px) {
  .proc-grid, .signs-grid, .recovery { grid-template-columns: 1fr; }
  .br { padding: 28px 22px; }
}

/* ---------- Linked list items (home page "Services include") ---------- */
.ticks li:has(> a) { padding-right: 46px; transition: transform .2s, box-shadow .2s, background .2s; }
.ticks li > a { color: inherit; text-decoration: none; }
.ticks li > a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.ticks li:has(> a)::after {
  content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--teal); font-weight: 700; transition: transform .2s;
}
.ticks li:has(> a):hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.ticks li:has(> a):hover::after { transform: translate(4px, -50%); }
.ticks li > a:focus-visible { outline: none; }
.ticks li:has(> a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Highlight the section a list item linked to */
.proc:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(230,185,128,.35), var(--shadow); }

/* ---------- Illustration in page hero ---------- */
.page-hero__ill {
  aspect-ratio: 16 / 10; border: 1px solid rgba(255,255,255,.14); grid-column: auto;
  background:
    radial-gradient(circle at 80% 20%, rgba(230,185,128,.18), transparent 50%),
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(135deg, #0e4a5f, var(--teal));
}
.page-hero__ill.panel__media--photo { aspect-ratio: auto; background: var(--white); }
.page-hero__ill svg { padding: 18px 0; }

/* ---------- Callout (emergency / red flags) ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 22px 26px;
  border-radius: var(--radius); background: #fff4ec; border: 1px solid #f2c9a8; border-left: 5px solid #d9692b;
}
.callout__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #d9692b; color: #fff; }
.callout__icon svg { width: 22px; height: 22px; }
.callout strong { display: block; color: #8a3a10; margin-bottom: 4px; font-size: 16.5px; }
.callout p { margin: 0; color: #5b3a26; }

/* ---------- Self-care tips ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid #d6e9ea; }
.tip__num { flex: none; font: 600 22px/1 var(--serif); color: var(--accent-deep); }
.tip p { margin: 0; color: var(--navy); font-weight: 500; font-size: 15.5px; }
@media (max-width: 1080px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tips { grid-template-columns: 1fr; } .callout { flex-direction: column; } }

/* =========================================================
   Hospital branding (Lekshmi Trust Hospital)
   ========================================================= */
.brand__logo {
  width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: contain;
  background: #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,.45);
}
.footer .brand__logo { width: 60px; height: 60px; }
.brand__text strong { font-size: 18px; }

/* Hero hospital card */
.hosp-card {
  background: #fff; color: var(--ink); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(1.2deg);
}
.hosp-card.reveal.is-visible { transform: rotate(1.2deg); }
.hosp-card__photo { position: relative; aspect-ratio: 390 / 300; overflow: hidden; }
.hosp-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.hosp-card__since {
  position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px;
  background: var(--accent); color: var(--navy-deep); font-weight: 700; font-size: 13px; letter-spacing: .04em;
}
.hosp-card__body { display: flex; align-items: center; gap: 16px; padding: 20px 24px 22px; }
.hosp-card__logo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: contain; }
.hosp-card__body h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy); }
.hosp-card__body p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }

/* About photo */
.about__frame--photo { aspect-ratio: 4 / 4.2; background: var(--sand); }
.about__frame--photo img { width: 100%; height: 100%; object-fit: cover; }
.about__content a { color: var(--teal); font-weight: 600; }

/* Founder section */
.founder { background: var(--sand); }
.founder__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.founder .doctor-card { max-width: 420px; }
.founder .doctor-card h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--navy); }
.founder__role { font-weight: 600; color: var(--teal); margin: 8px 0 18px; }
.founder__content p { color: var(--muted); }
.founder__content .lead { color: var(--ink); }
.founder__quals { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--navy) !important; padding: 12px 16px; background: #fff; border-radius: 10px; display: inline-block; }
.hero__motto { display: block; margin-top: 10px; color: var(--accent); font-family: var(--serif); font-size: 20px; }
.hero .breadcrumb { margin-bottom: 18px; }

/* Static review grid (doctor page) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-grid .review { width: auto; }
.review-grid .review blockquote { -webkit-line-clamp: unset; display: block; }
.reviews:not([hidden]) { display: block; }

@media (max-width: 960px) {
  .founder__grid { grid-template-columns: 1fr; }
  .hosp-card, .hosp-card.reveal.is-visible { max-width: 460px; transform: none; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand__logo { width: 44px; height: 44px; }
  .brand__text strong { font-size: 16px; }
}

/* ---------- Services & facilities ---------- */
.svc-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.svc-hl {
  position: relative; padding: 32px 28px; border-radius: 22px; color: #fff; overflow: hidden;
  background: radial-gradient(400px 200px at 100% 0%, rgba(230,185,128,.25), transparent 60%), linear-gradient(140deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}
.svc-hl__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent); color: var(--navy-deep); margin-bottom: 18px; }
.svc-hl__icon svg { width: 28px; height: 28px; stroke-width: 2; }
.svc-hl__tag { position: absolute; top: 28px; right: 24px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); color: var(--accent); }
.svc-hl h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; margin-bottom: 8px; }
.svc-hl p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; }

.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-col { padding: 30px; border-radius: 22px; background: var(--sand); }
.svc-col__title { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); margin-bottom: 18px; }
.svc-list { display: grid; gap: 10px; }
.svc { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.svc__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.svc__icon svg { width: 23px; height: 23px; }
.svc h4 { font-size: 16px; color: var(--navy); margin: 2px 0 2px; }
.svc h4 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent); }
.svc p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 960px) {
  .svc-highlights, .svc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .svc-col { padding: 20px 16px; } }

/* ---------- Doctor portrait (blends into the page, no card) ---------- */
.doc-portrait { position: relative; margin: 0; width: 100%; max-width: 460px; justify-self: center; isolation: isolate; }
.doc-portrait::before {
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,185,128,.55), rgba(230,185,128,0) 68%);
}
.doc-portrait::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; top: -10px; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(230,185,128,.6);
}
.doc-portrait img {
  display: block; width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center 18%;
  border-radius: 260px 260px 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.doc-portrait__badge {
  position: absolute; left: -18px; bottom: 16%; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.doc-portrait__badge strong { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--navy); }
.doc-portrait__badge span { font-size: 13px; color: var(--muted); }
.doc-portrait__chip {
  position: absolute; right: -12px; bottom: 38%; padding: 9px 15px; border-radius: 999px;
  background: var(--navy); color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.doc-portrait--dark .doc-portrait__chip { background: var(--accent); color: var(--navy-deep); }
.hero .doc-portrait { align-self: end; margin-bottom: -40px; }
@media (max-width: 960px) {
  .doc-portrait { max-width: 400px; }
  .hero .doc-portrait { margin: 20px auto 0; }
}
@media (max-width: 640px) {
  .doc-portrait__badge { left: 0; }
  .doc-portrait__chip { right: 0; }
}

/* ---------- Pictures on speciality cards ---------- */
.spec-card { overflow: hidden; }
.spec-card__media {
  margin: -34px -30px 24px; aspect-ratio: 16 / 9; border-radius: 0;
  box-shadow: none; grid-column: auto;
}
.spec-card__media svg { padding: 10px 0; transition: transform .4s ease; }
.spec-card:hover .spec-card__media svg, .spec-card:hover .spec-card__media img { transform: scale(1.05); }
.spec-card__media img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.spec-card__media.panel__media--photo { aspect-ratio: 16 / 9; background: #fff; }
.spec-card__num {
  z-index: 2; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm);
}

/* Let grid columns shrink below the portrait's max width on small screens */
.founder__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.founder__grid > *, .hero__inner > * { min-width: 0; }
@media (max-width: 960px) {
  .founder__grid, .hero__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Full-frame photo hero (home) ---------- */
.hero--photo { min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__photo { position: absolute; inset: 0; overflow: hidden; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  transform: scale(1.04); animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }
.hero--photo .hero__bg {
  background:
    linear-gradient(90deg, rgba(7,42,57,.96) 0%, rgba(7,42,57,.86) 38%, rgba(7,42,57,.45) 70%, rgba(7,42,57,.25) 100%),
    linear-gradient(0deg, rgba(7,42,57,.95) 0%, rgba(7,42,57,0) 35%);
}
.hero--photo .hero__bg::after { opacity: .04; }
.hero--photo .hero__inner { grid-template-columns: 1.3fr .7fr; align-items: end; padding-top: 40px; }
.hero__badge {
  justify-self: end; display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px;
  border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; margin-bottom: 12px;
}
.hero__badge img { width: 72px; height: 72px; border-radius: 50%; background: #fff; object-fit: contain; flex: none; }
.hero__badge strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.hero__badge span { font-size: 13px; color: rgba(255,255,255,.75); }
.hero--photo .hero__strip { margin-top: 56px; }
@media (prefers-reduced-motion: reduce) { .hero__photo img { animation: none; } }
@media (max-width: 960px) {
  .hero--photo .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero--photo .hero__bg { background: linear-gradient(180deg, rgba(7,42,57,.7) 0%, rgba(7,42,57,.88) 45%, rgba(7,42,57,.97) 100%); }
  .hero__badge { justify-self: start; }
}
@media (max-width: 640px) {
  .hero__badge { border-radius: 18px; }
  .hero__badge img { width: 56px; height: 56px; }
}
.hero__tags span { white-space: nowrap; }

/* ---------- Home hero v3: clear photo left, hospital name right ---------- */
.hero--photo { background: var(--navy-deep); }
.hero__photo img { animation: none; transform: none; object-position: 30% 52%; }
.hero--photo .hero__bg {
  background:
    linear-gradient(270deg, rgba(7,42,57,.97) 0%, rgba(7,42,57,.9) 34%, rgba(7,42,57,.35) 56%, rgba(7,42,57,0) 70%),
    linear-gradient(0deg, rgba(7,42,57,.96) 0%, rgba(7,42,57,0) 26%);
}
.hero--photo .hero__bg::after { display: none; }
.hero--photo .hero__inner { grid-template-columns: 1fr minmax(0, 560px); align-items: center; }
.hero--photo .hero__content { grid-column: 2; }
.hero__title--name { font-size: clamp(46px, 6vw, 82px); line-height: 1; margin-bottom: 12px; }
.hero__title--name span { color: var(--accent); }
.hero__motto-line {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px);
  color: rgba(255,255,255,.92); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.hero__motto-line::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

@media (max-width: 960px) {
  .hero--photo { padding-top: 0; }
  .hero--photo .hero__photo { inset: 0 0 auto 0; height: min(62vw, 420px); }
  .hero__photo img { object-position: 20% 55%; }
  .hero--photo .hero__bg {
    background: linear-gradient(180deg, rgba(7,42,57,.35) 0, rgba(7,42,57,0) 90px,
      rgba(7,42,57,0) calc(min(62vw, 420px) - 120px), var(--navy-deep) min(62vw, 420px));
  }
  .hero--photo .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: calc(min(62vw, 420px) - 10px); }
  .hero--photo .hero__content { grid-column: 1; }
}
/* hero polish: readable menu over the photo, taller photo on phones */
.hero--photo .hero__photo::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(180deg, rgba(7,42,57,.6), rgba(7,42,57,0)); }
@media (max-width: 960px) {
  .hero--photo .hero__photo { height: min(74vw, 480px); }
  .hero--photo .hero__bg { background: linear-gradient(180deg, rgba(7,42,57,0) 0, rgba(7,42,57,0) calc(min(74vw, 480px) - 110px), var(--navy-deep) min(74vw, 480px)); }
  .hero--photo .hero__inner { padding-top: calc(min(74vw, 480px) - 10px); }
}

/* ---------- About photo blended into the page (no card) ---------- */
.about__visual--blend { position: relative; isolation: isolate; }
.about__visual--blend::before {
  content: ""; position: absolute; z-index: -1; inset: 18% -6% 4% 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,185,128,.28), rgba(230,185,128,0) 70%);
}
.about__blend-img {
  display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 78%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%),
                      linear-gradient(to right, transparent 0%, #000 6%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%),
                      linear-gradient(to right, transparent 0%, #000 6%, #000 90%, transparent 100%);
          mask-composite: intersect;
}
.about__visual--blend .about__badge { right: 4%; bottom: 14%; }
@media (max-width: 960px) { .about__visual--blend { max-width: 480px; } }
/* width/height attributes must not override the CSS aspect ratios */
.about__blend-img, .doc-portrait img { height: auto; }

/* About photo: plain and crisp — no fade, glow, shadow or border */
.about__visual--blend::before { display: none; }
.about__blend-img {
  -webkit-mask-image: none; mask-image: none;
  border: 0; box-shadow: none; border-radius: 0;
  aspect-ratio: 4 / 4.4; object-position: center 85%;
}

/* ===================== DOCTORS & OP TIMINGS ===================== */
.doctors { background: var(--sand); }
.doctors__phone { color: var(--teal); font-weight: 700; }
.depts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; }
.dept--wide { grid-column: 1 / -1; }
.dept__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid rgba(11,59,79,.12); }
.dept__head h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); }
.dept__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent-deep); background: rgba(230,185,128,.18); padding: 4px 12px; border-radius: 999px; }
.dept--emergency .dept__tag { color: #b3261e; background: rgba(179,38,30,.09); }
.dept__docs { display: grid; gap: 14px; }
.dept--wide .dept__docs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dept--wide .doc { flex-direction: column; }
.dept--wide .doc__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.doc { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 16px; transition: transform .3s, box-shadow .3s; }
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.doc__photo { flex: none; width: 108px; height: 128px; border-radius: 14px; overflow: hidden; background: var(--teal-soft); display: grid; place-items: center; }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.doc__initials { font-family: var(--serif); font-size: 34px; color: var(--teal); }
.doc__body { min-width: 0; }
.doc__name { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.doc__name a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(20,122,130,.35); }
.doc__name a:hover { color: var(--teal); }
.doc__quals { font-size: 13.5px; font-weight: 600; color: var(--teal); margin-top: 2px; }
.doc__role { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.doc__times { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.doc__times li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--teal-soft); padding: 5px 11px; border-radius: 8px; width: fit-content; }
.doc__times svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.doctors__note { text-align: center; margin-top: 36px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) {
  .depts { grid-template-columns: minmax(0, 1fr); }
  .dept--wide .dept__docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .dept--wide .dept__docs { grid-template-columns: minmax(0, 1fr); }
  .dept--wide .doc { flex-direction: row; }
  .dept--wide .doc__photo { width: 96px; height: 116px; aspect-ratio: auto; }
  .doc__photo { width: 96px; height: 116px; }
}

/* ===================== ORTHO SERVICES LIST ===================== */
.ortho-svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin: -16px 0 44px; }
.ortho-svc__title { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); }
.ortho-svc__time { color: var(--teal); font-weight: 600; font-size: 14.5px; margin: 4px 0 16px; }
.ortho-svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ortho-svc__list a, .ortho-svc__list span { display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); background: var(--teal-soft); text-decoration: none; transition: background .2s, color .2s; }
.ortho-svc__list a:hover { background: var(--navy); color: var(--white); }

/* ===================== SKIN & COSMETOLOGY ===================== */
.skin { background: linear-gradient(180deg, #fbf6f3 0%, var(--white) 100%); }
.skin__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.skin__photo { margin: 0; }
.skin__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 0; }
.skin__list { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.skin__list li { position: relative; padding-left: 22px; font-weight: 600; color: var(--navy); font-size: 15px; }
.skin__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.skin__times { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.skin__times div { background: var(--teal-soft); border-radius: 12px; padding: 10px 16px; }
.skin__times dt { font-size: 12.5px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; }
.skin__times dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.skin__note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) {
  .skin__grid { grid-template-columns: minmax(0, 1fr); }
  .skin__photo { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 420px) { .skin__list { grid-template-columns: minmax(0, 1fr); } }

/* Header: keep phone on one line; icon-only on mid-size screens */
.nav__phone { white-space: nowrap; }
.brand__text strong, .brand__text small { white-space: nowrap; }
.js-whatsapp[hidden] { display: none !important; }
@media (min-width: 961px) and (max-width: 1440px) {
  .nav__phone .js-phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* Emergency team: same compact row cards as other departments, two per row */
.dept--wide .dept__docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dept--wide .doc { flex-direction: row; }
.dept--wide .doc__photo { width: 108px; height: 128px; aspect-ratio: auto; }
@media (max-width: 760px) { .dept--wide .dept__docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .dept--wide .doc__photo { width: 96px; height: 116px; } }

/* Home hero: new portrait photo — keep the signboard and entrance in view */
.hero__photo img { object-position: 50% 68%; }
@media (max-width: 960px) { .hero__photo img { object-position: 50% 70%; } }
@media (min-width: 961px) {
  /* Portrait photo fills the left half at full height, so the whole building shows */
  .hero--photo .hero__photo { inset: 0 auto 0 0; width: 54%; }
  .hero__photo img { object-position: 50% 62%; }
  .hero--photo .hero__bg {
    background:
      linear-gradient(90deg, rgba(7,42,57,0) 0%, rgba(7,42,57,0) 40%, rgba(7,42,57,.75) 50%, rgba(7,42,57,.97) 56%),
      linear-gradient(0deg, rgba(7,42,57,.96) 0%, rgba(7,42,57,0) 24%);
  }
}
/* Bright sky in the home photo: darker band at the top keeps the menu readable */
.hero--photo .hero__photo::after { height: 170px; background: linear-gradient(180deg, rgba(7,42,57,.82), rgba(7,42,57,.35) 60%, rgba(7,42,57,0)); }

/* ===================== DOCTORS TEASER (home) + DOCTORS PAGE ===================== */
.doctors-teaser { background: var(--sand); }
.doctors-teaser__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.doctors-teaser .section-sub { margin: 12px 0 24px; text-align: left; }
.doctors-teaser__faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doctors-teaser__faces img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; border-radius: 16px; transition: transform .3s; }
.doctors-teaser__faces:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .doctors-teaser__inner { grid-template-columns: minmax(0, 1fr); }
  .doctors-teaser__faces { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .doctors-teaser__faces img:nth-child(n+6) { display: none; }
}
.page-hero__photo { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 62%; }

.doctors__phone { white-space: nowrap; }

/* Services: real photos of casualty & pharmacy (plain, no card) */
.svc-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 48px; }
.svc-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.svc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-photo:first-child img { object-position: center 70%; }
.svc-photo:last-child img { object-position: center 60%; }
.svc-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 22px 18px; color: #fff;
  background: linear-gradient(0deg, rgba(7,42,57,.88), rgba(7,42,57,0));
}
.svc-photo figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; }
.svc-photo figcaption span { font-size: 14px; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .svc-photos { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ===================== VISIT US — highlighted ===================== */
.hospital--feature { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; }
.hospital__bg { position: absolute; inset: 0; z-index: -1; }
.hospital__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.3); }
.hospital__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 20%, rgba(20,122,130,.45), transparent 55%), linear-gradient(180deg, rgba(7,42,57,.55), rgba(7,42,57,.92)); }
.hospital--feature .hospital__grid { align-items: center; }
.hospital--feature .section-title { color: #fff; }
.hospital--feature .section-title span { color: var(--accent); }
.hospital--feature .lead { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.visit-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.visit-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; min-width: 0; transition: background .25s, border-color .25s, transform .25s; }
a.visit-tile:hover { background: rgba(255,255,255,.13); border-color: rgba(230,185,128,.5); transform: translateY(-2px); }
.visit-tile--wide { grid-column: 1 / -1; }
.visit-tile > div { min-width: 0; }
.visit-tile__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy-deep); }
.visit-tile__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit-tile--alert .visit-tile__icon { background: #d93b30; color: #fff; }
.visit-tile__label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.visit-tile strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.hospital__mapwrap { position: relative; }
.hospital--feature .hospital__map { border: 6px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hospital__since { position: absolute; left: -22px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 16px; background: var(--accent); color: var(--navy-deep); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.hospital__since strong { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.hospital__since span { font-size: 13px; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) { .hospital__since { left: 12px; bottom: -18px; } }
@media (max-width: 560px) { .visit-tiles { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 560px) { .visit-tile strong { font-size: 14.5px; } a.visit-tile[href^="mailto"] strong { font-size: 13.5px; overflow-wrap: normal; word-break: break-word; } }

/* Space between the dark Visit Us section and the appointment card */
.hospital--feature + .appointment { padding-top: clamp(56px, 8vw, 110px); }

/* ===================== INNER PAGES: full-frame photo banner ===================== */
.page-hero--photo { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero__bgphoto { position: absolute; inset: 0; z-index: 0; }
.page-hero__bgphoto img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero--photo .hero__bg {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7,42,57,.95) 0%, rgba(7,42,57,.86) 34%, rgba(7,42,57,.35) 64%, rgba(7,42,57,.12) 100%),
    linear-gradient(0deg, rgba(7,42,57,.96) 0%, rgba(7,42,57,0) 32%),
    linear-gradient(180deg, rgba(7,42,57,.7) 0%, rgba(7,42,57,0) 160px);
}
.page-hero--photo .hero__bg::after { display: none; }
.page-hero--photo > .container { position: relative; z-index: 1; }
.page-hero--photo .page-hero__media { display: none; }
.page-hero--photo .page-hero__inner { grid-template-columns: minmax(0, 640px); }
@media (max-width: 960px) {
  .page-hero--photo { min-height: 0; padding-top: calc(min(72vw, 460px) - 10px); }
  .page-hero__bgphoto { inset: 0 0 auto 0; height: min(72vw, 460px); }
  .page-hero--photo .hero__bg {
    background:
      linear-gradient(180deg, rgba(7,42,57,.65) 0, rgba(7,42,57,0) 110px, rgba(7,42,57,0) calc(min(72vw, 460px) - 130px), var(--navy-deep) min(72vw, 460px));
  }
}

/* Speciality card pictures open the detail page */
.spec-card__imglink { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.spec-card__imglink .spec-card__media { transition: filter .3s; }
.spec-card__imglink:hover .spec-card__media { filter: brightness(1.06); }
.spec-card__imglink .spec-card__media img { transition: transform .5s ease; }
.spec-card__imglink:hover .spec-card__media img { transform: scale(1.04); }

/* Home hero v4: landscape photo fills the whole frame; text sits on the darker right side */
@media (min-width: 961px) {
  .hero--photo .hero__photo { inset: 0; width: auto; }
  .hero__photo img { object-position: 35% 60%; }
  .hero--photo .hero__bg {
    background:
      linear-gradient(270deg, rgba(7,42,57,.93) 0%, rgba(7,42,57,.8) 30%, rgba(7,42,57,.28) 50%, rgba(7,42,57,0) 62%),
      linear-gradient(0deg, rgba(7,42,57,.95) 0%, rgba(7,42,57,0) 26%);
  }
}
@media (max-width: 960px) { .hero__photo img { object-position: 40% 60%; } }

/* Services: 6-photo hospital gallery */
.svc-gallery-head { margin: 8px 0 18px; }
.svc-photos--gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-photos--gallery .svc-photo img { aspect-ratio: 4 / 4.4; object-position: center 55%; }
.svc-photos--gallery .svc-photo:first-child img { object-position: center 70%; }
.svc-photos--gallery .svc-photo:last-child img { object-position: center 60%; }
.svc-photos--gallery .svc-photo figcaption strong { font-size: 20px; }
@media (max-width: 860px) { .svc-photos--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) {
  .svc-photos--gallery .svc-photo figcaption { padding: 36px 12px 12px; }
  .svc-photos--gallery .svc-photo figcaption strong { font-size: 16px; }
  .svc-photos--gallery .svc-photo figcaption span { font-size: 12px; }
}

.about__blend-img--clinic { object-position: center 45%; }

/* ===================== HOME HERO: animated hospital slideshow ===================== */
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero__slides img:first-child { object-position: 35% 60%; }
.hero__slides img.is-active { opacity: 1; transform: scale(1.14); animation: none; }
.hero__slidebar {
  position: absolute; z-index: 2; left: max(24px, calc((100vw - 1200px) / 2)); bottom: 150px;
  display: flex; flex-direction: column; gap: 12px; color: #fff; pointer-events: none;
}
.hero__slidecap {
  font-family: var(--serif); font-size: 20px; font-style: italic; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__slidecap::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero__slidecap.is-in { animation: capIn .8s ease both; }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__dots { display: flex; gap: 8px; pointer-events: auto; }
.hero__dot { width: 26px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s, width .3s; }
.hero__dot.is-active { width: 44px; background: var(--accent); }

/* text entrance */
.hero--photo .hero__content > * { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero--photo .hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero--photo .hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero--photo .hero__content > *:nth-child(4) { animation-delay: .36s; }
.hero--photo .hero__content > *:nth-child(5) { animation-delay: .48s; }
.hero--photo .hero__content > *:nth-child(6) { animation-delay: .6s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero__slidebar { left: 20px; right: 20px; bottom: auto; top: calc(min(74vw, 480px) - 64px); }
  .hero__slidecap { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slides img { transition: opacity .3s; transform: none !important; }
  .hero--photo .hero__content > * { animation: none; }
}

/* ===================== HOME HERO v5: animated hospital illustration ===================== */
.hero--anim { min-height: min(92vh, 880px); display: flex; flex-direction: column; justify-content: center; }
.hero--anim .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.hero--anim .hero__strip { margin-top: 40px; }
.hero__scene { position: relative; }
.scene { display: block; width: 100%; height: auto; max-width: 620px; margin: 0 auto; fill: #000; stroke: none; overflow: visible; }
.scene * { transform-box: fill-box; }

/* moving parts */
.sc-cloud--1 { animation: scDrift 26s linear infinite; }
.sc-cloud--2 { animation: scDrift 34s linear infinite reverse; }
@keyframes scDrift { 0% { transform: translateX(-40px); } 50% { transform: translateX(60px); } 100% { transform: translateX(-40px); } }

.sc-cross { animation: scPulse 2.2s ease-in-out infinite; transform-origin: center; }
@keyframes scPulse { 0%,100% { scale: 1; } 50% { scale: 1.12; } }
.sc-ring { transform-origin: center; animation: scRing 2.2s ease-out infinite; }
@keyframes scRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.sc-win { animation: scBlink 4s ease-in-out infinite; }
.sc-win--a { fill: #ffe39a; animation-delay: .4s; }
.sc-win--b { fill: #ffe39a; animation-delay: 1.6s; }
.sc-win--c { fill: #ffe39a; animation-delay: 2.8s; }
@keyframes scBlink { 0%,100% { opacity: 1; } 45% { opacity: .35; } 55% { opacity: 1; } }

.sc-shine { animation: scShine 5s ease-in-out infinite; }
@keyframes scShine { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: .45; } 60% { transform: translateX(62px); opacity: 0; } 100% { opacity: 0; } }
.sc-sun { animation: scSun 6s ease-in-out infinite; }
@keyframes scSun { 0%,100% { opacity: 0; } 50% { opacity: .18; } }

.sc-casualty { animation: scGlowRed 1.8s ease-in-out infinite; }
@keyframes scGlowRed { 0%,100% { filter: drop-shadow(0 0 0 rgba(217,59,48,0)); } 50% { filter: drop-shadow(0 0 8px rgba(255,80,70,.9)); } }

.sc-amb { animation: scDrive 9s linear infinite; }
@keyframes scDrive { 0% { transform: translateX(-130px); } 100% { transform: translateX(640px); } }
.sc-siren { animation: scSiren .6s steps(2) infinite; }
@keyframes scSiren { 0% { fill: #ff4d4d; } 100% { fill: #4da3ff; } }
.sc-lane { animation: scLane 1.2s linear infinite; }
@keyframes scLane { to { stroke-dashoffset: -26; } }

.sc-ecg { stroke-dasharray: 700; stroke-dashoffset: 700; animation: scEcg 3.2s linear infinite; filter: drop-shadow(0 0 6px rgba(230,185,128,.7)); }
@keyframes scEcg { 0% { stroke-dashoffset: 700; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }

.sc-float { animation: scFloat 6s ease-in-out infinite; }
.sc-float--2 { animation-delay: -1.5s; animation-duration: 7s; }
.sc-float--3 { animation-delay: -3s; animation-duration: 6.5s; }
.sc-float--4 { animation-delay: -2s; animation-duration: 7.5s; }
.sc-float--5 { animation-delay: -4s; animation-duration: 5s; }
.sc-float--6 { animation-delay: -1s; animation-duration: 5.5s; }
@keyframes scFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* text entrance */
.hero--anim .hero__content > * { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero--anim .hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero--anim .hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero--anim .hero__content > *:nth-child(4) { animation-delay: .36s; }
.hero--anim .hero__content > *:nth-child(5) { animation-delay: .48s; }
.hero--anim .hero__content > *:nth-child(6) { animation-delay: .6s; }
.hero__scene { animation: heroUp 1.1s .3s cubic-bezier(.2,.7,.2,1) both; }

@media (max-width: 960px) {
  .hero--anim { min-height: 0; }
  .hero--anim .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero__scene { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene *, .hero__scene, .hero--anim .hero__content > * { animation: none !important; }
  .sc-ecg { stroke-dashoffset: 0; }
}

/* Doctors page: full-width team photo; title sits low so faces stay clear */
.page-hero--team .page-hero__bgphoto img { object-position: center 18%; }
@media (min-width: 961px) {
  .page-hero--team.page-hero--photo { min-height: min(94vh, 860px); }
  .page-hero--team .hero__bg {
    background:
      linear-gradient(0deg, rgba(7,42,57,.97) 0%, rgba(7,42,57,.88) 26%, rgba(7,42,57,.35) 46%, rgba(7,42,57,0) 62%),
      linear-gradient(180deg, rgba(7,42,57,.7) 0%, rgba(7,42,57,0) 150px);
  }
  .page-hero--team .page-hero__inner { grid-template-columns: minmax(0, 760px); }
  .page-hero--team .page-hero__title { font-size: clamp(38px, 4.2vw, 58px); }
  .page-hero--team .breadcrumb { margin-bottom: 8px; }
}
@media (max-width: 960px) {
  /* team photo starts below the menu bar so faces aren't hidden */
  .page-hero--team.page-hero--photo { padding-top: calc(var(--header-h) + min(64vw, 420px) - 6px); }
  .page-hero--team .page-hero__bgphoto { inset: var(--header-h) 0 auto 0; height: min(64vw, 420px); }
  .page-hero--team .page-hero__bgphoto img { object-position: center 30%; }
  .page-hero--team .hero__bg {
    background: linear-gradient(180deg,
      var(--navy-deep) 0, var(--navy-deep) var(--header-h),
      rgba(7,42,57,0) calc(var(--header-h) + 1px),
      rgba(7,42,57,0) calc(var(--header-h) + min(64vw, 420px) - 90px),
      var(--navy-deep) calc(var(--header-h) + min(64vw, 420px)));
  }
}

/* Doctors page banner (desktop): title on the left, intro + buttons on the right, both along the bottom */
@media (min-width: 961px) {
  .page-hero--team .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero--team .page-hero__inner > div.reveal {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 64px; align-items: end;
    grid-template-areas: "back back" "crumb crumb" "eye ." "title lead" "title actions";
  }
  .page-hero--team .breadcrumb { grid-area: crumb; margin-bottom: 14px; }
  .page-hero--team .eyebrow { grid-area: eye; margin-bottom: 10px; }
  .page-hero--team .page-hero__title { grid-area: title; margin: 0; font-size: clamp(44px, 4.6vw, 66px); line-height: 1.05; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
  .page-hero--team .hero__lead { grid-area: lead; margin: 0 0 22px; max-width: 520px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
  .page-hero--team .hero__actions { grid-area: actions; margin: 0; }
  .page-hero--team .hero__strip { margin-top: 40px; }
}

/* Mid-size desktops (961–1200px): keep the whole menu on one line */
@media (min-width: 961px) and (max-width: 1200px) {
  .nav { gap: 2px; }
  .nav__link { padding-left: 9px; padding-right: 9px; font-size: 14px; }
  .nav__cta { padding-left: 14px; padding-right: 14px; font-size: 13.5px; }
  .brand__text small { display: none; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .nav__phone { display: none !important; }
  .nav__link { padding-left: 7px; padding-right: 7px; }
}

/* ===================== HEALTH BLOG ===================== */
.blog { background: var(--sand); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(7,42,57,.85); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.blog-card__meta { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.blog-card__title { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--navy); margin-bottom: 10px; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--teal); }
.blog-card__body > p:not(.blog-card__meta) { color: var(--muted); font-size: 15px; flex: 1; }
.blog-card__more { margin-top: 16px; font-weight: 700; color: var(--teal); text-decoration: none; }
.blog-card__more:hover { color: var(--navy); }
.blog__all { text-align: center; margin-top: 40px; }

.posts { background: var(--white); }
.posts__list { display: grid; gap: 64px; max-width: 1000px; }
.post { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.post__media { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.post__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.post__cat { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.post__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--navy); margin-bottom: 16px; }
.post__body p { color: var(--ink); margin-bottom: 14px; }
.post__body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.post__body ul { margin: 0 0 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.post__body li { position: relative; padding-left: 22px; }
.post__body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.post__body a:not(.btn) { color: var(--teal); font-weight: 600; }
.post__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.post + .post { padding-top: 64px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .post__media { position: static; }
}
@media (max-width: 640px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 961px) and (max-width: 1100px) { .nav__link { padding-left: 6px; padding-right: 6px; font-size: 13.5px; } .nav__cta { padding-left: 12px; padding-right: 12px; } }

/* ===================== SINGLE ARTICLE PAGE ===================== */
.page-hero__title--post { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.15; }
.article { background: var(--white); }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article__body { font-size: 17px; line-height: 1.75; }
.article__body > p:first-child { font-size: 19px; color: var(--navy); }
.article__note { margin-top: 28px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--sand); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--muted); }
.article__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.article__help { padding: 24px; border-radius: var(--radius); background: var(--navy-deep); color: #fff; display: grid; gap: 10px; margin-bottom: 14px; }
.article__help h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.article__help p { color: rgba(255,255,255,.8); font-size: 15px; }
.article__help .btn { justify-content: center; }
.article__help-link { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14.5px; }
.article__side-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.article__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article__more a { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; color: var(--navy); }
.article__more img { width: 78px; height: 60px; object-fit: cover; border-radius: 10px; }
.article__more span { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.article__more small { display: block; font-size: 11.5px; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.article__more a:hover span { color: var(--teal); }
.article__all { font-weight: 700; color: var(--teal); text-decoration: none; }
.post-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.4; transition: border-color .2s, background .2s; }
.post-pager a:hover { border-color: var(--teal); background: var(--teal-soft); }
.post-pager small { display: block; color: var(--teal); font-weight: 700; font-size: 12.5px; margin-bottom: 4px; }
.post-pager__next { text-align: right; }
@media (max-width: 960px) {
  .article__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article__side { position: static; }
}
@media (max-width: 560px) { .post-pager { grid-template-columns: minmax(0, 1fr); } .post-pager__next { text-align: left; } }

/* Book an Appointment box (desktop): balanced two columns, compact info card */
@media (min-width: 961px) {
  .appt { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 60px; }
  .appt__content .btn-row { margin-top: 26px; }
  .appt__card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; padding: 8px 28px; align-self: center; }
  .appt__card div:nth-child(n+3) { grid-column: 1 / -1; }
}
.appt__timings { border-color: rgba(255,255,255,.45); }

/* Header must always fit: wider header row, phone number text only on very wide screens */
@media (min-width: 961px) {
  .header .container.header__inner { width: min(1400px, 100% - 48px); gap: 16px; }
  .nav { flex-wrap: nowrap; white-space: nowrap; }
  .nav__cta { flex: none; }
}
@media (min-width: 961px) and (max-width: 1599px) {
  .nav__phone .js-phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (min-width: 961px) and (max-width: 1080px) { .header .brand__text { display: none; } }

/* ===================== Highlighted section headings (all pages) ===================== */
.eyebrow {
  gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 13.5px; letter-spacing: .12em; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 8px 20px -10px rgba(11,59,79,.6);
}
.eyebrow::before {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(230,185,128,.7); animation: eyebrowPulse 2.4s ease-out infinite;
}
@keyframes eyebrowPulse { 0% { box-shadow: 0 0 0 0 rgba(230,185,128,.7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(230,185,128,0); } }
.eyebrow--light {
  color: var(--accent); background: rgba(230,185,128,.12);
  border: 1px solid rgba(230,185,128,.45); box-shadow: none;
}
.section-head .section-title::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 18px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
@media (prefers-reduced-motion: reduce) { .eyebrow::before { animation: none; } }

/* keep badge text colour even inside sections that restyle their paragraphs */
.eyebrow { color: #fff !important; }
.eyebrow--light { color: var(--accent) !important; }

/* Back button on inner pages */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 16px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s;
}
.back-link svg { width: 18px; height: 18px; stroke-width: 2.2; }
.back-link:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); transform: translateX(-3px); }
.page-hero--team .back-link { grid-area: back; }

.page-hero--team .page-hero__inner > div.reveal > .eyebrow, .page-hero--team .back-link { justify-self: start; }

/* Inner-page banners without the stats strip: keep space under the buttons/text */
.page-hero:not(:has(.hero__strip)) { padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero--photo:not(:has(.hero__strip)) { min-height: min(78vh, 700px); }

/* ===================== FIND A DOCTOR ===================== */
.finder { position: relative; z-index: 2; padding: 44px 0; background: var(--white); }
.finder__box {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; align-items: center;
  padding: 30px 36px; border-radius: 24px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(7,42,57,.35);
}
.finder__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); color: var(--navy); line-height: 1.15; margin-bottom: 6px; }
.finder__intro p { color: var(--muted); font-size: 15px; }
.finder__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.finder__field { position: relative; display: grid; gap: 6px; }
.finder__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding-left: 20px; }
.finder__field select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 56px; padding: 0 48px 0 22px;
  border: 1.5px solid rgba(11,59,79,.35); border-radius: 999px; background: var(--white);
  font: 600 15.5px var(--sans); color: var(--navy); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.finder__field select:hover { border-color: var(--teal); }
.finder__field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,122,130,.15); }
.finder__chev { position: absolute; right: 20px; bottom: 19px; width: 18px; height: 18px; pointer-events: none; color: var(--navy); stroke-width: 2.2; }
.finder__btn { height: 56px; padding: 0 34px; justify-content: center; border-radius: 999px; font-size: 16px; }
.finder__btn svg { width: 18px; height: 18px; stroke-width: 2.4; }
.page-hero + .finder { padding-bottom: 0; background: var(--sand); }

/* highlight the doctor/department that was searched */
.doc, .dept { scroll-margin-top: calc(var(--header-h) + 40px); }
.doc.is-found { animation: foundPulse 1.4s ease 2; box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.dept.is-found .dept__head h3 { color: var(--teal); }
.dept.is-found .doc { box-shadow: 0 0 0 2px rgba(230,185,128,.9); }
@keyframes foundPulse { 0%,100% { transform: none; } 50% { transform: scale(1.02); } }

@media (max-width: 1100px) {
  .finder__box { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
  .finder { padding: 28px 0; }
  .finder__box { padding: 24px 20px; }
  .finder__fields { grid-template-columns: minmax(0, 1fr); }
  .finder__btn { width: 100%; }
}
@media (min-width: 1101px) {
  .finder__box { grid-template-columns: minmax(0, .62fr) minmax(0, 2.38fr); gap: 32px; }
  .finder__fields { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
}
.finder__field select { font-size: 15px; text-overflow: ellipsis; }

/* ===================== 24-HOUR ALERT BAR (top of every page) ===================== */
:root { --bar-h: 38px; --header-h: 114px; }
.header { flex-direction: column; align-items: stretch; }
.header__inner { height: calc(var(--header-h) - var(--bar-h)); width: min(1180px, 100% - 40px); }
.alertbar { height: var(--bar-h); flex: none; background: linear-gradient(90deg, #b3261e, #d93b30 50%, #b3261e); color: #fff; font-size: 14px; }
.alertbar__inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; overflow: hidden; }
.alertbar strong { font-weight: 800; letter-spacing: .02em; }
.alertbar__text { opacity: .92; overflow: hidden; text-overflow: ellipsis; }
.alertbar__live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.alertbar__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; animation: liveDot 1.6s ease-out infinite; }
@keyframes liveDot { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.alertbar__call { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; color: #b3261e; font-weight: 800; text-decoration: none; flex: none; }
.alertbar__call svg { width: 15px; height: 15px; stroke-width: 2.4; }
.alertbar__call:hover { background: var(--accent); color: var(--navy-deep); }
@media (max-width: 960px) {
  :root { --bar-h: 36px; --header-h: 106px; }
  .alertbar { font-size: 13px; }
  .alertbar__text { display: none; }
  .header.menu-open .alertbar { visibility: hidden; }
}
@media (max-width: 380px) { .alertbar strong { font-size: 12px; } .alertbar__call span { display: none; } }
@media (prefers-reduced-motion: reduce) { .alertbar__live::after { animation: none; } }

/* ===================== HOME: 24-hour highlight cards ===================== */
.open247 { position: relative; z-index: 3; margin-top: -1px; padding: 40px 0 0; background: var(--white); }
.open247 + .finder { padding-top: 28px; }
.open247__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.open247__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 28px; border-radius: 22px; color: #fff; text-decoration: none;
  box-shadow: 0 24px 50px -28px rgba(7,42,57,.7); transition: transform .3s, box-shadow .3s;
}
.open247__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -26px rgba(7,42,57,.8); }
.open247__card--red { background: radial-gradient(400px 200px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #d93b30, #9f1f18); }
.open247__card--teal { background: radial-gradient(400px 200px at 100% 0%, rgba(230,185,128,.25), transparent 60%), linear-gradient(135deg, var(--teal), var(--navy)); }
.open247__card::after { content: "24"; position: absolute; right: -10px; bottom: -40px; font: 700 150px/1 var(--serif); color: rgba(255,255,255,.08); pointer-events: none; }
.open247__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.open247__icon svg { width: 32px; height: 32px; stroke-width: 2.4; }
.open247__card--red .open247__icon { animation: open247Beat 1.8s ease-in-out infinite; }
@keyframes open247Beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(1); } 45% { transform: scale(1.06); } }
.open247__body { display: grid; gap: 4px; min-width: 0; }
.open247__live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .95; }
.open247__live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #5cf08a; }
.open247__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5cf08a; animation: liveDot 1.6s ease-out infinite; }
.open247__body strong { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.open247__text { font-size: 14.5px; color: rgba(255,255,255,.85); }
.open247__cta { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--navy-deep); font-weight: 700; font-size: 14px; white-space: nowrap; }
.open247__card--red .open247__cta { color: #b3261e; }
@media (max-width: 960px) {
  .open247__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .open247__card { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; }
  .open247__cta { grid-column: 1 / -1; justify-self: start; }
  .open247__icon { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .open247__card--red .open247__icon, .open247__live i::after { animation: none; } }

/* ===================== CASHLESS INSURANCE (home) ===================== */
.insure { background: linear-gradient(180deg, #eef5fb 0%, var(--white) 100%); }
.insure__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.insure__plaque { margin: 0; position: relative; }
.insure__plaque::before { content: ""; position: absolute; inset: 10% 6% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(45,45,140,.18), transparent 70%); }
.insure__plaque img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(7,42,57,.25)); animation: plaqueFloat 6s ease-in-out infinite; }
@keyframes plaqueFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.insure__title span { display: block; color: #2d2d8c; }
.insure .lead { margin: 16px 0 20px; }
.insure__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.insure__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.insure__points svg { flex: none; width: 26px; height: 26px; color: var(--teal); stroke-width: 2; }
.insure__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.insure__logos span, .insure__logos a { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid #d4e1ee; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.insure__logos a { background: #2d2d8c; border-color: #2d2d8c; color: #fff; text-decoration: none; }
.insure__note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .insure__grid { grid-template-columns: minmax(0, 1fr); }
  .insure__plaque img { max-width: 280px; }
}

/* ===================== INSURANCE PAGE ===================== */
.ins-page { background: var(--white); }
.ins-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.ins-top img { width: 100%; height: auto; filter: drop-shadow(0 24px 34px rgba(7,42,57,.22)); }
.ins-top .lead { margin: 14px 0 22px; }
.ins-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.ins-steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 62px; border-radius: 14px; background: var(--sand); }
.ins-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; }
.ins-steps strong { display: block; color: var(--navy); }
.ins-steps span { font-size: 14.5px; color: var(--muted); }
.ins-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ins-side { display: grid; gap: 24px; }
.ins-box { border-radius: 20px; border: 1px solid #c9d8ea; overflow: hidden; background: var(--white); }
.ins-box__title { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; background: linear-gradient(135deg, #12306b, #1c4c96); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ins-box__title span { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 14px; }
.ins-box--green { border-color: #bfe3bf; background: #f3fbf1; }
.ins-box--green .ins-box__title { background: linear-gradient(135deg, #2e8b3a, #4caf50); }
.ins-box__sub { padding: 14px 22px 0; font-weight: 700; color: var(--navy); }
.ins-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 4px; }
.ins-list--2 { grid-template-columns: 1fr 1fr; column-gap: 8px; }
.ins-list li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; font-size: 15px; color: var(--ink); }
.ins-list li:nth-child(odd) { background: #eef4fb; }
.ins-box--green .ins-list li:nth-child(odd) { background: transparent; }
.ins-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #12306b; color: #fff; font-size: 12.5px; font-weight: 700; }
.ins-list--tick svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #2e8b3a; color: #fff; stroke-width: 3; }
.ins-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 26px 30px; border-radius: 20px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; }
.ins-help h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 6px; }
.ins-help p { color: rgba(255,255,255,.85); max-width: 680px; }
@media (max-width: 960px) {
  .ins-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ins-top img { max-width: 240px; margin: 0 auto; }
  .ins-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ins-list--2 { grid-template-columns: minmax(0, 1fr); }
  .ins-help { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .insure__plaque img { animation: none; } }

/* plaque image has a white background: blend it into the section */
.insure__plaque img, .ins-top img { mix-blend-mode: multiply; filter: none; }

/* ===================== NEURO DIAGNOSTICS LAB ===================== */
.neuro { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(700px 400px at 90% 10%, rgba(140,30,70,.45), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(31,95,200,.35), transparent 60%),
  linear-gradient(160deg, #0c2a52 0%, #071a36 100%); }
.neuro__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.neuro__visual { position: relative; margin: 0; }
.neuro__visual img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.neuro__badge { position: absolute; left: -14px; bottom: 28px; padding: 14px 20px; border-radius: 16px; background: #8c1e46; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.neuro__badge strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.neuro__badge span { font-size: 13px; color: #f2c94c; font-weight: 700; letter-spacing: .06em; }
.neuro__title { color: #fff; }
.neuro__title span { color: #f2c94c; }
.neuro__lead { color: rgba(255,255,255,.82); font-size: 17px; margin: 14px 0 26px; }
.neuro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.neuro-card { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .25s, transform .25s; }
.neuro-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.neuro-card__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #8c1e46, #b8336a); }
.neuro-card:nth-child(even) .neuro-card__icon { background: linear-gradient(135deg, #1f5fc8, #0e8a8a); }
.neuro-card__icon svg { width: 26px; height: 26px; color: #fff; stroke-width: 1.9; }
.neuro-card h3 { font-size: 18px; font-weight: 800; }
.neuro-card__sub { font-size: 13px; font-weight: 700; color: #f2c94c; margin: 2px 0 6px; }
.neuro-card p:not(.neuro-card__sub) { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.5; }
.neuro__fac { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.95); color: var(--navy); margin-bottom: 24px; }
.neuro__fac-title { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: #d93b30; color: #fff; font-weight: 800; font-size: 14px; }
.neuro__fac ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.neuro__fac li { padding: 6px 12px; border-radius: 999px; background: #eef3fb; border: 1px solid #d6e2f3; font-size: 13.5px; font-weight: 600; }
@media (max-width: 960px) {
  .neuro__grid { grid-template-columns: minmax(0, 1fr); }
  .neuro__visual { max-width: 420px; margin: 0 auto; }
  .neuro__badge { left: 12px; }
}
@media (max-width: 560px) { .neuro-cards { grid-template-columns: minmax(0, 1fr); } }

/* ===================== HOME CARE – Lekshmi @ Your Home ===================== */
.homecare { background: linear-gradient(180deg, #e8f4fd 0%, #ffffff 100%); }
.homecare__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.homecare__title span { color: #1f8fd6; }
.homecare__ml { margin: 12px 0 14px; font-size: 19px; font-weight: 700; color: #1677c4; line-height: 1.5; }
.homecare .lead { margin-bottom: 24px; }
.hc-tiles { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-tile { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #d3e6f5; box-shadow: 0 10px 24px -18px rgba(22,119,196,.6); transition: transform .25s, border-color .25s; }
.hc-tile:hover { transform: translateY(-3px); border-color: #1f8fd6; }
.hc-tile__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #1f8fd6, #1563a8); }
.hc-tile__icon svg { width: 24px; height: 24px; color: #fff; stroke-width: 2; }
.hc-tile strong { display: block; color: var(--navy); font-size: 15.5px; }
.hc-tile small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.homecare__book { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #1563a8, #1f8fd6); color: #fff; }
.homecare__book span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.homecare__book > div a { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .02em; }
.homecare__book .btn { margin-left: auto; background: #fff; color: #1563a8; }
.homecare__visual { position: relative; padding-bottom: 60px; }
.homecare__main { display: block; width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; margin-left: auto; border-radius: 220px 220px 28px 28px; box-shadow: 0 40px 70px -35px rgba(21,99,168,.7); }
.homecare__van { position: absolute; left: 0; bottom: 0; width: 56%; margin: 0; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -24px rgba(7,42,57,.55); }
.homecare__van img { display: block; width: 100%; height: auto; border-radius: 12px; }
.homecare__van figcaption { padding: 8px 4px 2px; font-size: 13px; font-weight: 700; color: #1563a8; }
@media (max-width: 960px) {
  .homecare__grid { grid-template-columns: minmax(0, 1fr); }
  .homecare__visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  .hc-tiles { grid-template-columns: minmax(0, 1fr); }
  .homecare__book .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* ===================== NABH certification ===================== */
.cert-card { display: flex; align-items: center; gap: 20px; margin: 4px 0 22px; padding: 16px 20px; border-radius: 18px; background: #fffdf3; border: 1px solid #ecdca6; box-shadow: 0 14px 30px -22px rgba(7,42,57,.45); }
.cert-card__logo { flex: none; width: 118px; height: auto; mix-blend-mode: multiply; }
.cert-card__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2e7d32; margin: 0 0 2px; }
.cert-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.about__content .cert-card p { color: var(--muted); font-size: 14px; margin: 0; }
.about__content .cert-card .cert-card__meta { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.cert-card__link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--teal); text-decoration: none; }
.footer__cert { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: 14px; background: #fff; width: fit-content; max-width: 100%; }
.footer__cert img { width: 70px; height: auto; mix-blend-mode: multiply; flex: none; }
.footer__cert span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.footer__cert strong { display: block; font-size: 14px; color: var(--navy); }
@media (max-width: 480px) { .cert-card { flex-direction: column; align-items: flex-start; } }

/* ===================== Scope of Services (board) ===================== */
.scope { margin-top: 48px; }
.scope__title { text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 34px); color: var(--navy); margin-bottom: 22px; }
.scope__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: start; }
.scope__col { border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #1677c4, #0f4f8f); color: #fff; box-shadow: 0 20px 40px -26px rgba(15,79,143,.8); }
.scope__col h4 { margin: 0; padding: 14px 20px; background: linear-gradient(90deg, #e0435a, #f06a5e); color: #ffe27a; font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.scope__col ul { list-style: none; margin: 0; padding: 16px 20px 20px; display: grid; gap: 10px; }
.scope__col--clin ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.scope__col li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.scope__col li svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #ffe27a; color: #0f4f8f; stroke-width: 3; }
@media (max-width: 960px) { .scope__grid { grid-template-columns: 1fr 1fr; } .scope__col--clin { grid-column: 1 / -1; } }
@media (max-width: 560px) { .scope__grid { grid-template-columns: minmax(0, 1fr); } }

.homecare__main { aspect-ratio: 1 / 1.02; object-position: 45% 30%; }

/* ===================== HOME HERO v6: real hospital panorama on a light banner ===================== */
.hero--pano { min-height: 0; display: block; padding: calc(var(--header-h) + 44px) 0 0; color: var(--ink); background: linear-gradient(180deg, #e9f3fa 0%, #ffffff 42%, #ffffff 100%); }
.hero--pano .hero__bg { display: none; }
.hero--pano .hero__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.hero--pano .hero__content { max-width: 880px; }
.hero--pano .hero__content > * { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; }
.hero--pano .hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero--pano .hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero--pano .hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero--pano .hero__content > *:nth-child(5) { animation-delay: .4s; }
.hero--pano .hero__content > *:nth-child(6) { animation-delay: .5s; }
.hero--pano .hero__title--name { color: var(--navy); font-size: clamp(42px, 5.6vw, 76px); }
.hero--pano .hero__title--name br { display: none; }
.hero--pano .hero__title--name span { color: var(--teal); margin-left: .25em; }
.hero--pano .hero__motto-line { justify-content: center; color: var(--accent-deep); }
.hero--pano .hero__motto-line::before { background: var(--accent-deep); }
.hero--pano .hero__tags { justify-content: center; color: var(--teal); }
.hero--pano .hero__tags i { color: var(--accent-deep); }
.hero--pano .hero__lead { color: var(--muted); margin-left: auto; margin-right: auto; max-width: 640px; }
.hero--pano .hero__actions { justify-content: center; }
.hero__pano { position: relative; margin-top: clamp(-10px, -1vw, 0px); overflow: hidden; }
.hero__pano img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: center 70%;
  animation: panoIn 1.6s .3s cubic-bezier(.2,.7,.2,1) both, panoZoom 24s 1.9s ease-in-out infinite alternate; transform-origin: 50% 80%; }
@keyframes panoIn { from { opacity: 0; transform: translateY(40px) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes panoZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__pano::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(7,42,57,0), var(--navy-deep)); }
.hero--pano > .container:last-child { position: relative; }
.hero--pano .hero__strip { margin-top: 0; background: var(--navy-deep); color: #fff; }
.hero--pano { padding-bottom: 0; }
.hero--pano::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--strip-h, 0); }
@media (max-width: 960px) {
  .hero--pano { padding-top: calc(var(--header-h) + 28px); }
  .hero--pano .hero__title--name br { display: inline; }
  .hero--pano .hero__title--name span { margin-left: 0; }
  .hero__pano img { aspect-ratio: 16 / 9; object-position: 45% 70%; }
}
@media (prefers-reduced-motion: reduce) { .hero__pano img { animation: none; } }

.hero--pano .hero__strip { box-shadow: 0 0 0 100vmax var(--navy-deep); clip-path: inset(0 -100vmax); border-top: 0; }
@media (min-width: 961px) {
  .hero--pano { padding-top: calc(var(--header-h) + 22px); }
  .hero--pano .eyebrow { margin-bottom: 10px; }
  .hero--pano .hero__title--name { font-size: clamp(40px, 4.6vw, 64px); margin-bottom: 6px; }
  .hero--pano .hero__motto-line { margin-bottom: 10px; }
  .hero--pano .hero__tags { margin-bottom: 10px; }
  .hero--pano .hero__lead { margin-bottom: 18px; font-size: 16.5px; }
  .hero__pano { margin-top: -24px; }
  .hero__pano img { max-height: 560px; object-position: center 62%; }
}

.hero--pano .hero__inner { position: relative; z-index: 2; }

.hero--pano .btn--outline { background: #fff; }

@media (max-width: 960px) {
  .hero__pano { margin-top: -44px; }
  .hero--pano .hero__actions { margin-bottom: 0; }
}

/* About: sharp building photo + floating info chips */
.about__blend-img--square { aspect-ratio: 1 / 1; object-position: center; border-radius: 24px; }
.about__visual--blend { position: relative; }
.about__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 16px 36px -18px rgba(7,42,57,.55); font-size: 13px; color: var(--muted); line-height: 1.3; animation: chipFloat 5s ease-in-out infinite; }
.about__chip strong { display: block; font-size: 15px; color: var(--navy); }
.about__chip--nabh { top: 18px; left: -18px; }
.about__chip--nabh img { width: 54px; height: auto; mix-blend-mode: multiply; }
.about__chip--247 { top: 46%; right: -18px; animation-delay: -2.5s; }
.about__chip-dot { position: relative; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: #d93b30; }
.about__chip-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #d93b30; animation: liveDot 1.6s ease-out infinite; }
@keyframes chipFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 960px) { .about__chip--nabh { left: 10px; } .about__chip--247 { right: 10px; } }
@media (prefers-reduced-motion: reduce) { .about__chip, .about__chip-dot::after { animation: none; } }

@media (min-width: 961px) {
  #about .about__grid { align-items: start; }
  #about .about__visual { position: sticky; top: calc(var(--header-h) + 40px); }
}


/* ===================== Mobile menu: solid full-screen panel with clear highlights ===================== */
@media (max-width: 960px) {
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    z-index: 55; inset: 0; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 8px) 22px 32px; overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
  }
  .nav__link, .nav__link:hover, .nav__link.is-active, .header.is-scrolled .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 8px; font-size: 20px; border-bottom: 1px solid #dfe8ef; border-radius: 0;
  }
  .nav__link::after { content: "›"; font-family: var(--sans); font-size: 26px; line-height: 1; color: var(--teal); }
  .nav__link.is-active { color: var(--teal); background: rgba(20,122,130,.07); border-radius: 12px; border-bottom-color: transparent; padding-left: 14px; }
  .nav__link.is-active::before { content: ""; position: absolute; left: 22px; width: 4px; height: 26px; border-radius: 4px; background: var(--accent-deep); }
  .nav__phone, .header.is-scrolled .nav__phone {
    display: flex; justify-content: center; margin: 22px 0 0; padding: 14px; border-radius: 999px;
    background: #fff; border: 1.5px solid rgba(11,59,79,.25); font-size: 18px;
  }
  .nav__phone .js-phone-text { position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; }
  .nav__cta { margin: 12px 0 0; justify-content: center; padding: 16px; font-size: 16px; }
  .header.menu-open .brand { color: var(--navy); }
}
@media (max-width: 960px) {
  .nav__link::after, .nav__link:hover::after, .nav__link.is-active::after {
    content: "›" !important; position: static !important; display: block; width: auto !important; height: auto !important;
    background: none !important; transform: none !important; opacity: 1 !important; inset: auto !important;
    font-family: var(--sans); font-size: 26px; line-height: 1; color: var(--teal);
  }
  .nav__link.is-active::before { content: none; }
  .nav__link { position: relative; }
}

/* Contact cards: the whole card is clickable (call / email / map / profile) */
.contact-card { position: relative; cursor: pointer; }
.contact-card .contact-card__main::after,
.contact-card a.contact-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.contact-card:hover { border-color: var(--teal); }
.contact-card:hover .contact-card__icon { background: var(--teal); color: #fff; }
.contact-card__icon { transition: background .25s, color .25s; }

/* Service list: no gold underline on linked titles; whole row clickable instead */
.svc h4 a { border-bottom: 0; }
.svc { position: relative; }
.svc h4 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc:has(h4 a):hover h4 a { color: var(--teal); }

/* ===================== FOUNDER – In loving memory ===================== */
.memorial { background: linear-gradient(180deg, #f7f3ec 0%, #fffdf8 100%); }
.memorial__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.memorial__photo { position: relative; margin: 0; max-width: 400px; justify-self: center; padding: 14px; border-radius: 26px;
  background: linear-gradient(145deg, #5a3a22, #2e1d10); box-shadow: 0 30px 60px -30px rgba(46,29,16,.7); }
.memorial__photo::before { content: ""; position: absolute; inset: 6px; border-radius: 20px; border: 2px solid rgba(214,176,108,.7); pointer-events: none; }
.memorial__photo img { display: block; width: 100%; height: auto; border-radius: 14px; filter: saturate(.92); }
.memorial__flame { position: absolute; left: 50%; bottom: -26px; width: 22px; height: 34px; margin-left: -11px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff6c8 0%, #ffcf5a 35%, #ff8a1f 70%, rgba(255,138,31,0) 72%);
  filter: drop-shadow(0 0 12px rgba(255,170,60,.9)); animation: flame 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flame { 0%,100% { transform: scale(1) rotate(-2deg); opacity: .95; } 50% { transform: scale(1.08, 1.12) rotate(2deg); opacity: 1; } }
.memorial__kicker { margin: 6px 0 2px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent-deep); }
.memorial__name { margin-bottom: 4px; }
.memorial__role { font-weight: 700; color: var(--teal); margin-bottom: 18px; letter-spacing: .02em; }
.memorial__content p:not(.eyebrow):not(.memorial__kicker):not(.memorial__role) { color: var(--muted); margin-bottom: 14px; }
.memorial__content .lead { color: var(--ink) !important; }
.memorial__quote { margin: 22px 0 0; padding: 16px 22px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: #fff;
  font-family: var(--serif); font-size: 24px; color: var(--navy); }
.memorial__quote span { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .memorial__grid { grid-template-columns: minmax(0, 1fr); }
  .memorial__photo { max-width: 300px; }
  .memorial__content { text-align: center; }
  .memorial__content .eyebrow { justify-content: center; }
  .memorial__quote { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .memorial__flame { animation: none; } }

.memorial__photo { width: 100%; }

/* Director labels */
.skin__director { display: inline-block; margin: -4px 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--navy); color: #f2c94c; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.doc__badge { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: var(--navy); color: #f2c94c; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }

.page-hero--photo:has(img[src*="blog-hero"]) .page-hero__bgphoto img { object-position: 55% 85%; }

.page-hero--blog .page-hero__bgphoto img { object-position: 55% 85%; }

/* Treatment tabs: icon + label; on phones and tablets they become a grid of cards */
.tabs__tab { display: flex; align-items: center; gap: 12px; text-align: left; }
.tabs__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); transition: background .2s, color .2s; }
.tabs__ico svg { width: 19px; height: 19px; stroke-width: 2; }
.tabs__tab[aria-selected="true"] .tabs__ico { background: rgba(255,255,255,.15); color: var(--accent); }
@media (max-width: 960px) {
  .tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible; padding-bottom: 0; }
  .tabs__tab { flex-direction: column; justify-content: center; gap: 8px; white-space: normal; text-align: center; padding: 16px 10px; min-height: 104px; border-radius: 16px; font-size: 14px; line-height: 1.25; background: #fff; }
  .tabs__ico { width: 40px; height: 40px; border-radius: 12px; }
  .tabs__ico svg { width: 22px; height: 22px; }
}
@media (max-width: 560px) { .tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===================== Doctor page: write a review + QR code ===================== */
.rv-jump { color: var(--teal); font-weight: 700; text-decoration: none; }
.rv-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px; margin-top: 40px; align-items: start; }
.rv-form, .rv-qr { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 18px 40px -30px rgba(7,42,57,.45); }
.rv-form { scroll-margin-top: calc(var(--header-h) + 20px); }
.rv-form__title, .rv-qr h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); }
.rv-form__sub, .rv-qr p { color: var(--muted); font-size: 15px; margin: 4px 0 16px; }
.rv-stars { border: 0; padding: 0; margin: 0 0 16px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars label { font-size: 34px; line-height: 1; color: #d6dde2; cursor: pointer; transition: color .15s, transform .15s; }
.rv-stars label:hover, .rv-stars label:hover ~ label, .rv-stars input:checked ~ label { color: #f5b301; }
.rv-stars label:hover { transform: scale(1.15); }
.rv-stars input:focus-visible + label { outline: 2px solid var(--teal); border-radius: 4px; }
.rv-field { display: grid; gap: 6px; margin-bottom: 14px; }
.rv-field span { font-size: 13px; font-weight: 700; color: var(--navy); }
.rv-field input, .rv-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cfdbe3; border-radius: 12px; font: 15px var(--sans); color: var(--ink); background: #fbfdfe; }
.rv-field input:focus, .rv-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,122,130,.12); }
.rv-form__err { color: #b3261e; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.rv-form__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--whatsapp-solid { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn--whatsapp-solid:hover { background: #178a45; }
.rv-form__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.rv-qr { text-align: center; position: sticky; top: calc(var(--header-h) + 20px); }
.rv-qr canvas { display: block; width: 220px; height: 220px; margin: 6px auto 8px; border-radius: 12px; border: 1px solid var(--line); }
.rv-qr__url { font-size: 12.5px !important; font-weight: 700; color: var(--teal) !important; word-break: break-all; }
@media (max-width: 900px) { .rv-wrap { grid-template-columns: minmax(0, 1fr); } .rv-qr { position: static; } }

.rv-form__ok { margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: #e8f6ec; color: #1e6b34; font-weight: 600; font-size: 14.5px; }
.review--site .review__top span { color: var(--teal); }

.rv-wrap { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }

/* Malayalam summary (local search) */
.ml-summary { margin-top: 40px; padding: 22px 26px; border-radius: 18px; background: #f3f8fb; border: 1px solid #dbe7ef; }
.ml-summary h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.ml-summary p { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin: 0; }
.ml-summary a { color: var(--teal); font-weight: 700; }

/* Insurance plaque: transparent PNG – no blend mode, no flicker */
.insure__plaque img, .ins-top img { mix-blend-mode: normal !important; filter: drop-shadow(0 22px 30px rgba(7,42,57,.18)); }
.insure__plaque img { animation: plaqueFloat2 6s ease-in-out infinite; will-change: transform; backface-visibility: hidden; }
@keyframes plaqueFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.insure__plaque::before { display: none; }
@media (max-width: 900px) { .insure__plaque img { max-width: 240px; } .insure__grid { gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .insure__plaque img { animation: none; } }

.faq-home { background: var(--sand); }

.faq-home .faq-head .section-title { font-size: clamp(28px, 3.2vw, 40px); }

/* ===================== Services at a glance (top of home) ===================== */
.glance { margin-top: 26px; }
.glance__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.glance__title { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--navy); }
.glance__all { font-weight: 700; font-size: 14.5px; color: var(--teal); text-decoration: none; white-space: nowrap; }
.glance__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.glance__tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: transform .2s, border-color .2s, box-shadow .2s; }
.glance__tile:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 28px -20px rgba(7,42,57,.6); }
.glance__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); transition: background .2s, color .2s; }
.glance__tile:hover .glance__icon { background: var(--teal); color: #fff; }
.glance__icon svg { width: 24px; height: 24px; stroke-width: 1.9; }
.glance__txt strong { display: block; font-size: 14.5px; line-height: 1.25; }
.glance__txt small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1100px) { .glance__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .glance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .glance__tile { padding: 12px 6px; border-radius: 14px; }
  .glance__icon { width: 40px; height: 40px; border-radius: 12px; }
  .glance__txt strong { font-size: 13px; }
  .glance__txt small { font-size: 11px; }
}

/* Doctors teaser – portrait cards strip with names */
.doctors-teaser__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.doctors-teaser__inner > div:first-child { max-width: 760px; margin: 0 auto; text-align: center; }
.doctors-teaser .section-sub { text-align: center; }
.doctors-teaser .btn-row { justify-content: center; }
.dstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.dstrip .dface { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #dfe9ec;
  box-shadow: 0 10px 26px -14px rgba(11,59,79,.45); transition: transform .35s ease, box-shadow .35s ease; }
.dstrip .dface img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 18%; border-radius: 0; transition: transform .5s ease; }
.dstrip .dface::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,42,57,0) 48%, rgba(7,42,57,.88) 100%); }
.dstrip .dface__cap { position: absolute; left: 12px; right: 10px; bottom: 12px; z-index: 1; color: #fff; line-height: 1.25; }
.dstrip .dface__cap strong { display: block; font-size: 14px; font-weight: 700; }
.dstrip .dface__cap small { display: block; font-size: 11.5px; opacity: .85; margin-top: 2px; }
.dstrip .dface:hover { transform: translateY(-6px); box-shadow: 0 18px 34px -16px rgba(11,59,79,.6); }
.dstrip .dface:hover img { transform: scale(1.05); }
.doctors-teaser__faces.dstrip:hover img { transform: none; }
.doctors-teaser__faces.dstrip .dface:hover img { transform: scale(1.05); }
@media (max-width: 1100px) { .dstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dstrip .dface:nth-child(n+5) { } }
@media (max-width: 860px) {
  .doctors-teaser__faces.dstrip { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0; padding: 4px 2px 14px; scrollbar-width: none; }
  .doctors-teaser__faces.dstrip::-webkit-scrollbar { display: none; }
  .dstrip .dface { flex: 0 0 42%; scroll-snap-align: start; }
  .doctors-teaser__faces.dstrip img:nth-child(n+6) { display: block; }
}
/* Doctors teaser – bigger cards: 4 + 3 centred on desktop */
@media (min-width: 861px) {
  .doctors-teaser__faces.dstrip { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
  .dstrip .dface { flex: 0 0 calc((100% - 66px) / 4); max-width: 280px; border-radius: 22px; }
  .dstrip .dface__cap { left: 18px; right: 14px; bottom: 18px; }
  .dstrip .dface__cap strong { font-size: 18px; }
  .dstrip .dface__cap small { font-size: 13.5px; }
}
@media (max-width: 860px) {
  .dstrip .dface { flex: 0 0 64%; border-radius: 20px; }
  .dstrip .dface__cap { left: 16px; bottom: 16px; }
  .dstrip .dface__cap strong { font-size: 17px; }
  .dstrip .dface__cap small { font-size: 13px; }
}

/* Skin section – Dr. Keerthy's room under the portrait */
.skin__media { display: grid; gap: 16px; }
.skin__room { margin: 0; }
.skin__rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.skin__room img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.skin__room figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--navy); text-align: center; }
@media (max-width: 860px) { .skin__media { width: 100%; max-width: 480px; margin: 0 auto; } .skin__photo { width: 100%; max-width: none; } }

/* Inside our hospital – 8 photos: 4 per row on desktop, 2 on tablet and phone */
@media (min-width: 1001px) { .svc-photos--gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 861px) and (max-width: 1000px) { .svc-photos--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-photos--gallery .svc-photo img { aspect-ratio: 3 / 4; }
.svc-photos--gallery .svc-photo figcaption { padding: 30px 14px 12px; line-height: 1.3; }
.svc-photos--gallery .svc-photo figcaption strong { font-size: 17px; line-height: 1.2; }
.svc-photos--gallery .svc-photo figcaption span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; }
@media (max-width: 640px) { .svc-photos--gallery .svc-photo figcaption { padding: 26px 11px 10px; } .svc-photos--gallery .svc-photo figcaption strong { font-size: 15px; } .svc-photos--gallery .svc-photo figcaption span { font-size: 12px; } }

/* ===================== CAMPAIGNS (home + campaigns.html) ===================== */
.camps { background: var(--white); }
.camp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.camp { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--teal-soft); }
.camp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.camp figcaption { position: absolute; inset: auto 0 0; padding: 34px 16px 14px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(180deg, rgba(7,42,57,0), rgba(7,42,57,.88)); }
.camps__cta { margin-top: 36px; text-align: center; }
.camps__cta p { margin: 0 0 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .camp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 520px) { .camp-grid { grid-template-columns: minmax(0, 1fr); } }
.camp img { object-position: center 80%; }
.camp--tall { aspect-ratio: 3 / 4; }
.camp-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.camp-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.camp-event__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 40px; }
.camp-event__poster img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.camp-event__text .lead { margin-top: 14px; }
.camp-event__facts { margin: 22px 0; }
.camp-event__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.camp-event__facts dt { color: var(--teal); font-weight: 700; font-size: 14px; }
.camp-event__facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.camp-event__ml { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
@media (max-width: 860px) {
  .camp-event__top { grid-template-columns: minmax(0, 1fr); }
  .camp-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
  .camp--tall figcaption { font-size: 13.5px; padding: 28px 12px 10px; }
}
@media (max-width: 520px) { .camp-grid--two { grid-template-columns: minmax(0, 1fr); } .camp-event__facts div { grid-template-columns: 88px minmax(0, 1fr); } }

/* ===================== INSTAGRAM ===================== */
.insta { background: var(--white); padding-top: 0; }
.insta__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.4vw, 44px); border-radius: 26px; background: linear-gradient(120deg, #fff4ec, #fdeef4 55%, #f4effc); }
.insta__handle { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-weight: 700; color: var(--navy); }
.insta__handle img { width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.insta__text .section-title { margin-bottom: 12px; }
.insta__text > p:not(.insta__handle) { margin: 0 0 22px; }
.insta__btn { color: #fff; background: linear-gradient(95deg, #7a2fb0, #c8296f 60%, #cf4a1c); }
.insta__btn:hover { color: #fff; filter: brightness(1.08); }
.insta__btn svg, .footer__insta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; flex: none; }
.insta__pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.insta__pics img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.footer__insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: #fff; font-weight: 600; text-decoration: none; }
.footer__insta:hover { color: var(--accent); }
@media (max-width: 860px) { .insta__card { grid-template-columns: minmax(0, 1fr); } .insta__btn { width: 100%; } .insta__pics { gap: 8px; } }
@media (max-width: 520px) { .insta__pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .insta__pics img { aspect-ratio: 1; } }

/* Footer – website credit */

/* Agency credit bar */
.credit { background: #041d28; border-top: 1px solid rgba(230,185,128,.28); padding: 6px 84px; }
.credit__inner { margin: 0; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.credit__label { font-size: 12px; color: rgba(255,255,255,.65); }
.credit__name { padding: 4px 0; font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.1; color: var(--accent); text-decoration: none; transition: color .2s; }
.credit__name:hover, .credit__name:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
