:root {
  --blue-950: #05283f;
  --blue-900: #06395a;
  --blue-800: #074d78;
  --blue-700: #086a99;
  --blue-100: #dff5ff;
  --blue-50: #f2fbff;
  --sand: #f7efd9;
  --gold: #d7a937;
  --green: #0b7c5f;
  --red: #dd2f2f;
  --ink: #10202b;
  --muted: #657481;
  --line: #dbe9ef;
  --bg: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(5, 40, 63, 0.12);
  --shadow-soft: 0 12px 30px rgba(5, 40, 63, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: var(--blue-950);
  color: white;
  padding: .75rem 1rem;
  border-radius: 10px;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}
.topbar .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .35rem 0;
}
.topbar a { color: white; font-weight: 650; }
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.09);
  border-radius: 999px;
  padding: .25rem .7rem;
  white-space: nowrap;
}
.demo-pill::before {
  content: "";
  width: .48rem;
  height: .48rem;
  background: var(--gold);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219,233,239,.85);
}
.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 230px;
}
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(5,40,63,.14));
}
.brand-text strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand-text span {
  color: var(--muted);
  font-size: .82rem;
  display: block;
  margin-top: .15rem;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  padding: .72rem .84rem;
  border-radius: 999px;
  color: #263946;
  font-weight: 700;
  font-size: .95rem;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--blue-50);
  color: var(--blue-800);
}
.nav-cta {
  background: var(--blue-900) !important;
  color: white !important;
  box-shadow: 0 9px 22px rgba(6,57,90,.20);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-950);
  border-radius: 14px;
  padding: .65rem .75rem;
  font-weight: 800;
}

main { overflow: hidden; }
.hero {
  position: relative;
  padding: 76px 0 46px;
  background:
    radial-gradient(circle at 82% 12%, rgba(215,169,55,.28), transparent 24%),
    linear-gradient(135deg, #f9fdff 0%, #e7f8ff 48%, #f8f0d7 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--bg));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  color: var(--blue-800);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(8,106,153,.14);
  border-radius: 999px;
  padding: .42rem .74rem;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: var(--shadow-soft);
}
.eyebrow::before {
  content: "";
  width: .52rem;
  height: .52rem;
  border-radius: 999px;
  background: var(--green);
}
h1, h2, h3, h4 { margin: 0; color: var(--blue-950); line-height: 1.12; letter-spacing: -.035em; }
h1 {
  font-size: clamp(2.55rem, 6vw, 5rem);
  margin-top: 1.2rem;
}
.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  color: var(--blue-800);
  font-weight: 800;
  margin: .6rem 0 1rem;
  letter-spacing: -.02em;
}
.hero-copy {
  font-size: 1.08rem;
  color: #435765;
  max-width: 690px;
  margin-bottom: 1.6rem;
}
.actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-height: 48px;
  padding: .82rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  box-shadow: 0 14px 28px rgba(6, 57, 90, .22);
}
.btn-secondary {
  color: var(--blue-900);
  background: white;
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-gold {
  background: var(--gold);
  color: var(--blue-950);
  box-shadow: 0 14px 28px rgba(215, 169, 55, .22);
}
.hero-card {
  position: relative;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(215,169,55,.23), transparent 30%);
  pointer-events: none;
}
.mayor-photo {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  aspect-ratio: 1 / .9;
  object-fit: cover;
  width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.mayor-caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  background: var(--blue-950);
  color: white;
  border-radius: 20px;
  padding: .95rem 1rem;
}
.mayor-caption img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 4px;
}
.mayor-caption strong { display: block; line-height: 1.15; }
.mayor-caption span { color: rgba(255,255,255,.78); font-size: .9rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.3rem;
}
.hero-stat {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(219,233,239,.85);
  border-radius: 18px;
  padding: .9rem;
  box-shadow: var(--shadow-soft);
}
.hero-stat strong { display: block; color: var(--blue-950); font-size: 1.1rem; }
.hero-stat span { display: block; color: var(--muted); font-weight: 650; font-size: .85rem; }

.section { padding: 68px 0; }
.section.tight { padding: 42px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 28px;
}
.section-kicker {
  color: var(--blue-700);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-text {
  margin: .85rem 0 0;
  color: var(--muted);
  max-width: 710px;
  font-size: 1.03rem;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
}
.card:hover { border-color: rgba(8,106,153,.28); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-50);
  color: var(--blue-800);
  font-size: 1.55rem;
  margin-bottom: .9rem;
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: .5rem;
}
.card p { color: var(--muted); margin: 0; }
.card-link {
  color: var(--blue-800);
  font-weight: 900;
  display: inline-flex;
  margin-top: 1rem;
}

.zone-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  color: white;
  background: var(--blue-900);
  display: flex;
  align-items: flex-end;
}
.zone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,40,63,.15), rgba(5,40,63,.88)),
    radial-gradient(circle at 75% 0%, rgba(215,169,55,.42), transparent 34%);
}
.zone-card > * { position: relative; z-index: 1; }
.zone-card h3 { color: white; }
.zone-card p { color: rgba(255,255,255,.82); }

.highlight {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: white;
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.highlight::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  background: rgba(215,169,55,.18);
  right: -120px;
  top: -130px;
}
.highlight h2, .highlight h3 { color: white; }
.highlight p { color: rgba(255,255,255,.82); }
.highlight .btn-secondary { color: var(--blue-950); }
.highlight-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 26px;
  align-items: center;
}
.badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .45rem .7rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: inherit;
  font-weight: 800;
  font-size: .86rem;
}
.badge.light { background: var(--blue-50); color: var(--blue-800); border-color: var(--line); }

.page-hero {
  padding: 62px 0 40px;
  background:
    radial-gradient(circle at 80% 18%, rgba(215,169,55,.24), transparent 24%),
    linear-gradient(135deg, #f9fdff, #e8f8ff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  color: var(--muted);
  font-weight: 750;
  font-size: .92rem;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--blue-800); }
.page-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  max-width: 900px;
}
.page-intro {
  max-width: 770px;
  color: #455c6c;
  font-size: 1.08rem;
  margin: 1rem 0 0;
}

.prose {
  max-width: 820px;
  color: #334957;
  font-size: 1.05rem;
}
.prose h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.prose p { margin: 0 0 1.05rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin: .45rem 0; }

.info-list {
  display: grid;
  gap: .75rem;
}
.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .75rem;
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row strong { color: var(--blue-950); }
.info-row span, .info-row a { color: var(--muted); }
.info-row a { font-weight: 800; color: var(--blue-800); }

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .3rem .62rem;
  font-size: .78rem;
  font-weight: 900;
  background: var(--blue-50);
  color: var(--blue-800);
  margin-bottom: .75rem;
}
.status.green { background: #e8f8ef; color: #087047; }
.status.gold { background: #fff5d8; color: #8a6410; }
.status.grey { background: #f0f4f6; color: #536370; }

.form {
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: .4rem; }
.field label { color: var(--blue-950); font-weight: 850; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: .86rem .95rem;
  background: white;
  color: var(--ink);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(8,106,153,.1);
}
.form-note {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

.news-card {
  display: grid;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: var(--blue-800);
  font-weight: 900;
  font-size: .86rem;
}
.news-card h3 { font-size: 1.55rem; }
.news-card p { color: var(--muted); margin: 0; }

.footer {
  background: var(--blue-950);
  color: rgba(255,255,255,.82);
  padding: 54px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .8fr .8fr;
  gap: 28px;
}
.footer h3, .footer h4 { color: white; }
.footer p { margin: .6rem 0 0; color: rgba(255,255,255,.72); }
.footer ul { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .45rem; }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: white; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; background: white; border-radius: 15px; padding: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}

.alert {
  border-radius: 18px;
  padding: 1rem;
  background: #fff8e8;
  border: 1px solid #ffe3a6;
  color: #6e4c09;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: .7rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 14px; }
  .nav-cta { justify-content: center; }
}
@media (max-width: 720px) {
  .topbar .container { justify-content: center; text-align: center; }
  .hero { padding-top: 42px; }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .highlight, .card, .news-card { border-radius: 22px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .info-row { grid-template-columns: 1fr; gap: .25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar { min-height: 76px; }
  .nav-links { top: 76px; }
  .brand-logo { width: 54px; height: 54px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .76rem; }
  .container { width: min(var(--max), calc(100% - 24px)); }
}
