/* Nirogyam Clinic — service & location pages (loaded after style.css) */

.subpage .nav a.active::after { transform: scaleX(1); }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 118px 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(63,163,224,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(242,183,31,.12), transparent 60%),
    linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.page-hero-grid.solo { grid-template-columns: 1fr; max-width: 820px; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 18px 0 12px; }
.page-hero .hi-tag { font-family: var(--font-hi); font-size: clamp(18px, 2.2vw, 22px); color: var(--navy); font-weight: 600; margin: 0 0 14px; }
.page-hero .lead { margin-bottom: 28px; max-width: 640px; }
.accent-text { background: linear-gradient(100deg, var(--navy-2), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5c0d6; }
.crumbs a { color: var(--navy-2); }
.crumbs a:hover { text-decoration: underline; }

/* side cards in hero */
.glance-card, .route-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.glance-card h2 { font-size: 18px; margin: 0 0 14px; }
.glance-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.glance-card li { display: flex; gap: 12px; }
.glance-card .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--sky-soft); color: var(--navy-2); display: grid; place-items: center; }
.glance-card .ic svg { width: 20px; height: 20px; }
.glance-card li b { display: block; font-size: 15px; }
.glance-card li span { color: var(--muted); font-size: 14px; }
.glance-card li a { color: var(--navy-2); font-weight: 700; }

.route-card .route-from { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-2); }
.route-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.route-stats > div { background: var(--bg-alt); border-radius: 16px; padding: 14px; }
.route-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.route-stats small { font-size: 14px; }
.route-stats span { font-size: 13px; color: var(--muted); font-weight: 600; }
.route-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.route-card .btn { width: 100%; justify-content: center; }

/* ---------- Content blocks ---------- */
.section.alt { background: var(--bg-alt); }
.h3 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose p { color: #33405f; font-size: 17px; margin: 16px 0 0; }
.text-link { color: var(--navy-2); font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.more-link { text-align: center; margin: 28px 0 0; }

.cond-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cond-list li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cond-list b { display: block; font-size: 16px; color: var(--navy); }
.cond-list span { color: var(--muted); font-size: 15px; }
.cond-list a { color: var(--navy-2); font-weight: 700; }

.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; font-size: 16px; color: #33405f; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }

.flag-box { background: #fff7f5; border: 1px solid #f6d3cb; border-radius: 24px; padding: 26px; }
.flag-box h2 { color: #a3331d; }
.flag-box ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; color: #5c2a20; }
.flag-box p { margin: 0; font-size: 14.5px; color: #7a4a40; }

.plan-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-steps li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; transition-delay: var(--d, 0s); }
.plan-steps .n { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.plan-steps h3 { margin: 0 0 6px; font-size: 18px; }
.plan-steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* doctor strip */
.doc-mini-wrap { padding-top: 0; }
.doc-mini { display: flex; gap: 28px; align-items: center; background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.doc-mini img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid rgba(255,255,255,.2); }
.doc-mini .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.doc-mini h2 { margin: 12px 0 8px; font-size: clamp(22px, 3vw, 30px); }
.doc-mini p { margin: 0 0 12px; color: rgba(255,255,255,.85); }
.doc-mini .text-link { color: var(--gold); }

/* service link cards */
.svc-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-link { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svc-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.svc-link .icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--sky-soft); color: var(--navy-2); display: grid; place-items: center; }
.svc-link .icon svg { width: 26px; height: 26px; }
.svc-link .txt { flex: 1; min-width: 0; }
.svc-link b { display: block; font-size: 16px; line-height: 1.3; }
.svc-link .hi { color: var(--navy-2); font-size: 14px; font-weight: 600; }
.svc-link .go { color: var(--navy-2); font-weight: 800; transition: transform .3s var(--ease); }
.svc-link:hover .go { transform: translateX(4px); }

/* distance lists */
.dist-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.dist-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 16px; }
.dist-list li:first-child { border-top: 0; }
.dist-list a { color: var(--navy-2); font-weight: 700; }
.dist-list a:hover { text-decoration: underline; }
.dist-list b { color: var(--navy); white-space: nowrap; }
.note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-chips a { background: #fff; border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 18px; font-weight: 700; color: var(--navy); transition: border-color .3s, transform .3s var(--ease); }
.area-chips a:hover { border-color: var(--navy-2); transform: translateY(-2px); }
.area-chips small { color: var(--muted); font-weight: 600; margin-left: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-links { grid-template-columns: repeat(2, 1fr); }
  .plan-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .page-hero { padding-top: 100px; }
  .page-hero-grid, .two-col { grid-template-columns: 1fr; }
  .doc-mini { flex-direction: column; text-align: center; }
  .page-hero .hero-cta, .page-hero .hero-trust { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .svc-links, .plan-steps { grid-template-columns: 1fr; }
  .page-hero .hero-trust { gap: 10px 16px; }
}

/* ---------- Faridabad landing page (linked from Google Business Profile) ---------- */
.nap-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.nap-card h2 { font-size: 19px; line-height: 1.3; margin: 0 0 16px; color: var(--navy); }
.nap-card dl { margin: 0; display: grid; gap: 14px; }
.nap-card dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.nap-card dt { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; font-size: 14px; color: var(--navy-2); }
.nap-card dt svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.nap-card dd { margin: 0; font-size: 15px; color: #33405f; }
.nap-card dd small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.nap-card dd a { color: var(--navy); font-weight: 700; }
.nap-card dd .open-status { display: flex; margin-top: 6px; }
.nap-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nap-actions .btn { justify-content: center; }
.visit-card small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.g-item { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--sky-soft); }
.g-item a, .g-item img, .g-item video { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-item img { transition: transform .6s var(--ease); }
.g-item a:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(11,23,54,.72); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; pointer-events: none; }
.g-lead { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

.hours-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 8px; }
.hours-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hours-table th, .hours-table td { padding: 12px 18px; text-align: left; border-top: 1px solid var(--line); font-size: 15.5px; }
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 0; }
.hours-table th { font-weight: 700; color: var(--navy); width: 40%; }
.hours-table td { color: #33405f; }
.hours-table tr.today { background: var(--gold-soft); }
.hours-table tr.today th::after { content: "Today"; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 2px 8px; border-radius: 99px; }

.facts { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts b { color: var(--navy); font-size: 15px; }
.facts span { color: #33405f; font-size: 15px; }

.review-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rs-score { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 36px; text-align: center; box-shadow: var(--shadow-sm); }
.rs-score b { display: block; font-size: 64px; line-height: 1; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.rs-stars { display: block; color: var(--gold); font-size: 24px; letter-spacing: 3px; margin: 8px 0 4px; }
.rs-score > span:last-child { color: var(--muted); font-weight: 700; font-size: 14px; }

.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }

@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reach-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .review-summary { grid-template-columns: 1fr; text-align: center; }
  .review-summary .hero-cta { justify-content: center; }
  .rs-score { justify-self: center; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 8px; }
  .reach-grid { grid-template-columns: 1fr; }
  .nap-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
