/* ============================================================
   Aster Health — Medical Clinic (calm & trustworthy, multipage)
   AnubTech demo
============================================================ */

:root {
  --ink: #0d2b2b;
  --ink-2: #1b3a3a;
  --slate: #4a6060;
  --muted: #6b8080;
  --line: #e2edeb;
  --bg: #ffffff;
  --bg-soft: #f2f8f6;
  --brand: #0f8b7e;      /* teal */
  --brand-dark: #0b6f64;
  --brand-soft: #e2f4f0;
  --accent: #0ea5e9;     /* sky */
  --accent-soft: #e5f4fd;
  --amber: #f5a623;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(13,43,43,.05);
  --shadow: 0 24px 60px -28px rgba(13,43,43,.28);
  --maxw: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--brand); margin-bottom: 14px; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--slate); }
.muted { color: var(--muted); }
.section__head { max-width: 660px; margin-bottom: 52px; }
.center { text-align: center; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: inherit; font-weight: 700; cursor: pointer; border: none; padding: 12px 24px; border-radius: 999px; transition: transform .16s, box-shadow .16s, background .16s, color .16s; font-size: .96rem; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -10px rgba(15,139,126,.7); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); position: relative; flex-shrink: 0; }
.logo__mark::before { content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 16px; height: 4px; background: #fff; border-radius: 2px; }
.logo__mark::after { content: ""; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 4px; height: 16px; background: #fff; border-radius: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--slate); font-size: .96rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(50px, 7vw, 92px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -220px; right: -180px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(15,139,126,.14), transparent 70%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero__pill { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: .82rem; padding: 7px 15px; border-radius: 999px; margin-bottom: 20px; }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero__title { margin: 4px 0 22px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__trust { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero__trust div strong { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.hero__trust div span { color: var(--muted); font-size: .88rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5/5.4; object-fit: cover; }
.hero__card { position: absolute; bottom: -20px; left: -20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 250px; }
.hero__card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.hero__card strong { display: block; font-size: .95rem; }
.hero__card span { color: var(--muted); font-size: .82rem; }

/* Logo / trust strip */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg-soft); }
.trust-strip__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.trust-strip__row span { font-weight: 700; font-size: 1rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }

/* Services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .98rem; }
.card__link { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 700; font-size: .92rem; }
.card__link:hover { text-decoration: underline; }

/* Feature list (why us) */
.feature { display: flex; gap: 16px; }
.feature__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { color: var(--slate); font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--slate); font-size: .95rem; }

/* Stats band */
.stats-band { background: var(--brand); color: #fff; }
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-b { text-align: center; }
.stat-b strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.stat-b span { color: #c7ece7; font-size: .92rem; }

/* Team / doctors */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: left; }
.team-card__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.team-card:hover img { transform: scale(1.05); }
.team-card h3 { font-size: 1.08rem; }
.team-card .role { color: var(--brand); font-size: .88rem; font-weight: 700; }
.team-card p { color: var(--slate); font-size: .92rem; margin-top: 8px; }

/* Testimonial */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 54px); box-shadow: var(--shadow-sm); }
.testi .stars { color: var(--amber); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi blockquote { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.testi__by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.testi__by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi__by span { color: var(--muted); display: block; font-size: .9rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; top: -80px; right: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.cta h2 { color: #fff; position: relative; }
.cta p { color: #d5f0eb; max-width: 540px; margin: 14px auto 30px; position: relative; }
.cta .btn { position: relative; }

/* Page hero (inner pages) */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero .lead { margin-top: 14px; max-width: 640px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.12rem; }
.value p { color: var(--slate); font-size: .96rem; }

/* Service list rows (services page) */
.svc-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc-row__ic { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.7rem; }
.svc-row h3 { margin-bottom: 4px; }
.svc-row p { color: var(--slate); font-size: .97rem; }
.svc-row .price { font-weight: 800; color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.svc-row .price span { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }

/* Hours table */
.hours { list-style: none; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.hours li { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours li:last-child { border-bottom: 0; }
.hours li:nth-child(odd) { background: var(--bg-soft); }
.hours li span:first-child { font-weight: 700; }
.hours li .closed { color: #c05353; font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: inherit; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform .25s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--slate); }
.faq__a p { padding-bottom: 22px; }

/* Contact / appointment */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info strong { display: block; }
.contact-info span { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.form-note { margin-top: 14px; text-align: center; font-weight: 700; color: #16a34a; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* Footer */
.site-footer { background: var(--ink); color: #cbdad8; padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #93aba8; font-size: .95rem; max-width: 280px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a, .site-footer ul li { color: #93aba8; font-size: .94rem; }
.site-footer ul a:hover { color: #fff; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #93aba8; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s; }
  .nav-links.is-open { transform: none; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .nav-links .btn { width: 100%; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .grid-3, .steps, .stats-4, .team-grid, .values { grid-template-columns: 1fr 1fr; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .steps, .stats-4, .team-grid, .values, .form-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-row .price { grid-column: 2; text-align: left; }
  .svc-row__ic { width: 48px; height: 48px; font-size: 1.3rem; }
}
