:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text-main: #030811;
  --text-soft: #6d6e71;
  --heading-blue: #234467;
  --border: #d6deea;
  --border-neutral: #d8d8d8;
  --primary: #14a3dc;
  --primary-hover: #0f93c7;
  --accent: #14a3dc;
  --disabled-bg: #f7f7f7;
  --disabled-text: #8b8b8b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.top-hero,
.page-shell {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px))
    max(1rem, env(safe-area-inset-right, 0px));
}

.top-hero {
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: 1.4rem;
  text-align: center;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.page-shell {
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 2rem;
}

.logo-wrap {
  width: clamp(170px, 52vw, 360px);
  height: auto;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

h1 {
  margin: 0;
  font-size: clamp(1.15rem, 5.2vw, 2.28rem);
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--heading-blue);
  line-height: 1.25;
  max-width: 100%;
  padding-inline: 0.25rem;
}

.hero-subline {
  margin: 0;
  color: #8b8b8b !important;
  font-size: clamp(0.88rem, 3.6vw, 1.1rem);
  font-weight: 500;
  max-width: 22rem;
  line-height: 1.5;
  padding-inline: 0.5rem;
}

.national-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfdbe8;
  border-radius: 16px;
  background: #ffffff;
  padding: 1rem 0.85rem;
  text-align: center;
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.national-panel::before {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 50%;
  width: 100%;
  max-width: 100vw;
  transform: translateX(-50%);
  border-radius: 20px;
  background:
    radial-gradient(72% 140% at -2% 92%, rgba(196, 230, 244, 0.32) 0%, rgba(196, 230, 244, 0) 82%),
    radial-gradient(70% 138% at 102% 14%, rgba(217, 236, 203, 0.28) 0%, rgba(217, 236, 203, 0) 84%),
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid #d9e4ef;
  pointer-events: none;
  z-index: 0;
}

.national-panel > * {
  position: relative;
  z-index: 1;
}

.regional-cards {
  display: grid;
  gap: 1rem;
}

.division-card {
  background: var(--surface);
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  display: grid;
  gap: 0.55rem;
  transition: border-color 200ms ease, transform 200ms ease, background-color 200ms ease;
  text-align: center;
  justify-items: center;
  align-content: center;
  min-height: auto;
}

.division-card:hover {
  border-color: #c9d4e2;
  transform: translateY(-1px);
  background-color: #fcfdff;
}

.division-card--active {
  border-color: #c5d8ea;
}

.division-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: clamp(0.88rem, 3.4vw, 1.14rem);
  line-height: 1.35;
  color: var(--primary);
  text-transform: uppercase;
  max-width: 100%;
}

.division-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.division-card .cta {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  width: 100%;
  max-width: 17.5rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 148px;
  min-height: 2.75rem;
  border-radius: 999px;
  padding: 0.58rem 1.12rem;
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #0000;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cta--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cta--primary:hover,
.cta--primary:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.cta--primary:focus-visible {
  outline: 2px solid #8fe3ff;
  outline-offset: 2px;
}

.cta--disabled {
  background: var(--disabled-bg);
  color: var(--disabled-text);
  border-color: var(--border-neutral);
  cursor: not-allowed;
}

.footer {
  margin-top: 0;
  padding-top: 1rem;
  display: grid;
  gap: 1rem;
  text-align: center;
}

.footer-top {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.footer-contact {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}

.footer-label {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  color: #8a939b;
}

.footer-contact a,
.footer-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--primary);
}

.socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  padding-top: 0.2rem;
}

.socials a {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 9px;
  border: 1px solid var(--border-neutral);
  display: inline-grid;
  place-items: center;
  color: #6d6e71;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: #f0f6fc;
  color: var(--primary);
  border-color: #d6deea;
}

.footer-bottom {
  display: grid;
  gap: 0.65rem;
  align-items: center;
  justify-items: center;
  border-top: 1px solid #eceff3;
  padding-top: 1rem;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.legal {
  margin: 0;
  font-size: 0.74rem;
  color: #8b8b8b;
  max-width: 36rem;
  text-align: center;
  line-height: 1.55;
  padding-inline: 0.25rem;
}

@media (max-width: 719px) {
  .division-card:hover {
    transform: none;
  }

  .national-panel::before {
    width: calc(100% + 1.5rem);
  }
}

@media (min-width: 720px) {
  .top-hero,
  .page-shell {
    padding-inline: 1.25rem;
  }

  .hero-subline {
    max-width: none;
    white-space: nowrap;
  }

  h1 {
    letter-spacing: 0.07em;
  }

  .national-panel {
    overflow: visible;
  }

  .national-panel::before {
    top: -30px;
    bottom: -30px;
    width: min(1480px, 138vw);
    border-radius: 28px;
  }

  .division-card .cta {
    width: auto;
    max-width: none;
    min-width: 190px;
  }

  .footer {
    text-align: left;
  }

  .footer-top {
    justify-items: stretch;
  }

  .footer-contact {
    justify-items: start;
  }
  .top-hero {
    padding-top: 1.4rem;
    padding-bottom: 2.3rem;
  }

  .page-shell {
    gap: 3.2rem;
  }

  .national-panel {
    padding: 2.2rem 1.3rem 1.4rem;
    gap: 1rem;
  }

  .regional-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .division-card {
    padding: 1.8rem 1.3rem;
    min-height: 210px;
    align-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }

  .footer-nav {
    justify-items: end;
  }

  .footer-bottom {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
  }
}
