/* Satyam Shivam Hospital - lightweight, mobile-first stylesheet (no framework) */
:root {
    --navy: #0b2e6b;
    --navy-dark: #071f4a;
    --green: #2bb673;
    --red: #e0242b;
    --yellow: #ffd400;
    --text: #1d2433;
    --muted: #5b6475;
    --bg: #f5f8fc;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(11, 46, 107, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.25; color: var(--navy-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 48px 0; }
.section-alt { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 28px; }
.section-title p { color: var(--muted); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--yellow); padding: 6px 10px; z-index: 99; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 20px; border-radius: 999px;
    font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
    background: var(--navy); color: var(--white);
}
.btn:hover { background: var(--navy-dark); }
.btn-green { background: var(--green); }
.btn-green:hover { background: #22995f; }
.btn-outline { background: transparent; border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-call { background: var(--red); padding: 9px 16px; white-space: nowrap; flex-shrink: 0; }
.icon-phone { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.15em; margin-right: 6px; }
.fab { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; }
.fab .icon-phone { width: 24px; height: 24px; margin: 0; vertical-align: middle; }
.brand-text strong { white-space: nowrap; }
.brand { flex-shrink: 0; }
.btn-call:hover { background: #b81b21; }

/* Top bar and header */
.topbar { background: var(--navy-dark); color: var(--white); font-size: .85rem; padding: 6px 0; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.topbar-inner { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-dark); }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; background: var(--white); }
.brand-text strong { display: block; font-size: 1.05rem; }
.brand-text small { color: var(--muted); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.site-nav a { display: block; padding: 8px 8px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.active { background: var(--bg); color: var(--navy); }

/* Hero */
.hero {
    background: linear-gradient(120deg, var(--navy) 0%, #164a9e 100%);
    color: var(--white); padding: 56px 0;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.1rem; opacity: .95; }
.hero-badge {
    display: inline-block; background: var(--yellow); color: var(--navy-dark);
    padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .9rem; margin-bottom: 14px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-photo { border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.35); width: 100%; height: auto; }

.page-hero { background: linear-gradient(120deg, var(--navy) 0%, #164a9e 100%); color: var(--white); padding: 40px 0; }
.page-hero h1 { color: var(--white); margin-bottom: .2em; }
.page-hero p { margin: 0; opacity: .92; }
.breadcrumb { font-size: .85rem; opacity: .85; margin-bottom: 8px; }
.breadcrumb a { color: var(--white); }

/* Cards and grids */
.grid { display: grid; gap: 18px; }
.card {
    background: var(--white); border-radius: var(--radius); padding: 22px;
    box-shadow: var(--shadow); border-top: 4px solid var(--green);
}
.card .icon { font-size: 1.8rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover .card { transform: translateY(-2px); }

.ayushman-strip { background: var(--yellow); color: var(--navy-dark); text-align: center; padding: 12px 0; font-weight: 600; font-size: .95rem; }
.banner-row img, .banner-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.banner-row { margin-bottom: 20px; align-items: start; }
.banner-img { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
    display: inline-block; padding: 10px 18px; border-radius: 999px; color: var(--white);
    font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: var(--shadow);
    transition: transform .15s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip-green  { background: #2bb673; }
.chip-red    { background: #e0242b; }
.chip-yellow { background: #f5b800; color: var(--navy-dark); }
.chip-blue   { background: #1f6fd1; }
.chip-purple { background: #7b4fd6; }
.chip-orange { background: #f07d1a; }
.chip-teal   { background: #0f9aa0; }
.chip-pink   { background: #e0437a; }
.stats { background: var(--navy); color: var(--white); padding: 28px 0; }
.stats-grid { display: grid; gap: 16px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: var(--yellow); }

.doctor-card { text-align: center; }
.avatar {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
    background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
}
.doctor-card .quals { color: var(--muted); font-size: .9rem; }

/* Notice and steps */
.notice { background: #fff8d6; border-left: 5px solid var(--yellow); padding: 16px 18px; border-radius: 8px; margin: 18px 0; }
.notice.danger { background: #fde8e8; border-color: var(--red); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
    counter-increment: step; position: relative; padding: 14px 14px 14px 56px; margin-bottom: 12px;
    background: var(--bg); border-radius: var(--radius);
}
.steps li::before {
    content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px;
    border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 800;
}
.check-list { list-style: none; padding: 0; }
.check-list li::before { content: "✔ "; color: var(--green); font-weight: 800; }
.check-list li { margin-bottom: 8px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
    font: inherit; padding: 11px 12px; border: 1px solid #c9d3e3; border-radius: 8px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(43,182,115,.35); border-color: var(--green); }
.honeypot { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; }
.alert-success { background: #e6f7ee; color: #14623c; border: 1px solid #9fdcb9; }
.alert-error { background: #fde8e8; color: #8a1116; border: 1px solid #f3a7ab; }

/* Contact layout */
.contact-grid { display: grid; gap: 24px; }
.info-box { background: var(--bg); padding: 22px; border-radius: var(--radius); }
.info-box p { margin-bottom: .6em; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }

/* FAQ */
details { background: var(--bg); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy-dark); }
details p { margin: 10px 0 0; color: var(--muted); }

/* Gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.empty { text-align: center; color: var(--muted); padding: 30px; background: var(--bg); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #d7e0f2; padding-top: 40px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.footer-grid { display: grid; gap: 24px; padding-bottom: 24px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: .88rem; text-align: center; }

/* Floating quick actions (mobile) */
.floating-actions { position: fixed; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.fab { padding: 10px 14px; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 800; box-shadow: var(--shadow); font-size: .9rem; text-align: center; }
.fab-call { background: var(--red); }
.fab-wa { background: #25d366; }

/* Tablet and up */
@media (min-width: 720px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .floating-actions { flex-direction: row; }
}

/* Mobile navigation */
@media (max-width: 1240px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.1); padding: 8px 0;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; width: 92%; margin: 0 auto; }
    .site-nav a { padding: 12px; }
    .btn-call { display: none; }
    .header-inner { position: relative; }
}
@media (min-width: 1241px) {
    .brand-text small { display: block; }
}
@media (max-width: 480px) {
    .section { padding: 36px 0; }
    .topbar span { display: none; }
    .topbar-inner { justify-content: center; }
}
