/* Delhi Eye Clinics - cataract landing page. Mobile-first, no dependencies. */
:root {
  --navy: #22308f;
  --navy-deep: #16205f;
  --blue: #1a8fcf;
  --teal: #7fdde0;
  --ink: #16213e;
  --muted: #56617a;
  --line: #dbe4ef;
  --bg: #f4f8fc;
  --white: #fff;
  --amber: #ffc233;
  --amber-hover: #ffb000;
  --wa: #0f7d42;
  --wa-hover: #0b6636;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 32, 95, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--white);
  padding-bottom: 76px; /* room for sticky mobile bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-deep); }
h1 { font-size: clamp(1.75rem, 6.2vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 4.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 48px 0; }
.section.alt { background: var(--bg); }
.eyebrow { font: 700 .78rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #0b6a9e; margin: 0 0 .8em; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-call { background: var(--amber); color: var(--navy-deep); }
.btn-call:hover { background: var(--amber-hover); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--bg); }
.btn-block { width: 100%; }

/* Header - only the site-nav link row stays fixed on scroll; the topbar (logo/hours/call
   button) scrolls away normally. (2026-09-22) */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.topbar img { height: 40px; width: auto; }
.topbar .btn { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.topbar .hours { display: none; color: var(--muted); font-size: .9rem; margin-right: 14px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #2a6fb8); color: #fff; padding: 32px 0 40px; }
.hero h1 { color: #fff; }
.hero .grid { display: grid; gap: 28px; }
.hero .sub { font-size: 1.08rem; color: #dfe8fb; max-width: 56ch; }
.hero .sub strong { color: #fff; }
.ticks { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2316205f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lead form */
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.card .note { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #b9c6d8; border-radius: 10px;
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: 3px solid rgba(26, 143, 207, .25); outline-offset: 0; }
.field .err { display: none; color: #b3261e; font-size: .85rem; margin-top: 4px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.trust li { text-align: center; font-size: .88rem; color: var(--muted); line-height: 1.3; }
.trust b { display: block; font: 700 1.35rem/1.2 var(--serif); color: var(--navy); }

/* Symptoms */
.signs { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.signs li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 48px; position: relative; }
.signs li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(26, 143, 207, .18); }
.signs b { display: block; }
.signs span { color: var(--muted); font-size: .95rem; }
.callout { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--blue); background: #eaf5fc; border-radius: 0 12px 12px 0; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 68px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 1.1rem/38px var(--serif); text-align: center;
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); }

/* Doctor */
.doctor { display: grid; gap: 24px; align-items: center; }
.doctor figure { margin: 0; justify-self: center; }
.doctor img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; }
.doctor figcaption { text-align: center; margin-top: 10px; font-weight: 700; color: var(--navy-deep); }
.doctor figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.creds { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.creds li { padding-left: 26px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }

/* Centres */
.centres { display: grid; gap: 16px; margin-top: 22px; }
.centre { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.centre h3 { margin-bottom: .2em; }
.centre .where { color: var(--muted); margin-bottom: 12px; }
.centre .when { background: var(--bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-size: .96rem; }
.centre .when b { color: var(--navy-deep); }
.centre .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.centre .actions .btn { flex: 1 1 140px; min-height: 44px; padding: 8px 14px; font-size: .95rem; }

/* Cost */
.cost { display: grid; gap: 22px; }
.factors { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.factors li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.factors b { color: var(--navy-deep); }

/* FAQ */
.faq { margin-top: 20px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* Final CTA */
.final { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { color: #dfe8fb; max-width: 56ch; margin-inline: auto; }
.final .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* Footer */
footer { background: #0f1638; color: #b8c2e0; font-size: .88rem; padding: 32px 0 28px; }
footer a { color: #d7e0ff; }
footer img { height: 36px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0; }

/* Sticky mobile action bar */
.sticky { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(22, 32, 95, .12); }
.sticky .btn { min-height: 48px; padding: 8px 6px; font-size: .95rem; border-radius: 12px; }
.sticky .btn svg { width: 18px; height: 18px; }
.sticky .btn-book { background: var(--navy); color: #fff; }

/* Thank-you page */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: #e3f6ee; display: grid; place-items: center; margin: 0 auto 18px; }
.thanks .tick svg { width: 38px; height: 38px; }
.thanks .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 22px 0; }

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
  .section { padding: 72px 0; }
  .topbar .hours { display: inline; }
  .trust ul { grid-template-columns: repeat(4, 1fr); }
  .signs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .centres { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .doctor { grid-template-columns: 260px 1fr; gap: 40px; }
  .doctor img { width: 250px; height: 250px; }
  .cost { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero .grid { grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
  .card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- Added for the multi-page set ---- */
.services { display: grid; gap: 16px; margin-top: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--muted); margin-bottom: 1em; }
.service .tag { align-self: flex-start; font: 700 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #0b6a9e; background: #e6f3fb; border-radius: 999px; padding: 6px 10px; margin-bottom: 12px; }
.service .btn { margin-top: auto; align-self: flex-start; }
.callout.urgent { border-left-color: #b3261e; background: #fdeceb; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 50px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%;
  background: #e3f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230f7d42' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checks b { display: block; }
.checks span { color: var(--muted); font-size: .95rem; }
.plain { margin: 14px 0 0; padding-left: 1.2em; color: var(--muted); }
.plain li { margin-bottom: .4em; }
@media (min-width: 720px) {
  .services.three { grid-template-columns: repeat(3, 1fr); }
  .services.two { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr 1fr; }
}

/* ---- Added for the full-site rebuild (Home/About/Locations/Contact/Privacy/Terms) ---- */

/* Site nav: a slim browsable-site link row, used only on the pages above -
   the 4 ad/conversion landing pages stay distraction-free by design. */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-nav .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0; font-size: .92rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--navy); }

/* Lighter page-title header (no lead-capture card) for About/Locations/legal pages. */
.hero.banner-only { padding: 40px 0; }
.hero.banner-only .sub { color: #dfe8fb; }
@media (min-width: 960px) { .hero.banner-only { padding: 56px 0; } }

/* Career-timeline reuses the numbered .steps component; no extra CSS needed. */

/* Legal-page prose (Privacy Policy, Terms & Conditions). */
.legal { max-width: 760px; margin: 0 auto; }
.legal .meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.5em; }
.legal h2 { font-size: 1.3rem; margin: 0 0 .6em; }
.legal h3 { font-size: 1.05rem; color: var(--navy-deep); margin: 1.6em 0 .4em; }
.legal h3:first-of-type { margin-top: 0; }
.legal p { color: var(--muted); }
.legal p strong { color: var(--ink); }
