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

:root {
  --rojo:    #8B1A2A;
  --rojo-d:  #5c0f1a;
  --dorado:  #C8922A;
  --dorado-l:#e8b95a;
  --crema:   #FDF6EE;
  --blanco:  #FFFFFF;
  --negro:   #111111;
  --gris:    #555555;
  --radio:   12px;
  --sombra:  0 4px 24px rgba(0,0,0,.10);
  --sombra-h:0 12px 40px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--blanco);
  color: var(--negro);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  transition: background .3s, box-shadow .3s;
}
#nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
nav {
  max-width: 1120px; margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-nav img {
  height: 52px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)) brightness(0) invert(1);
}
#nav.scrolled .logo-nav img {
  filter: brightness(0) saturate(1) invert(14%) sepia(60%) saturate(900%) hue-rotate(320deg) brightness(85%);
}

.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--blanco); transition: color .2s; }
#nav.scrolled .nav-links a { color: var(--negro); }
.nav-links a:hover { color: var(--dorado-l); }
#nav.scrolled .nav-links a:hover { color: var(--rojo); }

.btn-nav {
  background: var(--rojo); color: var(--blanco) !important;
  padding: .5rem 1.25rem; border-radius: 50px; font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.btn-nav:hover { background: var(--rojo-d) !important; transform: translateY(-1px); }

.menu-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; color: var(--blanco); cursor: pointer;
}
#nav.scrolled .menu-toggle { color: var(--negro); }
.menu-mobile {
  display: none; list-style: none; flex-direction: column;
  background: var(--blanco); padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #eee;
}
.menu-mobile.abierto { display: flex; }
.menu-mobile a { display: block; padding: .75rem 0; font-size: 1rem; font-weight: 500; color: var(--negro); border-bottom: 1px solid #f0f0f0; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: heroZoom 8s ease forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(5,0,2,.65) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(10,0,3,.55) 0%, rgba(5,0,1,.90) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--blanco);
  padding: 2rem; animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero-tag {
  display: inline-block;
  font-size: .82rem; letter-spacing: 3px; text-transform: uppercase;
  color: #ffffff; font-weight: 600; margin-bottom: .75rem;
  background: rgba(139, 26, 42, 0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: .45rem 1.1rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  animation: fadeUp .9s .2s ease both;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.9), 0 4px 48px rgba(0,0,0,.7), 0 0 80px rgba(0,0,0,.5);
  animation: fadeUp .9s .3s ease both;
}
.hero-content h1 em { font-style: italic; color: var(--dorado-l); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.88); margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
  animation: fadeUp .9s .4s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .9s .5s ease both;
}
.btn-primario {
  display: inline-block; padding: .85rem 2rem;
  background: var(--rojo); color: var(--blanco);
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primario:hover {
  background: var(--rojo-d); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,42,.45);
}
.btn-ig {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  background: rgba(255,255,255,.12); color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.btn-ig:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.scroll-down {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: 1.5rem;
  animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== STRIP ===== */
.strip { background: var(--rojo); color: var(--blanco); padding: 1.4rem 0; }
.strip-inner { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 500; }
.strip-icon { font-size: 1.2rem; }

/* ===== NOSOTROS ===== */
.nosotros { padding: 7rem 0; background: var(--blanco); }
.nosotros-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.nosotros-img { position: relative; }
.nosotros-img img {
  width: 100%; height: 560px;
  object-fit: cover; border-radius: 16px;
  box-shadow: var(--sombra-h);
}
.nosotros-img::before { display: none; }
.etiqueta {
  display: inline-block; font-size: .72rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--rojo); font-weight: 600; margin-bottom: .75rem;
}
.nosotros-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 1.5rem;
}
.nosotros-texto p { color: var(--gris); margin-bottom: 1rem; }
.nosotros-texto blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.1rem;
  color: var(--rojo);
  border-left: 3px solid var(--dorado);
  padding-left: 1rem; margin: 1.5rem 0;
}
.destacado {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.15rem !important;
  color: var(--rojo) !important;
  border-left: 3px solid var(--dorado);
  padding-left: 1rem; margin: 1.5rem 0 !important;
}
.firma { font-weight: 600; color: var(--rojo) !important; margin-top: 1.5rem !important; }

/* ===== PRODUCTOS ===== */
.productos { padding: 7rem 0; background: var(--crema); }
.titulo-seccion { text-align: center; margin-bottom: 4rem; }
.titulo-seccion h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; margin: .5rem 0 1rem;
}
.titulo-seccion p { color: var(--gris); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

.categoria { margin-bottom: 4rem; }
.categoria-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: .4rem; color: var(--negro);
}
.categoria-titulo.blanco { color: var(--blanco); }
.categoria-desc { color: var(--gris); margin-bottom: 2rem; max-width: 600px; }
.categoria-desc.blanco { color: rgba(255,255,255,.72); }

.productos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }

.producto-card {
  background: var(--blanco); border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra);
  transition: transform .3s, box-shadow .3s;
}
.producto-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-h); }
.producto-card.oscura { background: #1c0a10; }

.producto-img { position: relative; overflow: hidden; }
.producto-img img {
  width: 100%; height: 240px;
  object-fit: cover; transition: transform .5s;
}
.producto-img img.img-blanco {
  object-fit: contain; background: #fff; padding: .75rem;
}
.producto-card:hover .producto-img img { transform: scale(1.04); }
.badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--rojo); color: var(--blanco);
  font-size: .7rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 50px;
}
.badge-dorado { background: var(--dorado); }
.producto-info { padding: 1.5rem; }
.producto-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem;
}
.producto-card.oscura .producto-info h4 { color: var(--blanco); }
.producto-info p { color: var(--gris); font-size: .92rem; margin-bottom: 1rem; }
.producto-card.oscura .producto-info p { color: rgba(255,255,255,.62); }

.variantes { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.variantes li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: rgba(255,255,255,.72); }
.punto { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.punto.bitter { background: #2c1810; border: 2px solid #6b3a2a; }
.punto.leche  { background: #c08060; }
.punto.blanco { background: #f0ede6; border: 1px solid #bbb; }

.producto-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.producto-card.oscura .producto-footer { border-top-color: rgba(255,255,255,.1); }
.precio { font-size: 1.4rem; font-weight: 700; color: var(--rojo); }
.precio.dorado { color: var(--dorado); }
.btn-comprar {
  display: inline-block; padding: .55rem 1.25rem;
  background: var(--rojo); color: var(--blanco);
  border-radius: 50px; font-size: .85rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-comprar:hover { background: var(--rojo-d); transform: translateY(-1px); }
.btn-comprar.dorado { background: var(--dorado); }
.btn-comprar.dorado:hover { background: #a87020; }

.categoria-rellenas {
  background: #1c0a10; border-radius: 20px; padding: 3rem;
}
.foto-showcase { display: flex; flex-direction: column; }
.foto-showcase > img { width: 100%; height: 260px; object-fit: cover; }
.foto-showcase > p {
  padding: 1.25rem 1.5rem; font-size: .88rem;
  color: rgba(255,255,255,.6); font-style: italic;
}

/* ===== PROCESO ===== */
.proceso { padding: 7rem 0; background: var(--blanco); }
.pasos {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.paso { text-align: center; position: relative; }
.paso:not(:last-child)::after {
  content: '→'; position: absolute;
  top: 78px; right: -1.1rem;
  font-size: 1.4rem; color: var(--dorado);
}
.paso-img {
  width: 100%; height: 175px;
  border-radius: 12px; overflow: hidden; margin-bottom: 1.25rem;
}
.paso-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.paso:hover .paso-img img { transform: scale(1.06); }
.paso-num { font-size: .68rem; letter-spacing: 2px; font-weight: 700; color: var(--dorado); text-transform: uppercase; margin-bottom: .4rem; }
.paso h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.paso p { font-size: .86rem; color: var(--gris); }

/* ===== GALERÍA STRIP ===== */
.galeria-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: 280px; overflow: hidden;
}
.galeria-strip img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s, filter .4s;
  filter: saturate(.85);
}
.galeria-strip img:hover { transform: scale(1.05); filter: saturate(1.1); }

/* ===== MAYORISTA ===== */
.mayorista { padding: 7rem 0; background: var(--crema); }
.mayorista-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.mayorista-img img {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: 16px;
  box-shadow: var(--sombra-h);
}
.mayorista-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; margin: .5rem 0 1.25rem; line-height: 1.2;
}
.mayorista-texto p { color: var(--gris); margin-bottom: 1rem; }
.beneficios { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: .75rem; }
.beneficios li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; }
.check {
  width: 22px; height: 22px;
  background: var(--rojo); color: var(--blanco);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.btn-mayorista {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2rem; background: var(--negro); color: var(--blanco);
  border-radius: 50px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-mayorista:hover { background: var(--rojo); transform: translateY(-2px); }

/* ===== CONTACTO ===== */
.contacto { padding: 7rem 0; background: var(--rojo); color: var(--blanco); }
.contacto-inner { text-align: center; }
.contacto .etiqueta { color: var(--dorado-l); }
.contacto h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; margin: .5rem 0 1rem;
}
.contacto > .contenedor > p { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 2.5rem; }
.contacto-btns { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.btn-contacto {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn-contacto:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.btn-contacto.ig { background: var(--blanco); color: var(--negro); }

/* ===== OFERTA ===== */
.oferta {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--crema);
  border-radius: 20px;
  padding: 3.5rem;
  border: 1px solid #e8ddd0;
}
.oferta-texto h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: .5rem 0 1rem;
}
.oferta-texto p { color: var(--gris); margin-bottom: 1rem; }
.oferta-sub { font-style: italic; font-size: .92rem !important; }
.oferta-texto .btn-primario { margin-top: .5rem; }
.oferta-img img {
  width: 100%; height: 360px;
  object-fit: cover; border-radius: 14px;
  box-shadow: var(--sombra-h);
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--negro); color: var(--blanco);
  padding: .85rem 1.75rem; border-radius: 50px;
  font-size: .9rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 9999; white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== CONTACTO EXTRA ===== */
.contacto-tel {
  margin-top: 1.5rem !important;
  font-size: .9rem !important;
  color: rgba(255,255,255,.55) !important;
}
.contacto-tel a { color: var(--dorado-l); font-weight: 600; }

/* ===== MENU MOBILE MEJORADO ===== */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .3rem; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--blanco); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#nav.scrolled .menu-toggle span { background: var(--negro); }
.menu-toggle.activo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.activo span:nth-child(2) { opacity: 0; }
.menu-toggle.activo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-mobile {
  display: none; flex-direction: column;
  background: var(--blanco); padding: 0;
  border-top: 1px solid #eee;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.menu-mobile.abierto { display: flex; max-height: 400px; }
.menu-mobile a {
  display: block; padding: 1rem 1.5rem;
  font-size: 1rem; font-weight: 500;
  color: var(--negro); border-bottom: 1px solid #f5f5f5;
  transition: background .2s;
}
.menu-mobile a:hover { background: var(--crema); }
.menu-mobile .menu-cta {
  background: var(--rojo); color: var(--blanco);
  font-weight: 600; border: none; margin: 1rem 1.5rem 1.25rem;
  border-radius: 8px; text-align: center;
}
.menu-mobile .menu-cta:hover { background: var(--rojo-d); }


/* ===== CAT HEADER ===== */
.cat-header { margin-bottom: 2rem; }
.cat-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700;
  margin-bottom: .4rem; color: var(--negro);
}
.cat-header p { color: var(--gris); max-width: 600px; }
.cat-header.blanco h3 { color: var(--blanco); }
.cat-header.blanco p { color: rgba(255,255,255,.7); }

/* ===== FOOTER ===== */
footer { background: var(--negro); color: rgba(255,255,255,.45); text-align: center; padding: 3rem 1.5rem; }
.footer-logo { height: 52px; width: auto; margin: 0 auto 1.5rem; filter: brightness(0) invert(1); opacity: .7; }
footer p { font-size: .85rem; margin-bottom: .25rem; }
.footer-sub { font-size: .78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nosotros-inner, .mayorista-inner { grid-template-columns: 1fr; gap: 3rem; }
  .nosotros-img img, .mayorista-img img { height: 320px; }
  .nosotros-img::before { display: none; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .paso::after { display: none; }
  .galeria-strip { grid-template-columns: repeat(3, 1fr); height: 200px; }
  .galeria-strip img:nth-child(4), .galeria-strip img:nth-child(5) { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .strip-inner { gap: 1rem; flex-direction: column; align-items: center; }
  .hero-sub { display: none; }
  .nosotros { padding: 4rem 0; }
  .nosotros-img img { height: 260px; }
  .nosotros-texto h2 { font-size: 1.65rem; }
  .productos { padding: 4rem 0; }
  .titulo-seccion { margin-bottom: 2.5rem; }
  .categoria-rellenas { padding: 1.75rem 1.25rem; border-radius: 14px; }
  .productos-grid { grid-template-columns: 1fr; }
  .producto-img img { height: 220px; }
  .oferta { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.25rem; }
  .oferta-img { order: -1; }
  .oferta-img img { height: 220px; }
  .proceso { padding: 4rem 0; }
  .pasos { grid-template-columns: 1fr; gap: 1.5rem; }
  .paso::after { display: none; }
  .paso-img { height: 180px; }
  .galeria-strip { grid-template-columns: repeat(3, 1fr); height: 170px; }
  .mayorista { padding: 4rem 0; }
  .mayorista-inner { gap: 2rem; }
  .mayorista-img img { height: 240px; }
  .contacto { padding: 4rem 0; }
  .btn-contacto { width: 100%; justify-content: center; }
  .toast { font-size: .82rem; padding: .75rem 1.25rem; max-width: 90vw; white-space: normal; text-align: center; }
}
