/* Estilo compartido de las páginas de producto — mismos tokens que index.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amarillo:       #F5A800;
  --amarillo-claro: #FFD000;
  --amarillo-suave: #FFF8E7;
  --negro:          #0A0A0B;
  --oscuro:         #F5F5F3;
  --oscuro-medio:   #FFFFFF;
  --oscuro-claro:   #EBEBEB;
  --gris:           #777780;
  --gris-claro:     #444448;
  --blanco:         #FFFFFF;
  --borde:          rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; background: var(--blanco); color: var(--negro); overflow-x: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--oscuro); }
::-webkit-scrollbar-thumb { background: var(--amarillo); border-radius: 3px; }

/* ── NAV (igual que index.html) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--negro); }
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--amarillo);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: var(--negro); letter-spacing: -1px;
}
.nav-logo-text  { font-size: 0.85rem; font-weight: 700; line-height: 1.2; color: var(--negro); }
.nav-logo-sub   { font-size: 0.64rem; font-weight: 600; color: var(--amarillo); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(0,0,0,0.55); font-size: 0.82rem; font-weight: 500; text-decoration: none; letter-spacing: 0.5px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--amarillo); }
.nav-hamburger { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-hamburger span { display: block; width: 26px; height: 3px; background: var(--negro); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ── BREADCRUMB / HERO DE PRODUCTO ── */
.prod-hero { padding: 140px 48px 60px; background: var(--oscuro); }
.breadcrumb { font-size: 0.78rem; color: var(--gris); margin-bottom: 18px; }
.breadcrumb a { color: var(--gris); text-decoration: none; }
.breadcrumb a:hover { color: var(--amarillo-claro); }
.breadcrumb span { color: var(--negro); font-weight: 600; }
.prod-hero .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #B07800; margin-bottom: 14px;
}
.prod-hero .section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--amarillo); }
.prod-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: 1px; margin-bottom: 16px; color: var(--negro); }
.prod-hero h1 em { color: var(--amarillo); font-style: normal; }
.prod-hero p { font-size: 1rem; color: rgba(0,0,0,0.55); line-height: 1.7; max-width: 640px; }

/* ── SECCIONES ── */
section { padding: 80px 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #B07800; margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--amarillo); }
h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: 1px; margin-bottom: 14px; color: var(--negro); }
h2 em { color: var(--amarillo); font-style: normal; }
.section-desc { font-size: 1rem; color: rgba(0,0,0,0.52); line-height: 1.7; max-width: 560px; margin-bottom: 48px; }

/* ── GRID DE TARJETAS DE PRODUCTO ── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.prod-card {
  background: var(--blanco); border: 1.5px solid rgba(0,0,0,0.08); border-radius: 18px;
  overflow: hidden; transition: all .3s; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
}
.prod-card:hover { border-color: rgba(245,168,0,0.5); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.1); }
.prod-card-img {
  aspect-ratio: 4/3; background: var(--oscuro-claro);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.prod-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; background: #fff; }
.prod-card-img.cover img { object-fit: cover; padding: 0; }
.prod-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #EFEFEF, #E5E5E5);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; opacity: 0.6;
}
.prod-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prod-card-tag {
  display: inline-block; background: var(--amarillo-suave); color: #9A6E00;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; align-self: flex-start;
}
.prod-card-body h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; color: var(--negro); }
.prod-card-body p { font-size: 0.85rem; color: rgba(0,0,0,0.55); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.prod-card-list { list-style: none; font-size: 0.8rem; color: rgba(0,0,0,0.6); margin-bottom: 20px; }
.prod-card-list li { padding: 5px 0 5px 18px; position: relative; }
.prod-card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--amarillo); font-weight: 700; }

/* ── BOTÓN CONSULTAR ── */
.btn-consultar {
  background: var(--amarillo); color: var(--negro);
  padding: 13px 20px; border-radius: 8px;
  font-weight: 700; font-size: 0.84rem;
  border: none; cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; text-decoration: none;
}
.btn-consultar:hover { background: var(--amarillo-claro); transform: translateY(-1px); }
.btn-consultar:disabled { opacity: .6; cursor: wait; }
.btn-consultar.enviado { background: #22c55e; color: #fff; }

.btn-secondary {
  background: transparent; color: var(--negro);
  padding: 14px 32px; border-radius: 6px;
  border: 1.5px solid rgba(0,0,0,0.25);
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--amarillo); color: var(--negro); background: var(--amarillo-suave); }

/* ── NOTA / AVISO ── */
.prod-nota {
  background: var(--amarillo-suave); border: 1.5px solid rgba(245,168,0,0.3);
  border-radius: 14px; padding: 20px 24px; font-size: 0.85rem; color: #6B4E00;
  line-height: 1.6; margin-top: 40px;
}

/* ── FOOTER (igual que index.html) ── */
footer { background: var(--negro); padding: 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.81rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--amarillo); }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--amarillo); border: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; transition: all .25s ease; box-shadow: 0 4px 14px rgba(245,168,0,0.35); }
.social-btn:hover { background: var(--amarillo-claro); transform: translateY(-3px) scale(1.08); box-shadow: 0 10px 24px rgba(245,168,0,0.55); }

/* ── ANIMATIONS ── */
.reveal       { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.00s }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.08s }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.16s }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.24s }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.32s }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.40s }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 12px; height: 64px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none !important; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links a { font-size: 0.95rem !important; padding: 14px 8px; display: block; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-logo-text { font-size: 0.78rem; }
  .nav-logo-sub { font-size: 0.6rem; }
  .prod-hero { padding: 100px 16px 40px; }
  .breadcrumb { font-size: 0.7rem; }
  section { padding: 60px 16px; }
  .prod-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-desc { margin-bottom: 28px; }
  footer { padding: 28px 16px; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: center; }
  .footer-logo { flex: 1; min-width: 220px; }
  .footer-copy { font-size: 0.7rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
}
