/* ════════════════════════════════════════════════════════
   FBIASA — Sistema de Diseño Premium
   Identidad industrial · navy + steel + safety orange
   Tipografía: Montserrat (display) + Inter (body) + JetBrains Mono (specs)
═══════════════════════════════════════════════════════════ */

/* ── 1. CSS Variables ────────────────────────────────── */
:root {
  /* Paleta primaria — navy del logo */
  --navy: #0B1E54;
  --navy-dark: #071540;
  --navy-light: #1e3276;

  /* Secundario — gris acero industrial */
  --steel: #6B7280;
  --steel-dark: #4B5563;
  --steel-light: #9CA3AF;

  /* Base — neutros */
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-border: #E5E7EB;
  --gray-soft: #F3F4F6;
  --charcoal: #111827;

  /* Acento exclusivo CTAs — naranja seguridad industrial */
  --safety-orange: #F97316;
  --safety-orange-dark: #EA580C;

  /* Feedback */
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Tipografía */
  --font-display: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Espaciado consistente */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 920px;
  --header-height: 80px;

  /* Sombras industriales (planas, sin glow excesivo) */
  --shadow-sm: 0 1px 2px rgba(11, 30, 84, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 30, 84, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 30, 84, 0.12);
  --shadow-cta: 0 4px 14px rgba(249, 115, 22, 0.35);

  /* Transiciones */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s ease;

  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ── 2. Reset moderno ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Skip link accesible */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--navy); color: var(--white);
  padding: 8px 16px; z-index: 10000;
  font-weight: 600; border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.skip-link:focus { top: 0; }

/* Focus visible accesible */
:focus-visible {
  outline: 3px solid var(--safety-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── 3. Tipografía base ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: var(--space-xs); }
p { margin-bottom: var(--space-sm); color: var(--charcoal); }
p:last-child { margin-bottom: 0; }
strong { color: var(--navy); font-weight: 600; }

/* Eyebrow industrial · uppercase con letter-spacing */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety-orange);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px;
  background: var(--safety-orange);
  transform: translateY(-50%);
}

/* Lead · texto introductorio destacado */
.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--steel-dark);
  max-width: 720px;
}

/* ── 4. Layout · contenedores ────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Sección base */
section {
  padding: var(--space-2xl) 0;
}
section.tight { padding: var(--space-xl) 0; }
section.alt { background: var(--off-white); }

/* ── 5. Header / Navegación ──────────────────────────── */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  z-index: 1000;
  transition: box-shadow var(--t-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo img {
  height: 52px;
  width: auto;
}
.brand-logo:hover { opacity: 0.85; }

.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 8px 4px;
  position: relative;
  transition: color var(--t-fast);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--safety-orange);
}

/* Dropdown Servicios */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
  border-radius: var(--radius-md);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--t-fast);
}
.dropdown-menu a:hover {
  background: var(--off-white);
  border-left-color: var(--safety-orange);
  color: var(--navy);
}

/* CTA del header (botón cotización) */
.header-cta {
  background: var(--safety-orange);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  box-shadow: var(--shadow-cta);
  transition: all var(--t-base);
}
.header-cta:hover {
  background: var(--safety-orange-dark);
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Toggle móvil */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all var(--t-base);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 620px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
}
.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: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(249, 115, 22, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}
.hero h1 .accent {
  color: var(--safety-orange);
}
.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  max-width: 640px;
}
.hero .eyebrow {
  color: var(--safety-orange);
  margin-bottom: var(--space-md);
}
.hero .eyebrow::before { background: var(--safety-orange); }

/* Hero stats inline (27 años, 100+ clientes, etc.) */
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--safety-orange);
  line-height: 1;
  display: block;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

/* ── 7. Botones ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--t-base);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.2;
  cursor: pointer;
}
.btn-primary {
  background: var(--safety-orange);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--safety-orange-dark);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-border);
}
.btn-ghost:hover {
  background: var(--off-white);
  border-color: var(--navy);
}

/* Iconos en botón */
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── 8. Section header (eyebrow + h2 + lead) ─────────── */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
}
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }
.section-head h2 { color: var(--navy); margin-bottom: var(--space-sm); }
.section-head .lead { margin: 0 auto; color: var(--steel-dark); }

.section-head.left {
  text-align: left;
  margin: 0 0 var(--space-xl);
}
.section-head.left .eyebrow { padding-left: 36px; }
.section-head.left .eyebrow::before { display: block; }
.section-head.left .lead { margin: 0; }

/* ── 9. Grid de servicios (cards) ────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--t-base);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--navy);
  transition: background var(--t-base);
}
.service-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { background: var(--safety-orange); }
.service-card .icon {
  width: 56px; height: 56px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: var(--space-md);
  border: 1px solid var(--gray-border);
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}
.service-card p {
  color: var(--steel-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-sm);
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--safety-orange);
  font-size: 0.92rem;
  margin-top: auto;
}
.service-card .more::after {
  content: '→';
  transition: transform var(--t-fast);
}
.service-card:hover .more::after { transform: translateX(4px); }

/* ── 10. Diferenciadores ─────────────────────────────── */
.differentiators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.diff-item {
  padding: var(--space-md);
  border-left: 3px solid var(--safety-orange);
  background: var(--white);
}
.diff-item h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.diff-item p {
  font-size: 0.93rem;
  color: var(--steel-dark);
  margin: 0;
}

/* ── 11. Marcas / Clientes marquee ────────────────────── */
.marquee-clients {
  background: var(--off-white);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}
.marquee-clients .label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.client-logos .client-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity var(--t-base);
  padding: 8px 12px;
}
.client-logos .client-name:hover { opacity: 1; color: var(--navy); }

/* Brands del catálogo (Parker, SMC, Festo, etc.) */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: var(--space-md);
}
.brand-pill {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
}

/* ── 12. CTA Section grande ───────────────────────────── */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--safety-orange);
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.cta-section .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
}
.cta-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.cta-section .cta-text { flex: 1; min-width: 320px; }
.cta-section .cta-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ── 13. FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: var(--space-md) 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  padding: 4px 0;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--safety-orange);
  font-weight: 300;
  line-height: 1;
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--safety-orange); }
.faq-item .answer {
  margin-top: var(--space-sm);
  color: var(--steel-dark);
  line-height: 1.7;
}

/* ── 14. Catálogo de productos (silo Instrumentación) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--t-base);
}
.product-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.product-card .product-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}
.product-card h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.product-card .specs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel-dark);
  background: var(--off-white);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin: var(--space-xs) 0;
  border-left: 2px solid var(--safety-orange);
}

/* ── 15. Placeholder de imagen pendiente ──────────────── */
.placeholder-image {
  background: linear-gradient(135deg, var(--gray-soft) 0%, var(--off-white) 100%);
  border: 2px dashed var(--gray-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: var(--space-lg);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 320px;
  position: relative;
}
.placeholder-image::before {
  content: '📷';
  font-size: 2.4rem;
  margin-bottom: var(--space-sm);
  opacity: 0.4;
}
.placeholder-image .label {
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.placeholder-image .desc {
  font-size: 0.82rem;
  color: var(--steel-dark);
  font-family: var(--font-body);
  max-width: 280px;
}

/* ── 16. Floating CTAs (WhatsApp + Llamada) ───────────── */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all var(--t-base);
}
.float-btn:hover { transform: scale(1.08); color: var(--white); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn.whatsapp { background: #25D366; }
.float-btn.whatsapp:hover { background: #20BD5A; }
.float-btn.call { background: var(--navy); }
.float-btn.call:hover { background: var(--navy-dark); }

/* Modal de confirmación de llamada */
.call-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 84, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: var(--space-md);
}
.call-modal.open { display: flex; }
.call-modal .modal-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.call-modal h3 { margin-bottom: var(--space-sm); color: var(--navy); }
.call-modal p { color: var(--steel-dark); margin-bottom: var(--space-md); }
.call-modal .modal-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── 17. Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-2xl) 0 var(--space-md);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--safety-orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  font-weight: 700;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--safety-orange); }
.footer-brand img {
  height: 64px; width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.footer-contact-line svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--safety-orange);
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── 18. Breadcrumbs ─────────────────────────────────── */
.breadcrumbs {
  padding: var(--space-md) 0 0;
  font-size: 0.85rem;
  color: var(--steel);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs li::after {
  content: '/';
  margin-left: 8px;
  color: var(--gray-border);
}
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--steel-dark); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs li[aria-current="page"] { color: var(--navy); font-weight: 500; }

/* ── 19. Tabla de specs técnicas ─────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  margin: var(--space-md) 0;
  background: var(--white);
  border: 1px solid var(--gray-border);
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-border);
}
.spec-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-table tbody tr:hover { background: var(--off-white); }
.spec-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
}
.spec-table tbody td.mono {
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* ── 20. Banner emergencias 24/7 ─────────────────────── */
.emergency-banner {
  background: linear-gradient(90deg, var(--safety-orange) 0%, var(--safety-orange-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 12px var(--space-md);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.emergency-banner strong { font-weight: 700; }
.emergency-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

/* ── 21. Dos columnas alternadas (servicio + imagen) ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.split-section.reverse > :first-child { order: 2; }
.split-section .split-content h2 { margin-bottom: var(--space-md); }
.split-section .split-image img,
.split-section .split-image .placeholder-image {
  width: 100%;
  border-radius: var(--radius-md);
}

/* Listado de bullets industriales */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}
.bullet-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 0.98rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 18px; height: 2px;
  background: var(--safety-orange);
}
.bullet-list li strong { color: var(--navy); font-weight: 600; }

/* ── 22. Form de contacto ────────────────────────────── */
.contact-form {
  background: var(--white);
  padding: var(--space-lg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 30, 84, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── 23. Mapa embebido ──────────────────────────────── */
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-md);
  filter: grayscale(0.2);
}

/* ── 24. Stats de página interna ─────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.stat-block {
  text-align: center;
  padding: var(--space-md);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
}
.stat-block .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat-block .label {
  font-size: 0.85rem;
  color: var(--steel-dark);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ── 25. Página legal · estilo lectura ───────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}
.legal-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-border);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content p, .legal-content li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.legal-content ul, .legal-content ol {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: var(--space-md);
}
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }

/* ── 26. Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --header-height: 72px; }
  .split-section { grid-template-columns: 1fr; gap: var(--space-lg); }
  .split-section.reverse > :first-child { order: 0; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  section { padding: var(--space-xl) 0; }
  .hero { min-height: 540px; padding: var(--space-xl) 0; }

  /* Menú móvil */
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid var(--gray-border);
    font-size: 1rem;
  }
  .main-nav a.active::after { display: none; }

  /* Dropdown móvil = lista expandida */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    background: var(--off-white);
    box-shadow: none;
    border: none;
    margin: 0 0 8px;
    padding: 8px 0 8px var(--space-md);
    min-width: 0;
    border-radius: 0;
    border-left: 2px solid var(--safety-orange);
  }
  .dropdown-menu a { padding: 10px 0; }

  .header-cta { margin-top: var(--space-sm); width: 100%; }

  /* Hero */
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-stats { gap: var(--space-md); }
  .hero-stat .num { font-size: 1.8rem; }
  .hero-actions .btn { width: 100%; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Float CTAs */
  .float-btn { width: 54px; height: 54px; }
  .float-btn svg { width: 24px; height: 24px; }

  /* CTA section */
  .cta-section .container { flex-direction: column; align-items: flex-start; }
  .cta-section .cta-actions { width: 100%; }
  .cta-section .cta-actions .btn { flex: 1; min-width: 140px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
  section { padding: var(--space-lg) 0; }
  .hero { padding: var(--space-lg) 0; min-height: 480px; }
  .floating-cta { bottom: 16px; right: 16px; }
  .client-logos { gap: var(--space-md); }
  .client-logos .client-name { font-size: 0.95rem; padding: 6px 8px; }
}

/* ── 27. Print ───────────────────────────────────────── */
@media print {
  .site-header, .floating-cta, .menu-toggle, .header-cta { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: underline; color: #000; }
  .hero { background: #fff; color: #000; min-height: auto; }
  .hero h1, .hero .lead { color: #000; }
}

/* ── 28. Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
