/* ==========================================================================
   Hera Hospital — Stylesheet
   ========================================================================== */

:root{
  --red: #C8102E;
  --red-dark: #8E0B22;
  --red-light: #E63950;
  --gold: #F5A800;
  --gold-dark: #D99200;
  --ink: #201A1A;
  --ink-soft: #52484A;
  --muted: #7A7078;
  --line: #EFE6E4;
  --bg-soft: #FDF7F3;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -15px rgba(140, 20, 30, .18);
  --shadow-sm: 0 8px 24px -8px rgba(30,10,10,.12);
  --container: 1560px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Poppins','Inter',sans-serif;
  font-weight:700;
  line-height:1.2;
  color:var(--ink);
}

a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

/* ---------- SVG icons (replaces FontAwesome) ---------- */
/* Single shared sprite at assets/icons/sprite.svg, referenced via
   <use href="assets/icons/sprite.svg#icon-NAME">. Icons inherit currentColor
   and scale with the surrounding font-size. */
.icon{
  width:1em;
  height:1em;
  fill:currentColor;
  flex-shrink:0;
  vertical-align:-.125em;
  display:inline-block;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-dark);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gold);
  display:inline-block;
}

.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 48px;
}
.section-head p{ color:var(--muted); font-size:15.5px; margin-top:10px; }

.text-red{ color:var(--red); }
.text-gold{ color:var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 30px;
  border-radius:100px;
  font-weight:600;
  font-size:15px;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
  will-change:transform;
}
.btn:active{
  transform:translateY(0) scale(.98);
  transition-duration:.1s;
}
.btn-primary{
  background:linear-gradient(135deg,var(--red) 0%, var(--red-dark) 100%);
  color:var(--white);
  box-shadow:0 12px 28px -8px rgba(200,16,46,.55);
}
.btn-primary:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 18px 36px -8px rgba(200,16,46,.7);
}
.btn-outline{
  background:var(--white);
  color:var(--ink);
  border:1.5px solid #E7DFDD;
}
.btn-outline:hover{
  transform:translateY(-3px);
  border-color:var(--red);
  color:var(--red);
  box-shadow:0 14px 28px -10px rgba(200,16,46,.35);
}
.btn-gold{
  background:linear-gradient(135deg,var(--gold) 0%, var(--gold-dark) 100%);
  color:var(--ink);
  box-shadow:0 12px 28px -8px rgba(245,168,0,.5);
}
.btn-gold:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 18px 36px -8px rgba(245,168,0,.6);
}
.btn-white{
  background:var(--white);
  color:var(--red);
}
.btn-white:hover{ transform:translateY(-2px); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 22px; font-size:14px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #ffffff;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 24px;
  min-height:80px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-badge{
  width:250px;
  height:auto;
  border-radius:0;
  object-fit:contain;
  object-position:center center;
  flex-shrink:0;
}
.footer-about .logo-badge--footer{
  width:220px;
  max-width:100%;
  background:#fff;
  border-radius:12px;
  padding:10px 14px;
}
.logo-text{
  display:none;
}
.logo-text .name{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:18px;
  color:var(--red);
  letter-spacing:.01em;
  line-height:1.15;
}
.logo-text .tag{
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--muted);
  text-transform:uppercase;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  font-size:14.5px;
  font-weight:600;
  color:var(--ink-soft);
  position:relative;
  padding:6px 0;
  transition:color .2s;
}
.nav-links a:hover, .nav-links a.active{ color:var(--red); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:100%; height:2px;
  background:var(--red);
  border-radius:2px;
}
.nav-right{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none;
  width:42px;height:42px;
  border-radius:10px;
  background:var(--bg-soft);
  align-items:center;justify-content:center;
  font-size:18px; color:var(--red);
}
.nav-toggle .icon{ display:none; }
.nav-toggle::before{
  content:"";
  display:block;
  width:18px;
  height:14px;
  background:linear-gradient(to bottom,var(--red) 0 2px,transparent 2px 6px,var(--red) 6px 8px,transparent 8px 12px,var(--red) 12px 14px);
  border-radius:2px;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:64px 0 130px;
  background:#FDF7F3;
  overflow:hidden;
}
.hero-copy{
  transform:translateY(-72px);
}
.hero-copy h1{ color:var(--ink); }
.hero-copy .eyebrow{ color:var(--gold); }
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:70px;
  align-items:center;
}
.hero-copy h1,
.hero-copy .hero-title{
  max-width:700px;
  font-size:64px;
  letter-spacing:-.01em;
  margin-bottom:22px;
}
.hero-copy h1 span,
.hero-title-line{ display:block; }
.hero-copy p{
  color:var(--muted);
  font-size:17.5px;
  max-width:540px;
  margin-bottom:32px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-insurance-heading{
  max-width:590px;
  margin:26px 0 0;
  color:var(--primary);
  font-size:22px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:-.01em;
}

/* desktop hospital photo panel */
.hero-visual{
  display:block;
  width:100%;
  max-width:600px;
  aspect-ratio:9 / 10;
  margin:0 0 0 auto;
  overflow:hidden;
}
.hero-hospital-photo{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 40%;
}
.diamond-grid{
  position:relative;
  width:100%; height:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:22px;
  transform:rotate(45deg) scale(.74);
}
.diamond-tile{
  border-radius:26px;
  display:flex; align-items:center; justify-content:center;
  transform:rotate(-45deg);
  box-shadow:var(--shadow-sm);
  position:relative;
  overflow:hidden;
}
.diamond-tile i{ font-size:64px; transform:none; }
.diamond-tile svg{ width:64px; height:64px; transform:none; }
.diamond-tile.t1{ background:linear-gradient(145deg,#2B2320,#40332E); }
.diamond-tile.t2{ background:linear-gradient(145deg,var(--red),var(--red-dark)); }
.diamond-tile.t3{ background:linear-gradient(145deg,var(--gold),var(--gold-dark)); }
.diamond-tile.t4{ background:linear-gradient(145deg,#FFFFFF,#FBEFE9); border:1px solid var(--line); }
.diamond-tile.t1 i, .diamond-tile.t2 i{ color:#fff; }
.diamond-tile.t3 i{ color:#241A00; }
.diamond-tile.t4 i{ color:var(--red); }

.accent-diamond{
  position:absolute;
  border-radius:14px;
  z-index:2;
}
.accent-diamond.a1{
  width:56px;height:56px; top:-6px; right:22%;
  background:var(--gold); transform:rotate(45deg);
  box-shadow:0 10px 22px -6px rgba(245,168,0,.6);
}
.accent-diamond.a2{
  width:38px;height:38px; bottom:6%; left:-4%;
  background:var(--red); transform:rotate(45deg);
  box-shadow:0 10px 22px -6px rgba(200,16,46,.55);
}

/* ---------- Stats bar ---------- */
.stats-bar{
  position:relative;
  margin-top:-78px;
  z-index:5;
}
.stats-card{
  background:var(--white);
  border-radius:22px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:34px 20px;
}
.stats-card--single{
  grid-template-columns:1fr;
  max-width:460px;
  margin:0 auto;
}
.stats-card--single .stat{ border-right:none; }
.stats-card--single .stat:last-child{ border-bottom:none; }
.stat{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:center;
  border-right:1px solid var(--line);
  padding:0 12px;
}
.stat:last-child{ border-right:none; }
.stat-icon{
  width:52px;height:52px;
  border-radius:50%;
  background:var(--bg-soft);
  border:1.5px solid #F3D9CF;
  display:flex;align-items:center;justify-content:center;
  color:#000;
  font-size:24px;
  flex-shrink:0;
}
.stat-icon .icon{
  width:30px;
  height:30px;
  display:block;
  color:#201b1b;
  fill:currentColor;
  opacity:1;
}
.stat-num{ font-family:'Poppins',sans-serif; font-weight:800; font-size:22px; line-height:1; }
.stat-label{ font-size:12.5px; color:var(--muted); font-weight:600; margin-top:2px; }

/* ---------- Specialities / cards grid ---------- */
.section{ padding:96px 0; }
.section-soft{ background:var(--bg-soft); }
.section-head-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:44px;
  gap:24px;
}
.view-all{
  font-weight:700; font-size:14px; color:var(--red);
  display:inline-flex; align-items:center; gap:6px;
  white-space:nowrap;
}

.speciality-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:18px;
}
.speciality-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 14px 20px;
  text-align:center;
  transition:all .25s ease;
}
.speciality-card:hover{
  border-color:transparent;
  box-shadow:var(--shadow);
  transform:translateY(-6px);
}
.speciality-icon{
  width:58px;height:58px;
  border-radius:50%;
  border:1.5px solid #F3D9CF;
  background:var(--bg-soft);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
  color:#000;
  font-size:24px;
  transition:all .25s ease;
}
.speciality-icon .icon{
  width:32px;
  height:32px;
  display:block;
  color:#201b1b;
  fill:currentColor;
  opacity:1;
}
.speciality-card:hover .speciality-icon{
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:var(--white);
  border-color:transparent;
}
.speciality-card h3{ font-size:14px; font-weight:700; }

/* generic feature/service/facility cards */
.card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}
.card-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.card-grid.cols-2{ grid-template-columns:repeat(2,1fr); }

.feature-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:34px 26px;
  transition:all .25s ease;
  height:100%;
}
.feature-card:hover{ box-shadow:var(--shadow); transform:translateY(-6px); border-color:transparent; }
.feature-icon{
  width:60px;height:60px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;
  margin-bottom:20px;
}
.feature-card h3{ font-size:19px; margin-bottom:10px; }
.feature-card p{ color:var(--muted); font-size:14.5px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--red-dark) 0%, var(--red) 55%, var(--red-light) 100%);
  border-radius:28px;
  padding:52px;
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:32px;
  align-items:center;
  position:relative;
  overflow:hidden;
  color:#fff;
}
.cta-banner::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 45%);
}
.cta-banner h2{ color:#fff; font-size:30px; margin-bottom:8px; }
.cta-banner > div > p{ color:rgba(255,255,255,.85); font-size:15px; }
.cta-points{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  position:relative; z-index:2;
}
.cta-point{ text-align:left; }
.cta-point i{ font-size:20px; margin-bottom:10px; display:block; }
.cta-point .t{ font-weight:700; font-size:13.5px; }
.cta-point .s{ font-size:12px; color:rgba(255,255,255,.75); }
.cta-help{
  background:#fff;
  border-radius:20px;
  padding:26px;
  color:var(--ink);
  position:relative; z-index:2;
}
.cta-help h3{ font-size:16px; color:var(--red); margin-bottom:4px; }
.cta-help p{ font-size:13px; color:var(--muted); margin-bottom:14px; }
.cta-help .phone{ font-weight:800; font-size:19px; color:var(--ink); display:flex; align-items:center; gap:10px; }
.cta-help .phone i{ color:var(--red); background:var(--bg-soft); width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center; font-size:15px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:linear-gradient(135deg,#2A1210 0%, var(--red-dark) 55%, var(--red) 100%);
  color:#fff;
  padding:70px 0 110px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 15% 20%, rgba(245,168,0,.25), transparent 40%),
             radial-gradient(circle at 85% 80%, rgba(255,255,255,.1), transparent 40%);
}
.page-hero .breadcrumb{
  position:relative; z-index:2;
  display:inline-flex; gap:8px; font-size:13.5px;
  color:rgba(255,255,255,.75); margin-bottom:14px; font-weight:600;
}
.page-hero .breadcrumb a{ color:#fff; }
.page-hero h1{ position:relative; z-index:2; color:#fff; font-size:38px; }
.page-hero p{ position:relative; z-index:2; color:rgba(255,255,255,.85); max-width:560px; margin:12px auto 0; }

/* ---------- About page ---------- */
.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:60px;
  align-items:center;
}
.about-visual{
  position:relative;
  background:linear-gradient(150deg,var(--bg-soft),#fff);
  border-radius:28px;
  padding:40px;
  border:1px solid var(--line);
}
.about-visual .big-icon{
  width:100%; aspect-ratio:1/1; border-radius:22px;
  background:linear-gradient(150deg,var(--red),var(--red-dark));
  display:flex;align-items:center;justify-content:center;
  color:#fff; font-size:90px;
  box-shadow:var(--shadow);
}
.about-badge{
  position:absolute; bottom:-22px; right:-18px;
  background:#fff; border-radius:18px; box-shadow:var(--shadow);
  padding:18px 22px; display:flex; align-items:center; gap:12px;
}
.about-badge .num{ font-family:'Poppins',sans-serif; font-weight:800; font-size:26px; color:var(--red); }
.about-badge .lbl{ font-size:12px; color:var(--muted); font-weight:600; }

.mv-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:20px;
}
.mv-card{
  background:var(--bg-soft);
  border-radius:var(--radius);
  padding:28px;
  border:1px solid var(--line);
}
.mv-card i{ color:var(--red); font-size:26px; margin-bottom:12px; }
.mv-card h3{ margin-bottom:8px; }
.mv-card p{ color:var(--muted); font-size:14px; }

.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:20px;
}
.timeline .t-item{ text-align:center; padding:26px 16px; border-radius:var(--radius); background:var(--white); border:1px solid var(--line); }
.timeline .t-year{ font-family:'Poppins',sans-serif; font-weight:800; color:var(--red); font-size:24px; }
.timeline .t-desc{ font-size:13.5px; color:var(--muted); margin-top:6px; }

/* ---------- Doctors ---------- */
.doctor-filter{
  display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:40px;
}
.doctor-filter button{
  padding:10px 20px; border-radius:100px; font-size:13.5px; font-weight:600;
  border:1.5px solid var(--line); color:var(--ink-soft); background:#fff;
}
.doctor-filter button.active{ background:var(--red); color:#fff; border-color:var(--red); }

.doctor-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; transition:all .25s ease;
}
.doctor-card:hover{ box-shadow:var(--shadow); transform:translateY(-6px); }
.doctor-photo{
  height:225px;
  background:#fff8dc;
  display:flex; align-items:center; justify-content:center;
  color:var(--red); font-size:64px; position:relative;
  overflow:hidden;
}
.doctor-photo .badge{
  position:absolute; top:14px; right:14px;
  background:#000; color:#fff; font-size:11px; font-weight:700;
  padding:5px 10px; border-radius:100px; box-shadow:var(--shadow-sm);
}
.doctor-info{ padding:22px; }
.doctor-info h3{ font-size:17px; margin-bottom:2px; }
.doctor-info .role{ color:var(--red); font-size:13px; font-weight:700; margin-bottom:10px; }
.doctor-info .meta{ display:flex; gap:14px; font-size:12.5px; color:var(--muted); margin-bottom:16px; flex-wrap:wrap; }
.doctor-info .meta span{ display:flex; align-items:center; gap:5px; }

/* ---------- Facilities ---------- */
.facility-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
  margin-bottom:90px;
}
.facility-row:last-child{ margin-bottom:0; }
.facility-row.reverse .facility-visual{ order:2; }
.facility-row.reverse .facility-copy{ order:1; }
.facility-visual{
  aspect-ratio:5/4;
  border-radius:26px;
  background:linear-gradient(150deg,var(--bg-soft),#fff);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color:var(--red); font-size:80px;
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.facility-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:26px;
  display:block;
}
.facility-copy .check-list{ margin-top:18px; display:flex; flex-direction:column; gap:12px; }
.facility-copy .check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink-soft); }
.facility-copy .check-list i{ color:var(--red); margin-top:3px; }

/* ---------- Contact ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:40px;
}
.contact-info-card{
  background:linear-gradient(150deg,var(--red-dark),var(--red));
  border-radius:26px;
  padding:40px 32px;
  color:#fff;
}
.contact-info-card h3{ color:#fff; margin-bottom:8px; }
.contact-info-card p{ color:rgba(255,255,255,.8); font-size:14px; margin-bottom:28px; }
.contact-item{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-item .ic{
  width:42px;height:42px; border-radius:12px; background:rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-item .t{ font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.65); font-weight:700; }
.contact-item .v{ font-size:14.5px; font-weight:600; margin-top:2px; }
.social-row{ display:flex; gap:10px; margin-top:26px; }
.social-row a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center; color:#fff;
}

.contact-form{
  background:#fff; border:1px solid var(--line); border-radius:26px; padding:40px;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.form-group.full{ grid-column:1/-1; }
.form-group label{ font-size:13px; font-weight:600; color:var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea{
  border:1.5px solid var(--line); border-radius:12px; padding:13px 16px;
  font-size:14.5px; font-family:inherit; color:var(--ink); background:var(--bg-soft);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--red); background:#fff;
}
.map-embed{
  border-radius:20px; overflow:hidden; border:1px solid var(--line); margin-top:50px;
  height:380px; background:var(--bg-soft); box-shadow:var(--shadow-sm);
}
.map-embed iframe{ width:100%; height:100%; display:block; }

/* ---------- Footer ---------- */
.site-footer{
  background:linear-gradient(90deg, #911024 0%, #C11930 48%, #D53050 100%);
  color:rgba(255,255,255,.88);
  padding:70px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.footer-about .logo-text .name{ color:#fff; }
.footer-about p{ font-size:14px; margin:16px 0 20px; color:rgba(255,255,255,.78); max-width:280px; }
.footer-col h4{ color:#fff; font-size:15px; margin-bottom:20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:rgba(255,255,255,.78); transition:color .2s; }
.footer-col a:hover{ color:var(--gold); }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{
  width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center; color:#fff;
}
.footer-social a:hover{ background:rgba(255,255,255,.28); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:24px 0; font-size:13px; color:rgba(255,255,255,.7); flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:rgba(255,255,255,.78); }

/* ---------- Utility ---------- */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}

/* ---------- Footer purpose tags (Emergency / Appointments) ---------- */
.footer-tag{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:2px 7px;
  margin-left:6px;
  border-radius:6px;
  background:rgba(255,255,255,.18);
  color:#fff;
  vertical-align:middle;
}

/* ---------- Contact info card links ---------- */
.contact-info-card .v a{ color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.4); text-underline-offset:2px; }
.contact-info-card .v a:hover{ text-decoration-color:#fff; }

/* ---------- Netlify form extras ---------- */
.visually-hidden{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
.form-status{
  margin-top:14px;
  font-size:14px;
  color:var(--muted);
  min-height:1.2em;
}
.form-status--ok{ color:#1f7a3d; font-weight:600; }
.form-status--err{ color:var(--red); font-weight:600; }

/* ---------- Patient reviews (Google) ---------- */
.section-reviews{ background:var(--bg-soft); }
.section-reviews .section-head{ margin-bottom:42px; }
.google-rating-badge{
  display:inline-flex; align-items:center; gap:10px;
  background:#fff;
  padding:10px 18px;
  border-radius:100px;
  margin-top:18px;
  box-shadow:var(--shadow-sm);
  font-size:14px;
  color:var(--ink-soft);
}
.google-rating-badge .icon{ color:var(--gold-dark); width:18px; height:18px; }
.google-rating-badge .grb-score{
  font-weight:800; font-size:18px; color:var(--ink); line-height:1;
}
.google-rating-badge .grb-stars{
  display:inline-flex; gap:1px; color:var(--gold-dark);
  font-family:Arial, sans-serif;
  font-size:18px;
  line-height:1;
  letter-spacing:0;
}
.google-rating-badge .grb-star--half{
  color:transparent;
  background:linear-gradient(90deg,var(--gold-dark) 70%,#ddd 70%);
  -webkit-background-clip:text;
  background-clip:text;
}
.google-rating-badge .grb-count{ font-size:13px; color:var(--muted); }

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  margin-top:8px;
}
.review-card{
  background:#fff;
  border-radius:var(--radius);
  padding:28px 26px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
  border:1px solid var(--line);
  position:relative;
  transition:transform .25s ease, box-shadow .25s ease;
}
.review-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}
.review-stars{
  display:inline-flex; gap:2px;
  color:var(--gold);
  margin-bottom:14px;
}
.review-stars .icon{ width:16px; height:16px; }

.review-text{
  flex:1;
  font-size:15px;
  line-height:1.65;
  color:var(--ink);
  margin:0 0 18px;
  position:relative;
  padding-left:14px;
  border-left:3px solid var(--gold);
  font-style:italic;
}
.review-text::before{
  content:"\201C";
  position:absolute; left:-4px; top:-12px;
  font-size:42px; line-height:1;
  color:var(--gold); font-family:Georgia, serif;
  font-style:normal;
}

.review-author{
  display:flex; align-items:center; gap:12px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.review-avatar{
  width:42px; height:42px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:14px;
  flex-shrink:0;
}
.review-meta{ flex:1; min-width:0; }
.review-name{
  font-size:14px; font-weight:700; color:var(--ink);
  margin:0 0 2px; line-height:1.3;
}
.review-source{
  display:inline-flex; align-items:center; gap:5px;
  font-size:12px; color:var(--muted);
}
.review-source .icon{ width:12px; height:12px; color:var(--gold-dark); }

/* CTA-style card (the 6th card that prompts to read more on Google) */
.review-card--cta{
  background:linear-gradient(135deg, var(--ink) 0%, #2a2020 100%);
  color:#fff;
  border-color:transparent;
  text-align:center;
  justify-content:center;
  align-items:center;
}
.review-card--cta:hover{ box-shadow:0 25px 55px -15px rgba(0,0,0,.45); }
.review-card--cta .review-cta-icon{
  width:56px; height:56px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.review-card--cta .review-cta-icon .icon{ width:26px; height:26px; color:#fff; }
.review-card--cta .review-cta-title{
  color:#fff; font-size:18px; margin:0 0 8px;
}
.review-card--cta p{
  color:rgba(255,255,255,.75); font-size:14px; margin:0 0 20px;
}
.review-card--cta .btn-outline{
  background:transparent; color:#fff; border:2px solid rgba(255,255,255,.4);
}
.review-card--cta .btn-outline:hover{
  background:#fff; color:var(--ink); border-color:#fff;
}

.reviews-footer{
  margin-top:36px;
  text-align:center;
}
.reviews-all-link{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--red); font-weight:600; font-size:15px;
  transition:gap .2s ease;
}
.reviews-all-link:hover{ gap:12px; }
.reviews-all-link .icon{ width:16px; height:16px; }

/* ---------- Specialty detail pages ---------- */
.specialty-link{ display:block; color:inherit; }
.specialty-link:hover{ color:inherit; }
.specialty-overview-layout{ display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,520px); gap:90px; align-items:start; }
.specialty-overview-copy{ grid-column:1; padding-top:26px; }
.specialty-desktop-doctor{ grid-column:2; justify-self:end; width:100%; }
/* This section is reserved for phone and tablet layouts only. */
.specialty-mobile-doctors{ display:none; }
.specialty-desktop-doctor .specialty-doctor-card{ grid-template-columns:1fr; }
.specialty-desktop-doctor .specialty-doctor-card img{ width:100%; height:auto; min-height:0; aspect-ratio:3 / 4; object-fit:cover; object-position:center top; }
.specialty-desktop-doctor .specialty-doctor-copy{ padding:26px 30px 32px; }
.specialty-desktop-doctor .specialty-doctor-copy h3{ font-size:24px; }
.specialty-desktop-doctor .specialty-doctor-copy p{ font-size:16px; }
.specialty-desktop-doctor .specialty-empty{ margin-top:26px; }
.specialty-intro{ max-width:820px; font-size:17px; color:var(--ink-soft); margin-bottom:28px; }
.specialty-list{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:14px; margin:22px 0 0; }
.specialty-list li{ flex:0 0 auto; width:fit-content; max-width:100%; padding:15px 18px; border:1px solid var(--line); border-radius:var(--radius-sm); color:var(--ink-soft); background:#fff; }
.specialty-doctors{ display:grid; gap:22px; }
.specialty-doctor-card{ display:grid; grid-template-columns:240px 1fr; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.specialty-doctor-card img{ width:100%; height:100%; min-height:250px; object-fit:contain; object-position:center; background:#fff8dc; }
.specialty-doctor-copy{ padding:28px; align-self:center; }
.specialty-doctor-copy h3{ margin-bottom:5px; }
.specialty-doctor-copy p{ margin:5px 0; color:var(--ink-soft); }
.specialty-doctor-role{ color:var(--red)!important; font-weight:700; }
.specialty-doctor-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.specialty-empty{ border:1px dashed var(--line); padding:30px; border-radius:var(--radius); background:var(--bg-soft); }
.specialty-empty h3{ margin-bottom:8px; }
.specialty-empty p{ max-width:680px; color:var(--ink-soft); margin-bottom:18px; }

/* Consistent easing for existing interactive elements (no layout changes). */
.btn, .nav-toggle, .nav-links a, .speciality-card, .feature-card, .doctor-card, .review-card, .footer-col a, .footer-social a, .reviews-all-link{
  transition-timing-function:cubic-bezier(.22,1,.36,1);
}

/* Honor the visitor's system motion preference across the entire site. */
@media (prefers-reduced-motion: reduce){
  html, body{ scroll-behavior:auto !important; }
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.01ms !important;
    transition-delay:0ms !important;
  }
}

/* Shared hospital gallery cards */
.gallery-photo-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:start; }
.gallery-photo-card{ min-width:0; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-sm,0 8px 24px rgba(30,20,20,.06)); }
.gallery-photo-card img{ display:block; width:100%; height:auto; }
.gallery-photo-card figcaption{ padding:13px 16px; color:var(--ink); font-weight:600; font-size:14px; }
.home-gallery-action{ margin-top:30px; text-align:center; }
