/* =============================================================
   CAMISETAS MIAMI — Custom Jerseys Landing Page
   style.css
   ============================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── Variables ────────────────────────────────────────────── */
:root {
  --red:      #CC0000;
  --red-dark: #a80000;
  --red-hot:  #E50000;
  --black:    #0f0f0f;
  --dark:     #1a1a1a;
  --white:    #ffffff;
  --gray:     #f4f4f4;
  --gray2:    #e8e8e8;
  --radius:   12px;
  --shadow:   0 8px 32px rgba(0,0,0,0.10);
}

/* ── Utility ──────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section-header { margin-bottom: 56px; }
.section-header.center-light { text-align: center; }

.section-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-label.red-light { color: #ff7070; }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05; text-transform: uppercase;
  color: var(--dark);
}
.section-title.light { color: #fff; }
.section-title .accent,
.accent { color: var(--red); }
.accent-red { color: #ff4d4d; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 40px; border-radius: 4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(204,0,0,0.4);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--red-hot);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(204,0,0,0.5);
}
.btn-primary.btn-lg { font-size: 1.25rem; padding: 20px 56px; }

.btn-outline {
  display: inline-block;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 36px; border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  padding: 12px 0;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  color: #fff; letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--red); }
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 24px; font-size: 0.95rem; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/team.jpg');
  background-size: cover; background-position: center 30%;
  filter: brightness(0.32);
  transform: scale(1.05);
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.14) translateX(-2%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    145deg,
    rgba(204,0,0,0.15) 0%,
    rgba(0,0,0,0.5) 55%,
    rgba(0,0,0,0.82) 100%
  );
}
.hero-diagonal {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 110px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 15%, 100% 100%);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 3;
  color: #fff;
  padding: 120px 24px 90px;
  max-width: 880px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 20px; border-radius: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 900; line-height: 0.94;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.22rem);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  max-width: 580px; margin: 0 auto 38px;
  line-height: 1.55;
}
.hero-buttons {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.hero-stat span {
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── STRIP ────────────────────────────────────────────────── */
.social-strip {
  background: var(--red);
  padding: 18px 0;
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: #fff;
  text-transform: uppercase; letter-spacing: 0.1em;
  flex-shrink: 0;
}
.strip-track .dot { color: rgba(255,255,255,0.4); font-size: 1.5rem; }

/* ── BENEFITS ─────────────────────────────────────────────── */
.benefits { padding: 90px 0; background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--red);
}
.card-accent {
  position: absolute; top: 0; right: 0;
  width: 60px; height: 60px;
  background: var(--red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.1;
  transition: opacity 0.25s;
}
.benefit-card:hover .card-accent { opacity: 0.22; }
.benefit-icon { font-size: 2.6rem; margin-bottom: 18px; display: block; }
.benefit-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--dark); margin-bottom: 10px;
}
.benefit-card p { font-size: 0.92rem; color: #555; line-height: 1.65; }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery {
  padding: 90px 0;
  background: var(--dark);
  position: relative;
}
.gallery-top-clip {
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  margin-bottom: -2px;
}
.gallery-bottom-clip {
  height: 80px;
  background: var(--white);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  margin-top: -2px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 340px 260px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(204,0,0,0.8) 0%, transparent 55%);
  opacity: 0;
  display: flex; align-items: flex-end;
  padding: 18px;
  transition: opacity 0.3s;
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: #fff;
}
/* Grid layout */
.gi-large  { grid-column: span 7; grid-row: 1; }
.gi-medium { grid-column: span 5; grid-row: 1; }
.gi-small  { grid-column: span 4; grid-row: 2; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works { padding: 90px 0; background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 56px;
}
.step { text-align: center; padding: 0 24px; }
.step-num {
  width: 86px; height: 86px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 900; color: #fff;
  transition: background 0.25s;
}
.step:hover .step-num { background: var(--red); }
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--dark); margin-bottom: 10px;
}
.step p { font-size: 0.92rem; color: #666; line-height: 1.6; max-width: 230px; margin: 0 auto; }
.steps-connector {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--dark), var(--red));
  align-self: 43px;
  margin-top: 43px;
  border-radius: 2px;
  flex-shrink: 0;
}
.how-cta { text-align: center; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { padding: 90px 0; background: var(--gray); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.test-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.test-verified {
  position: absolute; top: 20px; right: 20px;
  background: #e8f5e9; color: #2e7d32;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.test-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 14px; }
.test-card blockquote {
  font-size: 0.94rem; color: #444;
  line-height: 1.7; margin-bottom: 24px;
  font-style: italic;
  position: relative; padding-left: 20px;
}
.test-card blockquote::before {
  content: '"';
  position: absolute; left: 0; top: -6px;
  font-size: 3rem; line-height: 1;
  color: var(--red); font-family: Georgia, serif;
}
.test-author {
  display: flex; align-items: center; gap: 14px;
}
.test-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 1.2rem;
  color: #fff; flex-shrink: 0;
}
.test-author strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  text-transform: uppercase; color: var(--dark);
}
.test-author span { font-size: 0.82rem; color: #888; }

/* ── FINAL CTA ────────────────────────────────────────────── */
.final-cta {
  padding: 110px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 30px,
    rgba(204,0,0,0.04) 30px, rgba(204,0,0,0.04) 60px
  );
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(204,0,0,0.2) 0%, transparent 68%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900; text-transform: uppercase;
  color: #fff; line-height: 1;
  margin: 10px 0 18px;
}
.cta-sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.68);
  max-width: 500px; margin: 0 auto 44px;
  line-height: 1.6;
}
.cta-perks {
  display: flex; gap: 28px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 44px;
}
.cta-perks span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #080808;
  padding: 36px 0;
  border-top: 1px solid #1e1e1e;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 18px;
  text-align: center;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: #fff; letter-spacing: 0.04em;
}
.footer-logo span { color: var(--red); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 0.82rem; color: #444; }

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 62px; height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.benefit-card.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gi-large, .gi-medium, .gi-small {
    grid-column: span 1;
    min-height: 200px;
  }
  .gi-large { grid-column: span 2; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps-connector { display: none; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gi-large { grid-column: span 1; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-perks { gap: 16px; }
  .hero-stats { gap: 18px; }
  .hero-stat strong { font-size: 1.8rem; }
}
