@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

@font-face {
  font-family: '20db';
  src: local('20db'), local('20db Regular'), local('20db-Regular');
  font-display: swap;
}

@font-face {
  font-family: 'Corporative';
  src: local('Corporative'), local('Corporative Regular'), local('CorporativeStd-Regular');
  font-display: swap;
}

:root {
  --brand-plum: #1a1f36;
  --brand-plum-soft: rgba(26, 31, 54, 0.72);
  --brand-cyan: #00dbe0;
  --brand-cyan-soft: rgba(0, 219, 224, 0.26);
  --brand-white: #f5fbff;

  --color-background: #0f182b;
  --color-background-alt: #131f36;
  --color-surface: rgba(22, 32, 52, 0.95);
  --color-surface-alt: rgba(18, 26, 44, 0.92);
  --color-surface-glass: rgba(24, 34, 56, 0.7);
  --color-border: rgba(0, 219, 224, 0.34);
  --color-border-soft: rgba(0, 219, 224, 0.18);
  --color-heading: #f6fbff;
  --color-text: rgba(230, 240, 255, 0.92);
  --color-text-muted: rgba(182, 198, 224, 0.8);

  --shadow-soft: 0 28px 70px -40px rgba(1, 215, 225, 0.42);
  --shadow-elevated: 0 40px 120px -60px rgba(1, 215, 225, 0.48);
  --glow-outline: 0 0 0 1px rgba(111, 241, 248, 0.35);
  --glow-inner: inset 0 0 32px rgba(1, 215, 225, 0.24);

  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-logo: '20db', 'Sora', 'Inter', sans-serif;
  --font-slogan: 'Corporative', 'Inter', sans-serif;

  --container-width: min(1140px, 92vw);
  --container-wide: min(1280px, 92vw);
  --container-tight: min(720px, 92vw);

  --transition-base: 180ms ease;
  --transition-slow: 320ms ease;

  --gradient-brand: linear-gradient(118deg, rgba(0, 219, 224, 0.94) 0%, rgba(11, 176, 194, 0.85) 48%, rgba(20, 40, 68, 0.95) 100%);
  --gradient-surface: linear-gradient(170deg, rgba(24, 34, 56, 0.98), rgba(14, 22, 40, 0.88));
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 125%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  letter-spacing: 0.005em;
  background:
    radial-gradient(1200px at -12% -18%, rgba(32, 48, 84, 0.32), transparent 62%),
    radial-gradient(920px at 108% 12%, rgba(0, 219, 224, 0.22), transparent 66%),
    linear-gradient(186deg, #0c1524 0%, var(--color-background) 46%, #0a1422 100%);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42vw 42vw at 12% 10%, rgba(0, 219, 224, 0.22), transparent 70%),
    radial-gradient(48vw 48vw at 88% 18%, rgba(41, 82, 194, 0.16), transparent 74%),
    radial-gradient(60vw 60vw at 48% 100%, rgba(0, 219, 224, 0.12), transparent 80%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.8), rgba(6, 12, 22, 0.35));
  mix-blend-mode: soft-light;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(1, 215, 225, 0.35);
  color: #06121a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: rgba(111, 241, 248, 0.92);
}

a:focus-visible {
  outline: 2px solid rgba(1, 215, 225, 0.65);
  outline-offset: 4px;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--color-heading);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  font-size: 2.133rem;
  line-height: 1.16;
}

h2 {
  font-size: 1.133rem;
  line-height: 1.28;
}

h3 {
  font-size: 1rem;
  line-height: 1.32;
}

p {
  margin: 0;
  color: var(--color-text);
}

p + p {
  margin-top: 12px;
}

ul,
ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text);
}

li + li {
  margin-top: 8px;
}

strong {
  color: var(--color-heading);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-tight);
}

.section {
  position: relative;
  padding: clamp(72px, 12vh, 112px) 0;
  overflow: hidden;
}

.section::after {
  content: '';
  position: absolute;
  inset: 18px 0;
  max-width: var(--container-wide);
  margin-inline: auto;
  border-top: 1px solid rgba(1, 215, 225, 0.05);
  border-bottom: 1px solid rgba(1, 215, 225, 0.05);
  pointer-events: none;
}

.section:nth-of-type(odd)::after {
  border-color: rgba(43, 39, 75, 0.18);
}

.section--tight-bottom {
  padding-bottom: clamp(40px, 8vh, 64px);
}

.section--surface {
  background: linear-gradient(170deg, rgba(24, 34, 56, 0.96), rgba(14, 22, 40, 0.88));
  backdrop-filter: blur(18px);
}

.section--surface-alt {
  background: linear-gradient(150deg, rgba(20, 30, 52, 0.94), rgba(12, 18, 36, 0.88));
  backdrop-filter: blur(18px);
}

.section--primary {
  background: linear-gradient(158deg, rgba(0, 219, 224, 0.22), rgba(12, 22, 40, 0.9));
  border-top: 1px solid rgba(0, 219, 224, 0.26);
  border-bottom: 1px solid rgba(0, 219, 224, 0.18);
}

.section--landscape {
  padding: clamp(72px, 16vh, 140px) 0 clamp(54px, 12vh, 96px);
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(111, 241, 248, 0.78);
  margin-bottom: 12px;
}

.section-heading::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gradient-brand);
  border-radius: 999px;
}

.section-title {
  max-width: 36ch;
}

.section-title + p,
.section-title + .prose,
.section-title + ul {
  margin-top: 18px;
}

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

.prose ul {
  list-style: disc;
}

.prose li::marker {
  color: rgba(1, 215, 225, 0.75);
}

/* Buttons */
.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: var(--color-surface-glass);
  color: rgba(238, 243, 255, 0.9);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: -60% 40% 40% -40%;
  background: linear-gradient(110deg, rgba(1, 215, 225, 0.32), transparent 60%);
  transform: translateX(-15%);
  transition: transform var(--transition-slow);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 215, 225, 0.42);
  box-shadow: var(--shadow-soft);
}

.btn:hover::before {
  transform: translateX(12%);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--glow-outline);
}

.btn-primary {
  border-color: rgba(1, 215, 225, 0.48);
  color: #02121a;
  background: var(--gradient-brand);
  box-shadow: 0 20px 36px -22px rgba(1, 215, 225, 0.68);
}

.btn-secondary {
  background: rgba(18, 28, 46, 0.94);
  border-color: rgba(0, 219, 224, 0.32);
  color: rgba(230, 240, 255, 0.9);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #041018;
  background: var(--gradient-brand);
}

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 10;
  background: rgba(16, 24, 40, 0.9);
  border-bottom: 1px solid rgba(0, 219, 224, 0.28);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 36px -24px rgba(0, 219, 224, 0.42);
}

.top-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 219, 224, 0.28), transparent 22%, transparent 78%, rgba(26, 31, 54, 0.28));
  opacity: 0.08;
  pointer-events: none;
}

.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 28px);
  padding: clamp(16px, 3vw, 20px) 0;
}

.top-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.top-nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 32% 32%, rgba(1, 215, 225, 0.32), rgba(8, 12, 24, 0.92));
  border: 1px solid rgba(1, 215, 225, 0.28);
  box-shadow: 0 12px 28px -16px rgba(1, 215, 225, 0.6);
}

.top-nav__brand-text {
  display: inline-flex;
  align-items: center;
}

.top-nav__name {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-heading);
}

.top-nav__links {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-nav__link {
  position: relative;
  padding-bottom: 6px;
  color: rgba(238, 243, 255, 0.76);
  transition: color var(--transition-base);
}

.top-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.top-nav__link:hover,
.top-nav__link:focus-visible {
  color: rgba(111, 241, 248, 0.92);
}

.top-nav__link:hover::after,
.top-nav__link:focus-visible::after,
.top-nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.top-nav__link[aria-current='page'] {
  color: var(--color-heading);
}

/* Cards and grids */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.metric-card,
.pillar-card,
.card,
.parque-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 30px);
  border-radius: 24px;
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.metric-card::after,
.pillar-card::after,
.card::after,
.parque-card::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--color-border-soft);
  border-radius: 18px;
  pointer-events: none;
}

.metric-card h3 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.metric-card p,
.pillar-card p,
.card p,
.parque-card p {
  color: rgba(238, 243, 255, 0.78);
}

.cards-grid,
.pillars-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards-grid--stretch {
  align-items: stretch;
}

/* Map */
.map-embed {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(1, 215, 225, 0.26);
  background: rgba(6, 10, 24, 0.86);
  box-shadow: var(--shadow-elevated);
}

.map-embed::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(1, 215, 225, 0.1);
  pointer-events: none;
}

.map-embed iframe {
  width: 100%;
  height: clamp(320px, 50vw, 520px);
  border: none;
  filter: saturate(1.1) contrast(1.05);
}

/* Forms */
form {
  display: grid;
  gap: 18px;
}

form > div {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(238, 243, 255, 0.7);
}

input,
select,
textarea {
  appearance: none;
  background: rgba(6, 10, 24, 0.94);
  border: 1px solid rgba(1, 215, 225, 0.2);
  color: var(--color-heading);
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(1, 215, 225, 0.44);
  box-shadow: 0 0 0 2px rgba(1, 215, 225, 0.18);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(178, 191, 222, 0.78);
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(1, 215, 225, 0.45) 50%),
    linear-gradient(135deg, rgba(1, 215, 225, 0.45) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 12px) calc(50% - 4px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.consent input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--brand-cyan);
}

/* Footer */
footer {
  position: relative;
  padding: clamp(52px, 10vh, 78px) 0;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.96), rgba(6, 10, 24, 0.94));
  border-top: 1px solid rgba(1, 215, 225, 0.22);
  z-index: 1;
}

.footer-top {
  display: grid;
  gap: clamp(28px, 6vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: clamp(32px, 6vw, 48px);
  font-size: 0.85rem;
  color: rgba(238, 243, 255, 0.66);
}

footer a {
  color: rgba(111, 241, 248, 0.86);
}

footer a:hover {
  color: #ffffff;
}

/* Global responsive adjustments */
@media (max-width: 980px) {
  .top-nav__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav__links {
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 6px;
  }
}

@media (max-width: 720px) {
  body::before {
    background:
      radial-gradient(70vw 70vw at 50% -12%, rgba(0, 219, 224, 0.2), transparent 78%),
      radial-gradient(58vw 58vw at 92% 24%, rgba(41, 82, 194, 0.16), transparent 76%);
  }

  .section {
    padding: clamp(58px, 12vh, 92px) 0;
  }

  .section::after {
    inset: 12px 0;
  }

  .btn {
    letter-spacing: 0.16em;
  }
}

@media (max-width: 540px) {
  .top-nav__links {
    gap: 14px;
    font-size: 0.7rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

  .consent input[type='checkbox'] {
    margin-top: 0;
  }
}
