/* ═══════════════════════════════════════════════════════
   ACG – Construyendo Soluciones
   Estilos compartidos de las páginas de servicios eléctricos
   (misma identidad que la página principal)
═══════════════════════════════════════════════════════ */
:root {
  --navy:      #1A2F4E;
  --navy-d:    #0f1e33;
  --navy-l:    #243f65;
  --gold:      #F5A623;
  --gold-d:    #d4871a;
  --gold-l:    #ffc04a;
  --white:     #ffffff;
  --off-white: #f7f8fa;
  --gray-l:    #e8eaed;
  --gray-m:    #9ca3af;
  --gray-d:    #4b5563;
  --text:      #1a1f2e;
  --electric:  #38BDF8;
  --hot:       #f97316;
  --ok:        #22c55e;
  --danger:    #ef4444;
  --font-d:    'Barlow Condensed', sans-serif;
  --font-b:    'Lato', sans-serif;
  --nav-h:     72px;
  --trans:     all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
section { scroll-margin-top: var(--nav-h); }
.wrap { max-width: 1200px; margin: 0 auto; }

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy-d);
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(15,30,51,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-letters {
  font-family: var(--font-d); font-size: 42px; font-weight: 900;
  color: var(--gold); letter-spacing: 3px; line-height: 1;
}
.nav-logo-text {
  display: flex; flex-direction: column;
  border-left: 2px solid color-mix(in srgb, var(--gold) 40%, transparent);
  padding-left: 12px;
}
.nav-logo-text span:first-child {
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  color: var(--white); letter-spacing: 2px; text-transform: uppercase;
}
.nav-logo-text span:last-child {
  font-size: 10px; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-family: var(--font-d); font-size: 14px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-m);
  padding: 8px 14px; border-radius: 4px;
  transition: var(--trans); position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"]::after { background: var(--electric); }
.nav-cta {
  background: var(--gold); color: var(--navy-d) !important;
  padding: 9px 20px !important; border-radius: 6px !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-l) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: 0;
}
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-d); border-bottom: 2px solid var(--gold);
  padding: 12px 5% 20px; flex-direction: column; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-d); font-size: 16px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gray-m);
  padding: 12px 0; border-bottom: 1px solid var(--navy-l); transition: color .2s;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--gold); }

/* ─── BOTONES ─────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-d); font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 6px; border: 2px solid; cursor: pointer;
  transition: var(--trans);
}
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-d); }
.btn-primary:hover {
  background: var(--gold-l); border-color: var(--gold-l); transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--gold) 27%, transparent);
}
.btn-outline { background: transparent; color: var(--white); border-color: color-mix(in srgb, var(--white) 27%, transparent); }
.btn-outline:hover { border-color: var(--white); background: color-mix(in srgb, var(--white) 7%, transparent); transform: translateY(-2px); }
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── TÍTULOS DE SECCIÓN ───────────────────── */
.section-label {
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.section-label.elec { color: var(--electric); }
.section-title {
  font-family: var(--font-d); font-size: clamp(34px, 5vw, 54px); font-weight: 900;
  line-height: 1.02; letter-spacing: -0.5px; color: var(--navy);
}
.section-title em { color: var(--gold); font-style: normal; }
.section-title.light { color: var(--white); }
.section-desc { font-size: 16px; line-height: 1.75; color: var(--gray-d); max-width: 640px; margin-top: 16px; }
.section-desc.light { color: var(--gray-m); }
.section-desc strong { color: var(--navy); }
.section-desc.light strong { color: var(--white); }

.sec { padding: 96px 5%; }
.sec.dark { background: var(--navy-d); position: relative; overflow: hidden; }
.sec.soft { background: var(--off-white); }
.sec-head { margin-bottom: 52px; }

/* ─── HERO DE SERVICIO ─────────────────────── */
.s-hero {
  background: var(--navy-d); position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 5% 80px;
}
.s-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, color-mix(in srgb, var(--navy-l) 45%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 35% 40% at 90% 85%, color-mix(in srgb, var(--electric) 9%, transparent) 0%, transparent 60%);
}
.s-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.s-hero-grid {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.crumbs {
  font-size: 12px; color: var(--gray-m); margin-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.crumbs a { color: var(--gray-m); border-bottom: 1px dotted var(--gray-m); }
.crumbs a:hover { color: var(--gold); border-color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .5; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--electric) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--electric) 30%, transparent);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 22px;
  font-family: var(--font-d); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--electric);
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.4); } }
.s-hero h1 {
  font-family: var(--font-d); font-size: clamp(42px, 6.4vw, 76px); font-weight: 900;
  line-height: .98; color: var(--white); letter-spacing: -1px; margin-bottom: 18px;
}
.s-hero h1 span { color: var(--gold); display: block; }
.s-hero .lead {
  font-family: var(--font-d); font-size: clamp(19px, 2.4vw, 24px); font-weight: 400;
  color: var(--white); line-height: 1.3; margin-bottom: 16px; max-width: 560px;
}
.s-hero .desc { font-size: 16px; color: var(--gray-m); line-height: 1.7; max-width: 540px; margin-bottom: 32px; }
.s-hero .desc strong { color: var(--white); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Imagen del hero + sello */
.hero-media { position: relative; }
.hero-photo {
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid color-mix(in srgb, var(--electric) 25%, transparent);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero-photo img { width: 100%; height: auto; }
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 18px 14px; font-size: 12.5px; color: #e5e7eb; line-height: 1.45;
  background: linear-gradient(transparent, rgba(8,13,21,.92));
}
.hero-photo figcaption strong { color: var(--gold); }
.hero-photo.tall { max-width: 420px; margin-left: auto; }

/* Sello circular "Informe en el día" */
.stamp {
  position: absolute; top: -26px; left: -26px; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--gold); color: var(--navy-d);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transform: rotate(-12deg);
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
  outline: 2px dashed color-mix(in srgb, var(--navy-d) 45%, transparent);
  outline-offset: -9px;
}
.stamp b { font-family: var(--font-d); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.05; }
.stamp big { font-family: var(--font-d); font-size: 30px; font-weight: 900; line-height: .95; text-transform: uppercase; }
.hero-photo.tall + .stamp, .hero-media.right-stamp .stamp { left: auto; right: -18px; }

/* ─── FRANJA DE DATOS CLAVE ────────────────── */
.facts {
  background: var(--navy); border-top: 1px solid var(--navy-l); border-bottom: 3px solid var(--gold);
  padding: 0 5%;
}
.facts-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; gap: 14px; align-items: center; padding: 22px 20px; }
.fact + .fact { border-left: 1px solid var(--navy-l); }
.fact-ic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.fact strong { display: block; font-family: var(--font-d); font-size: 19px; font-weight: 800; color: var(--white); line-height: 1.1; }
.fact span { font-size: 12.5px; color: var(--gray-m); }

/* ─── TARJETAS ─────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--gray-l); border-radius: 14px;
  padding: 28px; position: relative; overflow: hidden; transition: var(--trans);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--electric); transform: scaleY(0); transform-origin: bottom; transition: transform .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(26,47,78,.1); border-color: color-mix(in srgb, var(--electric) 40%, transparent); }
.card:hover::before { transform: scaleY(1); }
.card-ic {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: color-mix(in srgb, var(--navy) 8%, transparent);
}
.card-tag { font-family: var(--font-d); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0284c7; margin-bottom: 6px; }
.card h3 { font-family: var(--font-d); font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray-d); line-height: 1.65; }
.card p + p { margin-top: 8px; }
.card .norm { display: inline-block; margin-top: 12px; font-size: 11.5px; font-weight: 700; color: var(--navy-l); background: var(--off-white); border: 1px solid var(--gray-l); border-radius: 6px; padding: 4px 9px; }
.card-link { display: inline-flex; margin-top: 14px; font-family: var(--font-d); font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #0284c7; }
.card-link:hover { color: var(--navy); }
.note-box {
  margin-top: 26px; display: flex; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--gray-l); border-left: 4px solid var(--electric);
  border-radius: 12px; padding: 18px 22px; font-size: 15px; color: var(--gray-d); line-height: 1.6;
}
.note-box .em { font-size: 26px; flex-shrink: 0; }
.note-box strong { color: var(--navy); }
.sec.dark .card { background: color-mix(in srgb, var(--navy-l) 35%, transparent); border-color: var(--navy-l); }
.sec.dark .card h3 { color: var(--white); }
.sec.dark .card p { color: var(--gray-m); }
.sec.dark .card-ic { background: color-mix(in srgb, var(--electric) 14%, transparent); }
.sec.dark .card-tag { color: var(--electric); }

/* ─── BLOQUE NORMATIVO ─────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose p { font-size: 15.5px; line-height: 1.8; color: var(--gray-d); margin-bottom: 14px; }
.prose p strong { color: var(--navy); }
.norm-list { display: flex; flex-direction: column; gap: 12px; }
.norm-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-l); border-left: 4px solid var(--navy);
  border-radius: 10px; padding: 16px 18px;
}
.norm-item.key { border-left-color: var(--gold); box-shadow: 0 8px 26px rgba(26,47,78,.08); }
.norm-code { font-family: var(--font-d); font-size: 15px; font-weight: 800; color: var(--navy); min-width: 112px; line-height: 1.25; }
.norm-item p { font-size: 14px; color: var(--gray-d); line-height: 1.55; }

/* ─── VERSUS (botón vs medición) ───────────── */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; position: relative; z-index: 1; }
.vs-col { border-radius: 16px; padding: 32px; }
.vs-col.bad { background: color-mix(in srgb, var(--white) 4%, transparent); border: 1px dashed color-mix(in srgb, var(--gray-m) 45%, transparent); }
.vs-col.good { background: color-mix(in srgb, var(--electric) 9%, transparent); border: 1px solid color-mix(in srgb, var(--electric) 45%, transparent); }
.vs-kicker { font-family: var(--font-d); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.vs-col.bad .vs-kicker { color: var(--gray-m); }
.vs-col.good .vs-kicker { color: var(--electric); }
.vs-col h3 { font-family: var(--font-d); font-size: 26px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 18px; }
.vs-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vs-col li { display: flex; gap: 12px; font-size: 15px; color: #cbd5e1; line-height: 1.5; }
.vs-col li::before { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 1px; }
.vs-col.bad li::before { content: '✕'; background: color-mix(in srgb, var(--gray-m) 22%, transparent); color: var(--gray-m); }
.vs-col.good li::before { content: '✓'; background: var(--electric); color: var(--navy-d); }
.vs-mid { display: flex; align-items: center; justify-content: center; }
.vs-mid span { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy-d); font-family: var(--font-d); font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.callout {
  position: relative; z-index: 1; margin-top: 28px;
  display: flex; gap: 18px; align-items: center;
  background: var(--navy); border: 1px solid var(--navy-l); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 20px 24px;
}
.callout-num { font-family: var(--font-d); font-size: 44px; font-weight: 900; color: var(--gold); line-height: 1; white-space: nowrap; }
.callout-num small { font-size: 18px; font-weight: 700; }
.callout p { color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.callout p strong { color: var(--white); }

/* ─── PASOS ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--gray-l);
  border-radius: 14px; padding: 26px 22px 24px;
}
.step::before {
  counter-increment: paso; content: counter(paso, decimal-leading-zero);
  font-family: var(--font-d); font-size: 46px; font-weight: 900; line-height: 1;
  color: color-mix(in srgb, var(--navy) 12%, transparent); display: block; margin-bottom: 10px;
}
.step.hl { background: var(--navy); border-color: var(--navy); box-shadow: 0 18px 44px rgba(26,47,78,.22); }
.step.hl::before { color: var(--gold); }
.step h3 { font-family: var(--font-d); font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.15; }
.step p { font-size: 14px; color: var(--gray-d); line-height: 1.6; }
.step.hl h3 { color: var(--white); }
.step.hl p { color: #cbd5e1; }
.step .pill { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; background: var(--gold); color: var(--navy-d); }

/* ─── LISTA "PARA QUIÉN" ───────────────────── */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.who-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-l); }
.who-item .em { font-size: 24px; }
.who-item strong { display: block; font-size: 14.5px; color: var(--navy); }
.who-item span { font-size: 12.5px; color: var(--gray-m); }

/* ─── COMPARACIÓN TERMOGRÁFICA ─────────────── */
.thermo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; position: relative; z-index: 1; }
.tc-card { background: color-mix(in srgb, var(--navy-l) 35%, transparent); border: 1px solid var(--navy-l); border-radius: 16px; overflow: hidden; }
.tc-card figure { position: relative; background: #080d15; }
.tc-card img { width: 100%; height: 420px; object-fit: cover; }
.tc-flag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-d); font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 6px;
}
.tc-flag.hot { background: var(--hot); color: #fff; }
.tc-flag.ok { background: var(--ok); color: #052e16; }
.tc-body { padding: 22px 24px 26px; }
.tc-body h3 { font-family: var(--font-d); font-size: 24px; font-weight: 800; color: var(--white); margin-bottom: 12px; line-height: 1.15; }
.tc-temps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tc-temp { background: var(--navy-d); border: 1px solid var(--navy-l); border-radius: 8px; padding: 8px 12px; }
.tc-temp b { display: block; font-family: var(--font-d); font-size: 24px; font-weight: 900; line-height: 1; }
.tc-temp span { font-size: 11px; color: var(--gray-m); text-transform: uppercase; letter-spacing: .8px; }
.tc-temp.hot b { color: var(--hot); }
.tc-temp.mid b { color: var(--gold); }
.tc-temp.ok b { color: var(--ok); }
.tc-body p { font-size: 14.5px; color: #cbd5e1; line-height: 1.65; }
.tc-body p + p { margin-top: 10px; }
.tc-note { position: relative; z-index: 1; margin-top: 22px; font-size: 13px; color: var(--gray-m); line-height: 1.6; max-width: 860px; }
.tc-note strong { color: var(--white); }

/* Cadena de falla */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.chain-step { position: relative; padding: 24px 22px; background: var(--white); border: 1px solid var(--gray-l); }
.chain-step:first-child { border-radius: 14px 0 0 14px; }
.chain-step:last-child { border-radius: 0 14px 14px 0; }
.chain-step + .chain-step { border-left: 0; }
.chain-step::after {
  content: ''; position: absolute; right: -11px; top: 50%; z-index: 2;
  width: 20px; height: 20px; background: inherit; border-top: 1px solid var(--gray-l); border-right: 1px solid var(--gray-l);
  transform: translateY(-50%) rotate(45deg);
}
.chain-step:last-child::after { display: none; }
.chain-heat { height: 6px; border-radius: 3px; margin-bottom: 16px; }
.chain-step:nth-child(1) .chain-heat { background: linear-gradient(90deg,#4a148c,#ad1457); }
.chain-step:nth-child(2) .chain-heat { background: linear-gradient(90deg,#ad1457,#e64a19); }
.chain-step:nth-child(3) .chain-heat { background: linear-gradient(90deg,#e64a19,#fb8c00); }
.chain-step:nth-child(4) .chain-heat { background: linear-gradient(90deg,#fb8c00,#ffca28); }
.chain-step h3 { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1.15; }
.chain-step p { font-size: 13.5px; color: var(--gray-d); line-height: 1.55; }
.chain-step .eye { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-m); }
.chain-step .eye.vis { color: var(--danger); }

/* ─── ESCALERA DE PRIORIDADES ──────────────── */
.prio { display: flex; flex-direction: column; gap: 12px; }
.prio-row { display: grid; grid-template-columns: 74px 1fr; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-l); background: var(--white); }
.prio-n { display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 34px; font-weight: 900; color: #fff; }
.prio-row.p1 .prio-n { background: var(--danger); }
.prio-row.p2 .prio-n { background: var(--hot); }
.prio-row.p3 .prio-n { background: #0284c7; }
.prio-txt { padding: 16px 20px; }
.prio-txt strong { display: block; font-family: var(--font-d); font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.prio-txt span { font-size: 13.5px; color: var(--gray-d); line-height: 1.5; }

/* Tabla auditoría vs apto */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--gray-l); border-radius: 14px; overflow: hidden; background: var(--white); }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; font-size: 14.5px; vertical-align: top; border-bottom: 1px solid var(--gray-l); line-height: 1.5; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th { font-family: var(--font-d); font-size: 17px; font-weight: 800; letter-spacing: .5px; background: var(--off-white); color: var(--navy); }
.cmp-table thead th.hl { background: var(--navy); color: var(--gold); }
.cmp-table td:first-child { font-weight: 700; color: var(--navy); width: 26%; }
.cmp-table td { color: var(--gray-d); }
.cmp-table td.hl { background: color-mix(in srgb, var(--gold) 6%, transparent); color: var(--text); }

/* ─── FAQ ──────────────────────────────────── */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--gray-l); border-radius: 12px; transition: var(--trans); }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 55%, transparent); box-shadow: 0 10px 30px rgba(26,47,78,.07); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-d); font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--off-white); color: var(--navy); font-size: 20px; font-weight: 700; transition: var(--trans);
}
.faq details[open] summary::after { content: '−'; background: var(--gold); color: var(--navy-d); }
.faq .ans { padding: 0 22px 20px; font-size: 15px; color: var(--gray-d); line-height: 1.75; }
.faq .ans a { color: #0369a1; border-bottom: 1px solid currentColor; }

/* ─── OTROS SERVICIOS ──────────────────────── */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rel {
  display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 14px;
  background: var(--navy); border: 1px solid var(--navy-l); transition: var(--trans); position: relative;
}
.rel:hover { transform: translateY(-4px); border-color: var(--electric); box-shadow: 0 16px 44px rgba(15,30,51,.25); }
.rel .em { font-size: 26px; }
.rel strong { font-family: var(--font-d); font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.1; }
.rel span { font-size: 14px; color: var(--gray-m); line-height: 1.55; }
.rel i { font-style: normal; font-family: var(--font-d); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--electric); margin-top: 6px; }

/* ─── CTA FINAL ────────────────────────────── */
.cta-final { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cta-box { background: color-mix(in srgb, var(--navy-l) 35%, transparent); border: 1px solid var(--navy-l); border-radius: 20px; padding: 36px; text-align: center; }
.cta-box h3 { font-family: var(--font-d); font-size: 30px; font-weight: 900; color: var(--white); margin-bottom: 10px; }
.cta-box p { font-size: 14px; color: var(--gray-m); line-height: 1.6; margin-bottom: 24px; }
.btn-wsp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: #25D366; color: var(--white); font-family: var(--font-d); font-size: 18px; font-weight: 700;
  letter-spacing: 1px; padding: 16px 28px; border-radius: 10px; transition: var(--trans);
}
.btn-wsp:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.3); }
.btn-wsp svg { width: 22px; height: 22px; }
.cta-mat { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--navy-l); font-size: 12px; color: var(--gray-m); line-height: 1.6; }
.cta-mat strong { color: var(--gold); }
.closing { font-family: var(--font-d); font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; color: var(--white); line-height: 1.05; }
.closing em { color: var(--gold); font-style: normal; }

/* ─── FOOTER ───────────────────────────────── */
footer {
  background: #080d15; border-top: 2px solid var(--gold); padding: 40px 5% 32px;
}
.foot-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.footer-logo { font-family: var(--font-d); font-size: 28px; font-weight: 900; color: var(--gold); letter-spacing: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.foot-links a { font-size: 13px; color: var(--gray-m); }
.foot-links a:hover { color: var(--gold); }
.footer-copy { grid-column: 1 / -1; text-align: center; font-size: 12px; color: #6b7280; line-height: 1.6; padding-top: 18px; border-top: 1px solid #141c2a; }
.footer-norm { font-size: 11px; color: #4b5d7a; text-align: right; line-height: 1.6; font-family: 'Courier New', monospace; }

/* ─── WHATSAPP FLOTANTE ────────────────────── */
.wsp-float {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.5); z-index: 999; transition: var(--trans);
}
.wsp-float:hover { transform: scale(1.1); }
.wsp-float svg { width: 30px; height: 30px; }

/* ─── REVEAL ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 9px; font-size: 13px; letter-spacing: 1px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: 1fr 1fr; gap: 14px; }
  .chain-step, .chain-step:first-child, .chain-step:last-child { border-radius: 14px; border-left: 1px solid var(--gray-l); }
  .chain-step::after { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .s-hero { padding: calc(var(--nav-h) + 32px) 5% 64px; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-photo.tall { margin: 0 auto; }
  .split, .thermo-compare, .cta-final { grid-template-columns: 1fr; gap: 36px; }
  .versus { grid-template-columns: 1fr; }
  .vs-mid span { width: 44px; height: 44px; font-size: 15px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--navy-l); }
  .foot-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .footer-norm { text-align: center; }
}
@media (max-width: 600px) {
  .sec { padding: 68px 5%; }
  .sec-head { margin-bottom: 36px; }
  .nav-logo-letters { font-size: 34px; }
  .nav-logo-text span:first-child { font-size: 11px; letter-spacing: 1.5px; }
  .nav-logo-text span:last-child { font-size: 9px; letter-spacing: 1px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; }
  .stamp { width: 104px; height: 104px; top: -20px; left: -6px; }
  .stamp b { font-size: 11px; }
  .stamp big { font-size: 24px; }
  .hero-photo.tall + .stamp, .hero-media.right-stamp .stamp { right: -6px; }
  .steps, .chain { grid-template-columns: 1fr; }
  .vs-col { padding: 24px 20px; }
  .vs-col h3 { font-size: 22px; }
  .callout { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tc-card img { height: 340px; }
  .cmp-table th, .cmp-table td { padding: 12px 12px; font-size: 13.5px; }
  .cmp-table td:first-child { width: auto; }
  .cta-box { padding: 28px 20px; }
  .faq summary { font-size: 17px; padding: 16px 18px; }
  .faq .ans { padding: 0 18px 18px; }
  .norm-item { flex-direction: column; gap: 4px; }
  .wsp-float { width: 54px; height: 54px; bottom: 18px; right: 16px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
