:root {
  --bg: #eef7f6;
  --surface: #ffffff;
  --surface-soft: #f7fbfd;
  --ink: #0d1b2a;
  --muted: #596a78;
  --blue: #0a66c2;
  --blue-dark: #073f7c;
  --green: #17a568;
  --teal: #1397a7;
  --red: #d92d20;
  --amber: #b7791f;
  --line: #d8e7ee;
  --shadow: 0 18px 45px rgba(13, 27, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(13, 27, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #f8fbff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header,
.page-shell {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.site-lockup,
.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background:
    #ffffff url("assets/sehat-suraksha-symbol.png") center / contain no-repeat;
  border: 1px solid rgba(10, 102, 194, 0.22);
  box-shadow: var(--shadow-soft);
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.trust-badge,
.badge,
.status-pill,
.lock-pill,
.profile-topline,
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-badge,
.badge {
  border-radius: 999px;
  background: #e8f8f1;
  color: #087047;
  padding: 10px 14px;
  white-space: nowrap;
}

.home-shell {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 28px;
  padding: 28px 0 54px;
}

.hero-copy {
  align-self: center;
  padding: clamp(18px, 4vw, 36px) 0;
}

.eyebrow {
  color: var(--blue);
  margin-bottom: 14px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
}

.tagline {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 650;
  line-height: 1.45;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  padding: 9px 12px;
  box-shadow: var(--shadow-soft);
}

.brand-showcase {
  align-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 42, 0.16);
  box-shadow: var(--shadow);
  padding: clamp(10px, 2vw, 18px);
}

.brand-showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.profile-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-card,
.section-card,
.notice-card,
.hero-alert {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.profile-card {
  position: relative;
  display: grid;
  min-height: 172px;
  gap: 12px;
  overflow: hidden;
  padding: 24px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.profile-card::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.profile-card:hover,
.profile-card:focus-visible {
  border-color: rgba(10, 102, 194, 0.48);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.profile-topline {
  color: var(--green);
}

.profile-card strong {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
}

.profile-meta {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.page-shell {
  padding: 18px 0 104px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
}

.hero-alert {
  overflow: hidden;
  border-color: rgba(217, 45, 32, 0.22);
}

.alert-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff1f0;
  border-bottom: 1px solid rgba(217, 45, 32, 0.2);
  color: var(--red);
  padding: 13px clamp(18px, 3vw, 28px);
}

.alert-strip strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.last-updated {
  color: #8f1d16;
  font-size: 13px;
  font-weight: 800;
}

.patient-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 36px);
  padding: clamp(22px, 4vw, 34px);
}

.patient-heading {
  display: grid;
  gap: 16px;
  align-content: start;
}

.patient-heading h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.96;
}

.patient-subline {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e8f8f1;
  color: #087047;
  padding: 9px 12px;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  min-height: 92px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 15px;
}

.field span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.field strong {
  display: block;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.field-critical {
  background: #fff8f7;
  border-color: rgba(217, 45, 32, 0.22);
}

.field-critical span {
  color: var(--red);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn-call {
  background: var(--red);
  box-shadow: 0 16px 34px rgba(217, 45, 32, 0.25);
}

.btn-location {
  background: var(--blue);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  margin-top: 18px;
}

.stack {
  display: grid;
  gap: 18px;
}

.section-card,
.notice-card {
  padding: clamp(20px, 3vw, 28px);
}

.section-card h2,
.notice-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.15;
}

.section-card h2 svg,
.notice-card h2 svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.summary-list,
.instruction-list,
.locked-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li,
.instruction-list li,
.locked-list li {
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  line-height: 1.45;
}

.summary-list li {
  padding: 15px;
}

.summary-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-dark);
}

.status-banner {
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f8f1, #eaf6ff);
  border: 1px solid rgba(19, 151, 167, 0.2);
  color: #0d6148;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.4;
  padding: 18px;
}

.locked-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.lock-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef4f8;
  color: var(--muted);
  padding: 6px 10px;
}

.locked-message {
  color: var(--muted);
  line-height: 1.55;
  margin: 16px 0 0;
}

.footer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 18px;
  text-align: center;
}

.footer strong {
  color: var(--ink);
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  min-width: 196px;
}

@media (max-width: 900px) {
  .home-shell,
  .patient-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .brand-showcase {
    max-width: 520px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .topbar,
  .alert-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-badge,
  .badge,
  .last-updated {
    white-space: normal;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .floating-call {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
