/* ==========================================================================
   LYON AG — ARTES GRÁFICAS & IMPRESIÓN INDUSTRIAL (ZONA CENTRO MÉXICO)
   Sistema de Diseño Industrial B2B de Alta Conversión
   Paleta: Azul Noche (#0B132B), Gris Acero (#1C2541), Ámbar Industrial (#F59E0B),
           Rojo Carmesí Gráfico (#E11D48), Registros CMYK (#00AEEF, #EC008C, #FFF200, #111827)
   ========================================================================== */

:root {
  --bg-deep: #0B132B;
  --bg-steel: #1C2541;
  --bg-slate: #111827;
  --bg-paper: #F8FAFC;
  --bg-white: #FFFFFF;
  --accent-amber: #F59E0B;
  --accent-amber-hover: #D97706;
  --accent-amber-light: #FEF3C7;
  --accent-crimson: #E11D48;
  --accent-crimson-hover: #BE123C;
  --cmyk-c: #00AEEF;
  --cmyk-m: #EC008C;
  --cmyk-y: #FFF200;
  --cmyk-k: #111827;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-LightMuted: #94A3B8;
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.06);
  --shadow-md: 0 10px 30px -5px rgba(11, 19, 43, 0.12);
  --shadow-lg: 0 20px 45px -10px rgba(11, 19, 43, 0.25);
  --shadow-amber: 0 10px 25px -4px rgba(245, 158, 11, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container-max: 1280px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Barra superior técnica CMYK + Cobertura Industrial */
.cmyk-strip {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--cmyk-c) 0%, var(--cmyk-c) 25%,
    var(--cmyk-m) 25%, var(--cmyk-m) 50%,
    var(--cmyk-y) 50%, var(--cmyk-y) 75%,
    var(--accent-amber) 75%, var(--accent-crimson) 100%
  );
}

.topbar {
  background-color: #060B19;
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-item strong {
  color: #FFFFFF;
}

/* Header & Navegación Sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}

.brand-logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-amber);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-amber);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Botones Industriales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  line-height: 1.25;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1.02rem;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0B132B;
  box-shadow: var(--shadow-amber);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(245, 158, 11, 0.5);
}

.btn-crimson {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 25px -4px rgba(225, 29, 72, 0.4);
}

.btn-crimson:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--bg-deep);
  border-color: var(--bg-deep);
}

.btn-outline-dark:hover {
  background: var(--bg-deep);
  color: #FFFFFF;
}

/* HERO PRINCIPAL DE ALTO IMPACTO */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #1C2541 0%, #0B132B 65%, #060A17 100%);
  color: var(--text-light);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 4px solid var(--accent-amber);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .cmyk-dots {
  display: inline-flex;
  gap: 4px;
}

.hero-eyebrow .cmyk-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.hero h1 .highlight {
  color: var(--accent-amber);
  text-decoration: underline;
  text-decoration-color: rgba(225, 29, 72, 0.7);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 1.14rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
  max-width: 680px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: #FFFFFF;
}

.hero-quote-box {
  background: rgba(28, 37, 65, 0.75);
  border-left: 4px solid var(--accent-amber);
  padding: 0.9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.75rem;
  font-size: 0.98rem;
  color: #F1F5F9;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.trust-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.trust-text strong {
  display: block;
  font-size: 0.86rem;
  color: #FFFFFF;
  line-height: 1.25;
}

.trust-text span {
  font-size: 0.78rem;
  color: #94A3B8;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: #141D35;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0B132B 4%, transparent 65%);
}

.hero-tech-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 43, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent-amber);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.2rem;
  gap: 0.75rem;
  background: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
  padding: 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: #CBD5E1;
  margin-top: 0.25rem;
  display: block;
}

.hero-floating-dummy {
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18) 0%, rgba(28, 37, 65, 0.95) 100%);
  border: 1px solid rgba(225, 29, 72, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-floating-dummy p {
  font-size: 0.85rem;
  color: #F1F5F9;
}

.hero-floating-dummy strong {
  color: #FDA4AF;
  display: block;
  font-size: 0.92rem;
}

/* SECCIONES GENERALES */
.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--bg-deep);
  color: var(--text-light);
}

.section-steel {
  background-color: var(--bg-steel);
  color: var(--text-light);
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-crimson);
  background: rgba(225, 29, 72, 0.09);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-dark .section-tag,
.section-steel .section-tag {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-body);
}

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

/* 4.2. LOS 3 PILARES DE PRODUCCIÓN POR VOLUMEN */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-amber);
}

.pillar-card.featured {
  border: 2px solid var(--accent-amber);
  box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.22);
}

.pillar-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--accent-amber);
  color: var(--bg-deep);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.pillar-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-img img {
  transform: scale(1.05);
}

.pillar-volume-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 19, 43, 0.92);
  color: #FFFFFF;
  border-left: 3px solid var(--accent-amber);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pillar-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-step {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-crimson);
  margin-bottom: 0.35rem;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--bg-deep);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-summary {
  font-size: 0.94rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.pillar-specs {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.pillar-specs li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.pillar-specs li::before {
  content: '✓';
  color: #059669;
  font-weight: 900;
  flex-shrink: 0;
}

.pillar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* 4.3. CALCULADORA INTERACTIVA DE VOLUMEN Y TABLA COMPARATIVA */
.calc-wrapper {
  background: linear-gradient(145deg, #141E38 0%, #0B132B 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-controls label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #F8FAFC;
}

.calc-qty-display {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.calc-qty-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-amber);
  font-variant-numeric: tabular-nums;
}

.calc-qty-unit {
  font-size: 1rem;
  color: #94A3B8;
  font-weight: 600;
}

.calc-slider {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #334155;
  outline: none;
  accent-color: var(--accent-amber);
  cursor: pointer;
  margin-bottom: 1.25rem;
}

.calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover,
.preset-btn.active {
  background: var(--accent-amber);
  color: var(--bg-deep);
  border-color: var(--accent-amber);
}

.calc-product-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #0B132B;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.calc-rec-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.calc-rec-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.calc-rec-reason {
  font-size: 0.94rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.calc-metric-box {
  background: rgba(11, 19, 43, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
}

.calc-metric-box span {
  display: block;
  font-size: 0.75rem;
  color: #94A3B8;
}

.calc-metric-box strong {
  font-size: 0.95rem;
  color: #FFFFFF;
}

/* Tabla Comparativa Técnica */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0F172A;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 780px;
}

.comp-table th,
.comp-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.comp-table thead th {
  background: #1E293B;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
}

.comp-table thead th.highlight-col {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border-top: 3px solid var(--accent-amber);
}

.comp-table tbody td:first-child {
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.02);
  width: 22%;
}

.comp-table tbody td {
  color: #CBD5E1;
}

.comp-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

/* 4.4. CATÁLOGO TÉCNICO DE PAPELES Y SUSTRATOS */
.substrate-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.substrate-tab {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.substrate-tab.active,
.substrate-tab:hover {
  background: var(--bg-deep);
  color: var(--accent-amber);
  border-color: var(--bg-deep);
}

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

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

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

.substrate-header {
  position: relative;
  height: 195px;
  overflow: hidden;
}

.substrate-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.substrate-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.92), rgba(11, 19, 43, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
}

.substrate-header-overlay span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-amber);
  font-weight: 800;
}

.substrate-header-overlay h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.substrate-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grammage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1.25rem;
}

.grammage-pill {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
}

.grammage-pill.highlight-sbs {
  background: var(--accent-amber-light);
  border-color: var(--accent-amber);
  color: #92400E;
}

.substrate-use-list {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

/* 4.5. DIVISIÓN CAJAS PLEGADIZAS SBS HASTA 14 PTS */
.packaging-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.packaging-visual-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg);
}

.packaging-visual-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.packaging-specs-overlay {
  background: #0F172A;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pack-kpi strong {
  display: block;
  color: var(--accent-amber);
  font-size: 1.15rem;
  font-weight: 900;
}

.pack-kpi span {
  font-size: 0.78rem;
  color: #CBD5E1;
}

.packaging-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.pack-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.pack-step-card strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.pack-step-card p {
  font-size: 0.83rem;
  color: #CBD5E1;
}

/* 4.6. CATÁLOGO DE PRODUCTOS Y ACABADOS EN PLANTA */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--bg-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-icon-tag {
  display: inline-block;
  background: rgba(11, 19, 43, 0.07);
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
  color: var(--bg-deep);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.product-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.finishes-banner {
  background: var(--bg-deep);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

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

.finish-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.finish-item h4 {
  color: var(--accent-amber);
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.finish-item p {
  font-size: 0.83rem;
  color: #CBD5E1;
}

/* COBERTURA ZONA CENTRO MÉXICO */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.city-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.city-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bg-deep);
  margin-bottom: 0.35rem;
}

.city-card p {
  font-size: 0.83rem;
  color: var(--text-body);
}

/* 4.7. FORMULARIO COTIZADOR INTELIGENTE B2B */
.quote-section {
  background: linear-gradient(180deg, #0B132B 0%, #141E38 100%);
  color: #FFFFFF;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: flex-start;
}

.quote-info-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.quote-form-card {
  background: #FFFFFF;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--accent-amber);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bg-deep);
}

.form-control {
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #F8FAFC;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--bg-deep);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.check-pill input {
  accent-color: var(--bg-deep);
}

.quote-response-banner {
  display: none;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
  font-size: 0.92rem;
}

/* FAQ TÉCNICO B2B */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--bg-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-amber-hover);
  font-weight: 900;
}

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

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-body);
  font-size: 0.94rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* FOOTER INDUSTRIAL */
.site-footer {
  background: #060B19;
  color: #94A3B8;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

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

/* BOTÓN WHATSAPP FLOTANTE B2B */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #16A34A;
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.45);
  font-weight: 800;
  font-size: 0.9rem;
  border: 2px solid #FFFFFF;
}

.whatsapp-float:hover {
  background: #15803D;
  transform: translateY(-3px) scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-grid,
  .packaging-showcase,
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .substrates-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .finishes-grid,
  .coverage-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-right {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 2px solid var(--accent-amber);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-trust-grid,
  .pillars-grid,
  .substrates-grid,
  .products-grid,
  .finishes-grid,
  .coverage-grid,
  .form-grid,
  .packaging-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-form-card {
    padding: 1.5rem;
  }
}
