@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --accent: #e8ff47;
  --accent-dim: rgba(232,255,71,0.12);
  --text: #f5f5f5;
  --text-muted: #888;
  --text-dim: #555;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icono {
  height: 42px;
  width: auto;
}

.logo-text .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.logo-text .sublogo {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-badge {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,255,71,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,255,71,0.03) 0%, transparent 50%),
    var(--bg);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('parati2.webp') center/cover no-repeat;
  opacity: 0.08;
  filter: grayscale(100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--transition) 0.1s forwards;
}

.hero-eyebrow span {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--transition) 0.2s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s var(--transition) 0.35s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--transition) 0.45s forwards;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: all 0.3s var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #f0ff60;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(232,255,71,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 28px 40px;
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0 30px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--border);
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════ */
.section-header {
  text-align: center;
  padding: 80px 40px 48px;
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   CATEGORÍAS
══════════════════════════════════════ */
.categorias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 40px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.cat {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--transition);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.cat-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
  filter: grayscale(30%) brightness(0.5);
}

.cat:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.55);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.cat-content {
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--transition);
}

.cat:hover .cat-content {
  transform: translateY(-4px);
}

.cat-tag {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.cat h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.1;
}

.cat p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  font-weight: 300;
}

.cat-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s;
}

.cat:hover .cat-arrow {
  gap: 14px;
}

.cat:hover {
  border-color: rgba(232,255,71,0.2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transform: translateY(-4px);
}

/* ══════════════════════════════════════
   CARRUSEL
══════════════════════════════════════ */
.carousel-section {
  padding: 20px 0 60px;
  overflow: hidden;
}

.carousel-label {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.carousel-wrap {
  overflow: hidden;
  position: relative;
}

.carousel-wrap::before,
.carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.carousel {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.carousel img {
  height: 180px;
  width: 240px;
  object-fit: cover;
  border-radius: 14px;
  filter: grayscale(20%);
  transition: all 0.4s;
  border: 1px solid var(--border);
}

.carousel img:hover {
  filter: grayscale(0%);
  transform: scale(1.04);
  border-color: rgba(232,255,71,0.3);
}

.carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   BENEFICIOS
══════════════════════════════════════ */
.beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.beneficio {
  background: var(--bg);
  padding: 40px 30px;
  transition: background 0.3s;
}

.beneficio:hover {
  background: var(--bg2);
}

.beneficio-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.beneficio h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.beneficio p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ══════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  z-index: 999;
  transition: all 0.3s var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--accent);
}

.footer-info {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  header { padding: 0 24px; }
  .hero { padding: 60px 24px; min-height: 70vh; }
  .categorias { padding: 0 24px 60px; }
  .beneficios { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { gap: 0; }
  .stat-item { padding: 0 20px; }
}

@media (max-width: 640px) {
  header { height: 60px; padding: 0 16px; }
  .header-badge { display: none; }
  .logo-text .logo { font-size: 18px; }
  .icono { height: 32px; }

  .hero { padding: 50px 20px; min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }

  .stats-bar { padding: 24px 20px; }
  .stats-inner { gap: 0; }
  .stat-num { font-size: 28px; }
  .stat-item { padding: 0 12px; }

  .section-header { padding: 60px 20px 36px; }

  .categorias {
    grid-template-columns: 1fr;
    padding: 0 20px 60px;
    gap: 16px;
  }

  .cat { aspect-ratio: 16/9; padding: 24px; }
  .cat h2 { font-size: 26px; }

  .beneficios { grid-template-columns: 1fr; }
  .beneficio { padding: 28px 20px; }

  .carousel img { height: 130px; width: 170px; }

  footer { padding: 36px 20px; }
}

@media (max-width: 380px) {
  .hero h1 { letter-spacing: -1.5px; }
  .stat-num { font-size: 24px; }
  .cat h2 { font-size: 22px; }
}
