:root {
  color-scheme: dark;
  --bg: #0a1220;
  --surface: #101a2b;
  --surface-2: #142237;
  --text: #f5f7fa;
  --muted: #a9b4c4;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #c9983d;
  --accent-2: #2d7c86;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(45, 124, 134, 0.16), transparent 34rem),
    linear-gradient(180deg, #07101e 0%, var(--bg) 42%, #07101e 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(201, 152, 61, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--accent);
  color: #07101e;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-weight: 800;
}

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

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  left: 0;
  margin: 0 auto;
  padding: 1.05rem clamp(1rem, 3vw, 2rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 30, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.brand img {
  height: 72px;
  object-fit: contain;
  width: 220px;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
}

.nav a,
.header-cta {
  color: rgba(245, 247, 250, 0.84);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.header-cta {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  min-height: 44px;
  padding: 0.72rem 1rem;
}

.hero {
  min-height: 94svh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero picture {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  filter: contrast(1.14) saturate(1.1);
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 30, 0.76) 0%, rgba(7, 16, 30, 0.44) 42%, rgba(7, 16, 30, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 16, 30, 0) 0%, rgba(7, 16, 30, 0.6) 100%);
  inset: 0;
  position: absolute;
}

.sky-motion {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.cloud {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 247, 250, 0.22), transparent 58%),
    radial-gradient(ellipse at 48% 42%, rgba(245, 247, 250, 0.18), transparent 62%),
    radial-gradient(ellipse at 78% 55%, rgba(245, 247, 250, 0.14), transparent 58%);
  filter: blur(12px);
  height: 12rem;
  opacity: 0.24;
  position: absolute;
  transform: translate3d(-35vw, 0, 0);
  width: 34rem;
}

.cloud-one {
  animation: cloud-drift 92s linear infinite;
  left: -34rem;
  top: 10%;
}

.cloud-two {
  animation: cloud-drift 118s linear infinite;
  animation-delay: -44s;
  left: -42rem;
  opacity: 0.18;
  top: 22%;
  transform: translate3d(-45vw, 0, 0) scale(1.25);
}

.cloud-three {
  animation: cloud-drift 136s linear infinite;
  animation-delay: -78s;
  left: -30rem;
  opacity: 0.14;
  top: 5%;
  transform: translate3d(-30vw, 0, 0) scale(0.82);
}

@keyframes cloud-drift {
  from {
    translate: 0 0;
  }

  to {
    translate: calc(100vw + 78rem) 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94svh;
  margin: 0 auto;
  max-width: var(--max);
  padding: 7rem clamp(1.2rem, 4vw, 2rem) 5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.65rem, 7vw, 4.75rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1.4rem;
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-copy {
  color: rgba(245, 247, 250, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #07101e;
}

.button-primary:hover {
  background: #dfad52;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: rgba(16, 26, 43, 0.78);
}

.trust-strip div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.trust-strip span {
  align-items: center;
  border-left: 1px solid var(--line);
  color: rgba(245, 247, 250, 0.88);
  display: flex;
  font-weight: 800;
  min-height: 86px;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.trust-strip span:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: clamp(4.8rem, 8vw, 7rem) clamp(1.2rem, 4vw, 2rem);
}

.section-grid,
.section-heading,
.development-grid,
.contact-shell {
  margin: 0 auto;
  max-width: var(--max);
}

.section-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 690px;
}

.signal-panel {
  background:
    linear-gradient(135deg, rgba(45, 124, 134, 0.18), rgba(201, 152, 61, 0.1)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 330px;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
}

.signal-panel::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.5;
  position: absolute;
}

.signal-panel p,
.signal-panel strong {
  position: relative;
}

.signal-panel p {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  max-width: 560px;
}

.signal-line {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  height: 4px;
  margin-bottom: 7.4rem;
  position: relative;
  width: 54%;
  z-index: 1;
}

.chile-section {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.official-note {
  border-left: 3px solid var(--accent);
  color: rgba(245, 247, 250, 0.74) !important;
  margin-top: 1.4rem;
  padding-left: 1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.info-card,
.development-card,
.contact-card {
  background: rgba(16, 26, 43, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card {
  padding: 1.25rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.info-card:hover,
.development-card:hover {
  border-color: rgba(201, 152, 61, 0.38);
  transform: translateY(-3px);
}

.info-card p,
.development-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: block;
  height: 3px;
  margin-bottom: 1.1rem;
  width: 52px;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 780px;
}

.development-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.development-card {
  min-height: 292px;
  padding: 1.35rem;
  transition: transform 160ms ease, border-color 160ms ease;
}

.development-card span {
  color: var(--accent);
  display: block;
  font-weight: 900;
  margin-bottom: 4rem;
}

.contact-section {
  padding-top: 2rem;
}

.contact-shell {
  background:
    linear-gradient(135deg, rgba(45, 124, 134, 0.16), transparent 42%),
    rgba(16, 26, 43, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr) minmax(220px, 0.6fr);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-intro p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
}

.contact-form span {
  color: rgba(245, 247, 250, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  background: rgba(7, 16, 30, 0.64);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  min-height: 46px;
  padding: 0.78rem 0.85rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(201, 152, 61, 0.72);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.contact-card {
  align-self: start;
  padding: 1.25rem;
}

.contact-card p {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.contact-card a {
  border-bottom: 1px solid rgba(201, 152, 61, 0.55);
  display: inline-block;
  font-weight: 850;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.contact-card span {
  color: var(--muted);
  display: block;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: rgba(245, 247, 250, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  padding: 1.3rem clamp(1.2rem, 4vw, 2rem);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  border-bottom: 1px solid rgba(245, 247, 250, 0.35);
}

.legal-page {
  padding: 9rem clamp(1.2rem, 4vw, 2rem) 4rem;
}

.legal-hero,
.legal-content {
  margin: 0 auto;
  max-width: 900px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.2rem;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  max-width: 760px;
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.legal-updated {
  color: rgba(245, 247, 250, 0.7) !important;
  font-size: 0.95rem !important;
  margin-bottom: 0;
}

.legal-content {
  display: grid;
  gap: 1.1rem;
  padding-top: 2rem;
}

.legal-content article {
  background: rgba(16, 26, 43, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.legal-content h2 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  border-bottom: 1px solid rgba(201, 152, 61, 0.65);
  color: var(--text);
  font-weight: 800;
}

.legal-disclaimer {
  border-color: rgba(201, 152, 61, 0.32) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .section-grid,
  .development-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-content {
    justify-content: end;
  }

  .trust-strip div {
    grid-template-columns: 1fr;
  }

  .trust-strip span,
  .trust-strip span:last-child {
    border-left: 0;
    border-right: 0;
    min-height: 60px;
  }

  .trust-strip span + span {
    border-top: 1px solid var(--line);
  }

  .development-card {
    min-height: 0;
  }

  .development-card span {
    margin-bottom: 2rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 0.7rem;
    padding: 0.75rem 1rem;
  }

  .brand img {
    height: 54px;
    width: 162px;
  }

  .header-cta {
    font-size: 0.82rem;
    padding: 0.62rem 0.72rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    min-height: 92svh;
    padding-top: 6rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cloud {
    animation: none;
  }
}
