/* ==========================================================================
   MOVILIA MUEBLES - Sistema de Diseño B2B (HTML5 Responsive & Aesthetic)
   Paleta: Gama Café Rojizo a Café Claro / Maderas Nobles & Lino
   ========================================================================== */

:root {
  --primary: #954816;         /* Café Rojizo / Terracota Insignia */
  --primary-hover: #7b380f;   /* Café Rojizo Profundo */
  --primary-dark: #753610;    /* Café Tostado */
  --dark-wood: #502a11;       /* Café Nogal Chocolate */
  --dark-wood-deep: #381c0b;  /* Café Ébano / Fondo Oscuro */
  --light-warm: #c88a58;      /* Café Claro / Canela */
  --light-accent: #e8d5c4;    /* Lino Cálido */
  --bg-canvas: #fdfbf7;       /* Lienzo Marfil / Warm White */
  --bg-surface: #ffffff;      /* Superficie Tarjetas */
  --bg-alt: #f7f2eb;          /* Arena Textil Suave */
  --text-main: #2b2623;       /* Carbón Cálido (Lectura descansada) */
  --text-muted: #6e645c;      /* Texto Secundario */
  --border-subtle: rgba(149, 72, 22, 0.14);
  --border-light: rgba(80, 42, 17, 0.08);
  --shadow-sm: 0 4px 12px rgba(80, 42, 17, 0.05);
  --shadow-md: 0 12px 28px -6px rgba(80, 42, 17, 0.09);
  --shadow-lg: 0 24px 44px -10px rgba(80, 42, 17, 0.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TIPOGRAFÍA Y JERARQUÍAS
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark-wood);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(149, 72, 22, 0.1);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin-top: 0.85rem;
}

/* ==========================================================================
   NAVBAR & HEADER FLOTANTE (GLASSMORPHISM CÁLIDO)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  background: rgba(253, 251, 247, 0.96);
  box-shadow: var(--shadow-sm);
  padding: 0.2rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-wood);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(149, 72, 22, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--dark-wood) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(149, 72, 22, 0.35);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark-wood);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   BOTONES Y ELEMENTOS DE ACCIÓN
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(149, 72, 22, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--dark-wood) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(149, 72, 22, 0.38);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark-wood);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-wa {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1ebd5a;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   HERO SECTION (ALTA GAMA / B2B)
   ========================================================================== */
.hero {
  padding: 140px 0 70px;
  background: radial-gradient(circle at 85% 20%, rgba(200, 138, 88, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  max-width: 650px;
  animation: fadeInSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual {
  position: relative;
  animation: fadeInSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  max-width: 250px;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-wood);
}

.floating-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   VERTICALES B2B (LAS 4 PUERTAS DE ENTRADA)
   ========================================================================== */
.verticals-section {
  padding: 100px 0;
  background-color: var(--bg-canvas);
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.vertical-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.vertical-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.vertical-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.vertical-card:hover .vertical-img-wrap img {
  transform: scale(1.06);
}

.vertical-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(80, 42, 17, 0.88);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.vertical-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vertical-body h3 {
  margin-bottom: 0.75rem;
  color: var(--dark-wood);
}

.vertical-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}

.vertical-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vertical-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.vertical-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
}

.vertical-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-alt);
  color: var(--dark-wood);
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.vertical-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   VENTAJAS DE FABRICANTE / INGENIERÍA Y CALIDAD
   ========================================================================== */
.quality-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.quality-card {
  background: #ffffff;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.quality-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.quality-icon {
  width: 52px;
  height: 52px;
  background: rgba(149, 72, 22, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.quality-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.quality-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--dark-wood);
}

.quality-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   GALERÍA DE PROYECTOS / MODELOS
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-canvas);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: #e2d9cf;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(56, 28, 11, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay span {
  font-size: 0.82rem;
  color: var(--light-accent);
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-alt) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.author-info h4 {
  font-size: 0.98rem;
  color: var(--dark-wood);
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ NATIVO ACCESIBLE)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-canvas);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-wood);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   BANNER DE CONVERSIÓN & CONTACTO DIRECTO
   ========================================================================== */
.cta-banner {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--dark-wood) 0%, var(--dark-wood-deep) 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(149, 72, 22, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--light-accent);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.site-footer {
  background-color: var(--dark-wood-deep);
  color: #ffffff;
  padding: 80px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  color: #c9bfb5;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #c9bfb5;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--light-warm);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #9c9187;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP (MOBILE & DESKTOP)
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.wa-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA Y SCROLL REVEAL (RESILIENTE & FAIL-PROOF)
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.has-reveal .reveal:not(.active) {
  opacity: 0;
  transform: translateY(24px);
}

html.has-reveal .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTABILIDAD
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  .verticals-grid {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding: 120px 0 50px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .floating-card {
    animation: none !important;
  }
}

/* ==========================================================================
   FICHA DE PRODUCTO & OFERTA DESTACADA
   ========================================================================== */
.product-showcase-section {
  padding: 90px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.product-gallery-wrap {
  position: sticky;
  top: 100px;
}

.product-main-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.product-main-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.product-thumb-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.product-thumb-item:hover,
.product-thumb-item.active {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.product-thumb-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.product-info-box {
  display: flex;
  flex-direction: column;
}

.product-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(149, 72, 22, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
  width: fit-content;
}

.product-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--dark-wood);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.price-current {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-original {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-badge-save {
  background: #27ae60;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.product-description-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-item {
  background: #ffffff;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spec-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.spec-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-wood);
}

.spec-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-whatsapp-order {
  background-color: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
}

.btn-whatsapp-order:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-whatsapp-order svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-gallery-wrap {
    position: static;
  }
  .specs-list {
    grid-template-columns: 1fr;
  }
}
