/* ==========================================================================
   CORTIVIDRI, S.A. DE C.V. — Sistema de Diseño Corporativo Industrial
   Inspirado en la identidad oficial de Facebook (/Cortividri) y Brochure Oficial
   Paleta: Verde Esmeralda (#00874D), Bosque Profundo (#032213), Azul Técnico (#0F4C81), Ámbar (#F5A623)
   ========================================================================== */

:root {
  --cv-emerald: #00874D;
  --cv-emerald-bright: #00A85E;
  --cv-emerald-light: #D1FAE5;
  --cv-emerald-soft: #ECFDF5;
  --cv-forest: #042917;
  --cv-obsidian: #06150E;
  --cv-charcoal: #0F172A;
  --cv-slate-dark: #1E293B;
  --cv-slate: #475569;
  --cv-steel: #94A3B8;
  --cv-galvanized: #E2E8F0;
  --cv-surface: #F6F9F7;
  --cv-white: #FFFFFF;
  --cv-tech-blue: #005994;
  --cv-tech-blue-dark: #063861;
  --cv-amber: #F5A623;
  --cv-amber-soft: #FEF3C7;

  --font-display: 'Barlow Condensed', 'Oswald', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(6, 21, 14, 0.06);
  --shadow-md: 0 12px 30px rgba(6, 21, 14, 0.10);
  --shadow-lg: 0 22px 50px rgba(6, 21, 14, 0.18);
  --shadow-emerald: 0 12px 28px rgba(0, 135, 77, 0.32);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--cv-charcoal);
  background-color: var(--cv-white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Evita cortes de palabras a la mitad como ocurría en el antiguo Elementor */
h1, h2, h3, h4, .display-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== BARRA SUPERIOR CORPORATIVA ==================== */
.topbar {
  background: var(--cv-obsidian);
  color: #CBD5E1;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(0, 168, 94, 0.25);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: wrap;
}

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

.topbar-badge {
  background: rgba(0, 135, 77, 0.28);
  color: #6EE7B7;
  border: 1px solid rgba(0, 168, 94, 0.45);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 500;
  transition: color var(--transition);
}

.topbar a:hover {
  color: #4ADE80;
}

/* ==================== ENCABEZADO PRINCIPAL STICKY ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 21, 14, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--cv-emerald);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--cv-emerald-bright);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #4ADE80;
}

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

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

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

.btn-quote-list {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cv-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.btn-quote-list:hover {
  background: rgba(0, 168, 94, 0.22);
  border-color: var(--cv-emerald-bright);
}

.quote-badge {
  background: var(--cv-amber);
  color: var(--cv-obsidian);
  font-weight: 800;
  font-size: 0.76rem;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cv-emerald-bright) 0%, var(--cv-emerald) 100%);
  color: var(--cv-white);
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 168, 94, 0.44);
  filter: brightness(1.05);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.07);
  color: var(--cv-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

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

.btn-dark {
  background: var(--cv-charcoal);
  color: var(--cv-white);
}

.btn-dark:hover {
  background: var(--cv-emerald);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.86rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--cv-white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* ==================== HERO DIAGONAL (INSPIRADO EN PORTADA DE FACEBOOK) ==================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 22%, #073B22 0%, var(--cv-forest) 42%, var(--cv-obsidian) 100%);
  color: var(--cv-white);
  padding: 68px 0 84px;
  overflow: hidden;
}

/* Franja diagonal esmeralda característica de la portada de Facebook de Cortividri */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 54%;
  height: 130%;
  background: linear-gradient(160deg, rgba(0, 135, 77, 0.24) 0%, rgba(15, 76, 129, 0.12) 100%);
  transform: skewX(-16deg);
  border-left: 4px solid rgba(0, 168, 94, 0.55);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

/* Placa metálica remachada (sello gráfico de publicaciones de Facebook de Cortividri) */
.riveted-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border: 1.5px solid rgba(148, 163, 184, 0.42);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6EE7B7;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 16px rgba(0,0,0,0.3);
}

.rivet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F8FAFC, #64748B);
  box-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cv-amber);
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.35rem);
  font-weight: 800;
  color: var(--cv-white);
  margin-bottom: 18px;
}

.hero h1 span {
  color: #34D399;
}

.hero-lead {
  font-size: 1.08rem;
  color: #CBD5E1;
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #4ADE80;
  line-height: 1;
}

.metric-item span {
  font-size: 0.83rem;
  color: #94A3B8;
}

/* Visor Dual Interactivo del Hero */
.hero-showcase {
  position: relative;
}

.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(0, 168, 94, 0.7);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  background: var(--cv-obsidian);
  aspect-ratio: 4 / 3;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.showcase-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px 18px;
  background: linear-gradient(0deg, rgba(6, 21, 14, 0.95) 0%, rgba(6, 21, 14, 0.65) 65%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.showcase-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--cv-white);
}

.showcase-caption span {
  font-size: 0.85rem;
  color: #86EFAC;
}

.spec-chip {
  background: var(--cv-amber);
  color: var(--cv-obsidian);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.showcase-tab {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #CBD5E1;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.showcase-tab small {
  display: block;
  font-weight: 500;
  font-size: 0.73rem;
  color: #94A3B8;
  margin-top: 2px;
}

.showcase-tab.active,
.showcase-tab:hover {
  background: rgba(0, 135, 77, 0.34);
  border-color: #34D399;
  color: var(--cv-white);
}

/* ==================== FRANJA DE CLIENTES REALES ==================== */
.trust-bar {
  background: var(--cv-surface);
  border-bottom: 1px solid var(--cv-galvanized);
  padding: 28px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cv-slate-dark);
  letter-spacing: 0.05em;
  border-left: 4px solid var(--cv-emerald);
  padding-left: 12px;
  flex-shrink: 0;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 760px;
  gap: 18px 20px;
  flex-wrap: wrap;
}

.client-logos img {
  height: 45px;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.96;
  transition: transform var(--transition), opacity var(--transition);
}

.client-logos img:hover {
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .client-logos {
    flex-basis: 100%;
    justify-content: center;
    gap: 18px 24px;
  }
  .client-logos img {
    height: 44px;
  }
}

/* ==================== ENCABEZADOS DE SECCIÓN ==================== */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--cv-surface);
}

.section-dark {
  background: linear-gradient(165deg, var(--cv-obsidian) 0%, var(--cv-forest) 100%);
  color: var(--cv-white);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--cv-emerald);
  background: var(--cv-emerald-soft);
  border: 1px solid #A7F3D0;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-dark .eyebrow {
  background: rgba(0, 168, 94, 0.2);
  color: #6EE7B7;
  border-color: rgba(110, 231, 183, 0.35);
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--cv-charcoal);
  margin-bottom: 14px;
}

.section-dark .section-header h2 {
  color: var(--cv-white);
}

.section-header p {
  color: var(--cv-slate);
  font-size: 1.04rem;
}

.section-dark .section-header p {
  color: #CBD5E1;
}

/* ==================== TARJETAS DE LAS 6 LÍNEAS DE SERVICIO ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--cv-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cv-galvanized);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cv-emerald);
}

.service-media {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: var(--cv-obsidian);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 21, 14, 0.88);
  color: #6EE7B7;
  border-left: 3px solid var(--cv-emerald-bright);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.55rem;
  color: var(--cv-charcoal);
  margin-bottom: 10px;
}

.service-body p {
  color: var(--cv-slate);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.spec-list {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 7px;
}

.spec-list li {
  font-size: 0.87rem;
  color: var(--cv-slate-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-list li::before {
  content: '✔';
  color: var(--cv-emerald);
  font-weight: 900;
}

.service-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  gap: 10px;
}

/* ==================== CATÁLOGO DE MOTORES Y SUMINISTROS (LÍNEA AZUL TÉCNICA FACEBOOK) ==================== */
.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-pill {
  background: var(--cv-white);
  color: var(--cv-slate-dark);
  border: 1.5px solid #CBD5E1;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--cv-emerald);
  color: var(--cv-white);
  border-color: var(--cv-emerald);
  box-shadow: 0 6px 18px rgba(0, 135, 77, 0.28);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cv-tech-blue);
}

/* Banner Oficial de Marca Propia FASTLIFT */
.fastlift-brand-banner {
  background: linear-gradient(135deg, #005994 0%, #053559 65%, #062138 100%);
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  margin-bottom: 30px;
  color: var(--cv-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(0, 89, 148, 0.22);
}

.fastlift-brand-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 260px;
}

.fastlift-brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.fastlift-brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.fastlift-brand-copy p {
  font-size: 0.9rem;
  color: #E0F2FE;
  max-width: 620px;
}

/* Diseño oficial Azul FastLift (#005994) para tarjetas del catálogo */
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: var(--cv-tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--cv-emerald);
}

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

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

.product-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(6, 21, 14, 0.88);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #86EFAC;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 1.25rem;
  color: var(--cv-charcoal);
  margin-bottom: 6px;
}

.product-spec {
  font-size: 0.84rem;
  color: var(--cv-slate);
  margin-bottom: 14px;
  flex: 1;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-add-quote {
  background: var(--cv-emerald-soft);
  color: var(--cv-emerald);
  border: 1.5px solid var(--cv-emerald);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-add-quote:hover,
.btn-add-quote.added {
  background: var(--cv-emerald);
  color: var(--cv-white);
}

.btn-wa-mini {
  background: #25D366;
  color: #062814;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.btn-wa-mini:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* ==================== GALERÍA DE PROYECTOS REALES CON LIGHTBOX ==================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #0B1912;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 24, 14, 0.92) 0%, rgba(4, 24, 14, 0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background var(--transition);
}

.gallery-overlay span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6EE7B7;
  font-weight: 700;
}

.gallery-overlay h4 {
  font-size: 1.28rem;
  color: var(--cv-white);
  margin-top: 3px;
}

/* ==================== SECCIÓN NOSOTROS + COBERTURA + FICHA PROVEEDORES ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 26px 0;
}

.feature-box {
  background: var(--cv-surface);
  border-left: 4px solid var(--cv-emerald);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feature-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cv-charcoal);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.feature-box span {
  font-size: 0.87rem;
  color: var(--cv-slate);
}

.coverage-box {
  background: var(--cv-obsidian);
  color: var(--cv-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 2px solid var(--cv-emerald);
  box-shadow: var(--shadow-lg);
}

.dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.dept-tags span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.28);
  color: #E2E8F0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.supplier-card-banner {
  margin-top: 20px;
  background: rgba(0, 135, 77, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==================== COTIZADOR TÉCNICO + CONTACTO ==================== */
.quote-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.quote-card {
  background: var(--cv-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--cv-galvanized);
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cv-charcoal);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--cv-charcoal);
  background: #F8FAFC;
  transition: all var(--transition);
}

.form-control::placeholder {
  color: #64748B;
}

.form-control:focus {
  outline: none;
  border-color: var(--cv-emerald);
  background: var(--cv-white);
  box-shadow: 0 0 0 3px rgba(0, 135, 77, 0.15);
}

.area-estimator {
  background: var(--cv-emerald-soft);
  border: 1px solid #86EFAC;
  color: var(--cv-forest);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--cv-obsidian);
  color: var(--cv-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border-top: 4px solid var(--cv-emerald-bright);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 168, 94, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.contact-list a, .contact-list span {
  color: var(--cv-white);
  font-weight: 600;
  font-size: 0.98rem;
}

.contact-list a:hover {
  color: #4ADE80;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--cv-galvanized);
  height: 250px;
}

/* ==================== PREGUNTAS FRECUENTES (FAQ SEO) ==================== */
.faq-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--cv-white);
  border: 1.5px solid var(--cv-galvanized);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--cv-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cv-emerald-soft);
  color: var(--cv-emerald);
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--cv-emerald);
  color: var(--cv-white);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--cv-slate);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================== PIE DE PÁGINA ==================== */
.site-footer {
  background: #040D08;
  color: #94A3B8;
  border-top: 4px solid var(--cv-emerald);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--cv-white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: #4ADE80;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

/* ==================== DRAWER DE COTIZACIÓN RÁPIDA + MODALES ==================== */
.drawer-backdrop, .lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 9, 0.78);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open, .lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 94vw);
  height: 100vh;
  background: var(--cv-white);
  z-index: 2100;
  box-shadow: -16px 0 45px rgba(0,0,0,0.35);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.quote-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  background: var(--cv-obsidian);
  color: var(--cv-white);
  padding: 20px 22px;
  border-bottom: 3px solid var(--cv-emerald);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--cv-galvanized);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: #F8FAFC;
}

.drawer-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drawer-qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: var(--cv-white);
  font-weight: 800;
  cursor: pointer;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--cv-galvanized);
  background: var(--cv-surface);
  display: grid;
  gap: 10px;
}

/* Lightbox */
.lightbox-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-content {
  position: relative;
  max-width: 1040px;
  width: 100%;
  background: var(--cv-obsidian);
  border: 2px solid var(--cv-emerald);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.65);
}

.lightbox-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #020805;
}

.lightbox-bar {
  padding: 14px 20px;
  color: var(--cv-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Botón Flotante Oficial WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  background: #25D366;
  color: #052912;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all var(--transition);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* ==================== RESPONSIVE DESIGN (TABLETS Y CELULARES) ==================== */
@media (max-width: 1080px) {
  .hero-grid, .about-grid, .quote-layout {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: none;
  }
  .header-cta-desktop {
    display: none;
  }
  .site-nav {
    position: absolute;
    width: 0;
    height: 0;
  }
  .mobile-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(6, 21, 14, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 4px;
    border-bottom: 3px solid var(--cv-emerald);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.65);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-mobile-cta {
    display: block;
    padding-top: 12px;
  }
  .nav-mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    border-bottom: none;
    color: var(--cv-white);
  }
}

@media (max-width: 820px) {
  /* Evita el auto-zoom brusco de Safari en iPhone al tocar campos de formulario */
  .form-control {
    font-size: 16px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  html {
    scroll-padding-top: 74px;
  }
  .container {
    padding: 0 16px;
  }
  .header-inner {
    height: 66px;
    gap: 8px;
  }
  .nav-links {
    top: 66px;
    padding: 14px 16px 20px;
  }
  .brand-logo img {
    height: 35px;
  }
  .header-actions {
    gap: 8px;
  }
  .btn-quote-list {
    padding: 7px 10px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .quote-badge {
    min-width: 19px;
    height: 19px;
    font-size: 0.72rem;
    padding: 0 5px;
  }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.22rem;
  }
  .hero {
    padding: 36px 0 48px;
  }
  .hero-grid {
    gap: 28px;
  }
  .riveted-pill {
    font-size: 0.71rem;
    padding: 6px 12px;
    gap: 8px;
    margin-bottom: 14px;
  }
  .hero-kicker {
    font-size: 1.02rem;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.55rem);
    margin-bottom: 14px;
  }
  .hero-lead {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
  }
  .metric-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
  }
  .metric-item strong {
    font-size: 1.38rem;
    margin-bottom: 3px;
  }
  .metric-item span {
    font-size: 0.69rem;
    line-height: 1.25;
    display: block;
  }
  .showcase-caption {
    padding: 16px 14px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .showcase-caption strong {
    font-size: 1.15rem;
  }
  .showcase-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .services-grid, .catalog-grid, .gallery-grid, .form-grid, .about-features, .footer-grid {
    grid-template-columns: 1fr;
  }
  .fastlift-brand-banner {
    padding: 18px 16px;
    gap: 16px;
  }
  .fastlift-brand-left {
    min-width: 0;
    gap: 14px;
  }
  .fastlift-brand-logo {
    height: 44px;
  }
  .fastlift-brand-banner .btn {
    width: 100%;
  }
  .filter-pills {
    gap: 8px;
    margin-bottom: 24px;
  }
  .filter-pill {
    padding: 8px 13px;
    font-size: 0.81rem;
  }
  .faq-item summary {
    padding: 16px;
    font-size: 0.96rem;
    gap: 12px;
  }
  .faq-answer {
    padding: 12px 16px 16px;
    font-size: 0.9rem;
  }
  .lightbox-modal {
    padding: 12px;
  }
  .lightbox-bar {
    padding: 12px 14px;
    font-size: 0.86rem;
  }
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 15px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 375px) {
  .hide-xs {
    display: none;
  }
  .brand-logo img {
    height: 31px;
  }
}

/* ==================== SUBPÁGINAS SEO ESPECIALIZADAS ==================== */
.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #86EFAC;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb-nav a {
  color: #CBD5E1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb-nav a:hover {
  color: #FFFFFF;
}
.service-seo-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cv-emerald);
  text-align: center;
  width: 100%;
}
.service-seo-link:hover {
  text-decoration: underline;
}
.specs-deep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.spec-deep-card {
  background: var(--cv-white);
  border: 1.5px solid var(--cv-galvanized);
  border-top: 4px solid var(--cv-emerald);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.spec-deep-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--cv-charcoal);
}
.spec-deep-card p {
  color: var(--cv-slate);
  font-size: 0.93rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .specs-deep-grid {
    grid-template-columns: 1fr;
  }
}