/* ==========================================================================
   SoftyPaq — Sistema de diseño (homologado al estilo Paquetexpress)
   Tema corporativo claro · acento rojo · multipágina
   ========================================================================== */

:root {
  /* Marca / acento (azul SoftyPaq, tomado del logo) */
  --brand: #1f74c6;
  --brand-dark: #135a9e;
  --brand-600: #1a68b4;
  --brand-soft: #e9f2fb;
  --brand-soft-2: rgba(31, 116, 198, 0.09);
  --brand-cyan: #4db4e8;

  /* Neutros */
  --ink: #16181d;
  --ink-2: #4a4f5a;
  --ink-3: #6b7280;
  --line: #e6e8ee;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-2: #f5f8fc;
  --bg-3: #eef3f9;

  /* Oscuros / navy (barra superior · footer · badge) — del fondo del logo */
  --dark: #0a1830;
  --dark-2: #122240;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-muted: #a9b6cc;

  /* Estados */
  --ok: #16a34a;
  --ok-soft: #e7f7ee;
  --warn: #d97706;
  --warn-soft: #fdf1e1;
  --info: #2563eb;
  --info-soft: #e9effe;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6rem; }

.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }

/* Desfase para anclas (#faq, #rastreo, #cobertura, #recursos) para que la
   sección no quede oculta bajo la barra de navegación fija */
:target { scroll-margin-top: 96px; }
.muted { color: var(--ink-2); }
.highlight { color: var(--brand); font-weight: 700; }
.center { text-align: center; }

/* ============================ Botones ============================ */
.btn, .btn-outline, .btn-ghost, .btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 116, 198, 0.28);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); padding-left: .3rem; padding-right: .3rem; }
.btn-ghost:hover { color: var(--brand-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }

/* Ícono verde de WhatsApp (se antepone a cualquier enlace .wa) */
.wa::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: .45rem;
  vertical-align: -.22em;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M20.52 3.48A11.8 11.8 0 0 0 12.06 0C5.49 0 .16 5.33.16 11.9c0 2.1.55 4.14 1.6 5.93L0 24l6.34-1.66a11.8 11.8 0 0 0 5.72 1.46h.01c6.57 0 11.9-5.33 11.9-11.9 0-3.18-1.24-6.17-3.45-8.42ZM12.07 21.3c-1.78 0-3.52-.48-5.04-1.39l-.36-.21-3.76.98 1-3.67-.23-.38a9.33 9.33 0 0 1-1.42-4.98c0-5.17 4.2-9.37 9.38-9.37 2.5 0 4.84.97 6.6 2.73a9.29 9.29 0 0 1 2.74 6.6c0 5.18-4.2 9.39-9.38 9.39Zm5.15-7.01c-.28-.14-1.64-.81-1.9-.9-.26-.1-.45-.14-.64.14-.19.28-.73.9-.9 1.08-.17.19-.34.21-.62.07-.28-.14-1.2-.44-2.28-1.4-.84-.75-1.4-1.68-1.57-1.96-.16-.28-.02-.43.12-.57.13-.13.28-.34.42-.51.14-.17.19-.28.28-.47.1-.19.05-.36-.02-.5-.07-.14-.64-1.55-.88-2.12-.23-.56-.46-.48-.64-.49-.16 0-.36-.01-.55-.01-.19 0-.5.07-.76.36-.26.28-1 1-.99 2.44 0 1.43 1.02 2.81 1.16 3 .14.19 2.02 3.08 4.9 4.32.69.3 1.23.47 1.65.6.69.22 1.32.19 1.82.12.56-.08 1.64-.67 1.87-1.31.23-.64.23-1.19.16-1.31-.07-.12-.26-.19-.55-.33Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Botón redondo solo-ícono en el footer */
.footer-social a.wa-only { background: rgba(37, 211, 102, .14); }
.footer-social a.wa-only:hover { background: #25D366; }
.wa-only svg { width: 20px; height: 20px; }

/* ============================ Barra utilitaria superior ============================ */
.utilitybar {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: .85rem;
}
.utilitybar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
}
.utilitybar a { color: var(--dark-muted); display: inline-flex; align-items: center; gap: .4rem; }
.utilitybar a:hover { color: #fff; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.utility-sep { color: rgba(255,255,255,.18); }

/* ============================ Navegación principal ============================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #1a3560 0%, #0d1e3c 55%, #0a1830 100%);
  border: 1px solid rgba(120, 180, 235, 0.28);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(10, 24, 48, 0.35);
  flex: 0 0 auto;
}
.brand-badge img { width: 26px; height: 26px; object-fit: contain; }
.brand-text strong {
  display: block;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-text span { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 600; letter-spacing: .01em; }
/* En el encabezado el subtítulo es redundante con el logotipo grande y roba
   ancho al menú; se mantiene visible en el footer. */
.topbar .brand-text span { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.nav-links > a, .dropdown > button {
  padding: .6rem .8rem;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: .96rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.nav-links > a:hover, .dropdown > button:hover { color: var(--brand); background: var(--brand-soft-2); }
.nav-links > a.active { color: var(--brand); }
.nav-links > a.active::after {
  content: "";
  display: block;
}
.nav-cta { margin-left: .5rem; display: flex; align-items: center; gap: .5rem; }

/* Dropdown Herramientas */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 120;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .65rem .7rem;
  border-radius: 10px;
  color: var(--ink);
}
.dropdown-menu a:hover { background: var(--bg-2); }
.dropdown-menu .dm-ic {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--brand-soft); color: var(--brand);
}
.dropdown-menu strong { display: block; font-size: .92rem; }
.dropdown-menu span { display: block; font-size: .78rem; color: var(--ink-3); }
.dropdown > button .caret { transition: transform .2s ease; font-size: .7rem; }
.dropdown:hover > button .caret, .dropdown:focus-within > button .caret { transform: rotate(180deg); }

/* Botón hamburguesa */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================ Secciones ============================ */
section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.bg-soft { background: var(--bg-2); }
.bg-dark { background: var(--dark); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.06rem; margin: .4rem 0 0; }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(31, 116, 198, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
  padding: 4.2rem 0 4.6rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--brand); }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 56ch; margin: 0 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--ink-3); font-size: .9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Widget de rastreo (homologado al buscador de Paquetexpress) */
.track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
}
.track-card h3 { font-size: 1.15rem; font-weight: 800; }
.track-card .track-sub { color: var(--ink-3); font-size: .9rem; margin: 0 0 1rem; }
.track-form { display: flex; gap: .6rem; }
.track-input {
  flex: 1;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-2);
}
.track-input:focus { outline: none; border-color: var(--brand); background: #fff; }
.track-hint { margin: .7rem 0 0; font-size: .8rem; color: var(--ink-3); }

/* Resultado de rastreo demo */
.track-result { margin-top: 1.2rem; display: none; }
.track-result.show { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform:none;} }
.track-guide {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem .9rem; background: var(--bg-2); border-radius: 10px; margin-bottom: 1rem;
  font-size: .9rem;
}
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.1rem 1.7rem; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 8px; top: 15px; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline li.done::before { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.timeline strong { display: block; font-size: .92rem; }
.timeline span { font-size: .8rem; color: var(--ink-3); }

/* Herramienta de cobertura por código postal */
.cp-tool { max-width: 720px; margin: 0 auto; }
.cp-tool .track-form { margin-bottom: 0; }
.cp-result {
  display: none;
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.cp-result.show { display: block; animation: fade .3s ease; }
.cp-result.notfound { border-color: var(--warn); }
.cp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.cp-head strong { font-size: 1.5rem; letter-spacing: -0.02em; }
.cp-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); font-weight: 700; margin-bottom: .15rem; }
.cp-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 800;
  background: var(--ok-soft); color: var(--ok);
}
.cp-badge.out { background: var(--warn-soft); color: var(--warn); }
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.cp-grid strong { font-size: 1rem; }
.cp-cols .cp-label { margin-bottom: .5rem; }
.cp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-list li {
  font-size: .85rem; color: var(--ink-2);
  background: var(--brand-soft); border: 1px solid rgba(31,116,198,.16);
  padding: .35rem .7rem; border-radius: 999px;
}
@media (max-width: 620px) { .cp-grid { grid-template-columns: 1fr; } }

/* ============================ Franja de estadísticas / cobertura ============================ */
.stats-band { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item strong { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: #fff; }
.stat-item .stat-red { color: var(--brand-cyan); }
.stat-item span { color: var(--dark-muted); font-size: .95rem; }

/* ============================ Tarjetas ============================ */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dfe3ec; }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.12rem; font-weight: 700; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* Tarjeta de servicio destacado (estilo Paquetexpress) */
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform .18s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}
.service-card .ic {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.25rem; font-weight: 800; }
.service-card p { color: var(--ink-2); margin: 0 0 1rem; }

/* Item de característica con barra lateral */
.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
}
.feature-item h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.feature-item h3 .fic { color: var(--brand); }
.feature-item p { margin: .3rem 0 0; color: var(--ink-2); font-size: .94rem; }

/* Tarjeta problema → solución (persuasiva por rol) */
.solution-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .18s ease, box-shadow .2s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.solution-card .sc-head { display: flex; align-items: center; gap: .9rem; }
.solution-card .ic {
  width: 52px; height: 52px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--brand-soft); color: var(--brand);
}
.solution-card h3 { font-size: 1.18rem; font-weight: 800; margin: 0; }
.problem {
  background: var(--warn-soft);
  border-left: 3px solid var(--warn);
  padding: .7rem .9rem;
  border-radius: 10px;
  font-size: .92rem;
  color: #7a4a08;
}
.problem strong { color: #92400e; }
.solution-card > p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.solution-card .check-list li { font-size: .92rem; }
.role-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .4rem; }
.role-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  border: 1px solid rgba(31, 116, 198, 0.16);
  font-size: .78rem; font-weight: 700;
}

/* Distintivo de ubicación (in house / in plant) */
.sc-where {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid rgba(31, 116, 198, 0.18);
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.solution-card.contrast-plant .sc-where { background: #eef6ec; color: #2f7d32; border-color: rgba(47, 125, 50, 0.18); }
.solution-card.contrast-plant .ic { background: #eef6ec; color: #2f7d32; }

/* Tabla comparativa */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  margin-top: 1.6rem;
}
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td {
  padding: .9rem 1.1rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: .92rem;
}
.compare thead th { background: var(--bg-2); font-weight: 800; font-size: .95rem; }
.compare thead th .em { display: inline-flex; align-items: center; gap: .4rem; }
.compare th[scope="row"] { font-weight: 700; color: var(--ink); white-space: nowrap; width: 190px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td strong { color: var(--brand-dark); }
.compare .plant strong { color: #2f7d32; }

/* Pasos / proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
}
.step .num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; color: #fff;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.08rem; font-weight: 700; }
.step p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* Lista con check */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--ink-2); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .8rem;
  display: grid; place-items: center;
}

/* Bloque dividido imagen/contenido */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-visual {
  background: linear-gradient(160deg, #fff, var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

/* ============================ Precios ============================ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 20px 44px rgba(31, 116, 198, 0.18);
}
.price-badge {
  display: inline-flex; align-self: flex-start;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  background: var(--brand-soft); color: var(--brand); margin-bottom: .8rem;
}
.price-card.featured .price-badge { background: var(--brand); color: #fff; }
.price-card > h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink-2); }
.price { font-size: clamp(1.9rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; margin: .4rem 0; }
.price small { font-size: .9rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: .8rem 0 1.3rem; display: grid; gap: .55rem; }
.price-card li { position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--ink-2); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.price-card .btn, .price-card .btn-outline { margin-top: auto; }
.price-card li.li-extra { color: var(--ink-3); }
.price-card li.li-extra::before { content: "+"; color: var(--warn); font-weight: 800; }
.ast { color: var(--warn); font-weight: 800; }
.price-legend {
  max-width: 760px;
  margin: 1.6rem auto 0;
  padding: .9rem 1.1rem;
  background: var(--warn-soft);
  border-left: 3px solid var(--warn);
  border-radius: 10px;
  font-size: .88rem;
  color: #7a4a08;
  text-align: left;
}
.price-legend .ast { margin-right: .2rem; }

.addon-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.7rem 1.9rem;
  box-shadow: var(--shadow);
}
.addon-inner { display: flex; gap: 1.4rem; align-items: flex-start; }
.addon-ic {
  width: 60px; height: 60px; border-radius: 15px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.8rem;
  background: var(--brand-soft); color: var(--brand);
}
.addon-box h3 { font-size: 1.15rem; font-weight: 700; }
.addon-box p { color: var(--ink-2); font-size: .95rem; }

/* ============================ FAQ ============================ */
.faq { display: grid; gap: .8rem; max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 1.2rem;
  overflow: hidden;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; padding: 1.1rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-2); }

/* ============================ CTA ============================ */
.cta-band {
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  text-align: center;
  box-shadow: 0 26px 60px rgba(31, 116, 198, 0.30);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 640px; margin: .6rem auto 1.5rem; }
.cta-band .btn { background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-band .btn:hover { background: #f4f4f4; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ============================ Footer ============================ */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 3.4rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin: 1rem 0; font-size: .92rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--dark-muted); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #fff;
}
.footer-social a:hover { background: var(--brand); }
.footer-social a.fb:hover { background: #1877F2; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--dark-line);
  margin-top: 2.4rem; padding-top: 1.4rem; font-size: .86rem;
}
.footer-bottom a { color: var(--dark-muted); }
.footer-bottom a:hover { color: #fff; }

/* ============================ Page hero (interior) ============================ */
.page-hero {
  background:
    radial-gradient(900px 360px at 90% -20%, rgba(31,116,198,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-2));
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: .6rem; }
.breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.page-hero p { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; margin: .5rem 0 0; }

/* ============================ Utilidades ============================ */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.wa-ic { flex: 0 0 auto; }

/* ============================ Responsivo ============================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .grid-4, .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* Nav compacto en anchos intermedios para que quepan todos los enlaces */
@media (max-width: 1300px) {
  .nav-links { gap: .1rem; }
  .nav-links > a, .dropdown > button { padding: .55rem .5rem; font-size: .9rem; }
  .nav-cta { margin-left: .3rem; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #fff;
    padding: 5rem 1.2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform .28s ease;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a, .dropdown > button { padding: .9rem 1rem; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav-cta { margin: .5rem 0 0; flex-direction: column; align-items: stretch; }
  .nav-cta .btn, .nav-cta .btn-outline { width: 100%; }
  .dropdown { width: 100%; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: .2rem 0 .4rem .6rem; display: none; min-width: auto;
  }
  .dropdown-menu.open { display: block; }
  .nav-toggle { display: flex; }
  .utility-left .hide-sm, .utility-right .hide-sm { display: none; }
}

@media (max-width: 620px) {
  section { padding: 3rem 0; }
  .grid-2, .grid-3, .grid-4, .steps, .stats-grid, .pricing-grid, .footer-top { grid-template-columns: 1fr; }
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; }
  .cta-band { padding: 2rem 1.4rem; }
  .addon-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
