/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Palette — country club greens, blues, paper */
  --paper:        #f4f1ea;
  --paper-2:      #ebe5d6;
  --paper-3:      #e0d8c4;
  --ink:          #0e1a14;
  --ink-soft:     #2a3a32;
  --ink-mute:     #6b766f;

  --green-deep:   #1f5f3e;
  --green-rich:   #3d8b5e;
  --green-soft:   #7fc99a;
  --green-mist:   #c8e3d1;

  --blue-deep:    #0d2540;
  --blue-rich:    #1a3a5c;
  --blue-mid:     #2d5e8a;

  --gold:         #c9a05b;
  --line:         rgba(14, 26, 20, 0.12);
  --line-strong:  rgba(14, 26, 20, 0.25);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max:    1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h:  74px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}
em, i { font-style: italic; }
::selection { background: var(--green-deep); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.kicker::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "wght" 350;
  max-width: 22ch;
}
.section-title em {
  font-style: italic;
  color: var(--green-deep);
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
}
.section-title--light { color: var(--paper); }
.section-title--light em { color: var(--green-mist); }

.section-lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 350;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-top: 1.25rem;
  line-height: 1.45;
}
.section-lead--light { color: rgba(244, 241, 234, 0.78); }

/* =============================================================
   4. SPLASH
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--paper);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity 0.9s var(--ease-out), clip-path 1.1s var(--ease-out);
  animation: splashSafety 0.01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0; pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.splash-logo {
  width: 120px; height: 120px;
  animation: splashLogoFade 1.6s var(--ease-out);
}
.splash-line {
  width: 0; height: 1px;
  background: var(--green-deep);
  animation: splashLineGrow 2.4s var(--ease-soft) forwards;
}
@keyframes splashLogoFade {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes splashLineGrow {
  from { width: 0; }
  to   { width: 220px; }
}

/* =============================================================
   5. CUSTOM CURSOR (golf ball)
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  margin: -16px;
  pointer-events: none;
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out), transform 0.18s var(--ease-out);
  will-change: transform;
}
.cursor.is-ready { opacity: 1; }
.cursor.is-interactive {
  transform: scale(1.4);
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  .has-cursor,
  .has-cursor a,
  .has-cursor button { cursor: none; }
}
.cursor-ball {
  width: 100%; height: 100%;
  filter: drop-shadow(0 4px 6px rgba(14, 26, 20, 0.25));
  animation: ballBob 2.6s ease-in-out infinite;
}
.cursor-ball circle:first-of-type {
  transform-origin: center;
  animation: ballSpin 8s linear infinite;
}
.cursor-shadow {
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%) scaleX(1);
  width: 22px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14, 26, 20, 0.3), transparent 70%);
  animation: shadowPulse 2.6s ease-in-out infinite;
}
@keyframes ballBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@keyframes ballSpin {
  to { transform: rotate(360deg); }
}
@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.5; }
  50%      { transform: translateX(-50%) scaleX(0.7); opacity: 0.3; }
}

/* =============================================================
   6. NAVIGATION
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  transition: background-color 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              padding 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.75rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--paper);
  transition: color 0.4s;
}
.nav.is-scrolled .nav-brand { color: var(--ink); }
.nav-brand img { width: 44px; height: 44px; }
.nav-brand-text {
  display: flex; flex-direction: column;
  font-family: var(--serif);
  line-height: 1.05;
}
.nav-brand-line { font-size: 0.92rem; font-weight: 500; letter-spacing: 0.005em; }
.nav-brand-line--italic { font-style: italic; font-weight: 300; }

.nav-links {
  display: none;
  align-items: center; gap: 2rem;
  font-size: 0.92rem;
  color: var(--paper);
}
.nav.is-scrolled .nav-links { color: var(--ink); }
.nav-link {
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-soft);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

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

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--nav-h) var(--gutter) clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: heroAmbient 28s ease-in-out infinite;
  filter: saturate(1.05) contrast(1.04);
}
@keyframes heroAmbient {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50%      { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero-bg-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(13, 37, 64, 0.65) 0%,
      rgba(13, 37, 64, 0.35) 25%,
      rgba(13, 37, 64, 0.55) 55%,
      rgba(13, 37, 64, 0.85) 80%,
      rgba(7, 22, 38, 0.95) 100%),
    linear-gradient(90deg,
      rgba(31, 95, 62, 0.3) 0%,
      transparent 55%);
}
@media (min-width: 960px) {
  .hero-bg-tint {
    background:
      linear-gradient(180deg,
        rgba(13, 37, 64, 0.45) 0%,
        rgba(13, 37, 64, 0.15) 35%,
        rgba(13, 37, 64, 0.55) 75%,
        rgba(13, 37, 64, 0.88) 100%),
      linear-gradient(90deg,
        rgba(31, 95, 62, 0.25) 0%,
        transparent 50%);
  }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

.hero-inner {
  position: relative;
  width: 100%; max-width: var(--max);
  margin-inline: auto;
  color: var(--paper);
  z-index: 2;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.85);
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-soft);
  box-shadow: 0 0 12px var(--green-soft);
  animation: heroDot 2.4s ease-in-out infinite;
}
@keyframes heroDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 18px rgba(7, 22, 38, 0.7),
               0 1px 3px rgba(7, 22, 38, 0.8);
}
.hero-sub {
  text-shadow: 0 1px 8px rgba(7, 22, 38, 0.7);
}
.hero-line { display: block; }
.hero-line--italic {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
}
.hero-line--italic em {
  color: var(--green-mist);
  font-weight: 350;
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: 350;
  max-width: 38ch;
  color: rgba(244, 241, 234, 0.92);
  margin-bottom: clamp(2rem, 4vh, 3rem);
  line-height: 1.45;
}

.hero-cite {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: flex-end; justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
}
.hero-figure {
  max-width: 28ch;
}
.hero-figure-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 0.4rem;
}
.hero-figure p {
  font-size: 0.95rem;
  color: rgba(244, 241, 234, 0.85);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.4;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.6rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(13, 37, 64, 0.18),
              0 1px 3px rgba(13, 37, 64, 0.12);
  transition: transform 0.5s var(--ease-soft),
              box-shadow 0.5s var(--ease-soft),
              background 0.3s;
  white-space: nowrap;
}
.hero-cta:hover {
  transform: translateY(-3px);
  background: var(--green-mist);
  box-shadow: 0 22px 50px rgba(13, 37, 64, 0.32),
              0 10px 22px rgba(31, 95, 62, 0.22);
}
.hero-cta svg { transition: transform 0.4s; }
.hero-cta:hover svg { transform: translateX(4px); }

/* =============================================================
   8. QUIENES SOMOS
   ============================================================= */
.quienes {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.quienes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.quienes-figure {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(14, 26, 20, 0.25),
              0 10px 20px -10px rgba(14, 26, 20, 0.15);
  transition: transform 0.7s var(--ease-out);
}
.quienes-figure img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.04);
  transition: transform 0.9s var(--ease-out);
}
.quienes-figure:hover img { transform: scale(1.04); }
.quienes-figure figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-radius: 4px;
}
.quienes-body {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}
.quienes-body em {
  color: var(--green-deep);
  font-style: italic;
  font-family: var(--serif);
}
.quienes-stats {
  list-style: none; padding: 0;
  margin-top: 2.5rem;
  display: flex; gap: clamp(1.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.quienes-stats li {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.quienes-stats strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 350;
  color: var(--green-deep);
  font-variation-settings: "opsz" 144;
  line-height: 1;
}
.quienes-stats span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (min-width: 960px) {
  .quienes-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 5rem;
  }
  .quienes-figure img { aspect-ratio: 4 / 5; }
}

/* =============================================================
   9. INTEGRANTES (7 players)
   ============================================================= */
.integrantes {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.integrantes-head {
  text-align: left;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  max-width: 60ch;
}

.integrantes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .integrantes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .integrantes-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 1280px) {
  .integrantes-grid { grid-template-columns: repeat(4, 1fr); }
  /* Make 7 cards fit nicely: 4-3 layout */
  .integrantes-grid .player:nth-child(5) { grid-column: 1 / 2; }
  .integrantes-grid .player:nth-child(6) { grid-column: 2 / 3; }
  .integrantes-grid .player:nth-child(7) { grid-column: 3 / 4; }
}

.player {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-soft),
              box-shadow 0.55s var(--ease-soft),
              border-color 0.4s;
  box-shadow: 0 6px 14px -8px rgba(14, 26, 20, 0.1);
}
.player:hover {
  border-color: var(--green-rich);
  box-shadow:
    0 40px 70px -25px rgba(31, 95, 62, 0.32),
    0 20px 40px -20px rgba(13, 37, 64, 0.18),
    0 0 0 1px rgba(61, 139, 94, 0.25);
  transition-duration: 0.15s;
}
.player-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.player-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;   /* favor upper portion so faces stay visible */
  transition: transform 0.9s var(--ease-out),
              filter 0.55s;
}
.player:hover .player-media img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.05);
}
.player-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  flex: 1;
}
.player-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.player-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--green-deep);
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "wght" 450, "SOFT" 80;
  line-height: 1.1;
}
.player-real {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-rich);
  margin-top: -0.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 0.3rem;
}
.player-skill {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.player-club {
  display: inline-block;
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--blue-rich);
}

/* =============================================================
   10. NÚMEROS
   ============================================================= */
.numeros {
  position: relative;
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  background: var(--blue-deep);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.numeros-mesh {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(50% 40% at 25% 30%, rgba(61, 139, 94, 0.35), transparent 70%),
    radial-gradient(45% 50% at 75% 70%, rgba(45, 94, 138, 0.45), transparent 75%),
    radial-gradient(35% 35% at 50% 90%, rgba(127, 201, 154, 0.18), transparent 70%);
  filter: blur(80px) saturate(130%);
  opacity: 0.9;
  animation: numerosMesh 24s ease-in-out infinite;
}
@keyframes numerosMesh {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.15) rotate(40deg); }
}
.numeros-head {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 7vh, 5rem);
}
.numeros-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 720px) {
  .numeros-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.numero {
  padding: 2rem 0;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
  position: relative;
}
.numero-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 1.2rem;
}
.numero-value {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 350;
  letter-spacing: -0.04em;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "wght" 300;
  line-height: 1;
  display: flex; align-items: baseline; gap: 0.05em;
  margin-bottom: 1rem;
}
.numero-plus {
  font-size: 0.7em;
  color: var(--green-soft);
  font-style: italic;
  font-weight: 350;
}
.numero-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.7);
  max-width: 30ch;
}

/* =============================================================
   11. REGLAS
   ============================================================= */
.reglas {
  padding: clamp(4rem, 10vh, 8rem) var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.reglas-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.reglas-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.regla {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background-color 0.4s var(--ease-out),
              padding-inline 0.4s var(--ease-out);
}
.regla:last-child { border-bottom: 1px solid var(--line); }
.regla:hover {
  background: var(--paper-2);
  padding-inline: 1rem;
}
.regla-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--green-deep);
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 2.5ch;
}
.regla-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.regla-body p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (min-width: 720px) {
  .regla { grid-template-columns: 5rem 1fr; gap: 1rem 2.5rem; }
}

/* =============================================================
   12. CIERRE — closing quote
   ============================================================= */
.cierre {
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
  background: var(--green-deep);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cierre::before {
  content: ""; position: absolute;
  top: -50%; left: 50%;
  width: 140%; height: 200%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(127, 201, 154, 0.18) 0%,
    transparent 60%);
  pointer-events: none;
}
.cierre-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.cierre-glyph {
  display: inline-block;
  color: var(--green-mist);
  margin-bottom: 2rem;
  animation: glyphFloat 4s ease-in-out infinite;
}
@keyframes glyphFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.cierre-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "wght" 300, "SOFT" 100;
}
.cierre-quote em {
  color: var(--green-mist);
  font-style: italic;
}
.cierre-quote footer {
  display: block;
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.65);
  line-height: 1.7;
}

/* =============================================================
   13. FOOTER
   ============================================================= */
.footer {
  padding: 3rem var(--gutter) 2.5rem;
  background: var(--blue-deep);
  color: rgba(244, 241, 234, 0.7);
}
.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.footer-brand img { width: 48px; height: 48px; }
.footer-brand p {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--paper);
  line-height: 1.35;
}
.footer-brand span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}
.footer-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 50ch;
  margin-inline: auto;
}
.footer-credits {
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 234, 0.55);
}
.footer-credits a {
  color: var(--green-mist);
  text-decoration: underline;
  text-decoration-color: rgba(200, 227, 209, 0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.3s;
}
.footer-credits a:hover { text-decoration-color: var(--green-mist); }

@media (min-width: 1100px) {
  .footer-inner {
    grid-template-columns: auto 1fr minmax(220px, auto);
    gap: 3rem;
    text-align: left;
    align-items: start;
  }
  .footer-brand { flex-direction: row; text-align: left; }
  .footer-brand p { text-align: left; }
  .footer-line { margin-inline: 0; }
  .footer-credits { text-align: right; max-width: 320px; }
}

/* =============================================================
   14. REVEAL (scroll-in animation)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* =============================================================
   15. REDUCED MOTION (only kill intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .numeros-mesh { animation: none; }
  .cursor-ball { animation: none; }
  .cursor-shadow { animation: none; }
  .hero-dot { animation: none; }
  .cierre-glyph { animation: none; }
  html { scroll-behavior: auto; }
  /* DO keep: tilt, hover transitions, reveals, color transitions, etc. */
}
