/* ===========================================================
   Ayaksma Healthcare Pvt. Ltd. — Design System
   Palette: clinical blue + teal, spec-sheet layout language
   Type: Space Grotesk (display) / IBM Plex Sans (body)
=========================================================== */

:root {
  --ink: #101a24;
  --ink-soft: #46586a;
  --blue-deep: #0b3b60;
  --blue: #124b7a;
  --teal: #17827f;
  --teal-soft: #e4f2f1;
  --paper: #f6f8fa;
  --panel: #ffffff;
  --line: #d7e0e6;
  --amber: #d9722e;
  --max: 1160px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--blue-deep);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { max-width: 62ch; color: var(--ink-soft); }
a { color: var(--teal); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--blue-deep);
  color: #cfe3ee;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #eaf3f8; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-contacts span { margin-right: 18px; white-space: nowrap; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--blue-deep);
}
.brand .tag {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--teal);
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--blue-deep);
  border-bottom-color: var(--teal);
}
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--blue-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  nav.main-nav li { border-bottom: 1px solid var(--line); }
  nav.main-nav a { display: block; padding: 12px 4px; }
  .nav-row { flex-wrap: wrap; }
  .nav-cta { display: inline-block; margin: 10px 0; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #0b3b60 0%, #0e4d7d 100%);
  color: #eef5f9;
  padding: 68px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  color: #8fd6cf;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 { color: #ffffff; }
.hero p.lead {
  color: #cfe3ee;
  font-size: 1.08rem;
  max-width: 46ch;
  margin-top: 14px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 24px;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: .95rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #14706d; }
.btn-outline { border-color: #6a95b2; color: #eef5f9; }
.btn-outline:hover { background: rgba(255,255,255,.08); }

.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  padding: 26px;
  border-radius: var(--radius);
}
.hero-panel .readout-title {
  font-size: .78rem;
  letter-spacing: .04em;
  color: #8fd6cf;
  margin-bottom: 16px;
}
.readout-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .93rem;
}
.readout-row:first-of-type { border-top: none; }
.readout-row span:first-child { color: #b9d3e3; }
.readout-row span:last-child { color: #fff; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }

.hero-strip {
  margin-top: 46px;
  background: #ffffff10;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 24px;
}
.hero-strip .stat b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: #fff;
}
.hero-strip .stat span {
  font-size: .82rem;
  color: #b9d3e3;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.kicker {
  color: var(--teal);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }

.icon-box {
  width: 42px; height: 42px;
  border: 1px solid var(--teal);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  border-radius: var(--radius);
}

/* ---------- Vertical / product spec rows ---------- */
.vertical {
  display: grid;
  grid-template-columns: 70px 1.3fr 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.vertical:first-of-type { border-top: none; }
.vertical .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--teal);
  font-weight: 700;
}
.vertical h3 { margin-bottom: 6px; }
.vertical .meta {
  background: var(--teal-soft);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
}
.vertical .meta div { display: flex; justify-content: space-between; padding: 4px 0; }
.vertical .meta div span:first-child { color: var(--ink-soft); }
.vertical .meta div span:last-child { font-weight: 600; color: var(--blue-deep); }

@media (max-width: 700px) {
  .vertical { grid-template-columns: 1fr; }
}

/* ---------- Partners strip ---------- */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.partner-chip {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-deep);
}

/* ---------- Quote / commitment banner ---------- */
.banner {
  background: var(--blue-deep);
  color: #e9f2f7;
  padding: 54px 0;
}
.banner h2 { color: #fff; max-width: 20ch; }
.banner p { color: #c3dbe8; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-child { border-top: none; }
.info-row .label {
  width: 110px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--blue-deep);
  font-size: .88rem;
}
.info-row div p { margin: 0; font-size: .95rem; }

form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 6px;
  display: block;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
}
form.contact-form textarea { resize: vertical; min-height: 110px; }
form.contact-form button {
  align-self: flex-start;
  cursor: pointer;
}
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }

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

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0b1622;
  color: #a9bccb;
  padding: 50px 0 22px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
footer.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
footer.site-footer p { color: #93a7b8; font-size: .9rem; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a { color: #a9bccb; text-decoration: none; font-size: .9rem; }
footer.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1c2a38;
  margin-top: 34px;
  padding-top: 18px;
  font-size: .82rem;
  color: #6d8194;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--blue-deep);
  color: #fff;
  padding: 52px 0;
}
.page-hero .kicker { color: #8fd6cf; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.page-hero p { color: #cfe3ee; }
.breadcrumb { font-size: .82rem; color: #9fc3d8; margin-bottom: 12px; }
.breadcrumb a { color: #9fc3d8; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

ul.plain { padding-left: 20px; color: var(--ink-soft); }
ul.plain li { margin-bottom: 8px; }

.divider { height: 1px; background: var(--line); margin: 44px 0; border: 0; }
