/* Satish Netralaya public page. Colours from the clinic's logo (blue eye, navy lettering) and signboard (red). */
:root { --blue: #0f74ba; --blue-dark: #0b5a91; --navy: #12205a; --red: #cf2129; --ink: #1d2433; --muted: #5b6577; --line: #dbe3ee; --soft: #eef5fb; --bg: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", "Noto Sans Devanagari", sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); } h2 span { display: block; font-size: 1rem; color: var(--blue); font-weight: 600; margin-top: .2rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; } .skip:focus { left: 16px; top: 8px; background: #fff; padding: .4rem .8rem; z-index: 10; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.btn { display: inline-block; padding: .75rem 1.2rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn.primary { background: var(--blue); color: #fff; } .btn.primary:hover { background: var(--blue-dark); }
.btn.ghost { border-color: var(--line); color: var(--navy); background: #fff; } .btn.ghost:hover { border-color: var(--blue); }
.btn.call { background: var(--red); color: #fff; padding: .55rem 1rem; white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.2rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 64px; height: 40px; object-fit: contain; }
.brand > span { display: flex; flex-direction: column; line-height: 1.2; } .brand b { font-size: 1.1rem; } .brand span span { color: var(--blue); font-weight: 600; }
.links { display: flex; gap: 1.2rem; margin-left: auto; } .links a { color: var(--ink); text-decoration: none; font-weight: 500; } .links a:hover { color: var(--blue); }

.hero { background: linear-gradient(180deg, var(--soft), #fff); padding: 3rem 0 2.5rem; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--red); margin: 0 0 .6rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hero .hi { font-size: 1.15rem; color: var(--blue); font-weight: 600; margin: 0 0 1rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 .6rem; }
.note { font-size: .9rem; color: var(--muted); margin: 0; }
.hero-photo { margin: 0; position: relative; } .hero-photo img { border-radius: 18px; box-shadow: 0 18px 40px rgba(18, 32, 90, .18); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 10px; padding: .45rem .8rem; font-size: .95rem; box-shadow: 0 4px 14px rgba(18, 32, 90, .15); }

.facts { background: var(--navy); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.facts b { display: block; font-size: 1.05rem; } .facts span { color: #c9d4f2; font-size: .95rem; }

.block { padding: 3.5rem 0; scroll-margin-top: 70px; } .block.alt { background: var(--soft); }
.cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.cards li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: 1.1rem 1.2rem; }
.cards h3 { font-size: 1.08rem; margin-bottom: .3rem; } .cards p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.steps li { background: #fff; border-radius: 12px; padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start; border: 1px solid var(--line); }
.steps b { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }

.doctor { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.doctor img { border-radius: 18px; } .role { color: var(--red); font-weight: 700; margin-top: -.3rem; }

.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.hours th, .hours td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; color: var(--navy); width: 55%; } .hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.contact address { font-style: normal; font-size: 1.05rem; margin-bottom: 1rem; }

.foot { background: var(--navy); color: #c9d4f2; font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.foot a { color: #fff; }

@media (max-width: 760px) {
  .links { display: none; }
  .top-in { gap: .6rem; } .btn.call { margin-left: auto; font-size: .9rem; }
  .brand b { font-size: 1rem; } .brand img { width: 52px; height: 32px; }
  .hero { padding-top: 1.8rem; } .hero-in, .doctor, .two { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .facts-in, .steps { grid-template-columns: minmax(0, 1fr); }
  .ctas .btn { flex: 1 1 100%; text-align: center; }
}
