/* ════════════════════════════════════════════════════
   PAISANO REWARD — Hoja de estilos principal
   Sin dependencias externas. Funciona en localhost.
   ════════════════════════════════════════════════════ */

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

:root {
  --verde:  #bb4433;
  --verde2: #781006;
  --rojo:   #bb4433;
  --oro:    #f5adab;
  --oro2:   #d4908e;
  --negro:  #1a1a1a;
  --negro2: #111;
  --crema:  #fce2e4;
  --fondo:  #fef5f5;
  --fondo2: #f9d0d2;
  --gris1:  rgba(0,0,0,0.07);
  --gris2:  rgba(0,0,0,0.45);
  --gris3:  rgba(0,0,0,0.65);

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif; /* fallback si no hay Bebas */
  --radius: 16px;
  --radius-sm: 8px;
  --gap: 14px;
}

html, body {
  font-family: var(--font);
  background: var(--fondo);
  color: var(--negro);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TIPOGRAFÍA DISPLAY (Bebas Neue si está disponible, sino bold serif) ── */
.display {
  font-family: 'Bebas Neue', 'Anton', 'Impact', var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

/* ════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(247,245,242,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gris1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 48px;
  flex-shrink: 0;
}

.nav-logo-text p:first-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--negro);
  line-height: 1.2;
}

.nav-logo-text p:last-child {
  font-size: 0.67rem;
  color: rgba(0,0,0,0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rojo); }

.nav-cta {
  background: var(--rojo) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--rojo2) !important; color: #fff !important; }

/* Hamburguesa */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--negro);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(247,245,242,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99;
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid var(--gris1);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(0,0,0,0.7);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gris1);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--rojo); }

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 1rem;
  background: var(--rojo);
  color: #fff;
  text-align: center;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}


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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    filter: opacity(.4);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: opacity(.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.0) 75%,
    rgba(10,10,10,0.9) 100%
  );
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosa);
  border: 1px solid rgba(245,173,171,0.5);
  padding: 0.35rem 1.1rem;
  border-radius: 99px;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 60px rgba(0,0,0,0.6);
}

.hero-title .accent { color: var(--rosa); display: block; }

.hero-logo {
  display: block;
  margin: 0.5rem auto 0;
  max-width: min(520px, 80vw);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 40px rgba(0,0,0,0.55));
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: #bb4433;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--rojo);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--rojo2); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: #fff; transform: translateY(-2px); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
}

.scroll-hint-text {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.scroll-hint-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.5; transform: scaleY(1);   transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(0.55); }
}


/* ════════════════════════════════════════════════════
   STATS STRIP
   ════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--rojo);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

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

.stat-num {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 1;
  color: #fff;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}


/* ════════════════════════════════════════════════════
   SECCIONES BASE
   ════════════════════════════════════════════════════ */
.section {
  padding: 6rem 2rem;
}

.section-dark   { background: var(--fondo); }
.section-darker { background: var(--fondo2); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--negro);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(0,0,0,0.5);
  max-width: 500px;
  line-height: 1.75;
}


/* ════════════════════════════════════════════════════
   BENTO GRID — Showcase
   ════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: var(--gap);
  margin-top: 3.5rem;
}

/* Posiciones de celdas */
.b1 { grid-column: span 5; grid-row: span 4; }
.b2 { grid-column: span 4; grid-row: span 2; }
.b3 { grid-column: span 3; grid-row: span 2; }
.b4 { grid-column: span 4; grid-row: span 2; }
.b5 { grid-column: span 3; grid-row: span 2; }
.b6 { grid-column: span 3; grid-row: span 4; }
.b7 { grid-column: span 4; grid-row: span 2; }
.b8 { grid-column: span 5; grid-row: span 2; }
.b9 { grid-column: span 4; grid-row: span 2; }

/* Celda base */
.bento-cell {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.bento-cell:hover { transform: scale(1.025); }

/* Variantes de fondo */
.bento-photo {
  background-size: cover;
  background-position: center;
}

.bento-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.08) 55%);
}

.bento-verde { background: var(--rojo); }
.bento-rojo  { background: var(--rojo); }
.bento-oro   { background: var(--rosa); }
.bento-dark  { background: var(--negro); border: none; }
.bento-glass {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.1);
}

/* Contenido celdas foto */
.bento-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.2rem 1.4rem 1rem;
}

.bento-cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 0.25rem;
}

.bento-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.bento-badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Contenido celdas de color */
.bento-icon-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
  gap: 0.3rem;
}

.bento-icon  { font-size: 2.2rem; line-height: 1; }
.bento-heading {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
}
.bento-sub   { font-size: 0.73rem; font-weight: 400; color: rgba(255,255,255,0.6); }

.bento-big-num {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1;
  color: #fff;
}

.bento-center {
  align-items: center;
  text-align: center;
  justify-content: center;
}


/* ════════════════════════════════════════════════════
   CÓMO FUNCIONA — Pasos
   ════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  border: 1px solid var(--gris1);
  border-radius: 20px;
  overflow: hidden;
}

.step-card {
  padding: 2.8rem 2.2rem;
  background: #fff;
  border-right: 1px solid var(--gris1);
  transition: background 0.25s;
}

.step-card:last-child { border-right: none; }
.step-card:hover { background: var(--fondo2); }

.step-num {
  font-family: 'Bebas Neue', 'Anton', Impact, var(--font-display);
  font-weight: 400;
  font-size: 4rem;
  line-height: 1;
  color: rgba(0,0,0,0.07);
  margin-bottom: 1rem;
}

.step-icon  { font-size: 2rem; margin-bottom: 0.75rem; }

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.86rem;
  font-weight: 400;
  color: rgba(0,0,0,0.48);
  line-height: 1.7;
}

.step-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rojo);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-link::after { content: ' →'; }


/* ════════════════════════════════════════════════════
   GRID DE CATEGORÍAS
   ════════════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 115px;
  gap: 12px;
  margin-top: 3rem;
}

.cc1 { grid-column: span 4; grid-row: span 3; }
.cc2 { grid-column: span 4; grid-row: span 2; }
.cc3 { grid-column: span 4; grid-row: span 2; }
.cc4 { grid-column: span 4; grid-row: span 2; }
.cc5 { grid-column: span 4; grid-row: span 1; }
.cc6 { grid-column: span 4; grid-row: span 1; }

.cat-cell {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s;
}

.cat-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

.cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.cat-cell:hover .cat-bg { transform: scale(1.07); }

.cat-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 100%);
}

.cat-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
}

.cat-emoji  { font-size: 1.8rem; margin-bottom: 0.3rem; }

.cat-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.cat-count {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-top: 0.15rem;
}

.cat-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
}

.cat-cell:hover .cat-arrow { opacity: 1; }


/* ════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════ */
.cta-band {
  background: var(--fondo2);
  padding: 6rem 2rem;
  text-align: center;
}

.cta-band .section-eyebrow { color: var(--rojo); }
.cta-band .section-title   { color: var(--negro); }
.cta-band .section-desc    { color: #FFFFFF; margin: 0 auto; }

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn-dark {
  background: #781006;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-dark:hover { background: #1a1a1a; transform: translateY(-2px); }

.btn-verde {
  background: var(--rojo);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-verde:hover { background: var(--rojo2); transform: translateY(-2px); }

.cta-band p.legal {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: #FFFFFF;
}


/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.footer {
  background: #FFF;
  border-top: 1px solid var(--gris1);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img  { height: 30px; opacity: 0.5; }
.footer-logo span { font-size: 0.72rem; color: rgba(0,0,0,0.4); }

.footer p {
  font-size: 0.7rem;
  color: rgba(0,0,0,0.3);
}


/* ════════════════════════════════════════════════════
   ANIMACIÓN REVEAL ON SCROLL
   ════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }


/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }

  .stats-strip { gap: 2rem; padding: 1.8rem 1.5rem; }
  .stat-divider { display: none; }

  /* Bento 6 cols en tablet */
  .bento-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .b1 { grid-column: span 6; grid-row: span 3; }
  .b2 { grid-column: span 3; grid-row: span 2; }
  .b3 { grid-column: span 3; grid-row: span 2; }
  .b4 { grid-column: span 3; grid-row: span 2; }
  .b5 { grid-column: span 3; grid-row: span 2; }
  .b6 { grid-column: span 3; grid-row: span 3; }
  .b7 { grid-column: span 3; grid-row: span 2; }
  .b8 { grid-column: span 6; grid-row: span 2; }
  .b9 { grid-column: span 6; grid-row: span 2; }

  /* Steps en 1 col */
  .steps-grid { grid-template-columns: 1fr; }
  .step-card  { border-right: none; border-bottom: 1px solid var(--gris1); }
  .step-card:last-child { border-bottom: none; }

  /* Cat grid tablet */
  .cat-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .cc1 { grid-column: span 6; grid-row: span 2; }
  .cc2, .cc3, .cc4 { grid-column: span 3; }
  .cc5, .cc6 { grid-column: span 3; }
}

@media (max-width: 600px) {
  .navbar  { padding: 0 1.2rem; }
  .section { padding: 4rem 1.2rem; }

  .hero-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .hero-sub   { font-size: 0.92rem; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
  .b1, .b2, .b3, .b4, .b5, .b6, .b7, .b8, .b9 { grid-column: span 2; grid-row: span 2; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
  .cc1, .cc2, .cc3, .cc4, .cc5, .cc6 { grid-column: span 2; grid-row: span 1; }

  .stats-strip { gap: 1.5rem; }
  .stat-num    { font-size: 2.2rem; }

  .cta-btns { flex-direction: column; }
  .btn-dark, .btn-verde { width: 100%; text-align: center; }
}