:root {
  --ink: #1c3550;
  --ink-soft: #4a5568;
  --paper: #eff8fb;
  --surface: #ffffff;
  --line: rgba(28, 53, 80, 0.12);
  --jade: #2b93c4;
  --jade-dark: #1f7caa;
  --jade-pale: #dbf0f6;
  --gold: #5fa562;
  --gold-pale: #e0f0dd;
  --social: #5fa562;
  --social-pale: #e0f0dd;
  --learn: #3a5d7a;
  --learn-pale: #eff8fb;
  --shadow: 0 24px 70px rgba(28, 53, 80, 0.09);
}

@font-face { font-family: "Cairo"; src: url("./assets/fonts/cairo-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("./assets/fonts/cairo-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("./assets/fonts/cairo-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("./assets/fonts/cairo-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Cairo"; src: url("./assets/fonts/cairo-800.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(95, 165, 98, 0.1), transparent 26rem),
    radial-gradient(circle at 90% 28%, rgba(43, 147, 196, 0.1), transparent 30rem),
    var(--paper);
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--jade-dark);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(28, 53, 80, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 84px;
  height: 58px;
  object-fit: contain;
  filter: sepia(1) hue-rotate(169deg) saturate(1.9) brightness(1);
}

.brand-copy { display: grid; line-height: 1.25; }
.brand-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 0.72rem; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.main-nav a:hover { color: var(--jade); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 96px 0 90px;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero-copy { width: min(850px, 100%); }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(95, 165, 98, 0.14);
}

.hero h1 {
  margin: 20px 0 24px;
  max-width: 680px;
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.hero h1 span { color: var(--jade); }

.hero-copy > p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 2;
}

.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--jade); box-shadow: 0 12px 24px rgba(43, 147, 196, 0.22); }
.button-primary:hover { background: var(--jade-dark); }
.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.65); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 104px 0; }
.section-heading { max-width: 660px; margin-bottom: 48px; }
.section-heading h2, .security-intro h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.section-heading p, .security-intro p { margin: 0; color: var(--ink-soft); }
.compact-heading { margin-bottom: 36px; }

.plan-section { border-top: 1px solid var(--line); }
.interactive-map {
  position: relative;
  padding: 48px 34px 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 8%, rgba(95, 165, 98, 0.08), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(219, 240, 246, 0.68));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-hub {
  position: relative;
  z-index: 2;
  width: min(310px, 80%);
  min-height: 142px;
  margin-inline: auto;
  padding: 16px 24px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 22px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 38px rgba(28, 53, 80, 0.2);
}
.map-hub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 62px;
  background: rgba(43, 147, 196, 0.55);
  transform: translateX(-50%);
}
.map-hub small { color: rgba(255, 255, 255, 0.64); font-size: 0.69rem; font-weight: 700; }
.map-hub img { width: 102px; height: 64px; object-fit: contain; filter: brightness(0) invert(1); }

.map-domain {
  display: inline-flex;
  direction: ltr;
  padding: 4px 9px;
  border: 1px solid rgba(28, 53, 80, 0.14);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.4;
}
.map-domain-dark { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }

.map-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 92px;
}
.map-branches::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 30px);
  right: calc(16.666% - 3px);
  left: calc(16.666% - 3px);
  height: 2px;
  background: rgba(43, 147, 196, 0.55);
}

.map-destination {
  position: relative;
  min-height: 268px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28, 53, 80, 0.12);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(28, 53, 80, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.map-destination::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 32px;
  background: rgba(43, 147, 196, 0.55);
  transform: translateX(-50%);
}
.map-destination:hover,
.map-destination:focus-visible {
  z-index: 2;
  border-color: rgba(43, 147, 196, 0.48);
  box-shadow: 0 22px 50px rgba(28, 53, 80, 0.14);
  transform: translateY(-5px);
}
.map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.map-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 1.15rem;
  font-weight: 800;
}
.map-admin .map-icon { color: var(--jade); background: var(--jade-pale); }
.map-social .map-icon { color: var(--social); background: var(--social-pale); }
.map-learn .map-icon { color: var(--learn); background: var(--learn-pale); }
.map-label { margin-top: 26px; color: var(--jade); font-size: 0.72rem; font-weight: 800; }
.map-destination h3 { margin: 2px 0 7px; font-size: 1.15rem; line-height: 1.45; }
.map-destination p { margin: 0; color: var(--ink-soft); font-size: 0.78rem; line-height: 1.8; }
.map-status { margin-top: 13px; color: var(--jade); font-size: 0.66rem; font-weight: 800; }
.map-go {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 800;
}
.map-go b { color: var(--jade); font-size: 1rem; }

.map-guardrail {
  margin-top: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 0.69rem;
}
.map-guardrail strong { color: #fff; font-size: 0.82rem; }
.map-guardrail strong span { color: var(--gold); }

.security-section { border-top: 1px solid var(--line); }
.security-intro { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 22px; max-width: 880px; }
.shield {
  width: 58px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--jade);
  font-size: 1.4rem;
  font-weight: 800;
  clip-path: polygon(50% 0, 94% 15%, 87% 72%, 50% 100%, 13% 72%, 6% 15%);
}
.security-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.security-grid article { padding: 30px 24px; border-inline-start: 1px solid var(--line); }
.security-grid article:first-child { border-inline-start: 0; }
.security-grid article > span { color: var(--gold); font-family: ui-monospace, monospace; font-size: 0.72rem; font-weight: 800; }
.security-grid h3 { margin: 22px 0 8px; font-size: 1rem; }
.security-grid p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }

.promise {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  padding: 72px 40px;
  text-align: center;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,0.12), transparent 20rem),
    linear-gradient(135deg, var(--jade-dark), var(--ink));
  box-shadow: 0 28px 70px rgba(28, 53, 80, 0.2);
}
.promise > span { color: rgba(255, 255, 255, 0.63); font-size: 0.78rem; font-weight: 800; }
.promise blockquote { margin: 14px 0 12px; font-size: clamp(2rem, 4.5vw, 4.3rem); font-weight: 800; line-height: 1.35; letter-spacing: -0.04em; }
.promise p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.85rem; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.site-footer > div { display: grid; }
.site-footer strong { color: var(--ink); letter-spacing: 0.12em; }
.site-footer p { margin: 0; }

:focus-visible { outline: 3px solid rgba(130, 203, 225, 0.85); outline-offset: 4px; }

@media (max-width: 920px) {
  .hero { padding-top: 72px; }
  .map-branches { gap: 12px; }
  .map-destination { min-height: 285px; padding: 18px; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .security-grid article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .security-grid article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .site-header { min-height: 74px; }
  .main-nav { display: none; }
  .brand-copy small { display: none; }
  .hero { min-height: auto; padding: 64px 0 72px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 76px 0; }
  .interactive-map { padding: 30px 16px 18px; border-radius: 24px; }
  .map-hub { width: min(260px, 92%); min-height: 126px; }
  .map-hub::after { height: 38px; }
  .map-branches { grid-template-columns: 1fr; gap: 14px; margin-top: 52px; }
  .map-branches::before { display: none; }
  .map-destination { min-height: 244px; padding: 20px; }
  .map-destination::before { display: none; }
  .map-label { margin-top: 20px; }
  .map-guardrail { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 7px; }
  .security-intro { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .security-grid article { border-inline-start: 0; border-top: 1px solid var(--line); }
  .security-grid article:first-child { border-top: 0; }
  .promise { padding: 56px 22px; margin-bottom: 60px; }
  .site-footer { padding: 26px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
