:root {
  --bg: #07080c;
  --bg-2: #0c0f16;
  --surface: #121722;
  --surface-2: #1a2130;
  --orange: #f07812;
  --orange-2: #ff9a3c;
  --orange-dim: rgba(240, 120, 18, 0.14);
  --text: #f3efe6;
  --muted: #9aa3b5;
  --line: rgba(243, 239, 230, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --header: 76px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  background: var(--orange);
  color: #111;
  padding: 8px 12px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 12, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 40px), var(--max));
}

.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-header {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.logo img {
  height: 36px;
  width: 36px;
}

.logo span span {
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #1a0e02;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--orange);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(240, 120, 18, 0.18), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(240, 120, 18, 0.08), transparent 28%),
    linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px var(--orange-dim);
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
}

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

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.map-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #070b12;
}

.map-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 18%, rgba(7, 8, 12, 0.28) 58%, rgba(7, 8, 12, 0.72) 100%),
    linear-gradient(180deg, transparent 55%, rgba(7, 8, 12, 0.55));
  pointer-events: none;
}

.map-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(1.05) contrast(1.08);
  animation: ken 22s ease-in-out infinite alternate;
}

.radar {
  position: absolute;
  width: min(78%, 320px);
  aspect-ratio: 1;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 154, 60, 0.22);
  box-shadow: inset 0 0 24px rgba(240, 120, 18, 0.08);
}

.radar-ring.r2 { inset: 16%; animation: ringPulse 4.5s ease-out infinite; }
.radar-ring.r3 { inset: 32%; animation: ringPulse 4.5s ease-out 1.4s infinite; }
.radar-ring.r1 { animation: ringPulse 4.5s ease-out 0.6s infinite; }

.radar-cross {
  position: absolute;
  inset: 8%;
  background:
    linear-gradient(rgba(255,154,60,0.28), rgba(255,154,60,0.28)) center / 1px 100% no-repeat,
    linear-gradient(rgba(255,154,60,0.28), rgba(255,154,60,0.28)) center / 100% 1px no-repeat;
}

.radar-core {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff3;
  box-shadow: 0 0 16px 6px rgba(240, 120, 18, 0.55);
  z-index: 3;
}

.sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 62%,
    rgba(240, 120, 18, 0.05) 72%,
    rgba(255, 154, 60, 0.28) 88%,
    rgba(255, 220, 170, 0.7) 96%,
    transparent 100%
  );
  animation: spin 3.6s linear infinite;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(240, 120, 18, 0.45));
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 10px rgba(240, 120, 18, 0.9);
  z-index: 3;
}

.pin i {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 154, 60, 0.7);
  animation: ping 2.2s ease-out infinite;
}

.pin em {
  position: absolute;
  left: 18px;
  top: -4px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffe7c8;
  background: rgba(7, 8, 12, 0.72);
  border: 1px solid rgba(255, 154, 60, 0.28);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}

.pin.a { left: 22%; top: 28%; }
.pin.b { left: 68%; top: 38%; }
.pin.b i { animation-delay: 0.5s; }
.pin.c { left: 48%; top: 62%; }
.pin.c i { animation-delay: 1s; }
.pin.d { left: 31%; top: 54%; }
.pin.d i { animation-delay: 1.5s; }
.pin.e { left: 76%; top: 58%; }
.pin.e i { animation-delay: 0.8s; }
.pin.e em,
.pin.b em { left: auto; right: 18px; }
.pin.f { left: 54%; top: 20%; }
.pin.f i { animation-delay: 1.8s; }

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 8px #3dd68c;
  animation: blink 1.4s ease-in-out infinite;
}

.card img { transition: transform 0.7s ease; }
.card:hover img { transform: scale(1.07); }

.hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(7, 8, 12, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.hud b { display: block; font-size: 0.95rem; }
.hud span { color: var(--muted); font-size: 0.78rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -12px 0 72px;
  position: relative;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--orange-2);
}

.section { padding: 32px 0 80px; scroll-margin-top: calc(var(--header) + 16px); }
#servicios, #plataforma { scroll-margin-top: calc(var(--header) + 16px); }

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

.section-head p {
  color: var(--muted);
  max-width: 34rem;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body { padding: 20px 20px 24px; }

.card p {
  margin: 0;
  color: var(--muted);
}

.platform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  min-height: 320px;
}

.video-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.country {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  background: var(--orange-dim);
  color: var(--orange-2);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.cta {
  background:
    linear-gradient(180deg, rgba(240,120,18,0.16), rgba(240,120,18,0.04)),
    var(--surface);
  border: 1px solid rgba(240,120,18,0.28);
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-grid ul { list-style: none; padding: 0; margin: 12px 0 0; }
.footer-grid li { margin: 8px 0; }

.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 48px 0 20px;
}

.prose {
  max-width: 760px;
  color: var(--muted);
}

.prose h2 { color: var(--text); margin-top: 32px; }
.prose p { margin: 0 0 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mission {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.info a { color: var(--orange-2); font-weight: 600; }

form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

label { font-size: 0.9rem; font-weight: 600; }

input, textarea, select {
  width: 100%;
  margin-top: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

textarea { min-height: 120px; resize: vertical; }

.hp { position: absolute; left: -9999px; }

.form-msg {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
}

.form-msg.ok { display: block; background: rgba(61, 214, 140, 0.15); color: #8ef0bd; }
.form-msg.err { display: block; background: rgba(240, 80, 80, 0.15); color: #ffb4b4; }

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #083;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.wa svg { width: 28px; height: 28px; fill: #fff; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@keyframes ken {
  from { transform: scale(1.04); }
  to { transform: scale(1.14) translate(-1.5%, -1%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 900px) {
  .hero-grid,
  .platform,
  .coverage,
  .cards,
  .split,
  .contact-grid,
  .footer-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .stats { grid-template-columns: 1fr 1fr; }
  .header-actions { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav .btn { display: none; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #0b0d13;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open { display: flex; }
  .nav a { padding: 10px 2px; }

  .section-head,
  .cta,
  .legal { flex-direction: column; align-items: stretch; }

  .hero { padding-top: 28px; }
  .map-panel { min-height: 340px; }
  .map-panel img { height: 340px; }
  .pin em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sweep,
  .radar-ring,
  .pin i,
  .map-panel img,
  .live-dot,
  .card img { animation: none; }
  .btn:hover,
  .card:hover img { transform: none; }
}
