/* Restore the original home composition; keep the modern inner pages. */
.hero.restored-hero { --accent-color:#1977cc; --heading-color:#2c4964; min-height:calc(100vh - 146px); padding:76px 0 70px; isolation:isolate; background:#e9f2f7; }
.restored-hero .hero-backdrop { z-index:-2; object-position:center; }
.hero.restored-hero::before { content:""; display:block; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#f3f9fd99,#f3f9fd14 75%); }
.restored-hero .welcome { margin-bottom:58px; }
.restored-hero .welcome .eyebrow { margin-bottom:17px; color:#195e95; }
.restored-hero .welcome h1 { font-size:clamp(34px,4vw,55px); font-weight:750; letter-spacing:-1.9px; line-height:1.15; margin:0 0 16px; }
.restored-hero .welcome p { font-size:20px; color:#444444; margin:0; max-width:650px; }
.hero-feature-card { padding:34px; border-radius:16px; color:white; background:#1977cc; box-shadow:0 18px 50px #164d822b; transition:transform .35s ease,box-shadow .35s ease; }
.hero-card-kicker { display:block; font-size:9px; letter-spacing:1.8px; color:#d2e7fc; margin-bottom:20px; }
.hero-feature-card h2 { color:white; font-size:34px; font-weight:650; line-height:1.2; margin:0 0 22px; }
.hero-feature-card p { font-size:14px; line-height:1.8; color:#eef6ff; margin-bottom:25px; }
.hero-feature-card>a { display:inline-flex; align-items:center; gap:22px; background:#ffffff26; color:white; border:1px solid #ffffff30; padding:11px 18px; border-radius:30px; font-size:12px; font-weight:600; }
.hero-feature-card>a:hover { background:white; color:#1977cc; }
.hero-card-grid .col-md-4 { display:flex; }
.hero-glass-card { display:flex; flex-direction:column; align-items:center; text-align:center; width:100%; min-height:308px; padding:30px 20px 24px; background:#ffffffde; border:1px solid #fffffff2; border-radius:16px; backdrop-filter:blur(10px); box-shadow:0 12px 40px #2647630e; color:#444444; transition:transform .35s ease,box-shadow .35s ease,background .35s ease; }
.hero-card-icon { display:grid; place-items:center; color:#1977cc; font-size:36px; height:57px; margin-bottom:20px; transition:transform .35s ease; }
.hero-glass-card h3 { font-size:20px; font-weight:650; line-height:1.3; margin-bottom:16px; }
.hero-glass-card p { font-size:12px; line-height:1.8; margin-bottom:24px; }
.hero-card-link { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:auto; font-size:10px; font-weight:600; color:#1977cc; }
.hero-glass-card:focus-visible { outline:3px solid #1977cc; outline-offset:4px; }
.care-card .care-icon,.care-card .card-bottom i,.doctor-photo>a { transition:transform .35s ease,background .35s ease,color .35s ease; }
.department-feature { animation:department-reveal .55s ease both; }
@keyframes department-reveal { from { opacity:.2; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .hero-glass-card:hover { transform:translateY(-10px); box-shadow:0 24px 45px #164d8226; background:#fffffff7; color:#444444; }
  .hero-glass-card:hover .hero-card-icon { transform:translateY(-4px) scale(1.1); }
  .hero-feature-card:hover { transform:translateY(-6px); box-shadow:0 24px 55px #164d8240; }
  .care-card:hover .care-icon { transform:rotate(-6deg) scale(1.08); }
  .care-card:hover .card-bottom i { transform:translate(3px,-3px); }
  .doctor-card:hover .doctor-photo>a { transform:rotate(45deg); background:var(--accent-color); color:white; }
}
@media (max-width:1199px) {
  .hero.restored-hero { padding:60px 0; }
  .hero-feature-card { padding:27px; }
  .hero-glass-card { padding:25px 15px; min-height:325px; }
}
@media (max-width:991px) {
  .hero.restored-hero { min-height:0; }
  .restored-hero .welcome { margin-bottom:35px; }
  .hero-feature-card h2 br { display:none; }
  .hero-feature-card p { max-width:620px; }
  .hero-glass-card { min-height:290px; }
}
@media (max-width:767px) {
  .hero.restored-hero { padding:44px 0; }
  .restored-hero .hero-backdrop { object-position:68% top; }
  .hero.restored-hero::before { background:linear-gradient(180deg,#edf5fbd9,#edf5fb65 38%,#edf5fbca); }
  .restored-hero .welcome h1 { font-size:38px; letter-spacing:-1.2px; max-width:350px; }
  .restored-hero .welcome p { font-size:16px; line-height:1.7; }
  .restored-hero .welcome .eyebrow { font-size:8px; letter-spacing:1.2px; }
  .hero-feature-card { padding:28px; }
  .hero-feature-card h2 { font-size:30px; }
  .hero-glass-card { min-height:240px; padding:26px; }
  .hero-glass-card p { max-width:300px; }
  .hero-card-icon { margin-bottom:15px; }
}
@media (prefers-reduced-motion:reduce) { .department-feature { animation:none; } }
