:root {
  color-scheme: dark;
  --bg: #06101d;
  --bg-deep: #020813;
  --panel: rgba(4, 20, 36, 0.78);
  --panel-strong: rgba(5, 28, 52, 0.9);
  --text: #f6f9ff;
  --muted: #bfd0e4;
  --soft: #8fd0ff;
  --line: rgba(128, 202, 255, 0.24);
  --line-strong: rgba(136, 212, 255, 0.55);
  --blue: #37aaff;
  --blue-strong: #0d7be7;
  --cyan: #9be8ff;
  --shadow: rgba(0, 0, 0, 0.36);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 170, 255, 0.16), transparent 38rem),
    linear-gradient(180deg, #06101d 0%, #071827 50%, #020813 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px);
  background-size: 160px 160px;
  opacity: 0.18;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-140%);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--text);
  padding: 10px 14px;
  text-decoration: none;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 56px));
  transform: translateX(-50%);
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: clamp(158px, 17vw, 218px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(79, 184, 255, 0.32));
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #eff7ff;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--cyan);
}

.header-cta {
  justify-self: end;
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  overflow: hidden;
  padding: 132px 28px 80px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 19, 0.96) 0%, rgba(2, 8, 19, 0.86) 25%, rgba(2, 8, 19, 0.4) 53%, rgba(2, 8, 19, 0.1) 82%),
    linear-gradient(180deg, rgba(2, 8, 19, 0.16) 0%, rgba(2, 8, 19, 0.04) 64%, rgba(5, 18, 31, 0.96) 100%);
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.network-links,
.network-travelers {
  pointer-events: none;
}

.network-nodes {
  pointer-events: auto;
}

.network-link {
  fill: none;
  stroke: rgba(180, 232, 255, 0.18);
  stroke-width: 1.25;
  stroke-linecap: round;
  opacity: 0.22;
  filter: drop-shadow(0 0 5px rgba(84, 184, 255, 0.16));
  transition: opacity 520ms ease, stroke 520ms ease, stroke-width 520ms ease, filter 520ms ease;
}

.network-traveler {
  fill: #f8fdff;
  filter: drop-shadow(0 0 3px rgba(235, 250, 255, 0.68)) drop-shadow(0 0 6px rgba(83, 190, 255, 0.45));
  pointer-events: none;
}

.network-node {
  pointer-events: auto;
  cursor: default;
  outline: none;
  opacity: 0.68;
  transition: opacity 360ms ease;
}

.node-hit {
  fill: #ffffff;
  opacity: 0.001;
  stroke: transparent;
  pointer-events: all;
}

.node-core {
  fill: #f4fbff;
  filter: url("#network-glow");
  transition: r 280ms ease, fill 280ms ease, opacity 280ms ease;
}

.node-halo {
  fill: rgba(88, 194, 255, 0.13);
  opacity: 0.2;
  transform-origin: center;
  animation: nodePulse 12s ease-in-out infinite;
  filter: blur(0.4px);
  transition: opacity 340ms ease, transform 340ms ease, fill 340ms ease;
}

.node-flare {
  fill: rgba(238, 252, 255, 0.55);
  stroke: none;
  opacity: 0;
  transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(238, 252, 255, 0.85)) drop-shadow(0 0 11px rgba(84, 192, 255, 0.55));
}

.node-caribe .node-halo,
.node-brasil .node-halo,
.node-patagonia .node-halo {
  animation-delay: 4.5s;
}

.node-andes .node-halo,
.node-corrientes .node-halo {
  animation-delay: 7.5s;
}

.node-corrientes {
  opacity: 0.82;
}

.node-corrientes .node-core {
  r: 3.9;
}

.node-corrientes .node-halo {
  fill: rgba(126, 213, 255, 0.18);
  opacity: 0.27;
}

.node-label {
  opacity: 0;
  fill: #f6fbff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  paint-order: stroke;
  stroke: rgba(2, 8, 19, 0.88);
  stroke-width: 5px;
  transition: opacity 220ms ease, transform 220ms ease;
  transform: translateX(-7px);
  pointer-events: none;
}

.network-node:hover,
.network-node:focus-visible {
  opacity: 1;
}

.network-node:hover .node-core,
.network-node:focus-visible .node-core {
  r: 5.6;
  fill: #ffffff;
}

.network-node:hover .node-halo,
.network-node:focus-visible .node-halo {
  opacity: 0.72;
  transform: scale(1.55);
  fill: rgba(146, 224, 255, 0.28);
}

.network-node:hover .node-flare,
.network-node:focus-visible .node-flare {
  animation: nodeFlare 900ms ease-out 1;
}

.node-corrientes:hover .node-label,
.node-corrientes:focus-visible .node-label {
  opacity: 1;
  transform: translateX(0);
}

.hero-network:has(.node-corrientes:hover) .link-corrientes-brasil,
.hero-network:has(.node-corrientes:focus-visible) .link-corrientes-brasil,
.hero-network:has(.node-corrientes:hover) .link-corrientes-plata,
.hero-network:has(.node-corrientes:focus-visible) .link-corrientes-plata,
.hero-network:has(.node-caribe:hover) .link-caribe-andes,
.hero-network:has(.node-caribe:focus-visible) .link-caribe-andes,
.hero-network:has(.node-brasil:hover) .link-brasil-sudeste,
.hero-network:has(.node-brasil:focus-visible) .link-brasil-sudeste {
  opacity: 0.92;
  stroke: rgba(225, 250, 255, 0.74);
  stroke-width: 2.1;
  filter: drop-shadow(0 0 8px rgba(105, 207, 255, 0.52));
}

.hero-network:has(.node-corrientes:hover) .node-response-corrientes .node-flare,
.hero-network:has(.node-corrientes:focus-visible) .node-response-corrientes .node-flare,
.hero-network:has(.node-brasil:hover) .node-response-brasil .node-flare,
.hero-network:has(.node-brasil:focus-visible) .node-response-brasil .node-flare,
.hero-network:has(.node-caribe:hover) .node-andes .node-flare,
.hero-network:has(.node-caribe:focus-visible) .node-andes .node-flare {
  animation: destinationFlare 1200ms ease-out 520ms 1;
}

@keyframes nodePulse {
  0%,
  72%,
  100% {
    opacity: 0.16;
    transform: scale(0.9);
  }

  80% {
    opacity: 0.42;
    transform: scale(1.2);
  }
}

@keyframes nodeFlare {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  28% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

@keyframes destinationFlare {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.5);
  }

  62% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 28px;
  pointer-events: none;
}

.hero-content > * {
  max-width: 560px;
}

.hero-content a {
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 2px;
  color: var(--soft);
  font-size: clamp(56px, 8.2vw, 88px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

h1 span {
  color: var(--text);
}

.hero-claim {
  margin-bottom: 16px;
  color: var(--soft);
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.1;
}

.hero-text {
  max-width: 540px;
  margin-bottom: 26px;
  color: #f2f8ff;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-side-note {
  position: absolute;
  right: max(28px, calc((100vw - var(--max)) / 2));
  top: 168px;
  z-index: 2;
  display: none;
  gap: 7px;
  color: #f5fbff;
  font-size: 13px;
  letter-spacing: 0.28em;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero-side-note::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 10px;
  background: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-arrow {
  margin-left: 8px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(166, 231, 255, 0.78);
  background: linear-gradient(180deg, #38c1ff, #0e75df);
  color: #fff;
  box-shadow: 0 0 32px rgba(55, 170, 255, 0.32);
}

.button-ghost,
.button-whatsapp {
  border-color: rgba(166, 231, 255, 0.82);
  background: rgba(3, 15, 29, 0.46);
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 62px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.centered {
  text-align: center;
}

.section h2,
.possibility h2,
.footer-center h2 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.capability-card p,
.method-steps p,
.possibility p,
.footer-brand p,
.footer-center p,
.footer-center small {
  color: var(--muted);
}

.capability-grid {
  display: grid;
  gap: 16px;
}

.capability-card {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(4, 18, 34, 0.82)),
    var(--panel);
  box-shadow: 0 26px 70px var(--shadow);
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.capability-media {
  position: relative;
  aspect-ratio: 1.03 / 1;
  min-height: 0;
  overflow: hidden;
  background: #0b2038;
}

.capability-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 12, 24, 0) 0%, rgba(3, 12, 24, 0.04) 52%, rgba(3, 12, 24, 0.52) 100%),
    linear-gradient(90deg, rgba(3, 12, 24, 0.08), transparent 62%);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.capability-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 260ms ease, transform 260ms ease;
}

.capability-body {
  padding: 22px 24px 26px;
}

.capability-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  max-width: none;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.15;
}

.capability-card h3 span {
  flex: 0 0 auto;
  color: var(--cyan);
  transform: translateX(-4px);
  opacity: 0.72;
  transition: opacity 220ms ease, transform 220ms ease;
}

.capability-card:hover,
.capability-card:focus-visible {
  border-color: rgba(140, 220, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(68, 180, 255, 0.08), rgba(4, 18, 34, 0.88)),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), 0 0 26px rgba(70, 182, 255, 0.16);
  transform: translateY(-2px);
}

.capability-card:hover .capability-photo,
.capability-card:focus-visible .capability-photo {
  filter: brightness(1.08) saturate(1.04);
  transform: scale(1.018);
}

.capability-card:hover h3 span,
.capability-card:focus-visible h3 span {
  opacity: 1;
  transform: translateX(0);
}

.method {
  width: 100%;
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 50% 30%, rgba(83, 176, 255, 0.16), transparent 36rem),
    linear-gradient(180deg, rgba(3, 12, 23, 0), rgba(5, 24, 41, 0.78), rgba(3, 12, 23, 0));
}

.method-steps {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.method-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--cyan);
  box-shadow: 0 0 22px rgba(55, 170, 255, 0.24);
}

.method-icon img {
  width: 34px;
  height: 34px;
}

.method-steps h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.method-steps p {
  max-width: 150px;
  margin-bottom: 0;
  font-size: 14px;
}

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

.possibility-panel {
  display: grid;
  gap: 26px;
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.94) 0%, rgba(2, 9, 18, 0.78) 34%, rgba(2, 9, 18, 0.28) 64%, rgba(2, 9, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 9, 18, 0.08) 0%, rgba(2, 9, 18, 0.2) 100%),
    url("assets/possibility-landscape.png") center 48% / cover no-repeat;
  padding: 34px 36px;
}

.possibility h2 {
  max-width: 490px;
}

.possibility p {
  max-width: 620px;
}

.possibility-note {
  align-self: end;
  justify-self: start;
  max-width: 150px;
  color: var(--text) !important;
  font-size: 12px;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  gap: 34px;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 42px 0 58px;
}

.footer-brand,
.footer-center,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: min(255px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(79, 184, 255, 0.38));
}

.footer-center {
  justify-items: start;
}

.footer-contact {
  align-content: start;
  color: var(--muted);
  font-style: normal;
}

.footer-contact a {
  text-decoration: none;
}

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

.legal-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(55, 170, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #06101d 0%, #071827 42%, #020813 100%);
}

.legal-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
}

.legal-main {
  width: min(920px, calc(100% - 56px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(4, 18, 34, 0.86)),
    var(--panel);
  box-shadow: 0 26px 70px var(--shadow);
  padding: clamp(24px, 5vw, 54px);
}

.legal-document h1 {
  margin-bottom: 10px;
  font-size: clamp(40px, 6vw, 68px);
}

.legal-updated {
  margin-bottom: 34px;
  color: var(--soft);
  font-weight: 700;
}

.legal-document section {
  padding: 20px 0;
  border-top: 1px solid rgba(128, 202, 255, 0.16);
}

.legal-document h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.16;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document a:not(.button) {
  color: var(--cyan);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-document li + li {
  margin-top: 6px;
}

.legal-home-link {
  margin-top: 22px;
}

:focus-visible {
  outline: 3px solid rgba(155, 232, 255, 0.78);
  outline-offset: 4px;
}

@media (min-width: 760px) {
  .site-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .possibility-panel {
    grid-template-columns: 1fr auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: start;
  }

  .footer-center {
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    justify-self: end;
  }
}

@media (min-width: 1080px) {
  .hero-side-note {
    display: grid;
  }

  .method-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
    width: calc(100% - 32px);
  }

  .brand {
    max-width: 152px;
  }

  .brand img {
    width: 152px;
  }

  .hero {
    min-height: 760px;
    padding: 122px 16px 54px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 8, 19, 0.98) 0%, rgba(2, 8, 19, 0.86) 46%, rgba(2, 8, 19, 0.38) 100%),
      linear-gradient(180deg, rgba(2, 8, 19, 0.04) 0%, rgba(2, 8, 19, 0.14) 52%, rgba(5, 18, 31, 0.96) 100%);
  }

  .hero-network {
    opacity: 0.72;
  }

  .node-label {
    display: none;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-claim {
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 330px;
  }

  .button {
    width: 100%;
  }

  .section,
  .possibility,
  .site-footer,
  .legal-main {
    width: calc(100% - 32px);
  }

  .legal-main {
    padding-top: 26px;
  }

  .legal-document {
    border-radius: 12px;
  }
}

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

  .node-halo,
  .network-traveler {
    animation: none;
  }

  .network-traveler {
    display: none;
  }
}
