/* ═══════════════════════════════════════════════════════════
   MATECK INGENIERÍA — Hoja de estilos principal
   Versión profesional limpia
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --blue:       #0b3faa;
  --blue-dark:  #072d82;
  --blue-lt:    #e8f0fe;
  --accent:     #1a6cf0;
  --dark:       #0c1320;
  --dark2:      #162033;
  --gray:       #5a6375;
  --gray-lt:    #8a94a6;
  --soft:       #f5f7fb;
  --line:       #e2e8f2;
  --white:      #ffffff;
  --wa:         #22c55e;
  --r-sm:       12px;
  --r-md:       18px;
  --r-lg:       26px;
  --shadow-sm:  0 2px 12px rgba(10,25,70,.07);
  --shadow-md:  0 8px 32px rgba(10,25,70,.10);
  --shadow-lg:  0 24px 64px rgba(10,25,70,.14);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.03em; }

/* ─── TIPOGRAFÍA GLOBAL ──────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(255,255,255,.55); }

/* ─── REVEAL ON SCROLL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── BOTONES ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(11,63,170,.30);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(11,63,170,.40); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-lt); }

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.30);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.20); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 72px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.topbar.scrolled { box-shadow: 0 4px 20px rgba(10,25,60,.08); }

.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 56px; width: auto; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #2a3350;
}
.nav a {
  padding: 7px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--blue-lt); color: var(--blue); }

.nav-cta {
  margin-left: 12px;
  background: var(--blue) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: opacity .15s !important;
  box-shadow: 0 4px 14px rgba(11,63,170,.25);
}
.nav-cta:hover { opacity: .88 !important; }

/* ─── HAMBURGER ──────────────────────────────────────────── */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .28s, opacity .28s;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO BANNER ────────────────────────────────────────── */
.hero-wrap {
  background: var(--dark);
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.hero-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 6vw;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.trust-item span {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.45;
}

/* ─── SECCIÓN BASE ───────────────────────────────────────── */
.section { padding: 88px 6vw; }
.section-alt { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }

.section-head { margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  color: var(--dark);
  margin-bottom: 14px;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p {
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
}
.section-dark .section-head p { color: #8a9fc0; }

/* ─── GRID DE SERVICIOS ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  line-height: 0;
}
.service-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .35s ease;
}
.service-card:hover .service-img img { transform: scale(1.025); }

.zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11,63,170,.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  backdrop-filter: blur(4px);
  letter-spacing: .04em;
}
.service-card:hover .zoom-badge { opacity: 1; transform: none; }

.service-body {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line);
}
.service-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.service-body p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* ─── POR QUÉ MATECK ─────────────────────────────────────── */
.diferenciadores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.dif-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.dif-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.dif-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -.05em;
}
.dif-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.dif-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
/* acento azul en hover */
.dif-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: var(--r-md) var(--r-md) 0 0;
  opacity: 0;
  transition: opacity .2s;
}
.dif-item:hover::before { opacity: 1; }

/* ─── PLANES DE MANTENCIÓN ───────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  border-radius: var(--r-lg);
  padding: 32px 26px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-card.featured {
  background: var(--blue);
  border-color: transparent;
  box-shadow: 0 20px 56px rgba(0,0,0,.28);
  transform: scale(1.04);
}
.plan-tier {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  margin-bottom: 6px;
}
.featured .plan-tier { color: rgba(255,255,255,.65); }
.plan-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.plan-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
}
.plan-card li {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.plan-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--wa);
  font-weight: 900;
}
.featured li { color: rgba(255,255,255,.88); }
.plan-action {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .18s;
}
.plan-action:hover { background: rgba(255,255,255,.22); }

/* ─── APLICACIONES ───────────────────────────────────────── */
.applications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.app-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  transition: border-color .18s, background .18s, color .18s;
}
.app-item:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  color: var(--blue);
}
.app-icon { font-size: 22px; flex-shrink: 0; }

/* ─── CONTACTO CTA ───────────────────────────────────────── */
.contact-section {
  padding: 72px 6vw;
}
.contact-card {
  background: linear-gradient(135deg, #0b3faa 0%, #051d5e 100%);
  border-radius: var(--r-lg);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  box-shadow: 0 32px 80px rgba(6,25,90,.22);
}
.contact-text h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  color: #fff;
  margin-bottom: 14px;
}
.contact-text p {
  font-size: 15px;
  color: #9ab4d8;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  color: #fff;
  transition: background .18s, border-color .18s;
}
.contact-link:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
}
.contact-link.wa:hover { background: rgba(34,197,94,.18); border-color: rgba(34,197,94,.3); }
.contact-link svg { flex-shrink: 0; opacity: .8; }
.contact-link strong { display: block; font-size: 13px; font-weight: 700; }
.contact-link span { font-size: 12px; opacity: .6; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  padding: 28px 6vw;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--gray);
}
.footer-tags {
  font-size: 12px;
  color: var(--gray-lt);
}

/* ─── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 8, 18, .93);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.active { display: flex; animation: lbIn .22s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-width: min(1400px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  animation: lbScale .25s ease;
  object-fit: contain;
}
@keyframes lbScale {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.lightbox-close {
  position: fixed;
  top: 16px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 1000;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ─── RESPONSIVE 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .diferenciadores { grid-template-columns: repeat(2, 1fr); }
}

/* ─── RESPONSIVE 900px ───────────────────────────────────── */
@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 6vw 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    gap: 4px;
  }
  body.menu-open .nav { display: flex; }
  .nav-cta { margin-left: 0 !important; text-align: center; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .plans { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }

  .applications { grid-template-columns: repeat(2, 1fr); }

  .contact-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }

  footer { flex-direction: column; text-align: center; gap: 6px; }
}

/* ─── RESPONSIVE 580px ───────────────────────────────────── */
@media (max-width: 580px) {
  .section { padding: 60px 5vw; }
  .contact-section { padding: 48px 5vw; }

  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }

  .diferenciadores { grid-template-columns: 1fr; }

  .applications { grid-template-columns: 1fr; }

  .hero-cta-bar { flex-direction: column; }
  .hero-cta-bar .btn { width: 100%; justify-content: center; }

  .contact-card { padding: 28px 20px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .dif-item, .app-item { transition: none; }
}

/* ─── LOGO: fondo blanco, sin bordes negros ──────────────── */
.brand img {
  background: #fff;
  mix-blend-mode: multiply;   /* elimina fondo blanco sobre navbar blanco */
  image-rendering: -webkit-optimize-contrast;
}

/* ─── MÓVIL PRIORITARIO: ajustes finos ───────────────────── */
@media (max-width: 480px) {
  /* Navbar más compacto */
  .topbar { height: 64px; padding: 0 4vw; }
  .brand img { height: 48px; }

  /* Hero sin margen lateral */
  .hero-wrap { margin: 0; }
  .hero-cta-bar { padding: 18px 5vw; gap: 10px; }

  /* Trust en columna única con iconos alineados */
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { padding: 16px 5vw; border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .trust-item strong { font-size: 13px; }
  .trust-item span { font-size: 12px; }

  /* Servicios 1 columna */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-body { padding: 16px 16px 20px; }
  .service-body h3 { font-size: 16px; }
  .service-body p { font-size: 13px; }

  /* Diferenciadores 1 columna */
  .diferenciadores { grid-template-columns: 1fr; gap: 12px; }
  .dif-item { padding: 20px 18px; }
  .dif-num { font-size: 32px; margin-bottom: 10px; }

  /* Planes en columna */
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan-card.featured { transform: none; }
  .plan-card { padding: 24px 20px; }

  /* Aplicaciones 2 columnas en móvil */
  .applications { grid-template-columns: 1fr 1fr; gap: 10px; }
  .app-item { padding: 14px 12px; font-size: 13px; gap: 8px; }
  .app-icon { font-size: 18px; }

  /* Contacto */
  .contact-section { padding: 40px 4vw; }
  .contact-card { padding: 24px 18px; gap: 28px; }
  .contact-card h2 { font-size: 22px; }
  .contact-link { padding: 13px 14px; gap: 12px; }
  .contact-link strong { font-size: 13px; }

  /* Footer */
  footer { padding: 20px 5vw; flex-direction: column; gap: 4px; text-align: center; }
  .footer-copy { font-size: 12px; }
  .footer-tags { font-size: 11px; }

  /* Secciones */
  .section { padding: 52px 5vw; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   S4 — POR QUÉ MATECK (versión marketing profesional)
   ═══════════════════════════════════════════════════════════ */
.pq-section {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2fa 100%);
  padding: 88px 6vw;
}

/* Encabezado centrado */
.pq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.pq-header h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -.04em;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
}
.pq-header p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
}

/* Métricas */
.pq-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 52px;
  box-shadow: var(--shadow-sm);
}
.pq-stat {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}
.pq-stat-num {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.pq-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  line-height: 1.4;
}

/* Grid de cards */
.pq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.pq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pq-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity .2s;
}
.pq-card:hover::after { opacity: 1; }

/* Card destacada (azul) */
.pq-card--accent {
  background: var(--blue);
  border-color: transparent;
  color: #fff;
}
.pq-card--accent::after { display: none; }
.pq-card--accent .pq-icon { background: rgba(255,255,255,.15); color: #fff; }
.pq-card--accent h4 { color: #fff; }
.pq-card--accent p { color: rgba(255,255,255,.80); }
.pq-card--accent .pq-tag {
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.90);
  border-color: rgba(255,255,255,.25);
}

/* Card CTA */
.pq-card--cta {
  background: var(--dark);
  border-color: transparent;
  justify-content: center;
}
.pq-card--cta::after { display: none; }
.pq-cta-inner { display: flex; flex-direction: column; gap: 16px; }
.pq-quote {
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  border-left: 3px solid var(--blue);
  padding-left: 14px;
}
.pq-card--cta p {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin: 0;
}
.pq-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Ícono */
.pq-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-lt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* Textos */
.pq-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.pq-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}

/* Tag / badge */
.pq-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid #c5d8f8;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: auto;
}

/* ─── RESPONSIVE S4 ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .pq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pq-stats { grid-template-columns: repeat(2, 1fr); }
  .pq-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 580px) {
  .pq-section { padding: 52px 5vw; }
  .pq-header { margin-bottom: 36px; }
  .pq-grid { grid-template-columns: 1fr; }
  .pq-stats { grid-template-columns: repeat(2, 1fr); }
  .pq-stat { padding: 20px 12px; }
  .pq-stat-num { font-size: 34px; }
  .pq-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   MEJORAS ADICIONALES
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Banner garantía ───────────────────────────────────── */
.guarantee-bar {
  background: linear-gradient(90deg, #0b3faa 0%, #1a6cf0 100%);
  padding: 13px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.guarantee-item svg { opacity: .85; flex-shrink: 0; }

/* ── 2. Proceso de trabajo ────────────────────────────────── */
.proceso-section {
  padding: 88px 6vw;
  background: var(--dark);
  color: #fff;
}
.proceso-header {
  text-align: center;
  margin-bottom: 56px;
}
.proceso-header h2 {
  font-size: clamp(26px, 3vw, 40px);
  color: #fff;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.proceso-header p { font-size: 15px; color: #8a9fc0; }

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, #1a6cf0 100%);
  opacity: .35;
}
.proceso-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 20px;
  position: relative;
}
.proceso-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #1a6cf0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(11,63,170,.2);
  z-index: 1;
}
.proceso-step h4 { font-size: 15px; font-weight: 700; color: #fff; }
.proceso-step p  { font-size: 13px; color: #8a9fc0; line-height: 1.6; }

/* ── 4. Botón WhatsApp flotante ───────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 300;
  width: 58px;
  height: 58px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(34,197,94,.45);
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(34,197,94,.55);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(34,197,94,.45); }
  50%       { box-shadow: 0 6px 32px rgba(34,197,94,.65), 0 0 0 10px rgba(34,197,94,.10); }
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--dark);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── Responsive extras ────────────────────────────────────── */
@media (max-width: 900px) {
  .guarantee-bar { gap: 16px; padding: 12px 5vw; }
  .guarantee-item { font-size: 12px; }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .proceso-steps::before { display: none; }
}
@media (max-width: 580px) {
  .guarantee-bar { gap: 12px; }
  .guarantee-item span { display: none; } /* solo íconos en móvil muy pequeño */
  .proceso-section { padding: 52px 5vw; }
  .proceso-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .proceso-num { width: 56px; height: 56px; font-size: 18px; }
  .wa-float { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}
