@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --noche: #0b1f3a;
  --noche-2: #081831;
  --noche-3: #0f2947;
  --ambar: #f5a524;
  --ambar-2: #ffbe4d;
  --hueso: #f7f3ea;
  --sabana: #1f6f54;
  --sabana-2: #2c8a6a;

  --texto: #f7f3ea;
  --texto-suave: rgba(247, 243, 234, 0.7);
  --texto-tenue: rgba(247, 243, 234, 0.5);
  --borde: rgba(247, 243, 234, 0.14);
  --borde-2: rgba(247, 243, 234, 0.08);
  --superficie: rgba(247, 243, 234, 0.04);
  --superficie-2: rgba(247, 243, 234, 0.07);

  --fuente-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fuente: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fuente-meta: "Space Grotesk", ui-monospace, "SFMono-Regular", monospace;

  --ease-marca: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-suave: cubic-bezier(0.22, 0.61, 0.36, 1);

  --radio: 16px;
  --radio-lg: 26px;
  --sombra: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--noche);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(245, 165, 36, 0.16), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(31, 111, 84, 0.14), transparent 50%);
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--fuente-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

em {
  font-style: italic;
  color: var(--ambar);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-family: var(--fuente-meta);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: 1rem;
}

.section {
  padding: clamp(4.5rem, 11vw, 9rem) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(8, 24, 49, 0.55), transparent);
}

.section__head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section__head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.section__head p {
  color: var(--texto-suave);
  font-size: 1.05rem;
}

.btn {
  --bg: var(--ambar);
  --fg: #1a1204;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-marca), background 0.3s, box-shadow 0.3s;
  will-change: transform;
}

.btn:hover {
  box-shadow: 0 18px 45px -18px rgba(245, 165, 36, 0.7);
}

.btn--outline {
  --bg: transparent;
  --fg: var(--texto);
  border-color: var(--borde);
}

.btn--outline:hover {
  background: var(--superficie-2);
  box-shadow: none;
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.86rem;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ambar);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ambar);
  color: #1a1204;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.no-js .reveal,
.no-js [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.gsap-ready [data-reveal] {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
