/* =============================================================
   Eléctrico Certificado SEC — styles.css
   Archetype: Glassmorphism Modern · paleta blanco + azul profesional
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f4f8fd;   /* blanco azulado */
  --bg-2:      #eaf2fb;
  --bg-3:      #dfeafb;

  --ink:       #0f1b2d;   /* navy tinta */
  --ink-soft:  #33455c;
  --ink-mute:  #647488;

  --brand:     #0a66d0;   /* azul profesional */
  --brand-600: #0a5bc0;
  --brand-700: #084a9e;
  --brand-800: #073d83;
  --brand-300: #5ea2ee;
  --brand-100: #e3eefc;

  --ok:        #16a34a;   /* verde certificado */
  --ok-soft:   #e7f6ec;
  --wa:        #25d366;   /* whatsapp */
  --wa-600:    #1ebe5a;

  --glass:     rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --line:      rgba(15, 27, 45, 0.10);
  --line-soft: rgba(15, 27, 45, 0.06);

  --shadow-sm: 0 2px 10px rgba(13, 51, 105, 0.06);
  --shadow:    0 14px 40px rgba(13, 51, 105, 0.10);
  --shadow-lg: 0 30px 70px rgba(13, 51, 105, 0.16);
  --shadow-brand: 0 18px 40px rgba(10, 102, 208, 0.28);

  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp:  "Manrope", var(--sans);

  --radius:    18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --container: 1200px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-family: var(--disp); font-weight: 800; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--brand); color: #fff;
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Components — buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.4rem;
  border-radius: 999px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn-lg { padding: 1.02rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(10, 102, 208, 0.36); }

.btn-ghost {
  background: #fff;
  color: var(--brand-700);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand-300); color: var(--brand); }

.btn-white {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}
.btn-white:hover { transform: translateY(-2px); }

.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* =============================================================
   4. Glass card
   ============================================================= */
.glass-card {
  background: rgba(255,255,255,0.92);          /* fallback sólido */
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(16px)) {
  .glass-card {
    background: var(--glass-strong);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.75);
  }
}

/* =============================================================
   5. NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(13,51,105,0.06);
}
.nav-inner {
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  box-shadow: var(--shadow-brand);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--disp); font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-text em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }

.nav-links { display: none; gap: .35rem; }
.nav-links a {
  padding: .5rem .8rem; border-radius: 9px;
  font-weight: 600; font-size: .94rem; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-100); }

.nav-actions { display: none; align-items: center; gap: .6rem; }
.nav-call span { font-variant-numeric: tabular-nums; }

.nav-toggle {
  display: grid; gap: 5px; padding: 9px; margin-left: auto;
  border-radius: 10px; border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle span { display: block; width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.nav-mobile[hidden] { display: none; }
.nav-mobile {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .8rem 1.2rem 1.4rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-mobile a:not(.btn) { padding: .85rem .4rem; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.nav-mobile a:not(.btn):hover { color: var(--brand); }
.nav-mobile .btn { margin-top: .8rem; }

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 60%);
}
.hero-mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 18%, rgba(94,162,238,0.40) 0%, transparent 60%),
    radial-gradient(36% 44% at 12% 8%,  rgba(10,102,208,0.22) 0%, transparent 60%),
    radial-gradient(50% 50% at 95% 70%, rgba(180,214,255,0.45) 0%, transparent 60%);
  filter: blur(46px) saturate(135%);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) translate(0,0); }
  50%      { transform: scale(1.18) translate(-2%, 1.5%); }
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(10,102,208,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,102,208,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 80%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: min(100% - 2.4rem, var(--container));
  margin-inline: auto;
  display: grid; gap: 2.4rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .01em;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: .42rem .85rem; border-radius: 999px;
  margin-bottom: 1.2rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,0.18); }

.hero-title {
  font-size: clamp(2.3rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-300) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 1.8rem;
}
.hero-sub strong { color: var(--brand-700); }

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.hero-trust svg { color: var(--ok); }

/* hero media */
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 16 / 12;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,61,131,0.22) 100%);
}

.sec-seal {
  position: absolute; left: -14px; bottom: -18px;
  width: 128px; height: 128px;
  display: grid; place-items: center;
  filter: drop-shadow(0 14px 26px rgba(13,51,105,0.28));
}
.sec-seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 18s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.sec-seal-track { font-family: var(--disp); font-size: 8.1px; font-weight: 700; letter-spacing: .08em; fill: var(--brand-700); }
.sec-seal-core {
  position: relative; z-index: 2;
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center; gap: 0; text-align: center;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.28), 0 6px 16px rgba(7,61,131,0.3);
}
.sec-seal-core strong { font-family: var(--disp); font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.sec-seal-core span { font-size: .56rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; opacity: .92; }

.hero-chip {
  position: absolute; right: -8px; top: 24px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: .65rem .95rem;
  box-shadow: var(--shadow);
  display: grid; gap: .05rem; text-align: center;
  animation: floatY 5s ease-in-out infinite;
}
.chip-num { font-family: var(--disp); font-weight: 800; font-size: 1.15rem; color: var(--brand); line-height: 1; }
.chip-lab { font-size: .68rem; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* hero marquee */
.hero-marquee {
  position: relative; z-index: 2;
  margin-top: .6rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.5);
  overflow: hidden; padding: .85rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 1.6rem; align-items: center; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span { font-family: var(--disp); font-weight: 700; font-size: 1rem; color: var(--ink-soft); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--brand-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   7. SELLO band
   ============================================================= */
.sello { padding: clamp(2.6rem, 5vw, 4rem) 0; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.sello-inner {
  display: grid; gap: 2rem;
  background: linear-gradient(135deg, var(--brand-100) 0%, #fff 60%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.sello-badge { display: flex; gap: 1.2rem; align-items: flex-start; }
.sello-shield { flex: 0 0 auto; filter: drop-shadow(0 10px 20px rgba(10,79,163,0.3)); }
.sello-h { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin-bottom: .5rem; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sello-p { color: var(--ink-soft); max-width: 60ch; }
.sello-p strong { color: var(--ink); }

.sello-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  list-style: none; border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.sello-stats li { text-align: center; }
.sello-stats strong { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--brand); line-height: 1; letter-spacing: -0.02em; }
.sello-stats span { font-size: .82rem; color: var(--ink-mute); font-weight: 600; }

/* =============================================================
   8. Section scaffold
   ============================================================= */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-head { max-width: 56ch; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.kicker {
  display: inline-block; font-family: var(--disp); font-weight: 700;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .7rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.9rem); color: var(--ink); letter-spacing: -0.03em; }
.section-lead { margin-top: .9rem; color: var(--ink-soft); font-size: 1.06rem; }

/* =============================================================
   9. Services
   ============================================================= */
.services { background: var(--bg); }
.cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.glass-card.reveal, .cards .glass-card { padding: 1.7rem; }
.cards .glass-card { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.cards .glass-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.card-ico {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 15px; color: var(--brand);
  background: var(--brand-100);
  margin-bottom: 1.1rem;
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.cards .glass-card:hover .card-ico { background: var(--brand); color: #fff; transform: scale(1.06) rotate(-3deg); }
.cards h3 { font-size: 1.2rem; margin-bottom: .5rem; color: var(--ink); letter-spacing: -0.02em; }
.cards p { color: var(--ink-soft); font-size: .97rem; }

/* =============================================================
   10. Detección de fallas
   ============================================================= */
.faults {
  background: linear-gradient(165deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.faults::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 50% at 85% 12%, rgba(94,162,238,0.45), transparent 60%),
              radial-gradient(36% 44% at 6% 92%, rgba(120,180,255,0.35), transparent 60%);
}
.faults-inner { position: relative; z-index: 2; display: grid; gap: 2.4rem; }
.faults-copy .kicker { color: var(--brand-300); }
.faults-copy .section-title { color: #fff; }
.faults-copy .section-lead { color: rgba(255,255,255,0.84); margin-bottom: 1.6rem; }
.faults-list { list-style: none; display: grid; gap: .8rem; }
.fault {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(6px);
  transition: background .3s, transform .35s var(--ease-out);
}
.fault:hover { background: rgba(255,255,255,0.14); transform: translateX(4px); }
.fault-ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,0.16); color: #ffe27a;
}
.fault strong { font-family: var(--disp); font-weight: 700; font-size: 1.04rem; display: block; margin-bottom: .15rem; }
.fault p { color: rgba(255,255,255,0.78); font-size: .92rem; }

/* =============================================================
   11. Por qué nosotros
   ============================================================= */
.why { background: var(--bg-soft); }
.why-inner { display: grid; gap: 2.6rem; align-items: center; }
.why-media { position: relative; }
.why-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 6px solid #fff; aspect-ratio: 4/3; object-fit: cover;
}
.why-floating {
  position: absolute; right: -6px; bottom: -16px;
  display: flex; align-items: center; gap: .5rem;
  background: #fff; color: var(--ink);
  padding: .7rem 1rem; border-radius: 14px;
  box-shadow: var(--shadow); font-weight: 700; font-size: .9rem;
  font-family: var(--disp);
}
.why-floating svg { color: var(--ok); }
.why-list { list-style: none; display: grid; gap: 1.3rem; margin-top: 1.4rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-num {
  flex: 0 0 auto; font-family: var(--disp); font-weight: 800;
  font-size: .95rem; color: var(--brand);
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-100);
}
.why-list strong { font-family: var(--disp); font-weight: 700; font-size: 1.08rem; display: block; margin-bottom: .2rem; color: var(--ink); }
.why-list p { color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   12. Cobertura + precio
   ============================================================= */
.coverage { background: var(--bg); }
.coverage-grid { display: grid; gap: 1.4rem; }
.price-card { padding: 1.9rem; text-align: center; border: 1.5px solid var(--brand-100) !important; }
.price-tag { font-family: var(--disp); font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.price { margin: .5rem 0 .2rem; }
.price-val { font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 7vw, 3.4rem); color: var(--brand); letter-spacing: -0.03em; }
.price-zone { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.3rem 0; }
.price-note { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.price-note strong { color: var(--ink); }

.coverage-zones { display: grid; gap: 1.4rem; align-content: start; }
.zone-block h3 { font-family: var(--disp); font-size: 1.1rem; color: var(--ink); margin-bottom: .8rem; }
.zone-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-list li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-soft);
  font-weight: 600; font-size: .92rem; border: 1px solid var(--line-soft);
}
.zone-base li { background: var(--ok-soft); color: #15723a; border-color: rgba(22,163,74,0.2); }
.zone-base li::before { content: "✓"; font-weight: 800; color: var(--ok); }
.zone-more { font-style: italic; opacity: .9; }

/* =============================================================
   13. Horario + emergencia
   ============================================================= */
.schedule { background: var(--bg-soft); }
.schedule-inner { display: grid; gap: 1.4rem; }
.schedule-card { padding: 2rem; }
.schedule-card .kicker { margin-bottom: .4rem; }
.schedule-card .section-title { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 1.4rem; }
.hours { list-style: none; display: grid; gap: .2rem; }
.hours li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft);
}
.hours li:last-child { border-bottom: 0; }
.hours .day { font-family: var(--disp); font-weight: 700; color: var(--ink); }
.hours .time { color: var(--brand-700); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.hours .time em { font-style: normal; color: var(--ink-mute); font-weight: 600; font-size: .85em; }

.emergency-card {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #d6332b 0%, #a11f1a 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: 0 20px 44px rgba(161,31,26,0.32);
  display: grid; align-content: center; gap: .9rem;
}
.emergency-pulse {
  position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
.emergency-card h3 { font-family: var(--disp); font-size: 1.5rem; position: relative; }
.emergency-card p { color: rgba(255,255,255,0.9); position: relative; }
.emergency-card .btn { position: relative; justify-self: start; margin-top: .4rem; color: #b21f1a; }

/* =============================================================
   14. FAQ
   ============================================================= */
.faq { background: var(--bg); }
.faq-inner { max-width: 800px; margin-inline: auto; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0 1.3rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.faq-item[open] { background: #fff; border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0;
  font-family: var(--disp); font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand);
  font-size: 1.3rem; font-weight: 600; line-height: 1;
  transition: transform .3s var(--ease-out), background .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { padding: 0 0 1.2rem; }
.faq-a p { color: var(--ink-soft); }

/* =============================================================
   15. CTA final
   ============================================================= */
.cta-final {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-800) 100%);
  color: #fff; text-align: center;
  padding: clamp(3.4rem, 7vw, 6rem) 0;
}
.cta-mesh {
  position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background: radial-gradient(40% 60% at 20% 20%, rgba(120,180,255,0.4), transparent 60%),
              radial-gradient(40% 60% at 85% 80%, rgba(60,120,220,0.5), transparent 60%);
  animation: meshDrift 24s ease-in-out infinite;
}
.cta-inner { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .8rem; }
.cta-final h2 em { font-style: normal; color: #bfe0ff; }
.cta-final p { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 48ch; margin: 0 auto 1.8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* QR de contacto en el CTA final */
.cta-qr { margin-top: 2.4rem; }
.cta-qr-lead {
  color: rgba(255,255,255,0.78); font-size: .92rem; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase; margin: 0 0 1.1rem;
}
.cta-qr-grid { display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center; }
.qr-tile {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px; padding: 1rem 1rem 1.1rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.qr-tile:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }
.qr-img { background: #fff; border-radius: 12px; padding: 9px; line-height: 0; box-shadow: 0 8px 22px rgba(0,0,0,0.22); }
.qr-img img { display: block; width: 132px; height: 132px; }
.qr-cap {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: .01em;
}
.qr-cap svg { color: #bfe0ff; }
@media (max-width: 560px) {
  .qr-img img { width: 112px; height: 112px; }
  .cta-qr-grid { gap: .8rem; }
  .qr-tile { padding: .8rem .8rem .9rem; }
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: #0c1726; color: rgba(255,255,255,0.78); }
.footer-inner { display: grid; gap: 2.2rem; padding: clamp(2.6rem, 5vw, 3.6rem) 0 2rem; }
.footer-brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer-brand strong { font-family: var(--disp); font-weight: 800; font-size: 1.1rem; color: #fff; display: block; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,0.6); margin-top: .2rem; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.footer-col { display: grid; gap: .55rem; align-content: start; }
.footer-col h4 { font-family: var(--disp); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-300); margin-bottom: .3rem; }
.footer-col a, .footer-col span { font-size: .94rem; color: rgba(255,255,255,0.72); }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center;
  padding: 1.3rem 0;
}
.footer-credits { font-size: .82rem; color: rgba(255,255,255,0.55); }
.footer-credits a { color: var(--brand-300); }
.footer-credits a:hover { color: #fff; }
.footer-copy { font-size: .85rem; color: rgba(255,255,255,0.6); font-weight: 600; }

/* =============================================================
   17. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: waRing 2.6s ease-out infinite;
}
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37,211,102,0.55); }

/* =============================================================
   18. Reveal animations
   ============================================================= */
/* Reveals hide only when JS is active — no-JS users see everything */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split/special elements never trapped invisible */
.reveal[data-split] { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .06s; }
.cards .reveal:nth-child(3) { transition-delay: .12s; }
.cards .reveal:nth-child(4) { transition-delay: .18s; }
.cards .reveal:nth-child(5) { transition-delay: .24s; }
.cards .reveal:nth-child(6) { transition-delay: .3s; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .hero-inner { padding-bottom: 3rem; }
  .faults-inner { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 3rem; }
  .coverage-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .schedule-inner { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .sello-stats { max-width: none; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .hero-inner { grid-template-columns: 1.04fr 0.96fr; align-items: center; gap: 3rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr 1.1fr; }
  .sello-inner { grid-template-columns: 1.5fr 1fr; align-items: center; }
  .sello-stats { border-top: 0; border-left: 1px solid var(--line); padding-top: 0; padding-left: 2rem; grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-inner { grid-template-columns: 1.1fr 2fr; }
}

@media (min-width: 1280px) {
  .hero { padding-top: 3rem; }
}

/* =============================================================
   20. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .cta-mesh, .emergency-pulse, .sec-seal-ring, .hero-chip, .wa-float::before { animation: none; }
  .marquee-track { animation-duration: 60s; }
}

/* =============================================================
   21. Ajustes de ediciones del cliente
   ============================================================= */
/* Brand sin logo propio: solo el nombre. */
.brand--noicon .brand-text strong { font-size: 1.18rem; }
.footer-brand--noicon strong { font-size: 1.18rem; }

/* Logo oficial SEC en la banda de confianza (sello SEC visible). */
.sello-shield--logo {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 132px; padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sello-shield--logo img { width: 100%; height: auto; }
@media (min-width: 720px) { .sello-shield--logo { width: 150px; } }

/* Botón de email del nav: compacto. */
.nav-mail svg { color: var(--brand-700); }
