:root {
  --ink: #172033;
  --muted: #5c667a;
  --line: #d9e0ea;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --blue: #1647a8;
  --blue-dark: #0c2f73;
  --orange: #f47b20;
  --green: #16835f;
  --red: #b83d46;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: #070707;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 168, 74, 0.36);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: -3px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.login-button,
.primary-action,
.secondary-action,
.support-grid button,
.product-card button,
.business-form button,
.scheme-tabs button,
.district-panel button,
.brand-grid button,
.role-grid button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.login-button,
.primary-action {
  color: #fff;
  background: var(--orange);
  padding: 12px 18px;
}

.secondary-action {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 11px 18px;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  place-items: center;
  gap: 4px;
}

.icon-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(5, 18, 43, 0.88), rgba(5, 18, 43, 0.58), rgba(5, 18, 43, 0.22));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 30px clamp(18px, 6vw, 80px);
}

.hero-logo {
  width: clamp(52px, 7vw, 78px);
  height: clamp(52px, 7vw, 78px);
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(232, 201, 97, 0.42), 0 18px 45px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 3.35rem);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
}

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

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band article {
  padding: 14px 18px;
  background: #fff;
  text-align: center;
}

.stats-band strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
}

.stats-band span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.split-section,
.coverage-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-section {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 34px;
  padding-bottom: 30px;
}

.about-section h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
}

.about-section p {
  margin: 12px 0 0;
}

.section h2 {
  max-width: 850px;
  font-size: clamp(1.75rem, 3.4vw, 3.35rem);
}

.section p {
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 480px;
  margin: 0;
}

.mission-grid,
.support-grid,
.product-grid {
  display: grid;
  gap: 16px;
}

.mission-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
}

.mission-grid article,
.product-card,
.scheme-card,
.support-grid article,
.business-form,
.contact-section,
.login-modal form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mission-grid article {
  padding: 14px;
}

.mission-grid h3 {
  margin: 0 0 6px;
}

.mission-grid p {
  margin: 0;
}

.compact-brands {
  padding-top: 24px;
  padding-bottom: 36px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.product-card span,
.coverage-details span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.brand-grid button {
  min-height: 92px;
  color: var(--blue-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 1.05rem;
}

.brand-grid button:hover,
.brand-grid button:focus-visible,
.brand-grid button.active {
  color: #fff;
  background: var(--blue);
}

.product-section,
.schemes-section,
.form-section {
  background: var(--soft);
}

.product-tools {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

.stock-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stock-toggle input {
  width: auto;
  min-height: auto;
}

.stock-toggle span {
  margin: 0;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  overflow: hidden;
}

.product-image {
  min-height: 150px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-dark);
  font-size: 3rem;
  font-weight: 800;
}

.product-card-body {
  padding: 18px;
}

.product-card h3 {
  margin: 0 0 6px;
}

.product-card p {
  margin: 8px 0 16px;
}

.product-card button {
  width: 100%;
  padding: 10px 12px;
  color: var(--blue);
  background: #edf3ff;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  padding: 4px 8px;
  color: var(--blue-dark);
  background: #e9eef7;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
}

.coverage-details {
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--orange);
  background: var(--soft);
}

.coverage-details strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.coverage-map-wrap {
  display: grid;
  gap: 16px;
}

.up-map {
  padding: 16px;
  background: #eef4fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.up-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-base {
  fill: #d6e2f2;
  stroke: #9eb0c9;
  stroke-width: 4;
}

.map-highlight {
  fill: rgba(22, 71, 168, 0.12);
  stroke: rgba(22, 71, 168, 0.42);
  stroke-dasharray: 8 8;
  stroke-width: 3;
}

.map-pin {
  cursor: pointer;
}

.map-pin circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 2;
  filter: drop-shadow(0 5px 8px rgba(23, 32, 51, 0.2));
}

.map-pin text {
  fill: var(--ink);
  font-size: 7px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
}

.map-pin.active circle,
.map-pin:focus-visible circle {
  fill: var(--orange);
  stroke: #fff;
}

.map-pin.active text {
  fill: #fff;
}

.district-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 20px;
  background: #ecf2fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.district-panel button {
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.86rem;
}

.district-panel button.active {
  color: #fff;
  background: var(--green);
}

.scheme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.scheme-tabs button {
  padding: 10px 14px;
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.scheme-tabs button.active {
  color: #fff;
  background: var(--blue);
}

.scheme-card {
  padding: 24px;
}

.scheme-card h3 {
  margin: 0 0 8px;
}

.support-grid {
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
}

.support-grid article {
  padding: 24px;
}

.support-grid button {
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
}

.business-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 22px;
}

.business-form .wide {
  grid-column: 1 / -1;
}

.business-form button,
.business-form .form-status {
  justify-self: start;
}

.form-status {
  margin: 8px 0 0;
  color: var(--green);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

address {
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
}

.map-panel {
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(rgba(12, 47, 115, 0.36), rgba(12, 47, 115, 0.8)),
    url("https://images.unsplash.com/photo-1573164574572-cb89e39749b4?auto=format&fit=crop&w=1200&q=80") center/cover;
  border-radius: 8px;
}

.map-panel span {
  font-weight: 700;
}

.map-panel strong {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #dce6f6;
  background: #0d1a2d;
}

.site-footer p {
  margin: 4px 0 0;
  color: #aebbd0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.login-modal {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-modal::backdrop {
  background: rgba(10, 20, 36, 0.58);
}

.login-modal form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.close-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.role-grid button {
  min-height: 44px;
  color: var(--blue-dark);
  background: var(--soft);
}

.role-grid button.active {
  color: #fff;
  background: var(--blue);
}

@media (max-width: 1040px) {
  .stats-band,
  .brand-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tools,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stock-toggle {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .icon-button {
    display: grid;
    justify-self: end;
  }

  .site-nav,
  .login-button {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
  }

  .site-nav.open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.open + .login-button {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .hero {
    min-height: 40vh;
  }

  .hero-content {
    margin-top: 42px;
    margin-bottom: 42px;
  }

  .split-section,
  .coverage-section,
  .section-heading,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .product-tools,
  .support-grid,
  .business-form {
    grid-template-columns: 1fr;
  }

  .business-form .wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .stats-band,
  .brand-grid,
  .product-grid,
  .mission-grid,
  .district-panel,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 46px 16px;
  }

  .site-footer {
    padding: 28px 16px;
  }
}
