/* ==========================================================================
   IBANEZ MODULAR — INDUSTRIAL PREMIUM DESIGN SYSTEM (CRO & B2B OPTIMIZED)
   Colores Corporativos: Azul Oscuro (#0f172a, #0b132b), Verde Corporativo (#10b981, #15803d),
   Blanco (#ffffff) y Gris Suave (#f8fafc, #e2e8f0, #cbd5e1).
   ========================================================================== */

:root {
  /* Paleta Corporativa IBANEZ */
  --navy-950: #070d1e;
  --navy-900: #0b132b;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --navy-600: #334155;
  
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  
  --white: #ffffff;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Tipografía */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Espaciado y Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Sombras y Elevaciones */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --shadow-emerald: 0 10px 20px -5px rgba(16, 185, 129, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--slate-700);
  background-color: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  background-color: var(--white);
  color: var(--slate-700);
  overflow-x: hidden;
}

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

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

/* Tipografía y Títulos */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-800);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--slate-600);
  font-size: 1rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-bg-slate {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.section-bg-dark p {
  color: var(--slate-300);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag-dark {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-500);
  border-color: rgba(16, 185, 129, 0.3);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--slate-500);
  margin-top: 1rem;
}

.section-bg-dark .section-subtitle {
  color: var(--slate-400);
}

/* Componentes: Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--emerald-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  color: var(--white);
}

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

.btn-navy:hover {
  background-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--slate-300);
  color: var(--navy-800);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--navy-900);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Header & Navegación
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.header-top-bar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-badge-holding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-badge-holding strong {
  color: var(--emerald-500);
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-contact-link {
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.top-contact-link:hover {
  color: var(--emerald-500);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-text {
  display: flex;
  align-items: baseline;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-ibanez {
  color: var(--navy-900);
  margin-right: 0.35rem;
}

.brand-modular {
  color: var(--emerald-600);
}

.brand-holding-tag {
  font-size: 0.6875rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: block;
  margin-top: 3px;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-700);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-cta-btn {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta-btn {
    display: inline-flex;
  }
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  font-size: 1.25rem;
  color: var(--navy-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
}

/* ==========================================================================
   Hero Section Comercial B2B
   ========================================================================== */
.hero-section {
  position: relative;
  margin-top: 104px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, rgba(7, 13, 30, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('../img/banner/1.png') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--slate-200);
  margin-bottom: 2rem;
  max-width: 620px;
}

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

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  font-weight: 500;
}

.hero-trust-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Hero Quick Quote Card */
.hero-quote-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--navy-900);
}

.hero-quote-card h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.hero-quote-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Holding Authority Banner
   ========================================================================== */
.authority-banner {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 2.5rem 0;
  border-bottom: 2px solid var(--emerald-600);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.authority-brand {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1.5rem;
}

.authority-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.authority-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.authority-heading span {
  color: var(--emerald-500);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--emerald-500);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--slate-300);
  line-height: 1.3;
}

/* ==========================================================================
   Modelos Estándar (Venta Rápida CRO)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--emerald-500);
}

.product-badge-flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  background-color: var(--emerald-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-thumb-container {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: var(--slate-100);
}

.product-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-container img {
  transform: scale(1.05);
}

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

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-700);
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.9125rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 1.5rem;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--slate-200);
}

.product-spec-row:last-child {
  border-bottom: none;
}

.spec-name {
  color: var(--slate-500);
}

.spec-value {
  font-weight: 700;
  color: var(--navy-800);
}

.product-price-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  margin-bottom: 1.25rem;
}

.price-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  font-weight: 600;
}

.price-amount {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.2;
}

.price-note {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   Sección Industrial B2B
   ========================================================================== */
.industrial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industrial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.industrial-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-600);
  box-shadow: var(--shadow-lg);
}

.industrial-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--emerald-50);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.industrial-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.industrial-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.industrial-checklist {
  list-style: none;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

.industrial-checklist li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  color: var(--slate-700);
}

.industrial-checklist li i {
  color: var(--emerald-600);
  font-size: 0.75rem;
}

/* ==========================================================================
   Proceso B2B (De la Idea al Montaje)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 1rem;
}

.process-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--slate-300);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.process-step:hover .process-circle {
  border-color: var(--emerald-500);
  color: var(--emerald-600);
  transform: scale(1.1);
  box-shadow: var(--shadow-emerald);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* ==========================================================================
   Catálogos 2026 (Lead Magnet B2B)
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.catalog-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-500);
}

.catalog-pdf-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.catalog-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.catalog-box p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Formulario de Cotización Inteligente CRO
   ========================================================================== */
.quote-section {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.quote-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}

.quote-sidebar {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-sidebar h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.quote-sidebar p {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.quote-perks {
  list-style: none;
  margin-bottom: 2rem;
}

.quote-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--slate-200);
}

.quote-perk-icon {
  color: var(--emerald-500);
  font-size: 1.1rem;
  margin-top: 2px;
}

.quote-sidebar-contact {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-main-form {
  padding: 3rem 2.5rem;
}

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

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

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

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-800);
}

.form-label .required {
  color: var(--danger);
}

.form-control {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-300);
  color: var(--navy-900);
  background-color: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-control:user-invalid,
.form-control.input-error {
  border-color: var(--danger) !important;
  background-color: #fef2f2;
}

.form-error-msg {
  color: var(--danger);
  font-size: 0.775rem;
  font-weight: 600;
  margin-top: 0.25rem;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-inline-success {
  display: none;
  background-color: #ecfdf5;
  border: 1.5px solid var(--emerald-500);
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  text-align: center;
  font-size: 0.925rem;
  font-weight: 600;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.15rem;
  padding-right: 2.25rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* Radio Group: Medidas claras */
.measures-toggle-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--slate-50);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.radio-card:hover {
  border-color: var(--slate-400);
}

.radio-card input[type="radio"] {
  accent-color: var(--emerald-600);
  width: 17px;
  height: 17px;
}

.radio-card:has(input[type="radio"]:checked) {
  border-color: var(--emerald-600);
  background-color: var(--emerald-50);
  color: var(--emerald-800);
}

/* ==========================================================================
   Preguntas Frecuentes (FAQ)
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--slate-300);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  text-align: left;
  cursor: pointer;
}

.faq-icon-cross {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate-400);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon-cross {
  transform: rotate(45deg);
  color: var(--emerald-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Ficha de Producto Técnico (Template B2B)
   ========================================================================== */
.product-sheet-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--slate-500);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--emerald-600);
}

.breadcrumbs-sep {
  color: var(--slate-300);
}

/* Product Gallery */
.gallery-viewer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main-img {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  position: relative;
}

.gallery-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

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

.gallery-thumb-btn {
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--slate-100);
  transition: all var(--transition-fast);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-btn.active, .gallery-thumb-btn:hover {
  border-color: var(--emerald-600);
}

/* Technical Specs Table */
.specs-table-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.specs-table th {
  background-color: var(--slate-100);
  padding: 1rem 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  border-bottom: 2px solid var(--slate-200);
}

.specs-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td.spec-param {
  font-weight: 700;
  color: var(--navy-800);
  width: 32%;
  background-color: var(--slate-50);
}

/* Checklist Qué incluye / Qué no incluye */
.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.inclusion-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.inclusion-card.included {
  border-top: 4px solid var(--emerald-600);
}

.inclusion-card.not-included {
  border-top: 4px solid var(--slate-400);
}

.inclusion-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inclusion-card.included h4 {
  color: var(--emerald-700);
}

.inclusion-card.not-included h4 {
  color: var(--slate-700);
}

.inclusion-list {
  list-style: none;
}

.inclusion-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9125rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.inclusion-item i {
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.included .inclusion-item i {
  color: var(--emerald-600);
}

.not-included .inclusion-item i {
  color: var(--slate-400);
}

/* Sticky Bottom Quote Bar */
.sticky-quote-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.sticky-quote-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sticky-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
}

.sticky-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--emerald-600);
}

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

/* ==========================================================================
   WhatsApp Flotante Dinámico
   ========================================================================== */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.whatsapp-tooltip {
  background: var(--navy-900);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.whatsapp-tooltip span {
  color: var(--emerald-500);
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.floating-whatsapp-wrap:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: #10b981;
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Modal Lead Magnet (Descargar Ficha Técnica PDF)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--navy-900);
}

/* ==========================================================================
   Ecosistema & Footer Corporativo
   ========================================================================== */
.ecosystem-section {
  background-color: var(--navy-950);
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--white);
  padding: 5rem 0 3rem;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.ecosystem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.ecosystem-card:hover {
  border-color: var(--emerald-500);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}

.ecosystem-card h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.ecosystem-card p {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ecosystem-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--emerald-500);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.holding-founder-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: var(--white);
  margin-bottom: 3.5rem;
  transition: all var(--transition-fast);
}

.holding-founder-box:hover {
  border-color: var(--emerald-500);
  transform: translateY(-2px);
}

.founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--emerald-600);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-links a {
  color: var(--slate-400);
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.footer-social-links a:hover {
  color: var(--emerald-500);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industrial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .authority-grid {
    grid-template-columns: 1fr repeat(3, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-sheet-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-top-bar {
    display: none;
  }
  .site-header {
    top: 0;
  }
  .hero-section {
    margin-top: 72px;
    padding: 3rem 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--slate-200);
    gap: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .authority-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .authority-brand {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1rem;
    padding-right: 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .industrial-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .quote-wrapper {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .inclusions-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .sticky-info {
    display: none;
  }
  .sticky-actions {
    width: 100%;
    justify-content: stretch;
  }
  .sticky-actions .btn {
    flex: 1;
  }
}
