/* ==========================================
   TOMÁS "TOTO" MARTÍNEZ ROSENFELD
   Static Landing Page — Stylesheet
   ========================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --primary-dark: #1A2744;
  --primary-light: #8BB5E8;
  --accent-gold: #D4A843;
  --bg-light: #F3F5F8;
  --text-muted: #6B7B8E;
  --white: #FFFFFF;
  --black: #000000;
  --border-light: rgba(26, 39, 68, 0.12);

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;
  --max-width: 1200px;
  --radius-card: 16px;
  --radius-photo: 12px;
  --radius-btn: 8px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--primary-dark);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-smooth);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-light {
  background: var(--bg-light);
  padding: 80px 0;
}

.section-dark {
  background: var(--primary-dark);
  padding: 80px 0;
}

.section-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  color: var(--accent-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.badge-dark {
  background: rgba(212, 168, 67, 0.2);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title.light {
  color: var(--white);
}

.slide-line {
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-dramatic);
}

.slide-line.visible {
  transform: scaleX(1);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

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

/* Stagger delays */
.stagger-children .reveal-item:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal-item:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .reveal-item:nth-child(3) { transition-delay: 0.24s; }
.stagger-children .reveal-item:nth-child(4) { transition-delay: 0.36s; }
.stagger-children .reveal-item:nth-child(5) { transition-delay: 0.48s; }
.stagger-children .reveal-item:nth-child(6) { transition-delay: 0.60s; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.btn-primary:hover {
  background: #E0B54F;
  transform: scale(1.02);
  box-shadow: 0 4px 24px rgba(212, 168, 67, 0.35);
}

.btn-giant {
  padding: 24px 56px;
  font-size: 18px;
  border-radius: 12px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease-smooth), backdrop-filter 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(26, 39, 68, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease-smooth);
}

.nav-logo:hover {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  opacity: 0.7;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./images/toto-action-01.png') center center / cover no-repeat;
  will-change: transform;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 39, 68, 0.5) 0%, rgba(26, 39, 68, 0.75) 60%, rgba(26, 39, 68, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: rgba(212, 168, 67, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.kinetic-line {
  display: block;
}

.kinetic-line.gold {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-line {
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 40px;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-dramatic);
}

.hero-line.visible {
  transform: scaleX(1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  opacity: 0.8;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s infinite ease-in-out;
}

.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(12px); }
  60% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- PERFIL ---------- */
.perfil-header {
  text-align: center;
  margin-bottom: 56px;
}

.perfil-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.perfil-photo-wrapper {
  display: flex;
  justify-content: center;
}

.perfil-photo-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.15);
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
}

.perfil-photo-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(26, 39, 68, 0.2);
}

.perfil-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.perfil-photo-container:hover .perfil-photo {
  transform: scale(1.05);
}

.perfil-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 60%, rgba(26, 39, 68, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.perfil-photo-container:hover .perfil-photo-overlay {
  opacity: 1;
}

.photo-credit {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
}

.perfil-bio {
  margin-bottom: 32px;
}

.bio-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--primary-dark);
}

.bio-text strong {
  font-weight: 600;
  color: var(--primary-dark);
}

.perfil-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-left 0.3s var(--ease-smooth);
  border-left: 4px solid transparent;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
  border-left-color: var(--accent-gold);
}

.info-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.info-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.info-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-dark);
}

/* ---------- ACTUALIDAD ---------- */
.actualidad-header {
  text-align: center;
  margin-bottom: 40px;
}

.actualidad-text {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.actualidad-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--primary-dark);
}

.actualidad-text strong {
  font-weight: 600;
}

.category-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.cat-card {
  position: relative;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
}

.cat-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-light);
  transition: background 0.3s var(--ease-smooth);
}

.cat-card:hover .cat-card-accent {
  background: var(--accent-gold);
}

.cat-card.highlight .cat-card-accent {
  background: var(--accent-gold);
}

.cat-card-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cat-card-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--primary-dark);
  line-height: 1;
}

.cat-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}

.club-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #243554 100%);
  border-radius: var(--radius-card);
  padding: 40px;
  text-align: center;
}

.club-banner-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.club-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
}

.club-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.club-sublabel {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--primary-light);
  opacity: 0.8;
}

/* ---------- HIGHLIGHTS ---------- */
.highlights-header {
  text-align: center;
  margin-bottom: 48px;
}

.highlights-cta {
  text-align: center;
  margin-bottom: 56px;
}

.btn-icon {
  font-size: 20px;
  line-height: 1;
}

.highlights-sub {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--primary-light);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.strip-item {
  border-radius: var(--radius-photo);
  overflow: hidden;
}

.strip-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-photo);
}

.strip-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.strip-photo-wrap:hover .strip-photo {
  transform: scale(1.05);
}

.strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(26, 39, 68, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.strip-photo-wrap:hover .strip-overlay {
  opacity: 1;
}

.strip-overlay span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ---------- LOGROS ---------- */
.logros-header {
  text-align: center;
  margin-bottom: 56px;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto 64px;
  padding-left: 32px;
}

.timeline-line {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 3px solid var(--bg-light);
  box-shadow: 0 0 0 2px var(--border-light);
}

.timeline-dot.gold {
  background: var(--accent-gold);
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.timeline-content {
  background: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
}

.timeline-year {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: rgba(212, 168, 67, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
  text-align: center;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-left 0.3s var(--ease-smooth);
  border-left: 4px solid transparent;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 39, 68, 0.12);
  border-left-color: var(--accent-gold);
}

.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ---------- CONTACTO ---------- */
.contacto-header {
  margin-bottom: 40px;
}

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

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  opacity: 0.7;
}

.contact-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
}

.contacto-photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto-photo-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.contacto-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.contacto-photo-container:hover .contacto-photo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.contacto-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 39, 68, 0.6) 100%);
  pointer-events: none;
}

.contacto-photo-caption {
  margin-top: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--primary-light);
  opacity: 0.6;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #121d33;
  padding: 56px 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--primary-light);
  opacity: 0.7;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 24px;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--white);
  opacity: 0.7;
  transition: all 0.3s var(--ease-smooth);
}

.social-link:hover {
  opacity: 1;
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--primary-light);
  opacity: 0.6;
  margin-bottom: 4px;
}

.footer-photo-credit {
  font-size: 12px !important;
  opacity: 0.4 !important;
}

/* ---------- KINETIC TITLE ANIMATION ---------- */
@keyframes kineticReveal {
  from {
    opacity: 0;
    transform: translateY(100%) rotate(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-title .kinetic-line {
  display: block;
  overflow: hidden;
}

.hero-title .kinetic-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotate(8deg);
}

.hero-title.animate .kinetic-line span {
  animation: kineticReveal 0.8s var(--ease-dramatic) forwards;
}

/* ---------- COUNTER ANIMATION ---------- */
.counter {
  display: inline-block;
}

/* ---------- RESPONSIVE: TABLET (640px+) ---------- */
@media (min-width: 640px) {
  .container {
    padding: 0 40px;
  }

  .section-light,
  .section-dark {
    padding: 100px 0;
  }

  .section-title {
    font-size: 56px;
  }

  .hero-title {
    font-size: 100px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-stat-num {
    font-size: 36px;
  }

  .perfil-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .perfil-photo-wrapper {
    justify-content: flex-start;
  }

  .perfil-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-num {
    font-size: 64px;
  }

  .contacto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .club-name {
    font-size: 64px;
  }

  .timeline {
    padding-left: 48px;
  }

  .timeline-dot {
    left: -44px;
    width: 20px;
    height: 20px;
  }

  .timeline-title {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- RESPONSIVE: DESKTOP (1024px+) ---------- */
@media (min-width: 1024px) {
  .container {
    padding: 0 80px;
  }

  .section-light,
  .section-dark {
    padding: 120px 0;
  }

  .section-title {
    font-size: 80px;
  }

  .hero-title {
    font-size: 140px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-stats {
    gap: 64px;
  }

  .hero-stat-num {
    font-size: 40px;
  }

  .perfil-grid {
    gap: 80px;
  }

  .perfil-photo-container {
    max-width: 480px;
  }

  .perfil-info-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .category-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .cat-card-value {
    font-size: 40px;
  }

  .stat-num {
    font-size: 80px;
  }

  .club-name {
    font-size: 80px;
  }

  .timeline {
    max-width: 800px;
  }

  .timeline-content {
    padding: 28px 32px;
  }

  .nav-container {
    padding: 0 40px;
  }
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 639px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--primary-dark);
    padding: 16px 0 32px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s var(--ease-dramatic), opacity 0.4s var(--ease-smooth);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    opacity: 0.9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-stats {
    gap: 24px;
  }

  .btn-giant {
    padding: 18px 36px;
    font-size: 16px;
  }

  .club-banner {
    padding: 28px 20px;
  }

  .club-name {
    font-size: 36px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  html {
    scroll-behavior: auto;
  }

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

  .hero-scroll-hint {
    animation: none;
  }
}
