/* ============================================================
   JIMENITA — css/sections.css
   Estilos por sección
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100dvh;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Bubbles background */
.hero-bg .b1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(168,85,247,.18), transparent 70%); top: -80px; left: -80px; animation-duration: 8s; }
.hero-bg .b2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(236,72,153,.15), transparent 70%); top: 20%; right: -60px; animation-duration: 6s; animation-delay: -2s; }
.hero-bg .b3 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%); bottom: 10%; left: 20%; animation-duration: 7s; animation-delay: -3s; }
.hero-bg .b4 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(250,204,21,.1), transparent 70%); bottom: -40px; right: 15%; animation-duration: 9s; animation-delay: -1s; }

/* Dot grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(168,85,247,.15) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-pretitle {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}

.hero-pretitle span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

/* PNG con esquinas redondeadas y glow */
.hero-image img {
  max-height: 540px;
  width: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(168,85,247,.2),
    0 20px 60px rgba(168,85,247,.35),
    0 0 80px rgba(236,72,153,.15);
}

/* SVG ilustraciones sin recorte (fondo transparente) */
.hero-image svg {
  max-height: 540px;
  filter: drop-shadow(0 20px 60px rgba(168,85,247,.4));
}

.hero-float-badge {
  position: absolute;
  background: rgba(26,16,48,.9);
  border: 1px solid rgba(168,85,247,.3);
  border-radius: 1rem;
  padding: .75rem 1rem;
  backdrop-filter: blur(10px);
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-float-badge.b-points { top: 15%; left: -20px; animation-delay: -.5s; }
.hero-float-badge.b-wifi   { bottom: 25%; left: -30px; animation-delay: -1s; color: var(--cyan); }
.hero-float-badge.b-card   { top: 40%; right: -20px; animation-delay: -1.8s; color: var(--yellow); }

/* ── CATEGORIES ── */
.categories {
  background: linear-gradient(180deg, var(--dark) 0%, #110820 100%);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.cat-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  transition: transform .35s, box-shadow .35s;
}
.cat-card:hover { transform: scale(1.04); box-shadow: 0 16px 40px rgba(0,0,0,.4); }

.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 30%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.cat-card-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* ── BENEFITS / FEATURES ── */
.benefits {
  background: #110820;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 2rem;
  border-radius: var(--radius-card);
  background: var(--dark-card);
  border: 1px solid rgba(168,85,247,.15);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  text-align: center;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236,72,153,.4);
  box-shadow: var(--shadow-glow-pink);
}

.benefit-icon {
  width: 64px; height: 64px;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.benefit-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

/* ── LOYALTY POINTS ── */
.loyalty {
  background: linear-gradient(135deg, #1a0533 0%, #0d1a2e 50%, #1a0533 100%);
  position: relative;
  overflow: hidden;
}

.loyalty::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,204,21,.08), transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}

.loyalty-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.loyalty-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.loyalty-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  min-width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark);
  box-shadow: 0 0 15px rgba(250,204,21,.3);
}

.step-text strong {
  display: block;
  font-weight: 700;
  margin-bottom: .2rem;
}
.step-text span {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

/* Points card illustration */
.points-card {
  background: linear-gradient(135deg, var(--purple-deep), var(--pink-hot));
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(168,85,247,.35);
}

.points-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -60px; right: -60px;
}

.points-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.points-card-logo {
  font-family: var(--font-cursive);
  font-size: 1.5rem;
  color: white;
}

.points-chip {
  width: 48px; height: 36px;
  border-radius: .5rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  opacity: .9;
}

.points-balance {
  margin-bottom: 1.5rem;
}
.points-balance span { font-size: .85rem; opacity: .75; display: block; margin-bottom: .3rem; }
.points-balance strong { font-family: var(--font-display); font-size: 2.5rem; }

.points-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  opacity: .8;
}

/* ── PAYMENTS ── */
.payments {
  background: var(--dark);
}

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

.payment-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--dark-card);
  border: 1px solid rgba(168,85,247,.2);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .25s, transform .25s;
}
.payment-pill:hover {
  border-color: var(--purple-mid);
  transform: translateY(-3px);
}
.payment-pill .icon { font-size: 1.4rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--grad-brand);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.cta-section p {
  opacity: .85;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-white {
  background: white;
  color: var(--purple-deep);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-white:hover { box-shadow: 0 12px 32px rgba(0,0,0,.3); }

.btn-ghost {
  border: 2px solid rgba(255,255,255,.7);
  color: white;
  font-weight: 700;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ── FOOTER ── */
.footer {
  background: #08040f;
  border-top: 1px solid rgba(168,85,247,.15);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  max-width: 260px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}

.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform .25s, background .25s;
}
.social-btn:hover { transform: scale(1.15); }
.social-btn.fb { background: #1877f2; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.wa { background: #25d366; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--purple-light);
}

.footer-col ul li {
  margin-bottom: .6rem;
}
.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color .2s, padding-left .2s;
}
.footer-col ul li a:hover { color: var(--pink-hot); padding-left: .3rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item .ico { font-size: 1.1rem; margin-top: .1rem; }

.footer-bottom {
  border-top: 1px solid rgba(168,85,247,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a { color: var(--purple-light); }
.footer-bottom a:hover { color: var(--pink-hot); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .loyalty-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}