:root {
  --azul-noche: #0A111E;
  --azul-fondo: #0A111E;
  --azul-tarjeta: #101A2C;
  --dorado: #D4AF37;
  --dorado-suave: #E2C775;
  --dorado-tenue: rgba(212, 175, 55, 0.22);
  --blanco: #F5F5F7;
  --fuente-titulos: 'Playfair Display', 'Times New Roman', serif;
  --fuente-subtitulos: 'Playfair Display', 'Times New Roman', serif;
  --fuente-cuerpo: 'Arial', 'Helvetica', sans-serif;
  --fuente-ui: 'Arial', 'Helvetica', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-cuerpo);
  color: var(--blanco);
  background:
    radial-gradient(ellipse 90% 60% at 75% -5%, rgba(28, 46, 78, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(28, 46, 78, 0.30), transparent 70%),
    var(--azul-noche);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  width: 480px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 320'%3E%3Cpath d='M100 10 C150 60 172 150 100 300 C62 205 32 95 100 10 Z' fill='%23E2C775'/%3E%3C/svg%3E");
  background-size: 200px 320px;
  background-repeat: repeat;
  opacity: 0.12;
  filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}

body::before {
  left: -140px;
  top: -20px;
}

body::after {
  right: -140px;
  bottom: -20px;
  transform: scaleX(-1);
}

::selection {
  background: var(--dorado);
  color: var(--azul-noche);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 2px;
}

h1, h2, h3, .nav, .marca-nombre, .eslogan {
  font-weight: 400;
}

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

/* ---------- Sidebar ---------- */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, #0A1422 0%, #0A111E 100%);
  border-right: 1px solid var(--dorado-tenue);
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-marca {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  background: #0B1424;
  border: 1px solid var(--dorado-tenue);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.sidebar-marca:hover .logo {
  border-color: var(--dorado);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}

.marca-nombre {
  font-family: var(--fuente-titulos);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado-suave);
  line-height: 1.2;
}

.marca-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.65);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 3rem 0;
}

.nav-enlace {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--fuente-subtitulos);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--blanco);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.35s ease, padding-left 0.35s ease;
}

.nav-enlace::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width 0.4s ease;
}

.nav-enlace:hover {
  color: var(--dorado-suave);
  padding-left: 6px;
}

.nav-enlace:hover::after {
  width: 100%;
}

.nav-num {
  font-family: var(--fuente-titulos);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--dorado);
  opacity: 0.8;
}

.sidebar-footer p {
  font-size: 0.88rem;
  font-style: normal;
  color: rgba(245, 245, 247, 0.55);
  line-height: 1.6;
}

.sidebar-footer .est {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-top: 1rem;
}

.linea-oro {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

/* ---------- Menú móvil ---------- */

.menu-toggle {
  position: fixed;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 1100;
  width: 46px;
  height: 46px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(10, 17, 30, 0.85);
  border: 1px solid var(--dorado-tenue);
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dorado-suave);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu-toggle.activo span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.activo span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.activo span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.7);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 900;
}

.overlay.activo {
  opacity: 1;
  visibility: visible;
}

/* ---------- Contenido ---------- */

.contenido {
  margin-left: 290px;
}

.pie {
  margin-left: 290px;
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: rgba(245, 245, 247, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.pie p {
  margin-top: 1.25rem;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-kicker {
  font-family: var(--fuente-subtitulos);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dorado-suave);
  margin-bottom: 2.2rem;
  animation: aparecer 1s ease both;
}

.logo-hero {
  width: clamp(150px, 32vw, 220px);
  height: clamp(150px, 32vw, 220px);
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07), transparent 70%);
  border: 1px solid var(--dorado);
  box-shadow: inset 0 0 0 6px rgba(212, 175, 55, 0.08), 0 0 40px rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  margin-bottom: 2.5rem;
  animation: aparecer 1.1s ease both 0.15s;
}

.hero-titulo {
  font-family: var(--fuente-titulos);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--blanco);
  animation: aparecer 1.1s ease both 0.3s;
}

.hero-titulo br {
  display: block;
}

.eslogan {
  font-family: var(--fuente-subtitulos);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.14em;
  color: var(--dorado-suave);
  margin-top: 1.4rem;
  animation: aparecer 1.1s ease both 0.45s;
}

.hero-linea {
  width: 100%;
  max-width: 320px;
  margin: 2rem auto 2.4rem;
  animation: aparecer 1.1s ease both 0.6s;
}

.btn-oro {
  display: inline-block;
  font-family: var(--fuente-ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dorado-suave);
  border: 1px solid var(--dorado);
  background: transparent;
  padding: 0.95rem 2.4rem;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  animation: aparecer 1.1s ease both 0.75s;
  border-radius: 2px;
}

.btn-oro:hover {
  background: var(--dorado);
  color: var(--azul-noche);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

/* ---------- Secciones ---------- */

.seccion {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5.5rem 2.5rem;
}

.seccion-etiqueta {
  font-family: var(--fuente-titulos);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.seccion-titulo {
  font-family: var(--fuente-subtitulos);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blanco);
}

.seccion-linea {
  max-width: 180px;
  margin: 1.4rem 0 2.2rem;
}

.seccion-texto {
  font-family: var(--fuente-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  text-align: left;
  color: rgba(245, 245, 247, 0.84);
  margin-bottom: 1.15rem;
  max-width: 70ch;
}

.seccion-texto strong {
  color: var(--dorado-suave);
  font-weight: 600;
}

/* ---------- Catálogo ---------- */

.productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.8rem;
}

.sin-js {
  font-size: 1rem;
  color: rgba(245, 245, 247, 0.72);
  border: 1px dashed var(--dorado-tenue);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.producto {
  background: linear-gradient(180deg, #121d31 0%, var(--azul-tarjeta) 100%);
  border: 1px solid var(--dorado-tenue);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.45);
}

.producto-imagen {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #070C15;
  padding: 10px;
  border-bottom: 1px solid var(--dorado-tenue);
}

.producto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.producto:hover .producto-imagen img {
  transform: scale(1.06);
}

.producto-info {
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.producto-nombre {
  font-family: var(--fuente-subtitulos);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blanco);
  line-height: 1.3;
}

.producto-casa {
  font-family: var(--fuente-titulos);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
}

.producto-precio {
  font-family: var(--fuente-titulos);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dorado-suave);
  margin-top: 0.2rem;
}

.btn-ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-family: var(--fuente-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dorado-suave);
  border: 1px solid var(--dorado-tenue);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-ver:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--dorado);
  color: var(--dorado);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--fuente-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dorado-suave);
  border: 1px solid var(--dorado-tenue);
  background: rgba(212, 175, 55, 0.06);
  padding: 0.8rem 1rem;
  border-radius: 3px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-whatsapp:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--azul-noche);
}

.btn-whatsapp svg {
  width: 16px;
  height: 16px;
}

/* ---------- Pestañas del catálogo ---------- */

.buscador {
  position: relative;
  max-width: 520px;
  margin: 0 auto 2.2rem;
}

.buscador-icono {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--dorado);
  opacity: 0.8;
  pointer-events: none;
}

.buscador input {
  width: 100%;
  font-family: var(--fuente-cuerpo);
  font-size: 1.05rem;
  color: var(--blanco);
  background: rgba(16, 26, 44, 0.6);
  border: 1px solid var(--dorado-tenue);
  border-radius: 999px;
  padding: 0.95rem 3.1rem 0.95rem 2.9rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.buscador input::placeholder {
  color: rgba(245, 245, 247, 0.4);
}

.buscador input:focus {
  border-color: var(--dorado);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 18px rgba(212, 175, 55, 0.1);
}

.buscador-limpiar {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--dorado-suave);
  background: transparent;
  border: 1px solid var(--dorado-tenue);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.buscador-limpiar.visible {
  display: inline-flex;
}

.buscador-limpiar:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--azul-noche);
}

.sin-resultados {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--fuente-ui);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.78);
  border: 1px dashed var(--dorado-tenue);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  animation: aparecer 0.4s ease both;
}

.sr-term {
  color: var(--dorado-suave);
  font-weight: 600;
}

.tabs-botones {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--dorado-tenue);
  margin-bottom: 2.2rem;
}

.tab-btn {
  position: relative;
  font-family: var(--fuente-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 247, 0.65);
  background: transparent;
  border: none;
  padding: 0.7rem 1.4rem 0.9rem;
  cursor: pointer;
  transition: color 0.35s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--dorado);
  transition: width 0.4s ease;
}

.tab-btn:hover {
  color: var(--dorado-suave);
}

.tab-btn.activo {
  color: var(--dorado-suave);
}

.tab-btn.activo::after {
  width: 100%;
}

.tab-panel {
  display: none;
}

.tab-panel.activo {
  display: block;
  animation: aparecer 0.6s ease both;
}

/* ---------- Próximamente (Otros Productos) ---------- */

.proximamente {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 4.5rem 2rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(180deg, #121d31 0%, var(--azul-tarjeta) 100%);
  border: 1px dashed var(--dorado-tenue);
  border-radius: 8px;
}

.proximamente-ornamento {
  font-size: 2.2rem;
  color: var(--dorado);
  animation: latir 2.6s ease-in-out infinite;
}

.proximamente-titulo {
  font-family: var(--fuente-subtitulos);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dorado-suave);
}

.proximamente-texto {
  font-family: var(--fuente-ui);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.74);
  max-width: 52ch;
}

.proximamente-linea {
  max-width: 160px;
  margin-top: 0.6rem;
}

@keyframes latir {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* ---------- Modal de producto ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.abierto {
  display: flex;
}

.modal-fondo {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 15, 0.86);
  backdrop-filter: blur(5px);
}

.modal-contenido {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #101A2C 0%, #0A111E 100%);
  border: 1px solid var(--dorado-tenue);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: modalEntrada 0.45s ease both;
}

@keyframes modalEntrada {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  color: var(--dorado-suave);
  background: rgba(7, 12, 21, 0.75);
  border: 1px solid var(--dorado-tenue);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.modal-cerrar:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--azul-noche);
  transform: rotate(90deg);
}

.modal-imagen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: #070C15;
  padding: 12px;
  border-right: 1px solid var(--dorado-tenue);
}

.modal-imagen img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 3rem 2.4rem 2.4rem;
}

.modal-marca {
  font-family: var(--fuente-titulos);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
}

.modal-nombre {
  font-family: var(--fuente-subtitulos);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--blanco);
}

.modal-precio {
  font-family: var(--fuente-titulos);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dorado-suave);
}

.modal-descripcion {
  font-family: var(--fuente-ui);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: left;
  color: rgba(245, 245, 247, 0.85);
  margin-top: 0.3rem;
}

.modal-pedir {
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
}

.modal-pedir svg {
  width: 16px;
  height: 16px;
}

/* ---------- Contacto ---------- */

.contacto-grid {
  display: grid;
  gap: 1.5rem;
}

.contacto-directo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.contacto-intro {
  font-family: var(--fuente-ui);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(245, 245, 247, 0.8);
  margin-bottom: 1.4rem;
  grid-column: 1 / -1;
}

.tarjeta-contacto {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.3rem;
  background: linear-gradient(180deg, #121d31 0%, var(--azul-tarjeta) 100%);
  border: 1px solid var(--dorado-tenue);
  border-radius: 6px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.tarjeta-contacto:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.tarjeta-contacto .icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--dorado-suave);
  border: 1px solid var(--dorado-tenue);
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.06);
  transition: background 0.35s ease, color 0.35s ease;
}

.tarjeta-contacto:hover .icono {
  background: var(--dorado);
  color: var(--azul-noche);
}

.tarjeta-contacto .icono svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.tarjeta-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tarjeta-titulo {
  font-family: var(--fuente-titulos);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dorado);
}

.tarjeta-valor {
  font-family: var(--fuente-subtitulos);
  font-size: 1.12rem;
  color: var(--blanco);
}

/* ---------- Animaciones de aparición ---------- */

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.no-scroll {
  overflow: hidden;
}

/* ---------- Botón flotante de WhatsApp ---------- */

.boton-wa {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C4A 100%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.boton-wa.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: pulsoWa 2.4s ease-in-out infinite;
}

.boton-wa:hover {
  transform: translateY(-3px);
}

.boton-wa svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.boton-wa-texto {
  font-family: var(--fuente-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes pulsoWa {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.45s ease;
  }

  .sidebar.abierta {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .contenido,
  .pie {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .seccion {
    padding: 4rem 1.5rem;
  }

  .contacto-grid {
    gap: 1.25rem;
  }

  .contacto-directo {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .logo-hero {
    width: 130px;
    height: 130px;
    padding: 12px;
  }

  .boton-wa {
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem;
  }

  .boton-wa-texto {
    display: none;
  }

  .modal {
    padding: 1rem;
  }

  .modal-contenido {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .modal-imagen {
    border-right: none;
    border-bottom: 1px solid var(--dorado-tenue);
  }

  .modal-imagen img {
    max-width: 100%;
    max-height: 45vh;
  }

  .modal-info {
    padding: 2rem 1.5rem 1.75rem;
  }

  .tabs-botones {
    width: 100%;
  }

  .buscador {
    margin-bottom: 1.6rem;
  }

  .buscador input {
    font-size: 1rem;
    padding: 0.85rem 3rem 0.85rem 2.7rem;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    padding: 0.85rem 0.5rem 0.95rem;
  }

  .productos {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .producto {
    flex-direction: row;
    border-radius: 8px;
  }

  .producto-imagen {
    flex: 0 0 42%;
    aspect-ratio: auto;
    height: 100%;
    min-height: 150px;
    max-height: 200px;
    align-self: stretch;
    border-bottom: none;
    border-right: 1px solid var(--dorado-tenue);
    padding: 6px;
  }

  .producto-info {
    flex: 1;
    padding: 1rem 1rem 1.1rem;
    gap: 0.45rem;
    min-width: 0;
  }

  .producto-nombre {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .producto-casa {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .producto-precio {
    font-size: 1.05rem;
  }

  .producto .btn-ver {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.7rem 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .producto .btn-whatsapp {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.7rem 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .producto .btn-whatsapp svg {
    width: 14px;
    height: 14px;
  }

  .proximamente {
    padding: 3rem 1.25rem;
  }

  .proximamente-texto {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}