@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0d2536;
  --brand: #1b7898;
  --brand-dark: #12566e;
  --teal: #0b7a6f;
  --accent: #c83232;
  --cyan: #e3f4f7;
  --copper: #0b7a6f;
  --muted: #5b6e80;
  --line: #e2ecf0;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 120, 152, 0.35) transparent;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(27, 120, 152, 0.32);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(27, 120, 152, 0.6);
}

h1,
h2,
h3,
.brand {
  font-family: 'Manrope', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo small {
  display: block;
  font: 700 9px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  color: var(--brand);
}

.links {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  color: #4c5e70;
}

.links a:hover,
.links a.active {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 12px 21px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d5e2e8;
}

.btn.outline:hover {
  background: #f4fafb;
}

.btn.dark {
  background: var(--ink);
}

.btn.dark:hover {
  background: #14364e;
}

.btn.whatsapp {
  background: #0b7a6f;
  color: #fff;
}

.btn.whatsapp:hover {
  background: #085f56;
}

.menu {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* Subpage Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ebf7fa, #f7fbfc 55%, #dff2f5);
  padding: 85px 0 90px;
}

.hero:before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -100px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #9fd8e6 28%, #288dae 58%, #0d4b68 85%);
  box-shadow: inset -30px -45px 80px #07395c35, 0 55px 120px #1b78982b;
  opacity: .75;
}

.hero:after {
  content: "";
  position: absolute;
  right: 40px;
  top: 20px;
  width: 560px;
  height: 560px;
  border: 1px solid #84cce0;
  border-radius: 50%;
  opacity: .45;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 1180px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--brand);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  max-width: 650px;
  margin: 16px 0;
}

.hero p {
  max-width: 540px;
  color: #56697a;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-copy {
  max-width: 650px;
}

/* Stats & Sections */
.stats {
  border-block: 1px solid var(--line);
  background: #ffffffd9;
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
  gap: 20px;
}

.stat strong {
  font-size: 25px;
  display: block;
  color: var(--ink);
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

section {
  padding: 74px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 36px;
  letter-spacing: -1.4px;
  margin: 10px 0;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 65px #0d253614;
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 19px;
  margin: 8px 0;
}

.card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 1.3px;
}

.textlink {
  font-size: 11px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .5px;
}

/* Dark Band & Features */
.darkband {
  background: var(--ink);
  color: #fff;
}

.darkband p {
  color: #bdd0dd;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.feature {
  background: #ffffff12;
  border: 1px solid #ffffff20;
  border-radius: 16px;
  padding: 23px;
}

.feature .icon {
  font-size: 25px;
  color: #7cd5e8;
}

.feature h3 {
  font-size: 16px;
  margin-top: 0;
}

.feature p {
  font-size: 13px;
  line-height: 1.7;
}

/* Page Hero */
.pagehero {
  padding: 62px 0;
  background: linear-gradient(120deg, #eff8fb, #dff1f5);
  text-align: center;
}

.pagehero h1 {
  font-size: 46px;
  letter-spacing: -1.8px;
  margin: 10px;
}

.pagehero p {
  color: var(--muted);
  max-width: 680px;
  margin: 12px auto;
  line-height: 1.7;
}

.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-dark);
  margin-top: 12px;
}

.pill.urgent {
  background: #fff4f4;
  border-color: #f3c4c4;
  color: var(--accent);
}

/* Filters & Doctors */
.filterrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.filterrow input,
.filterrow select,
input,
textarea,
select {
  padding: 12px 14px;
  border: 1px solid #d7e3ea;
  border-radius: 10px;
  font: inherit;
}

.filterrow input {
  min-width: 260px;
}

.doctor img {
  height: 230px;
}

.doctor .card-body {
  padding: 17px;
}

.doctor h3 {
  font-size: 16px;
}

.doctor .spec {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

/* Split Layouts, Gallery, Tools */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.split h2 {
  font-size: 40px;
  letter-spacing: -1.4px;
}

.split p {
  color: var(--muted);
  line-height: 1.8;
}

.gallerygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallerygrid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  background: #f2f7f9;
}

.gallerygrid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 454px;
}

.toolbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tool {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: #fff;
}

.tool input,
.tool select,
.tool textarea {
  width: 100%;
  margin: 6px 0 14px;
  display: block;
}

.tool label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.result {
  color: var(--brand);
  font-weight: 700;
  margin-top: 14px;
}

/* CTA & Footer */
.cta {
  background: linear-gradient(120deg, #136886, #0b7a6f);
  color: #fff;
  padding: 42px 0;
}

.cta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta p {
  color: #d8f3f7;
  margin: 6px 0 0;
}

footer {
  background: #0a1b28;
  color: #c4d3df;
  padding: 55px 0 22px;
}

.footgrid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 40px;
}

.footgrid h4 {
  font-size: 11px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 12px;
}

.footlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 13px;
}

.footlinks a:hover {
  color: #8adbf0;
}

.footgrid p {
  font-size: 13px;
  line-height: 1.85;
}

.copyright {
  border-top: 1px solid #ffffff1a;
  margin-top: 38px;
  padding-top: 20px;
  font-size: 12px;
  color: #8499aa;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .65s;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* lih.com.pk-style hero & Get-in-touch bar for inde1.html */
.lih-hero {
  min-height: clamp(480px, 62vh, 620px);
  position: relative;
  overflow: hidden;
  background: #14324a;
  display: flex;
  align-items: center;
}

.lih-hero-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 68% 62%, rgba(255, 222, 182, 0.72) 0%, rgba(168, 206, 224, 0.35) 38%, transparent 70%), linear-gradient(180deg, #1b3854 0%, #3d6b8e 48%, #9cb8c9 78%, #efd3b5 100%);
}

.lih-hero-sky:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 26, 42, 0.82) 0%, rgba(10, 26, 42, 0.45) 45%, transparent 72%);
}

.lih-hero .hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: clamp(0px, 4vw, 64px);
  transform: scale(var(--hero-scroll-scale, 1));
  transform-origin: 75% 85%;
  transition: transform 0.25s ease-out;
}

.lih-hero-building {
  width: auto;
  height: clamp(270px, 44vw, 500px);
  max-width: 62vw;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  transform-origin: bottom center;
  filter: drop-shadow(0 20px 45px rgba(8, 22, 36, 0.42));
  animation: lihBuildingIn 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards, lihBuildingZoom 14s ease-in-out 1.3s infinite alternate;
  will-change: transform, opacity;
}

@keyframes lihBuildingIn {
  0% { opacity: 0; transform: scale(0.9) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes lihBuildingZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.lih-hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  z-index: 2;
  background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.lih-hero .wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 96px;
}

.lih-hero .eyebrow {
  color: #b7e8f4;
  letter-spacing: 2.2px;
}

.lih-hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin: 12px 0 18px;
  text-shadow: 0 2px 24px rgba(8, 22, 36, 0.45);
  max-width: 520px;
}

.lih-hero p {
  color: #eef7fa;
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(8, 22, 36, 0.45);
}

.lih-hero .btn {
  border-radius: 6px;
  padding: 12px 20px;
}

.lih-hero .btn.outline {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.lih-hero .btn.outline:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 820px) {
  .lih-hero { min-height: 540px; align-items: flex-start; }
  .lih-hero .wrap { padding-top: 52px; padding-bottom: 240px; }
  .lih-hero .hero-bg-wrap { justify-content: center; padding-right: 0; }
  .lih-hero-building { max-width: 92vw; height: auto; max-height: 250px; }
}

.get-touch-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.get-touch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.get-touch-row h2 {
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.get-touch-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Revamped inde1.html distinct sections */
.lih-quickbar {
  background: #f8fbfc;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.lih-quickgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.lih-qcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  transition: transform .2s, box-shadow .2s;
}

.lih-qcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #0d253610;
  border-color: #b9dce6;
}

.lih-qcard span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #ebf6f9;
  color: var(--brand);
  font-size: 18px;
}

.lih-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.lih-stat {
  background: #f6fbfc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.lih-stat strong {
  display: block;
  font-size: 28px;
  color: var(--brand-dark);
  letter-spacing: -1px;
}

.lih-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.lih-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lih-vm-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  border-top: 4px solid var(--brand);
  box-shadow: 0 10px 30px #0d253608;
}

.lih-vm-card.alt {
  border-top-color: var(--teal);
}

.lih-vm-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.lih-vm-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.lih-dept-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

.lih-dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #0d253612;
}

.lih-dept-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.lih-dept-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lih-dept-thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 32, 48, 0.82) 0%, transparent 65%);
}

.lih-dept-thumb h3 {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.lih-dept-body {
  padding: 16px;
}

.lih-dept-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.lih-doc-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 20px #0d253606;
}

.lih-doc-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lih-doc-top img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dff1f5;
}

.lih-doc-top h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.lih-doc-top span {
  font-size: 11.5px;
  color: var(--teal);
  font-weight: 700;
}

.lih-doc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eef4f7;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 700;
}

.lih-explorer {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 24px;
  align-items: stretch;
}

.lih-tabs {
  display: grid;
  gap: 8px;
}

.lih-tab {
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .2s;
}

.lih-tab:hover {
  border-color: var(--brand);
}

.lih-tab.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.lih-panel {
  background: linear-gradient(140deg, #f3fafc, #ffffff);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lih-partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.lih-quote-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.lih-quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef4f7;
  padding-top: 12px;
}

.lih-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e3f2f6;
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

.lih-cta-box {
  background: linear-gradient(120deg, #1b7898, #0b7a6f);
  border-radius: 22px;
  padding: 38px 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .lih-quickgrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lih-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .lih-explorer,
  .lih-partner-grid,
  .lih-vm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .lih-quickgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lih-cta-box {
    padding: 28px 22px;
  }
}



.get-touch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.get-touch-row h2 {
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.get-touch-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Homepage Hero & Refinements */
.site-hero {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: #0a2030;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: scale(var(--hero-scroll-scale, 1));
  transform-origin: 72% 50%;
  transition: transform 0.25s ease-out;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform-origin: 72% 50%;
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 65% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 88% at 65% 50%, #000 62%, transparent 100%);
  animation: heroGrowIn 6.5s cubic-bezier(0.22, 1, 0.36, 1) forwards, heroSlowZoom 12s ease-in-out 6.5s infinite alternate;
  will-change: transform, opacity;
}

@keyframes heroGrowIn {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes heroSlowZoom {
  0% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1.10);
  }
}

.site-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(10, 32, 48, 0.72) 0%, rgba(10, 32, 48, 0.28) 45%, rgba(10, 32, 48, 0) 75%);
  pointer-events: none;
}

.site-hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 92px;
  padding-bottom: 104px;
}

.site-hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 62px);
  max-width: 580px;
  line-height: 1.05;
  letter-spacing: -2.2px;
  text-shadow: 0 2px 20px #091c2b66;
  margin: 14px 0 18px;
}

.site-hero p {
  color: #ecf8fb;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
  text-shadow: 0 1px 10px #091c2b66;
}

.site-hero .eyebrow {
  color: #8ee5f5;
}

.site-hero .btn {
  border-radius: 6px;
  padding: 13px 22px;
}

.site-hero .btn.outline {
  background: #ffffff22;
  color: #fff;
  border-color: #ffffff85;
  backdrop-filter: blur(6px);
}

.site-hero .btn.outline:hover {
  background: #ffffff38;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 50, 50, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-chip {
  background: #eef7f9;
  border: 1px solid #d4eaef;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
}

.home-quick {
  margin-top: -1px;
  background: #f6fbfc;
  border-bottom: 1px solid var(--line);
}

.quickrow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 20px 0;
  gap: 10px;
}

.quickitem {
  text-align: center;
  padding: 12px 8px;
  color: #526577;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  transition: background .2s;
}

.quickitem:hover {
  background: #eaf4f7;
  color: var(--brand-dark);
}

.quickitem .qicon {
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e3f2f6;
  color: var(--brand);
  font-size: 19px;
}

.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.missionpanel {
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f6f9, #fff);
  padding: 20px;
  box-shadow: 0 16px 45px #0d253612;
  border: 1px solid var(--line);
}

.missiontiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.missiontile {
  padding: 24px 18px;
  color: #fff;
  border-radius: 14px;
  min-height: 190px;
  background: linear-gradient(140deg, #248eb0, #125872);
}

.missiontile:nth-child(2) {
  background: linear-gradient(140deg, #0f9487, #095b53);
}

.missiontile h3 {
  font-size: 19px;
  margin-top: 0;
}

.missiontile p {
  font-size: 12.5px;
  line-height: 1.65;
  color: #ffffffe0;
}

.cutout-card {
  background: linear-gradient(180deg, #f3fafb 0%, #e4f3f6 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}

.cutout-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.home-dept .card img {
  height: 170px;
}

.home-dept .card-body {
  padding: 16px;
}

.home-dept .card h3 {
  font-size: 16px;
}

.doctor-grid-ref {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.doctor-ref-card {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px;
  border-radius: 8px;
  min-height: 112px;
  box-shadow: 0 5px 20px #0d253608;
}

.doctor-ref-card img {
  width: 70px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  background: #eef4f7;
}

.doctor-ref-card h3 {
  font-size: 13px;
  margin: 2px 0 6px;
}

.doctor-ref-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 6px;
}

.doctor-ref-card .special {
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
}

.doctor-ref-card a {
  display: inline-block;
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: .4px;
  color: var(--brand);
  font-weight: 800;
}

.featured-surgery {
  background: #0d2536;
  color: #fff;
}

.feature-photo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.feature-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 230px;
  background: #14364e;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.feature-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #071c2be8, transparent 72%);
}

.feature-photo div {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  right: 18px;
}

.feature-photo h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

.feature-photo p {
  font-size: 12.5px;
  color: #d5e6ef;
  margin: 0;
}

.doctors-hero {
  background: linear-gradient(120deg, #eff8fb, #dff1f5);
  padding: 55px 0;
  text-align: center;
}

.doctors-hero h1 {
  font-size: 42px;
  color: var(--ink);
  margin: 10px 0;
}

.doctors-hero p {
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.doctor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.doctor-toolbar input,
.doctor-toolbar select {
  font-size: 12px;
  padding: 10px 12px;
}

.doctor-letter {
  font-size: 12px;
  color: var(--brand);
  font-weight: 800;
  border-top: 1px solid #edf1f4;
  padding: 16px 0 8px;
  margin-top: 15px;
  grid-column: 1 / -1;
}

.doctor-grid-ref .doctor-letter {
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }

  .links.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero:before {
    opacity: .35;
    right: -220px;
  }

  .hero:after {
    opacity: .2;
  }

  .split {
    gap: 25px;
  }

  .gallerygrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallerygrid img:first-child {
    height: 454px;
  }

  .feature-photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .quickrow {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-intro,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .doctor-grid-ref {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-hero {
    min-height: 440px;
  }

  .site-hero .wrap {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding: 68px 0;
  }

  .hero h1 {
    letter-spacing: -1.8px;
  }

  .statgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 54px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head h2 {
    font-size: 29px;
  }

  .cards3,
  .cards4 {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .split,
  .toolbox {
    grid-template-columns: 1fr;
  }

  .split img {
    height: 290px;
  }

  .pagehero h1 {
    font-size: 34px;
  }

  .gallerygrid img,
  .gallerygrid img:first-child {
    height: 200px;
    grid-column: auto;
    grid-row: auto;
  }

  .cta .wrap {
    align-items: start;
    flex-direction: column;
  }

  .footgrid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero:before {
    width: 340px;
    height: 340px;
    top: 30px;
  }

  .hero:after {
    width: 360px;
    height: 360px;
    top: 10px;
  }
}

@media (max-width: 520px) {
  .doctor-grid-ref {
    grid-template-columns: 1fr;
  }

  .missiontiles {
    grid-template-columns: 1fr;
  }

  .missiontile {
    min-height: 150px;
  }

  .site-hero h1 {
    font-size: 38px;
  }
}