/*
 * ═══════════════════════════════════════════════════════════
 *  EYM CONSIS — CSS Global del Sitio Web
 *  Versión: 3.0
 *  Paleta:  Azul #1E3A6D · Azul medio #0077B6 · Celeste #00AEEF
 *           Rojo #ED1C24 · Rojo hover #C9141B
 * ═══════════════════════════════════════════════════════════
 */

/* ── IMPORTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@400;600;700;800;900&display=swap');

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --primary:    #1E3A6D;
  --primary-d:  #152B52;
  --primary-dd: #0D1F3C;
  --secondary:  #0077B6;
  --blue-m:     #005f92;
  --blue-light: #00AEEF;
  --accent:     #ED1C24;
  --accent-h:   #C9141B;
  --accent-d:   #9e0d13;
  --white:      #FFFFFF;
  --gray:       #F4F6F9;
  --gray-mid:   #E2E8F0;
  --text:       #333333;
  --text-light: #666666;
  --dark:       #111827;
  --nav-h:      76px;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color .2s; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
#eym-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: all .35s ease;
  padding: 0 60px;
}
#eym-nav.scrolled {
  background: var(--primary-d);
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-badge {
  background: var(--accent); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 900; letter-spacing: 1px;
  padding: 4px 14px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  line-height: 1.4;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: 2px;
  color: #fff; text-transform: uppercase; line-height: 1.1;
}
.nav-logo-text small {
  display: block; font-size: 9px; font-weight: 400;
  letter-spacing: 2.5px; color: rgba(255,255,255,.55);
}
/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 8px 15px; border-radius: 4px; transition: all .22s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  box-shadow: 0 4px 16px rgba(237,28,36,.4);
}
.nav-cta:hover {
  background: var(--accent-h) !important;
  box-shadow: 0 6px 20px rgba(237,28,36,.5);
}
/* Burger */
.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer; padding: 8px;
}
/* Mobile drawer */
.nav-drawer {
  display: none; flex-direction: column; gap: 4px;
  position: absolute; top: var(--nav-h); left: 0; width: 100%;
  background: var(--primary-dd);
  padding: 16px 24px 24px; border-top: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 11px 16px; border-radius: 6px;
  border-left: 3px solid transparent; transition: all .2s;
}
.nav-drawer a:hover, .nav-drawer a.active {
  background: rgba(255,255,255,.08);
  color: #fff; border-left-color: var(--accent);
}
.nav-drawer .nav-cta {
  background: var(--accent) !important; border-left: 3px solid var(--accent-h) !important;
  color: #fff !important; margin-top: 8px; text-align: center;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO (para páginas internas)
══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: flex-end; overflow: hidden;
  padding-bottom: 0;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(13,31,60,.96) 0%,
    rgba(30,58,109,.86) 55%,
    rgba(0,119,182,.70) 100%
  );
}
.page-hero-content {
  position: relative; z-index: 5;
  max-width: 1300px; margin: 0 auto; width: 100%;
  padding: calc(var(--nav-h) + 60px) 60px 60px;
}
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
}
.page-hero-label::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900; color: #fff; text-transform: uppercase;
  line-height: .95; letter-spacing: .5px;
}
.page-hero h1 em { font-style: normal; color: var(--blue-light); }
.page-hero h1 .acc { color: var(--accent); }
/* Breadcrumb */
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.page-breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb span { color: rgba(255,255,255,.3); }
.page-breadcrumb .current { color: rgba(255,255,255,.85); font-weight: 600; }
/* Wave divider */
.page-hero-wave {
  position: relative; z-index: 6;
  margin-top: -2px; line-height: 0;
}
.page-hero-wave svg { display: block; width: 100%; }

/* ══════════════════════════════════════════════════════════
   SECCIONES COMPARTIDAS
══════════════════════════════════════════════════════════ */
.section { padding: 90px 60px; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-gray { background: var(--gray); }
.section-dark { background: var(--dark); }
.section-primary { background: var(--primary); }

/* Etiqueta / label de sección */
.s-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--secondary); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.s-label::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.s-label.light { color: var(--blue-light); }

/* Título de sección */
.s-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 4vw, 56px); font-weight: 900;
  line-height: .95; color: var(--primary); text-transform: uppercase;
  margin-bottom: 18px;
}
.s-title.white { color: #fff; }
.s-title .acc { color: var(--accent); }
.s-title .blue { color: var(--blue-light); }

/* Subtítulo */
.s-sub {
  font-size: 17px; font-weight: 300; color: var(--text-light);
  line-height: 1.75; max-width: 620px;
}
.s-sub.white { color: rgba(255,255,255,.6); }
.s-sub.center { margin: 0 auto; text-align: center; }

/* Separador visual */
.s-divider {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 48px;
}
.s-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gray-mid), transparent);
}

/* ══════════════════════════════════════════════════════════
   BOTONES GLOBALES
══════════════════════════════════════════════════════════ */
.btn-eym {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; border-radius: 5px;
  padding: 13px 30px; transition: all .28s;
  border: 2px solid transparent; cursor: pointer;
}
.btn-eym-red {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(237,28,36,.35);
}
.btn-eym-red:hover {
  background: var(--accent-h); border-color: var(--accent-h); color: #fff;
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(237,28,36,.45);
}
.btn-eym-blue {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(30,58,109,.3);
}
.btn-eym-blue:hover {
  background: var(--secondary); border-color: var(--secondary); color: #fff;
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,119,182,.4);
}
.btn-eym-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-eym-outline:hover {
  background: rgba(255,255,255,.1); border-color: #fff; color: #fff;
}
.btn-eym-outline-dark {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-eym-outline-dark:hover {
  background: var(--primary); color: #fff;
}
.btn-sm { padding: 9px 20px; font-size: 12px; }

/* ══════════════════════════════════════════════════════════
   CARDS DE SERVICIO
══════════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 60px;
}
.svc-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,58,109,.06);
  display: flex; flex-direction: column;
  border-bottom: 4px solid transparent;
  transition: all .35s; position: relative;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30,58,109,.14);
  border-bottom-color: var(--accent);
}
.svc-card-bar { height: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.svc-card-body { padding: 32px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 24px;
  margin-bottom: 22px; flex-shrink: 0;
}
.svc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.svc-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--primary);
  text-transform: uppercase; line-height: 1.1; margin-bottom: 12px;
}
.svc-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; flex: 1; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--secondary); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  margin-top: 22px; transition: all .22s;
}
.svc-link:hover { color: var(--accent); gap: 12px; }
.svc-link i { font-size: 11px; }

/* Versión horizontal (para páginas de servicio) */
.svc-h-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0; background: #fff; border-radius: 14px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(30,58,109,.07);
  border-left: 5px solid var(--secondary); transition: all .3s;
}
.svc-h-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 10px 36px rgba(30,58,109,.14);
  transform: translateX(4px);
}
.svc-h-icon {
  width: 80px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  color: #fff; font-size: 28px;
}
.svc-h-body { padding: 24px; }
.svc-h-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; margin-bottom: 8px;
}
.svc-h-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   FEATURE BAR (barra de propósitos clave)
══════════════════════════════════════════════════════════ */
.feature-bar {
  background: var(--primary);
  display: flex; flex-wrap: wrap; justify-content: center;
}
.feature-item {
  flex: 1; min-width: 200px; max-width: 300px;
  padding: 28px 24px; display: flex; align-items: center; gap: 14px;
  border-right: 1px solid rgba(255,255,255,.08); transition: .28s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,.05); }
.feature-icon-wrap {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(237,28,36,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.feature-text strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.feature-text span { color: rgba(255,255,255,.5); font-size: 12px; }

/* ══════════════════════════════════════════════════════════
   INSTALACIONES / TRABAJOS CARDS
══════════════════════════════════════════════════════════ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px; margin-top: 48px;
}
.job-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(30,58,109,.07);
  transition: all .35s; display: flex; flex-direction: column;
}
.job-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(30,58,109,.16);
}
.job-card-img {
  position: relative; height: 210px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.job-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.job-card:hover .job-card-img img { transform: scale(1.05); }
.job-card-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 4px 12px; border-radius: 2px;
}
.job-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.job-card-date {
  font-size: 11px; color: var(--secondary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.job-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; line-height: 1.1; margin-bottom: 10px;
}
.job-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; flex: 1; }
.job-card-footer {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: space-between;
}
.job-card-loc {
  font-size: 12px; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.job-card-loc i { color: var(--accent); font-size: 11px; }
.job-card-link {
  font-size: 12px; font-weight: 700; color: var(--secondary);
  text-transform: uppercase; letter-spacing: .5px;
  display: flex; align-items: center; gap: 6px; transition: .2s;
}
.job-card-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   INSTALACIÓN DETALLE (instalacion.php)
══════════════════════════════════════════════════════════ */
.instalacion-cover {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: 14px; margin-bottom: 32px;
  box-shadow: 0 10px 40px rgba(30,58,109,.15);
}
.instalacion-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding: 20px 0; margin-bottom: 28px;
  border-bottom: 2px solid var(--gray-mid);
}
.instalacion-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light);
}
.instalacion-meta-item i { color: var(--accent); font-size: 14px; }
.instalacion-meta-item strong { color: var(--primary); font-weight: 700; }
.instalacion-body {
  font-size: 16px; color: var(--text-light); line-height: 1.85;
}
.instalacion-body p { margin-bottom: 18px; }

/* Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-top: 32px;
}
.gallery-item {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  box-shadow: 0 4px 16px rgba(30,58,109,.1);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(13,31,60,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-overlay i { color: #fff; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   NOSOTROS — ABOUT GRID
══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; height: 480px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
}
.about-img-main img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px; opacity: .85; display: block;
}
.about-img-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-img-fallback i { font-size: 100px; color: rgba(255,255,255,.15); }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--accent);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  box-shadow: 0 10px 40px rgba(237,28,36,.5);
}
.about-badge .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px; font-weight: 900; color: #fff; line-height: 1;
}
.about-badge .lbl {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85);
  letter-spacing: 1px; line-height: 1.3; text-transform: uppercase;
}
/* Valores */
.about-values { margin: 28px 0; }
.value-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--gray-mid);
}
.value-row:first-child { border-top: 1px solid var(--gray-mid); }
.value-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--gray); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 16px;
}
.value-row strong { display: block; font-size: 14px; color: var(--primary); margin-bottom: 3px; }
.value-row span { font-size: 13px; color: var(--text-light); line-height: 1.55; }

/* Counters */
.counts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--gray-mid);
  border-radius: 12px; overflow: hidden; margin-top: 60px;
}
.count-item {
  background: var(--primary);
  padding: 36px 24px; text-align: center;
  transition: background .25s;
}
.count-item:hover { background: var(--accent); }
.count-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px; font-weight: 900; color: #fff;
  line-height: 1; display: flex; align-items: flex-start;
  justify-content: center;
}
.count-num sup { font-size: 20px; color: var(--blue-light); margin-top: 8px; }
.count-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   ¿POR QUÉ ELEGIRNOS? (dark cards)
══════════════════════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-top: 60px;
}
.why-card {
  padding: 36px 28px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  transition: all .3s; position: relative; overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: .3s;
}
.why-card:hover {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}
.why-card:hover::after { transform: scaleX(1); }
.why-card i { font-size: 36px; color: var(--blue-light); display: block; margin-bottom: 20px; }
.why-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 900; color: #fff;
  text-transform: uppercase; margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   PROCESO (pasos)
══════════════════════════════════════════════════════════ */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 60px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 38px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 0;
}
.proc-step { position: relative; z-index: 1; text-align: center; padding: 0 16px; }
.proc-num {
  width: 78px; height: 78px;
  background: var(--primary); border: 4px solid var(--gray);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900; color: #fff;
  box-shadow: 0 4px 20px rgba(30,58,109,.3); transition: .3s;
}
.proc-step:hover .proc-num { background: var(--accent); box-shadow: 0 8px 28px rgba(237,28,36,.4); }
.proc-step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--primary);
  text-transform: uppercase; margin-bottom: 8px;
}
.proc-step p { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   FORMULARIO DE CONTACTO
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start; margin-top: 60px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px;
}
.contact-icon {
  width: 50px; height: 50px; min-width: 50px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.contact-item strong { display: block; font-size: 14px; color: var(--primary); font-weight: 700; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--text-light); }
.contact-item a:hover { color: var(--accent); }
.contact-form-box {
  background: var(--gray); border-radius: 16px; padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  border: 1.5px solid var(--gray-mid);
  font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text);
  background: #fff; transition: border .22s, box-shadow .22s; outline: none;
}
.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff; border: none; cursor: pointer;
  width: 100%; padding: 15px; border-radius: 8px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(237,28,36,.35); transition: all .28s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--accent-h), var(--accent-d));
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(237,28,36,.45);
}
.form-alert {
  padding: 14px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.form-alert.success { background: #DCFCE7; color: #166534; border-left: 4px solid #16a34a; }
.form-alert.error   { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--accent); }

/* ══════════════════════════════════════════════════════════
   HERO PRINCIPAL (index.php)
══════════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(125deg, rgba(14,28,55,.97) 0%, rgba(0,70,120,.88) 55%, rgba(0,119,182,.7) 100%),
    url('assets/images/fondo.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-stripe {
  position: absolute; right: 0; top: 0; bottom: 0; width: 42%;
  background: linear-gradient(180deg, rgba(237,28,36,.07), rgba(0,174,239,.08));
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-geo {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px; z-index: 2; opacity: .06;
  border: 2px solid #fff; border-radius: 50%;
}
.hero-geo::before { content: ''; position: absolute; inset: 30px; border: 2px solid #fff; border-radius: 50%; }
.hero-geo::after  { content: ''; position: absolute; inset: 80px; border: 2px solid #fff; border-radius: 50%; }
.hero-content {
  position: relative; z-index: 5;
  max-width: 1300px; margin: 0 auto; padding: 120px 60px 80px; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(237,28,36,.15); border: 1px solid rgba(237,28,36,.35);
  color: rgba(255,255,255,.9); padding: 6px 16px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 18px; height: 2px; background: var(--accent); }
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(54px, 7.5vw, 100px);
  font-weight: 900; line-height: .92; color: #fff;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-h1 em { font-style: normal; color: var(--blue-light); display: block; }
.hero-h1 .red { color: var(--accent); }
.hero-p {
  font-size: 18px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 44px; margin-top: 80px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 46px; font-weight: 900; color: #fff; line-height: 1;
}
.hero-stat-num sup { font-size: 20px; color: var(--accent); }
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,.5);
  letter-spacing: 1px; margin-top: 4px; text-transform: uppercase;
}
/* Scroll indicator */
.scroll-dot {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: 2px; z-index: 5;
}
.scroll-dot-ring {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.22);
  border-radius: 13px; position: relative;
}
.scroll-dot-ring::after {
  content: ''; width: 4px; height: 8px; background: rgba(255,255,255,.55);
  border-radius: 2px; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  animation: sdot 2s infinite;
}
@keyframes sdot { 0%{opacity:1;top:6px} 100%{opacity:0;top:22px} }

/* ══════════════════════════════════════════════════════════
   LOGIN PAGE
══════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(13,31,60,.97) 0%, rgba(30,58,109,.90) 60%, rgba(0,119,182,.80) 100%),
    url('assets/images/fondo.jpg') center/cover no-repeat;
}
.login-box {
  width: 100%; max-width: 440px; margin: 0 auto;
  padding: 0 24px;
}
.login-card {
  background: rgba(255,255,255,.97);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.login-card-top {
  background: linear-gradient(135deg, var(--primary-d), var(--secondary));
  padding: 36px 40px; text-align: center;
  border-bottom: 4px solid var(--accent);
}
.login-logo-badge {
  background: var(--accent); color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900; letter-spacing: 1px;
  padding: 4px 18px; display: inline-block;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  margin-bottom: 8px;
}
.login-card-top p {
  color: rgba(255,255,255,.65); font-size: 12px;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.login-card-body { padding: 36px 40px; }
.login-card-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 900; color: var(--primary);
  text-transform: uppercase; margin-bottom: 6px;
}
.login-card-body p { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.login-input-group { position: relative; margin-bottom: 18px; }
.login-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: 14px;
}
.login-input {
  width: 100%; padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--gray-mid); border-radius: 8px;
  font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--text);
  background: #fff; transition: border .22s, box-shadow .22s; outline: none;
}
.login-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}
.login-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-h));
  color: #fff; border: none; border-radius: 8px; cursor: pointer;
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(237,28,36,.35); transition: all .28s;
}
.login-btn:hover {
  background: linear-gradient(135deg, var(--accent-h), var(--accent-d));
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(237,28,36,.45);
}
.login-error {
  background: #FEE2E2; color: #991B1B;
  border-left: 4px solid var(--accent); border-radius: 8px;
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.login-back {
  display: block; text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--text-light);
}
.login-back a { color: var(--secondary); font-weight: 700; }
.login-back a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--dark); }
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 70px 60px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.4);
  line-height: 1.8; margin: 16px 0 24px; max-width: 280px;
}
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 14px; transition: .22s;
}
.social-btn:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent); display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.4); font-size: 14px;
  display: flex; align-items: center; gap: 7px; transition: .2s;
}
.footer-col ul li a::before { content: '›'; color: var(--accent); font-size: 15px; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col .footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,.4);
}
.footer-col .footer-contact-item i {
  color: var(--accent); font-size: 14px; margin-top: 2px; min-width: 16px;
}
.footer-col .footer-contact-item a { color: rgba(255,255,255,.4); }
.footer-col .footer-contact-item a:hover { color: var(--accent); }
.footer-bar {
  max-width: 1300px; margin: 0 auto;
  padding: 20px 60px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bar p { color: rgba(255,255,255,.25); font-size: 13px; }
.footer-bar a { color: var(--accent); }
.footer-bar-social { display: flex; gap: 12px; }
.footer-bar-social a { color: rgba(255,255,255,.35); font-size: 14px; transition: .2s; }
.footer-bar-social a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   PAGINACIÓN
══════════════════════════════════════════════════════════ */
.pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }
.pagination { display: flex; gap: 6px; }
.page-btn {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; transition: all .22s;
  border: 1.5px solid var(--gray-mid); color: var(--primary);
  background: #fff; cursor: pointer; text-decoration: none;
}
.page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   FILTROS (categorías en instalaciones)
══════════════════════════════════════════════════════════ */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 20px;
  border: 1.5px solid var(--gray-mid);
  background: #fff; color: var(--text-light);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .22s; text-decoration: none;
}
.filter-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-btn.active {
  background: var(--primary); border-color: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   FADE ANIMATIONS (intersection observer)
══════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(36px); transition: all .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* Back to top */
#back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--accent); color: #fff; border: none;
  cursor: pointer; font-size: 17px; z-index: 999;
  box-shadow: 0 6px 20px rgba(237,28,36,.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: all .3s;
}
#back-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-top:hover { background: var(--accent-h); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .counts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #eym-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 70px 24px; }
  .page-hero-content { padding: calc(var(--nav-h) + 40px) 24px 40px; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-h1 { font-size: clamp(44px, 10vw, 64px); }
  .feature-bar { flex-direction: column; }
  .feature-item { max-width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 50px 24px 32px; }
  .footer-bar { padding: 16px 24px; flex-direction: column; text-align: center; }
  .process-steps::before { display: none; }
  .about-badge { width: 120px; height: 120px; right: -10px; bottom: -10px; }
  .about-badge .num { font-size: 38px; }
  .counts-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
  .login-card-body, .login-card-top { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(36px, 12vw, 52px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-eym { width: 100%; justify-content: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .counts-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   NAV EXTRAS (drawer WhatsApp link)
══════════════════════════════════════════════════════════ */
.nav-links ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-wa {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 11px 16px; border-radius: 6px;
  background: rgba(37,211,102,.1); color: #25D366 !important;
  border-left: 3px solid #25D366 !important;
  font-weight: 700; font-size: 14px; letter-spacing: .3px;
}
.nav-wa:hover { background: rgba(37,211,102,.18) !important; color: #25D366 !important; }

/* Footer logo text */
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 4px;
}
.footer-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 2px;
  color: #fff; text-transform: uppercase; line-height: 1.1;
}
.footer-logo-text small {
  display: block; font-size: 9px; font-weight: 400;
  color: rgba(255,255,255,.4); letter-spacing: 2px;
}

/* ══════════════════════════════════════════════════════════
   CTA BOX (sección de llamada a la acción en index)
══════════════════════════════════════════════════════════ */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dd) 0%, var(--primary) 50%, var(--secondary) 100%);
  border-radius: 20px; padding: 64px 60px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-deco-1 {
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  border: 2px solid rgba(255,255,255,.05);
  border-radius: 50%; pointer-events: none;
}
.cta-deco-2 {
  position: absolute; left: 42%; bottom: -80px;
  width: 200px; height: 200px;
  border: 2px solid rgba(237,28,36,.10);
  border-radius: 50%; pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(237,28,36,.18); border: 1px solid rgba(237,28,36,.38);
  color: rgba(255,255,255,.88); padding: 5px 14px;
  border-radius: 2px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px;
}
.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900;
  color: #fff; text-transform: uppercase;
  line-height: .95; margin-bottom: 16px;
}
.cta-title span { color: var(--blue-light); }
.cta-text {
  font-size: 15px; color: rgba(255,255,255,.62);
  line-height: 1.72; max-width: 500px;
}
.cta-actions {
  display: flex; flex-direction: column; gap: 12px;
  min-width: 230px; position: relative; z-index: 1;
}
.cta-phone {
  text-align: center; font-size: 12px;
  color: rgba(255,255,255,.4); margin: 4px 0 0;
}
.cta-phone a { color: rgba(255,255,255,.55); }
.cta-phone a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .cta-box { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-actions { min-width: auto; }
}
@media (max-width: 768px) {
  .cta-box { padding: 36px 24px; }
  section.section[style*="padding:80px 60px"] { padding: 60px 24px !important; }
}

/* ══════════════════════════════════════════════════════════
   HERO SLIDER — Estilos completos
   Reemplaza .hero-bg estático por .slide-bg dinámico
══════════════════════════════════════════════════════════ */

/* ── Fondos de slides ── */
.slider-backgrounds {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.3s ease;
  will-change: opacity;
}
.slide-bg.active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.06); }
}

/* ── Overlay oscuro (reemplaza el gradient del .hero-bg original) ── */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(13,31,60,.93) 0%,
    rgba(30,58,109,.80) 50%,
    rgba(0,119,182,.62) 100%
  );
}

/* ── Contenedor de contenidos ── */
.slider-contents {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center;
}

/* ── Cada slide de contenido ── */
.slide-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.slide-content.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Inner con padding y max-width ── */
.slide-inner {
  max-width: 1300px; margin: 0 auto; width: 100%;
  padding: 120px 60px 160px; /* espacio para stats en la parte baja */
}

/* Animación de entrada del contenido activo */
.slide-content.active .hero-tag    { animation: slideUp .7s ease .0s both; }
.slide-content.active .hero-h1     { animation: slideUp .7s ease .1s both; }
.slide-content.active .hero-p      { animation: slideUp .7s ease .2s both; }
.slide-content.active .hero-actions{ animation: slideUp .7s ease .3s both; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Estadísticas ancladas abajo (visibles en todos los slides) ── */
.hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 6; padding: 0 60px 44px;
}
/* .hero-stats ya tiene estilos — sólo ajustar max-width */
.hero-bottom .hero-stats {
  max-width: 1300px; margin: 0 auto;
}

/* ── Botones de flecha ── */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 8; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff; font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(237,28,36,.45);
}
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* ── Dots indicadores ── */
.slider-dots {
  position: absolute;
  bottom: 124px; left: 50%; transform: translateX(-50%);
  z-index: 8; display: flex; align-items: center; gap: 10px;
}
.slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.30); border: none;
  cursor: pointer; padding: 0; transition: all .3s;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(237,28,36,.55);
}
.slider-dot:hover:not(.active) { background: rgba(255,255,255,.65); }

/* ── Barra de progreso (abajo del todo) ── */
.slider-progress-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; z-index: 9;
  background: rgba(255,255,255,.08);
}
.slider-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE SLIDER
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .slide-inner       { padding: 100px 24px 140px; }
  .hero-bottom       { padding: 0 24px 36px; }
  .slider-btn        { width: 40px; height: 40px; font-size: 14px; }
  .slider-prev       { left: 12px; }
  .slider-next       { right: 12px; }
  .slider-dots       { bottom: 106px; }
  .hero-bottom .hero-stats { gap: 20px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .slider-btn { display: none; } /* En móvil pequeño usar swipe */
  .hero-bottom .hero-stats { gap: 14px; }
  .hero-stat-num { font-size: 34px; }
}

/* ══════════════════════════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
══════════════════════════════════════════════════════════ */
#wa-float {
  position: fixed;
  bottom: 82px;          /* encima del back-top */
  right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 12px 16px 12px 14px;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: all .3s ease;
  overflow: hidden;
  max-width: 52px;       /* sólo ícono por defecto */
}
#wa-float:hover {
  max-width: 260px;
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
  transform: translateY(-2px);
}
#wa-float i {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}
.wa-float-label {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease .1s;
}
#wa-float:hover .wa-float-label { opacity: 1; }

@media (max-width: 480px) {
  #wa-float { padding: 13px; border-radius: 50%; max-width: 52px; }
  #wa-float:hover { max-width: 52px; }
  .wa-float-label { display: none; }
}

/* ══════════════════════════════════════════════════════════
   INSTALACION DETALLE — sidebar responsive
══════════════════════════════════════════════════════════ */
.instalacion-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .instalacion-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .instalacion-detail-grid aside {
    order: -1;           /* sidebar sube arriba en mobile */
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS — grid alternado responsive
══════════════════════════════════════════════════════════ */
.servicios-alternado-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .servicios-alternado-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .servicios-alternado-grid.reverse {
    direction: ltr;      /* cancelar reverse en móvil */
  }
}
