/* ═══════════════════════════════════════════════════════════════════
   Todo Service Hogar — Landing servicio × zona · v2.0
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --blue-950: #060f24;
  --blue-900: #0d2e6b;
  --blue-800: #143d8c;
  --blue-700: #1a4fb8;
  --blue-600: #2360cf;
  --blue-500: #3478e4;
  --blue-400: #5b93ec;
  --blue-300: #9bbdf2;
  --blue-200: #c5d8f8;
  --blue-100: #dbe7fb;
  --blue-50:  #eef4fd;
  --sky-50:   #f4f8ff;
  --sky-100:  #e6efff;

  --green:     #1faa54;
  --green-600: #198f47;
  --green-100: #d6f1e0;
  --green-50:  #edfaf4;

  --ink:   #0f172a;
  --ink-2: #3a465c;
  --ink-3: #6b768c;
  --ink-4: #9aa3b6;
  --line:  #e3e8f0;
  --line-2:#d6deea;
  --white: #ffffff;
  --bg:    #f7f9fc;
  --bg-2:  #f1f5fb;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(13,46,107,.07), 0 4px 12px rgba(13,46,107,.05);
  --shadow:    0 4px 16px rgba(13,46,107,.10), 0 1px 4px rgba(13,46,107,.06);
  --shadow-lg: 0 16px 40px rgba(13,46,107,.16), 0 4px 12px rgba(13,46,107,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Previene overflow horizontal en toda la landing */
.tsh-landing { overflow-x: hidden; }

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
  50%       { box-shadow: 0 0 0 8px rgba(61,220,132,.04); }
}
@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(31,170,84,.6), 0 0 0 0 rgba(31,170,84,.4); }
  50%       { box-shadow: 0 10px 24px -8px rgba(31,170,84,.6), 0 0 0 14px rgba(31,170,84,0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
  transition: background .15s, transform .15s, box-shadow .15s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

.btn-wsp        { background: var(--green);   color: #fff; }
.btn-wsp:hover  { background: var(--green-600); box-shadow: 0 8px 20px -8px rgba(31,170,84,.5);  color:#fff !important }
.btn-wsp a:hover { background: var(--blue-800); color:#fff !important}

.btn-call       { background: var(--blue-700); color: #fff; }
.btn-call:hover { background: var(--blue-800);  color:#fff !important}
.btn-call a:hover { background: var(--blue-800); color:#fff !important}

/* hero outline — sobre fundo escuro */
.btn-call-outline       { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-call-outline:hover { background: rgba(255,255,255,.18); color:#fff !important}

/* CTA final — sobre fundo escuro */
.btn-call-white       { background: #fff; color: var(--blue-700); }
.btn-call-white:hover { background: var(--blue-50); }

/* síntomas CTA — sobre fundo escuro */
.btn-wsp-inv       { background: #fff; color: var(--green-600); }
.btn-wsp-inv:hover { background: var(--green-50);  color:#fff !important}

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

/* ── Section primitives ──────────────────────────────────────────── */
section { padding: 80px 0; }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head .eyebrow {
  font-size: 12px; font-weight: 700; color: var(--blue-600);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 10px; display: block;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.12;
  color: var(--blue-900); margin: 0 0 14px;
}
.section-head p { font-size: 17px; color: var(--ink-2); margin: 0; max-width: 600px; }
.section-head.center { margin: 0 auto 48px; text-align: center; }
.section-head.center p { margin: 0 auto; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO — dark navy
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background: linear-gradient(140deg, var(--blue-950) 0%, #0f2d6e 55%, #163d91 100%);
  position: relative; overflow: hidden; overflow: clip;
  padding: 0;
}

.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow {
  position: absolute; pointer-events: none;
  top: -120px; right: -40px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(52,120,228,.22) 0%, transparent 65%);
}

.hero-parrafo-unico{
    color: #000;
}

@media (max-width: 600px) {
  .hero-glow { width: 280px; height: 280px; right: -20px; top: -60px; }
}

.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
  padding: 64px 24px 72px;
}

.hero-badge {
  display: inline-flex; align-items: center; 
  gap: 0px !important;
  background: rgba(31,170,84,.15); color: #5de98e;
  border: 1px solid rgba(31,170,84,.25);
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3ddc84; flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(61,220,132,.18);
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px); font-weight: 800;
  line-height: 1.07; letter-spacing: -.03em;
  color: #fff; margin: 0 0 20px;
}

.hero-sub {
  font-size: 18px; color: var(--blue-200);
  max-width: 520px; margin: 0 0 30px; line-height: 1.6;
}
.hero-sub b { color: #fff; font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

/* Trust row */
.hero-trust {
  display: flex; align-items: center; gap: 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap; gap: 0;
}
.ht-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--blue-200);
  padding: 6px 0;
}
.ht-item b, .ht-item .ht-num { color: #fff; font-weight: 700; }
.ht-item .stars { color: #f5c842; letter-spacing: .04em; font-size: 15px; }
.ht-item svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.ht-sep {
  width: 1px; height: 28px; background: rgba(255,255,255,.15);
  margin: 0 18px; flex-shrink: 0;
}

/* Visual column */
.hero-visual { position: relative; }

.hero-photo {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0b1d3e;
  box-shadow: 0 24px 56px -16px rgba(6,15,36,.6), 0 4px 16px rgba(6,15,36,.3);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-photo .ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #0f2244 0 28px, #132a52 28px 56px);
  display: grid; place-items: center;
  color: #4a6fa8; font-family: ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: .05em; text-align: center; padding: 24px;
}
.hero-photo .ph span {
  display: inline-block; padding: 10px 16px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
}

/* Floating rating badge */
.hero-rating-badge {
  position: absolute; top: 16px; right: -12px;
  background: #fff; border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-width: 90px;
}
.hero-rating-badge .hrb-stars { color: #f5c842; font-size: 12px; letter-spacing: .05em; line-height: 1; }
.hero-rating-badge b { font-size: 17px; color: var(--blue-900); font-weight: 800; line-height: 1.2; }
.hero-rating-badge span { font-size: 11px; color: var(--ink-3); }

/* Tech card */
.tech-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 12px 14px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow);
}
.tech-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.tech-av-img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.tech-card b { display: block; color: var(--ink); font-weight: 700; font-size: 13.5px; }
.tech-card span { color: var(--ink-3); font-size: 12px; }
.tech-verified {
  margin-left: auto; flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--green-100); border-radius: 50%;
  display: grid; place-items: center;
}
.tech-verified svg { width: 16px; height: 16px; color: var(--green-600); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 56px; }
  .hero-photo { aspect-ratio: 5/4; max-width: 540px; margin: 0 auto; }
  .hero-rating-badge { right: 0; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .ht-sep { display: none; }
  .hero-trust { gap: 10px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TRUST BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.trust-bar {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 0;
}
.trust-bar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.tb {
  padding: 22px 20px; border-right: 1px solid var(--line);
  display: flex; gap: 14px; align-items: center;
  transition: background .15s;
}
.tb:last-child { border-right: 0; }
.tb:hover { background: var(--sky-50); }
.tb-ico {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.tb-ico svg { width: 22px; height: 22px; }
.tb b { display: block; font-size: 15px; font-weight: 700; color: var(--blue-900); margin-bottom: 2px; }
.tb span { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }

@media (max-width: 760px) {
  .trust-bar .wrap { grid-template-columns: 1fr !important; }
  .trust-bar .tb{ border-right: 0px !important; }
  /*.tb:nth-child(2) { border-right: 0; }*/
  /*.tb:nth-child(1), .tb:nth-child(2) { border-bottom: 1px solid var(--line); }*/
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARCAS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marcas {
  padding: 52px 0; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.marcas-head {
  text-align: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 24px;
}
.marcas-head b { color: var(--blue-900); font-weight: 700; }
.marcas-grid {
  display: grid; grid-template-columns: repeat(10, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  padding: 10px;
}
.marca {
  display: grid; place-items: center; height: 72px;
  font-weight: 700; color: var(--blue-900); font-size: 15px;
  border-right: 1px solid var(--line);
  transition: background .15s;
}
.marca:hover { background: var(--sky-50); }
.marca:nth-child(10n) { border-right: 0; }
.marca:nth-child(n+11) { border-top: 1px solid var(--line); }
.marca.plus { color: var(--blue-600); font-weight: 600; }
/* Con logo desde ACF */
.marca.has-logo { padding: 10px 14px; }
.marca.has-logo img { max-height: 36px; width: auto; object-fit: contain; }

@media (max-width: 920px) {
  .marcas-grid { grid-template-columns: repeat(5, 1fr); }
  .marca:nth-child(10n) { border-right: 1px solid var(--line); }
  .marca:nth-child(5n) { border-right: 0; }
  .marca:nth-child(n+6) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .marcas-grid { grid-template-columns: repeat(3, 1fr); }
  .marca:nth-child(5n) { border-right: 1px solid var(--line); }
  .marca:nth-child(3n) { border-right: 0; }
  .marca { height: 60px; font-size: 13.5px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICIOS — light
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.servicios { background: var(--white); }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serv {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  position: relative; overflow: hidden;
}
.serv::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  opacity: 0; transition: opacity .2s;
}
.serv:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.serv:hover::before { opacity: 1; }

.serv-ico {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center;
}
.serv-ico img { width: 32px; height: 32px; }
.serv h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0; color: var(--blue-900); }
.serv p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.serv ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.serv li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.serv li svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; margin-top: 4px; }
.serv-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px; flex-wrap: wrap;
}
.serv-foot b { color: var(--blue-900); font-weight: 700; font-size: 13px; }

@media (max-width: 920px) {
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .serv-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .serv-grid { grid-template-columns: 1fr; }
  .serv-grid > :last-child { grid-column: auto; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SÍNTOMAS — dark (fuerte contraste con sección anterior)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sintomas {
  background: linear-gradient(150deg, #060f24 0%, #0d2656 50%, #0f2e68 100%);
  position: relative; overflow: hidden;
}

.sint-meta{
    color: #fff;
}
.sintomas::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.sintomas .wrap { position: relative; }
.sintomas .section-head .eyebrow { color: #7ab3f0; }
.sintomas .section-head h2 { color: #fff; }
.sintomas .section-head p  { color: var(--blue-200); }

.sint-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.sint {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg); padding: 20px 18px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: background .15s, border-color .15s;
}
.sint:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.sint-ico {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(52,120,228,.25); color: #90b8f0;
  display: grid; place-items: center;
}
.sint-ico svg { width: 20px; height: 20px; }
.sint h3 { font-size: 15px; font-weight: 700; margin: 0 0 5px; color: #fff; }
.sint p  { margin: 0; font-size: 13.5px; color: var(--blue-200); line-height: 1.55; }
.sint p b { color: #c5d8f8; font-weight: 600; }

.sint-cta {
  margin-top: 32px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 26px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.sint-cta .t { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.sint-cta .s { font-size: 14px; color: var(--blue-200); margin-top: 4px; }

@media (max-width: 920px) {
  .sint-grid { grid-template-columns: 1fr 1fr; }
  .sint-cta  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) { .sint-grid { grid-template-columns: 1fr; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROCESO — timeline
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.proceso { background: var(--bg-2); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proc {
  padding: 28px 24px; position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.proc + .proc::before {
  content: ''; position: absolute;
  left: 0; top: 52px; width: 1px; height: calc(100% - 80px);
  background: var(--line);
}

.proc-step { display: flex; align-items: center; gap: 0; margin-bottom: 4px; }
.proc-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.proc-line {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--blue-300), transparent);
}

.proc-ico {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: #ffffff !important; color: var(--blue-700);
  display: grid; place-items: center;
}
.proc-ico svg { width: 22px; height: 22px; }
.proc h4 { font-size: 16.5px; font-weight: 700; color: var(--blue-900); margin: 0; letter-spacing: -.01em; }
.proc p  { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

@media (max-width: 920px) {
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
  .proc { background: var(--bg-2); }
  .proc + .proc::before { display: none; }
  .proc-line { display: none; }
}
@media (max-width: 560px) { .proc-grid { grid-template-columns: 1fr; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   POR QUÉ ELEGIRNOS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.porque { background: var(--white); }
.porque .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.porque-photo {
  position: relative; aspect-ratio: 5/4;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0b1d3e;
  box-shadow: var(--shadow-lg);
}
.porque-photo img { width: 100%; height: 100%; object-fit: cover; }
.porque-photo .ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #112140 0 28px, #162b52 28px 56px);
  display: grid; place-items: center;
  color: #4a6fa8; font-family: ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: .05em; text-align: center; padding: 24px;
}
.porque-photo .ph span {
  display: inline-block; padding: 10px 16px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
}
.porque-badge {
  position: absolute; top: 16px; left: 16px;
  background: #fff; border-radius: var(--radius);
  padding: 10px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.porque-badge .pb-stars { color: #f5c842; font-size: 13px; letter-spacing: .05em; line-height: 1; }
.porque-badge b { font-size: 20px; font-weight: 800; color: var(--blue-900); line-height: 1.2; }
.porque-badge span { font-size: 11.5px; color: var(--ink-3); }

.porque-list { display: flex; flex-direction: column; gap: 20px; margin-top: 4px; }
.porque-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: flex-start; }
.porque-item .i {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.porque-item .i svg { width: 22px; height: 22px; }
.porque-item b    { display: block; color: var(--blue-900); font-weight: 700; font-size: 15.5px; margin-bottom: 3px; }
.porque-item span { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

@media (max-width: 920px) {
  .porque .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COBERTURA — chips, sin mapa falso
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cobertura { background: var(--bg); }

.zona-hl { color: var(--blue-600); }

.cob-layout { display: flex; flex-direction: column; gap: 28px; }

/* Stats row */
.cob-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cob-stat {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 22px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.cst-ico {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.cst-ico svg { width: 22px; height: 22px; }
.cob-stat b    { display: block; font-weight: 700; color: var(--blue-900); font-size: 15px; margin-bottom: 2px; }
.cob-stat span { font-size: 13px; color: var(--ink-3); }

/* Zonas wrap */
.cob-zonas-wrap {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow-sm);
}

/* Zona hub */
.cob-hub {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.cob-hub-pin {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.cob-hub-pin svg { width: 26px; height: 26px; }
.cob-hub strong { display: block; font-size: 19px; font-weight: 800; color: var(--blue-900); letter-spacing: -.01em; }
.cob-hub span   { font-size: 13px; color: var(--ink-3); }

/* Linderas */
.cob-linderas-label {
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.cob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cob-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-800); border-radius: 20px;
  padding: 7px 14px; font-size: 14px; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.cob-chip:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.cob-chip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Fallback: cuando [tsh_zonas_cercanas] devuelve <a> planos sin clase chip */
.cob-chips a:not(.cob-chip) {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-800); border-radius: 20px;
  padding: 7px 14px; font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.cob-chips a:not(.cob-chip):hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

/* Referencias */
.cob-refs {
  padding-top: 20px; border-top: 1px solid var(--line);
}
.cob-refs-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.cob-refs-label svg { width: 14px; height: 14px; color: var(--blue-500); }
.cob-refs p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 760px) {
  .cob-stats { grid-template-columns: 1fr; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIOS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testi { background: var(--bg-2); }
.testi .section-head .eyebrow { color: var(--blue-600); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FAQ — full-width, numerado
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.faq { background: var(--white); }

.faq-list {
  max-width: 860px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 0; }

/* display:flex !important necesario — el tema aplica summary{display:list-item}
   con mayor cascada y rompe el layout flex de la fila número+pregunta+icono */
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex !important; 
  align-items: center; 
  gap: 16px;
  flex-wrap: nowrap;
  transition: background .15s;
  user-select: none;
}
summary {
   display: flex !important;  
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--sky-50); }

.faq-num {
  font-size: 12px; font-weight: 800; color: var(--blue-400);
  letter-spacing: .04em; flex-shrink: 0; min-width: 24px;
  font-variant-numeric: tabular-nums;
}
.faq-q {
  flex: 1; min-width: 0; font-size: 16px; font-weight: 600; color: var(--blue-900);
  line-height: 1.35;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .2s, color .2s, transform .25s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-list details[open] summary { background: var(--sky-50); }
.faq-list details[open] .faq-icon {
  background: var(--blue-700); color: #fff;
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 24px 22px 64px;
  font-size: 15px; color: var(--ink-2); line-height: 1.65;
}
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--blue-700); text-decoration: underline; }

.faq-cta { text-align: center; margin-top: 28px; }

@media (max-width: 680px) {
  .faq-body { padding-left: 24px; }
  .faq-num  { display: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA FINAL — navy dark
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-final {
  background: linear-gradient(140deg, #060f24 0%, #0f2d6e 60%, #163d91 100%);
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-final .wrap { position: relative; padding: 80px 24px; }
.cta-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto;
}
.cta-text h2 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.15; color: #fff; margin: 0 0 12px;
}
.cta-text p { font-size: 17px; color: var(--blue-200); margin: 0 0 28px; }
.cta-final .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.meta {
  margin-top: 20px; display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--blue-300);
}
.meta b { color: #fff; }

.cta-trust-list {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 24px 20px;
  min-width: 190px;
}
.ctl-item {
  display: flex; gap: 10px; align-items: center;
  font-size: 13.5px; color: var(--blue-200); font-weight: 500;
}
.ctl-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

@media (max-width: 800px) {
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-trust-list { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FLOATING WhatsApp
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(31,170,84,.65);
  animation: pulse-fab 2.4s ease-in-out infinite;
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVEGACIÓN (heredada del tema — override mínimo)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu { display: flex; gap: 24px; font-weight: 500; color: var(--ink-2); font-size: 14.5px; }
.menu a:hover { color: var(--blue-700); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-700); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 12px; box-shadow: 0 8px 20px -10px rgba(13,46,107,.16); }
  .menu.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMACIONES DE ENTRADA (intersection observer en JS)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.animate-on-scroll {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
