/* ==========================================================================
   SIDPAQ TERMOENCOGIBLES — SISTEMA DISEÑOS DE EMPAQUE (HTML5)
   COLORES OFICIALES:
   - Azul Corporativo: #0A4DA2 (Pantone 2935 C)
   - Azul Oscuro:      #08223F (Pantone 289 C)
   - Blanco:           #FFFFFF
   - Gris Metálico:    #6D737A (Pantone Cool Gray 9 C)
   - Carbón:           #1A1F25 (Pantone 426 C)
   - WhatsApp:         #25D366
   ========================================================================== */

:root {
  --primary: #0A4DA2;
  --primary-light: #1664cc;
  --primary-dark: #08223F;
  --primary-darker: #051426;
  --carbon: #1A1F25;
  --gray-metallic: #6D737A;
  --gray-light: #E2E8F0;
  --gray-bg: #F8FAFC;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 16px rgba(8, 34, 63, 0.08);
  --shadow-lg: 0 14px 28px rgba(8, 34, 63, 0.12);
  --shadow-xl: 0 24px 48px rgba(5, 20, 38, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* Reset y estructura básica */
*, *::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: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--carbon);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Tipografía fluida y robusta */
h1, h2, h3, h4, h5 {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* TOP BAR */
.top-bar {
  background-color: var(--primary-darker);
  color: #CBD5E1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-badge {
  background: rgba(10, 77, 162, 0.35);
  color: #93C5FD;
  border: 1px solid rgba(147, 197, 253, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.top-item:hover {
  color: var(--white);
}

/* HEADER & NAVEGACIÓN — LOGO EN TAMAÑO NORMAL ESTRICTO */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  height: 72px;
  max-height: 72px;
  max-width: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.header-brand img {
  height: 68px !important;
  max-height: 68px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--carbon);
  padding: 8px 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  padding: 8px;
  cursor: pointer;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  box-shadow: 0 4px 14px rgba(10, 77, 162, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  color: var(--white);
  padding: 60px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 77, 162, 0.25) 0%, rgba(10, 77, 162, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 77, 162, 0.4);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #93C5FD;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(26px, 4vw, 50px);
  color: var(--white);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #60A5FA;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillar-item h4 {
  font-size: 17px;
  color: #93C5FD;
  font-weight: 800;
}

.pillar-item p {
  font-size: 13px;
  color: #94A3B8;
  margin-top: 4px;
}

/* Hero Media Wrap — IMAGEN 100% COMPLETA SIN CORTES DE ORILLAS */
.hero-media-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 34, 63, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.hero-media-wrap img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain !important;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.hero-media-wrap:hover img {
  transform: scale(1.02);
}

/* SECCIONES GENERALES */
.section {
  padding: 70px 0;
}

.section-alt {
  background-color: var(--gray-bg);
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
  background: rgba(10, 77, 162, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.section-dark .section-tag {
  color: #93C5FD;
  background: rgba(10, 77, 162, 0.35);
}

.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: clamp(14.5px, 2vw, 16.5px);
  color: var(--gray-metallic);
  line-height: 1.65;
}

.section-dark .section-desc {
  color: #CBD5E1;
}

/* SECCIÓN FOCO PRINCIPAL EN PLÁSTICOS — IMAGEN COMPLETA */
.feature-plastic-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}

.feature-plastic-media {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.feature-plastic-media img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain !important;
}

.feature-plastic-info h3 {
  font-size: clamp(22px, 2.8vw, 28px);
  margin-bottom: 16px;
}

.feature-plastic-info p {
  color: var(--gray-metallic);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--carbon);
}

.feature-check-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* PALETA INTERACTIVA DE COLORES PARA SELLOS */
.color-swatch-box {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--gray-light);
  margin-bottom: 24px;
}

.color-swatch-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-metallic);
  margin-bottom: 12px;
}

.swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--carbon);
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

.swatch-btn:hover {
  border-color: var(--primary);
  background: #F0F7FF;
}

.swatch-btn.active {
  border-color: var(--primary);
  background: #EFF6FF;
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10, 77, 162, 0.2);
}

.swatch-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* GRILLA DE PRODUCTOS — IMÁGENES 100% COMPLETAS SIN PERDER ORILLAS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 77, 162, 0.25);
}

.product-card-img-wrap {
  width: 100%;
  height: 280px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.03);
}

/* Categoría limpia dentro del cuerpo (NUNCA encima de la imagen) */
.product-chip {
  display: inline-block;
  background: rgba(10, 77, 162, 0.08);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  width: fit-content;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-desc {
  color: var(--gray-metallic);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 20px;
}

.product-specs li {
  font-size: 13px;
  color: var(--carbon);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* INFOGRAFÍA TÉCNICA: PROCESO TÉRMICO — IMÁGENES COMPLETAS */
.tech-showcase-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.showcase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.showcase-header {
  padding: 14px 22px;
  background: var(--primary-dark);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-header h4 {
  color: var(--white);
  font-size: 16px;
}

.showcase-header span {
  font-size: 11.5px;
  color: #93C5FD;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-body {
  padding: 22px;
  text-align: left;
}

.showcase-body img {
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain !important;
  background: #FFFFFF;
  border: 1px solid var(--gray-light);
  padding: 12px;
}

.showcase-desc {
  font-size: 14px;
  color: var(--carbon);
  line-height: 1.6;
}

/* COTIZADOR INTERACTIVO */
.quote-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.quote-left h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}

.quote-left p {
  color: #CBD5E1;
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quote-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-phone-row {
  font-size: clamp(18px, 4vw, 23px);
  font-weight: 800;
  color: #93C5FD;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quote-email-row {
  font-size: 15px;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quote-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  color: var(--carbon);
}

.quote-form-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  font-size: 16px; /* Evita zoom automático en Safari iOS */
  color: var(--carbon);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 77, 162, 0.15);
}

/* SECCIÓN CONTACTO Y UBICACIÓN */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 77, 162, 0.3);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(10, 77, 162, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.contact-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--gray-metallic);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-link {
  color: var(--primary);
  font-weight: 800;
  font-size: 17px;
  display: inline-block;
  word-break: break-all;
}

/* FOOTER — LOGO EN TAMAÑO NORMAL */
.site-footer {
  background-color: var(--primary-darker);
  color: #94A3B8;
  font-size: 14px;
  padding: 60px 0 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 68px !important;
  max-height: 68px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: #94A3B8;
  line-height: 1.6;
  font-size: 13.5px;
}

.footer-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

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

.footer-links a:hover {
  color: #93C5FD;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #CBD5E1;
  font-size: 13.5px;
}

.footer-contact-item svg {
  color: #60A5FA;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* BOTÓN FLOTANTE WHATSAPP ERGONÓMICO */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: var(--whatsapp);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: floatPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-dark);
}

@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   OPTIMIZACIONES RESPONSIVAS Y MÓVIL
   ========================================================================== */

/* Tablets y pantallas intermedias */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .feature-plastic-wrap {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
  }
  .tech-showcase-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quote-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Teléfonos y pantallas móviles (< 768px) */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .site-header {
    height: 76px;
  }
  .header-inner {
    height: 76px;
  }
  .header-brand {
    height: 56px;
    max-height: 56px;
    max-width: 160px;
  }
  .header-brand img {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 155px !important;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 28px 20px;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
    display: none;
    z-index: 1001;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-light);
  }
  .nav-menu .nav-link.active::after {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .hero {
    padding: 40px 0 48px 0;
  }
  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pillar-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }
  .pillar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .product-card-img-wrap {
    height: 250px;
    padding: 12px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}

/* Pantallas móviles estrechas (< 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-card-img-wrap {
    height: 220px;
    padding: 10px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .feature-plastic-wrap {
    padding: 20px 14px;
  }
  .quote-box {
    padding: 24px 14px;
  }
  .quote-form-card {
    padding: 20px 14px;
  }
  .contact-card {
    padding: 24px 16px;
  }
  .swatches-grid {
    gap: 8px;
  }
  .swatch-btn {
    padding: 7px 10px;
    font-size: 12px;
    flex-grow: 1;
    justify-content: center;
  }
}
