/* ============================================================
   Soluciones Ava — Design System CSS
   Convierte fielmente ava-ui.jsx → clases CSS
   ============================================================ */

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}

/* ── Tokens ── */
:root {
  --blue: #003c86;
  --blue-dark: #002b86;
  --blue-soft: #eaf0fb;

  --yellow: #ffef00;
  --yellow-deep: #e5d400;

  --ink: #0f1623;
  --text: #1a1f2a;

  --muted: #5c5a5e;
  --muted-soft: #9c9ba0;

  --line: #e7eaef;

  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-tone: #eceef2;

  --wa-green: #14803f;

  --ava-header-h: 52px;
  --ava-sticky-h: 70px;
}

/* ── Page shell ── */
.ava-page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-soft);
  min-height: 100dvh;
  position: relative;
  overflow-x: clip;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}

/* ── Top bar ── */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--ava-header-h);
  padding: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.top-bar.is-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
  border-bottom-color: transparent;
}
.top-bar--transparent {
  background: transparent;
  border-bottom: none;
  position: absolute;
  width: 100%;
}
.top-bar--dark {
  background: var(--ink);
}

/* Inner wrapper: maneja padding y ancho del contenido */
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
}

/* Botones de acción (Llamar + WhatsApp): ocultos en mobile */
.top-bar__actions {
  display: none;
}

.top-bar__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.15s ease;
}
.top-bar__action-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.top-bar__action-btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}
.top-bar__action-btn--call {
  background: #003c86;
  box-shadow: 0 2px 10px rgba(0, 60, 134, 0.3);
}
.top-bar__action-btn--call:hover {
  box-shadow: 0 6px 18px rgba(0, 60, 134, 0.45);
}
.top-bar__action-btn--wa {
  background: var(--wa-green);
  box-shadow: 0 2px 10px rgba(31, 170, 86, 0.3);
}
.top-bar__action-btn--wa:hover {
  box-shadow: 0 6px 18px rgba(31, 170, 86, 0.45);
}
.top-bar__action-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.top-bar__call-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.top-bar__call-link:hover {
  text-decoration: underline;
}
.top-bar__call-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.top-bar__title--dark {
  color: #fff;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  transition: background 0.15s;
}
.icon-btn:hover {
  background: var(--bg-tone);
}
#js-menu-open {
  background: none;
  width: auto;
  height: auto;
}
#js-menu-open:hover {
  background: none;
}
.icon-btn--transparent {
  background: rgba(255, 255, 255, 0.9);
}

/* Nav horizontal (oculta en mobile, visible desde tablet) */
.top-bar__nav {
  display: none;
}

/* Logo */
.ava-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.ava-logo--white {
  color: #fff;
}
.ava-logo__text span {
  opacity: 0.45;
  font-weight: 500;
}
.ava-logo__img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-overlay__head .ava-logo__img {
  height: 48px;
}

/* ── Mobile nav overlay ── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: 85%;
  max-width: 340px;
  z-index: 9001;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay.is-open {
  transform: translateX(0);
}
#js-menu-close {
  background: none;
  color: var(--yellow);
}
#js-menu-close:hover {
  background: none;
}
.nav-overlay__head {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-overlay__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-overlay__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.15s;
}
.nav-overlay__item a:hover {
  background: rgba(255, 255, 255, 0.04);
}
.nav-overlay__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  transition: background 0.15s;
}
.nav-overlay__toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}
.nav-overlay__toggle .toggle-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}
.nav-overlay__toggle[aria-expanded="true"] .toggle-arrow {
  transform: rotate(180deg);
}
.nav-overlay__sub {
  background: rgba(0, 0, 0, 0.22);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-overlay__sub.is-open {
  max-height: 1400px;
}
.nav-sub__group {
  padding: 16px 20px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-sub__group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.nav-sub__group-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}
.nav-overlay__sub li a {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* anula el space-between del nivel 1 (empujaba el nombre a la derecha) */
  gap: 12px;
  padding: 13px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.15s, background 0.15s;
}
.nav-overlay__sub li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.nav-sub__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 60, 134, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  overflow: hidden;
}
.nav-sub__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-overlay__footer {
  flex-shrink: 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 10px;
}
.nav-overlay__footer .top-bar__action-btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
}
.nav-overlay__footer .top-bar__action-btn--call {
  background: #0a4ba0;
}

/* ── Mega menu (desktop only, active via JS at 768px+) ── */
.mega-wrap {
  position: static;
}
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.mega-arrow {
  color: var(--muted);
  transition: transform 0.2s ease;
}
.mega-trigger[aria-expanded="true"] .mega-arrow {
  transform: rotate(180deg);
}
.mega-panel {
  display: none;
}

/* ── Sections ── */
.section {
  padding: 56px 20px;
}
@media (max-width: 767px) {
  .section { padding: 28px 20px; }
}
.section--sm {
  padding: 24px 20px;
}
.section--soft {
  background: var(--bg-soft);
}
.section--ink {
  background: var(--ink);
}
.section--hero {
  padding: 0 0 28px;
}

/* ── Section head: centrado en mobile, izquierda en tablet+ ── */
.section-head {
  text-align: center;
}
.section-head + p,
.section-head + .ava-p,
.section-head + .nosotros-feat__subdesc {
  text-align: center;
}
@media (min-width: 768px) {
  .section-head,
  .section-head + p,
  .section-head + .ava-p,
  .section-head + .nosotros-feat__subdesc {
    text-align: left;
  }
  .section-head + .svc-pricing-desc { text-align: center; }
}

/* ── Section label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
}
.section-label::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-label--white {
  color: rgba(255, 255, 255, 0.7);
}
.section-label--white::before {
  background: rgba(255, 255, 255, 0.7);
}

/* ── Typography ── */
.ava-h1 {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.1px;
  color: var(--ink);
  text-wrap: balance;
}
.ava-h2 {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--ink);
  text-wrap: balance;
}
.ava-h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.ava-p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.ava-p--white {
  color: rgba(255, 255, 255, 0.78);
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s,
    opacity 0.15s;
  border: none;
}
.btn:active {
  transform: scale(0.97);
}

/* Sizes */
.btn--sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 11px;
}
.btn--md {
  height: 48px;
  padding: 0 20px;
  font-size: 15px;
  border-radius: 14px;
}
.btn--lg {
  height: 54px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 16px;
}
.btn--full {
  width: 100%;
}

/* Kinds */
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.btn--ghost {
  background: var(--bg-soft);
  color: var(--text);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--wa {
  background: var(--wa-green);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
}
.btn--yellow:hover {
  background: var(--yellow-deep);
}

/* ── Chips ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(0, 60, 134, 0.14);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.chip.is-active,
.chip--active {
  background: linear-gradient(180deg, #003c86 0%, #002b86 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 43, 134, 0.22);
}
.chip--tag {
  cursor: default;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.badge--blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.badge--yellow {
  background: rgba(255, 239, 0, 0.2);
  color: #6b6200;
}
.badge--green {
  background: #e2f4e9;
  color: #1b7a40;
}
.badge--gray {
  background: var(--bg-tone);
  color: var(--muted);
}

/* ── Card ── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.card--soft {
  background: var(--bg-soft);
  border: none;
}
.card--dark {
  background: var(--ink);
  border: none;
  color: #fff;
}
.card--blue-soft {
  background: var(--blue-soft);
  border: none;
}
.card--overflow {
  overflow: hidden;
  padding: 0;
}

/* ── Image slots ── */
.img-slot {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-slot__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}
.img-slot--blue {
  background: repeating-linear-gradient(
    135deg,
    #eaf0fb 0 12px,
    rgba(0, 60, 134, 0.08) 12px 13px
  );
}
.img-slot--soft {
  background: repeating-linear-gradient(
    135deg,
    #f6f7f9 0 12px,
    rgba(15, 22, 35, 0.06) 12px 13px
  );
}
.img-slot--yellow {
  background: repeating-linear-gradient(
    135deg,
    #fbf6bb 0 12px,
    rgba(122, 110, 0, 0.12) 12px 13px
  );
}

/* ── Before / After ── */
.before-after {
  width: 100%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-tone);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  border: 1px solid var(--line);
  cursor: col-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.before-after__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.before-after__tag {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 3;
}
.before-after__tag--before {
  left: 12px;
  background: rgba(15, 22, 35, 0.65);
}
.before-after__tag--after {
  right: 12px;
  background: rgba(0, 60, 134, 0.75);
}
.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.90);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: left;
  z-index: 4;
  pointer-events: none;
}
.before-after__handle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.20),
    0 0 0 3px rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: col-resize;
  pointer-events: auto;
  border: none;
  outline: none;
  transition:
    box-shadow 0.15s,
    transform 0.10s;
}
.before-after__handle:focus-visible {
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.20),
    0 0 0 3px #fff,
    0 0 0 5px var(--blue);
}

/* ── Before/After tabs ── */
.ba-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ba-tabs::-webkit-scrollbar {
  display: none;
}
.ba-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ba-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
.ba-tab.is-active {
  color: #0F1623;
  background: #FFEF00;
  border-color: #FFEF00;
}
.ba-panel {
  display: none;
}
.ba-panel.is-active {
  display: block;
}
.ba-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* ── Sticky CTA ── */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-cta__label {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}
.sticky-cta__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* ── Footer ── */
.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 48px 20px 0;
  position: relative;
  overflow: hidden;
}
.site-footer__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.site-footer__brand { max-width: 320px; }
.site-footer__logo-link { display: inline-block; }
.site-footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
}
.site-footer__desc {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.site-footer__social-link {
  width: 56px;
  height: 56px;
  border-radius: 27%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, border-radius 0.25s ease, transform 0.25s ease;
}
.site-footer__social-link:hover {
  border-color: var(--yellow);
  background: rgba(255, 239, 0, 0.14);
  border-radius: 15%;
  transform: rotate(4deg) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__social-link { transition: border-color 0.2s, background 0.2s; }
  .site-footer__social-link:hover { transform: none; }
}
.site-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
/* Footer: Servicios — grid con íconos en móvil, lista con scroll en desktop */
.footer-services-scroll {
  position: relative;
}
.footer-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-services a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: opacity 0.15s;
}
.footer-services a:hover { opacity: 0.8; }
.footer-services__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 20, 80, 0.25);
}
.footer-services__name {
  font-size: 10.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}
.footer-services-fade { display: none; }

/* Footer blog */
.footer-blog {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-blog__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.footer-blog__item:hover { opacity: 0.82; }
.footer-blog__img {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.footer-blog__img--placeholder {
  background: rgba(255, 255, 255, 0.14);
}
.footer-blog__meta { flex: 1; min-width: 0; }
.footer-blog__title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 5px;
}
.footer-blog__date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-blog__date::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
  flex-shrink: 0;
}

/* Footer contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-contact__icon {
  width: 56px;
  height: 56px;
  border-radius: 27%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact__label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}
.footer-contact__val {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}
.footer-contact__val--link { transition: color 0.15s; }
.footer-contact__val--link:hover { color: var(--yellow); }

/* Bottom bar */
.site-footer__bottom {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__credit {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}
.site-footer__credit:hover { text-decoration: underline; }

/* ── Trust strip: marquee ── */
.trust-strip {
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.trust-track {
  display: flex;
  width: max-content;
  padding: 14px 0;
  animation: trust-marquee 20s linear infinite;
  will-change: transform;
}
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--text);
  font-weight: 500;
  padding: 0 20px;
  white-space: nowrap;
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding: 0 0 28px;
}
.hero__inner {
  padding: 20px 20px 0;
}
.hero__title {
  margin: 14px 0 0;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  font-weight: 700;
  color: #fff;
}
.hero__accent {
  color: var(--yellow);
}
.hero__desc {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 320px;
}
.hero__actions {
  margin-top: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__stats {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__stat {
  flex: 1;
}
.hero__stat-num {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.hero__stat-lbl {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}
.hero__stat--link {
  color: inherit;
  text-decoration: none;
}
.hero__stat--link .hero__stat-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__stat--link .hero__stat-lbl {
  color: var(--yellow, #FFEF00);
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero marquee — oculto por defecto, solo desktop */
.hero-marquee {
  display: none;
}

/* ── Hero zone: viewport-controlled first screen ── */
.hero-zone {
  display: flex;
  flex-direction: column;
  /* Fallback sin svh */
  height: calc(100vh - var(--ava-header-h) - var(--ava-sticky-h));
  /* svh = smallest viewport height, con chrome de browser visible */
  height: calc(100svh - var(--ava-header-h) - var(--ava-sticky-h) - env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

/* Hero: ocupa todo el espacio entre video y trust strip */
.hero-zone > .hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

/* Video: altura proporcional al viewport, nunca domina */
.hero-zone .hero__video-wrap {
  flex-shrink: 0;
}

/* Contenido: flex:1 — crece en teléfonos altos, se comprime en pequeños */
.hero-zone .hero__inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.8svh, 14px);
  padding: clamp(10px, 2svh, 20px) 20px clamp(6px, 1.2svh, 12px);
}

/* Márgenes individuales eliminados — gap del flex-parent los reemplaza */
.hero-zone .hero__title,
.hero-zone .hero__desc,
.hero-zone .hero__actions {
  margin-top: 0;
}

/* H1: escala suavemente entre teléfonos pequeños y grandes */
.hero-zone .hero__title {
  font-size: clamp(26px, 5.5svh, 36px);
  line-height: 1.04;
  letter-spacing: -1px;
}

/* CTA button: proporcionalmente más alto en teléfonos grandes */
.hero-zone .btn--lg {
  height: clamp(44px, 7svh, 54px);
  font-size: 15px;
  border-radius: 14px;
}

/* Stats: ancladas al fondo del bloque azul, siempre visibles */
.hero-zone .hero__stats {
  flex-shrink: 0;
  margin-top: 0;
  padding: clamp(10px, 1.8svh, 16px) 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Trust strip: anclada al fondo de la hero-zone, siempre visible */
.hero-zone > .trust-strip {
  flex-shrink: 0;
}
.hero-zone .trust-track {
  padding: clamp(8px, 1.5svh, 12px) 0;
}
.hero-zone .trust-item {
  font-size: 11.5px;
}

/* Solo en pantallas muy pequeñas (≤ 580px, ej: iPhone SE 1st gen):
   ocultar stats para que el CTA siempre sea visible */
@media (max-height: 580px) {
  .hero-zone .hero__stats {
    display: none;
  }
}

/* Teléfonos bajos (≤ 700px de alto, ej: iPhone SE): sin eyebrow para que
   el título no choque con el video */
@media (max-width: 767px) and (max-height: 700px) {
  .hero-zone .hero__eyebrow {
    display: none;
  }
}

/* ── Hero video block ── */
.hero__video-wrap {
  width: 100%;
  height: clamp(130px, 25svh, 200px);
  overflow: hidden;
  position: relative;
  border-radius: 0 0 28px 28px;
  flex-shrink: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__video-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(24px, 4svh, 40px);
  background: linear-gradient(to bottom, transparent, var(--blue));
  pointer-events: none;
}

/* ── Services grid (home) ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.service-card {
  padding: 0 0 20px;
  background: linear-gradient(180deg, #003c86 0%, #002b86 100%);
  border: none;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  box-shadow: 0 6px 24px rgba(0, 20, 80, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 20, 80, 0.28);
}
.service-card__img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}
.service-card__icon {
  position: absolute;
  top: 260px;
  left: 22%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.service-card__name {
  margin-top: 36px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.service-card__price {
  margin-top: 4px;
  padding: 0 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}
.service-card__checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0 20px;
}
.service-card__checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.service-card__desc {
  margin: 10px 0 0;
  padding: 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}
.service-card__divider {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 16px 20px;
}
.service-card__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yellow);
}

/* ── Services slider (home) ── */
.services-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.services-slider__cta {
  margin-top: 20px;
  text-align: center;
}
.services-slider__viewport {
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}
.js-svc-slider .services-slider__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.services-slider__stage {
  position: relative;
}
.reviews-arrow.services-slider__arrow {
  transform: translateY(-50%);
}
/* Ancho de tarjeta desde CSS (mismo cálculo que ava.js): WP Rocket retrasa
   el JS hasta la primera interacción y sin esto las tarjetas se ven apretadas */
.js-svc-slider .service-card {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .js-svc-slider .service-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (min-width: 1200px) {
  .js-svc-slider .service-card { flex-basis: calc((100% - 60px) / 4); }
}
.svc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 60, 134, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
  flex-shrink: 0;
}
.svc-dot.is-active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}
.svc-arrow { color: var(--yellow); }

/* ── Service list (index) ── */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
}
.service-row__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.service-row__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-row__body {
  flex: 1;
  min-width: 0;
}
.service-row__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.service-row__desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.service-row__price {
  text-align: right;
  flex-shrink: 0;
}
.service-row__price-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}
.service-row__price-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 2px;
}

/* ── Pricing cards ── */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.pricing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}
.pricing-row__name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}
.pricing-row__popular {
  font-size: 11px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.pricing-row__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}
.pricing-row--featured {
  background: var(--ink);
  border-color: transparent;
}
.pricing-row--featured .pricing-row__name {
  color: #fff;
}
.pricing-row--featured .pricing-row__value {
  color: var(--yellow);
}

/* ── Benefits grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.benefit-tile {
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-soft);
}
.benefit-tile__name {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.benefit-tile__desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Timeline (Process section) ── */
.timeline {
  list-style: none;
  padding: 0;
}
.timeline__item {
  display: flex;
  gap: 20px;
}
.timeline__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 22px;
}
.timeline__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.timeline__segment {
  flex: 1;
  width: 2px;
  min-height: 32px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  margin-top: 3px;
}
.timeline__segment::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--blue);
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.timeline__item:last-child .timeline__segment {
  display: none;
}
.timeline__dot {
  opacity: 0;
  transform: scale(0);
}
.timeline__item.is-active .timeline__dot {
  opacity: 1;
  transform: scale(1);
  background: var(--yellow);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 60, 134, 0.10);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.timeline__item.is-active .timeline__segment::after {
  height: 100%;
}
.timeline__content {
  padding-bottom: 40px;
  flex: 1;
}
.timeline__item:last-child .timeline__content {
  padding-bottom: 0;
}
.timeline__num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.5s ease 0.05s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}
.timeline__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.timeline__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.55s ease 0.25s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.timeline__item.is-active .timeline__num,
.timeline__item.is-active .timeline__title,
.timeline__item.is-active .timeline__desc {
  opacity: 1;
  transform: translateX(0);
}

/* ── How-to cards (Process section) ── */
.howto-grid {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 52px;
}
.howto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.howto-card__icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--blue-dark);
  box-shadow: 0 4px 18px rgba(0, 60, 134, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.howto-card__num {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0F1623;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.howto-card__title {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.howto-card__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 8px auto 0;
}
.howto-card__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 240px;
}

/* ── Process steps (legacy) ── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: linear-gradient(180deg, #003c86 0%, #002b86 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 43, 134, 0.10);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 43, 134, 0.20);
  border-color: rgba(255, 255, 255, 0.14);
}
.process-step:active {
  transform: scale(0.99);
  box-shadow: 0 2px 10px rgba(0, 43, 134, 0.12);
}
.process-step__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffef00;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 239, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-step__body {
  flex: 1;
}
.process-step__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.process-step__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 3px;
  line-height: 1.5;
}

/* Process (numbered cards) */
.process-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.process-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}
.process-card__num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.process-card__title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.process-card__time {
  font-size: 12px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

/* ── Reviews grid (páginas de servicio) ── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ── Reviews slider ── */
.reviews-slider {
  position: relative;
  touch-action: pan-y;
}
.reviews-viewport {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.review-card {
  flex-shrink: 0;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.review-card__meta {
  flex: 1;
  min-width: 0;
}
.review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.review-card__place {
  font-size: 12px;
  color: #70757a;
  margin-top: 1px;
}
.review-card__g {
  flex-shrink: 0;
  margin-left: auto;
}
.review-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}
.review-card__date {
  font-size: 12px;
  color: #70757a;
  margin-left: 6px;
}
.review-card__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: #3c4043;
}
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 20px));
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 60, 134, 0.3);
  transition: background 0.2s, opacity 0.2s;
  z-index: 2;
  padding: 0;
}
.reviews-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.reviews-arrow--prev { left: -14px; }
.reviews-arrow--next { right: -14px; }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 60, 134, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot.is-active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ── FAQ accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: linear-gradient(180deg, #003c86 0%, #002b86 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 43, 134, 0.10);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 43, 134, 0.20);
  border-color: rgba(255, 255, 255, 0.14);
}
.faq-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.faq-item__question {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}
.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(255, 239, 0, 0.12);
  color: #ffef00;
  transition:
    background 0.2s;
}
.faq-item.is-open {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.faq-item.is-open:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--line);
}
.faq-item.is-open .faq-item__question {
  color: var(--ink);
}
.faq-item.is-open .faq-item__icon {
  background: var(--blue);
  color: #ffef00;
}
.faq-item__icon::after {
  content: "+";
}
.faq-item.is-open .faq-item__icon::after {
  content: "−";
}
.faq-item__answer {
  display: none;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.faq-item.is-open .faq-item__answer {
  display: block;
  color: var(--muted);
  border-top-color: var(--line);
}

/* ── Grouped FAQ (page-faq) ── */
.faq-group {
  margin-bottom: 24px;
}
.faq-group__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.faq-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-card .faq-item {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.faq-card .faq-item:last-child {
  border-bottom: none;
}
.faq-card .faq-item.is-open {
  background: var(--bg-soft);
}

/* ── Coverage map ── */
.coverage-map {
  aspect-ratio: 4/3;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-soft), #fff);
  border: 1px solid var(--line);
}
.coverage-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.coverage-pin {
  position: absolute;
  transform: translate(-50%, -100%);
}
.coverage-pin__label {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
.coverage-pin__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 4px auto 0;
}
.coverage-pin--primary .coverage-pin__label {
  background: var(--blue);
  color: #fff;
}
.coverage-pin--primary .coverage-pin__dot {
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 239, 0, 0.3);
}
.coverage-pin--secondary .coverage-pin__label {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.coverage-pin--secondary .coverage-pin__dot {
  background: var(--muted);
}

.coverage-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
.coverage-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.coverage-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 16px;
}
.coverage-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.coverage-row:last-child {
  border-bottom: none;
}
.coverage-row__body {
  flex: 1;
}
.coverage-row__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.coverage-row__time {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.coverage-row__arrow {
  color: var(--muted);
  font-size: 18px;
}

/* ── B2B ── */
.b2b-hero {
  background: var(--ink);
  color: #fff;
  padding: 20px 20px 36px;
}
.b2b-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.b2b-stat__num {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.b2b-stat__label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.sectors-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.plan-list {
  display: flex;
  flex-direction: column;
}
.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.plan-row:last-child {
  border-bottom: none;
}

/* ── Servicio page ── */
.svc-hero {
  background: var(--bg-soft);
  padding: 20px 20px 24px;
}
.svc-hero__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.svc-thumb {
  padding: 0 20px;
  margin-top: -16px;
}
.svc-thumb__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.svc-thumb--placeholder .img-slot {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}
.svc-content {
  padding: 28px 20px;
}
.svc-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* ── Blog ── */

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--blue);
  z-index: 1000;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Hero featured post */
.post-hero {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--blue);
  text-decoration: none;
}
.post-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-hero__img--fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #003c86 0%, #002b86 100%);
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.76) 0%, rgba(0,0,0,0.20) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 8px;
}
.post-hero__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.3px;
}
.post-hero__meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
}

/* Post card grid (archive + related) */
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.post-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.post-card__img--fallback {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--bg-tone) 100%);
  flex-shrink: 0;
}
.post-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.post-card__title {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  flex: 1;
}
.post-card__mins {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.post-card__tag {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-tone);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

/* Single post — header */
.post-header {
  padding: 24px 20px 0;
}
.post-header__cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.post-meta__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-soft);
  flex-shrink: 0;
}

/* Single post — featured image */
.post-thumb {
  padding: 16px 20px 0;
}
.post-thumb__img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Single post — body typography */
.post-content {
  padding: 24px 20px;
}
.post-content h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 28px 0 12px;
  padding-left: 11px;
  border-left: 3px solid var(--blue);
  line-height: 1.25;
}
.post-content h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 8px;
}
.post-content p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
  margin-bottom: 18px;
}
.post-content ul,
.post-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content ul li,
.post-content ol li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 7px;
}
.post-content blockquote {
  border-left: 3px solid var(--yellow);
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
}
.post-content blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  font-size: 14.5px;
}
.post-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content strong { color: var(--ink); }
.post-content img {
  border-radius: 14px;
  margin: 22px 0;
  width: 100%;
  display: block;
}

/* Single post — author card */
.post-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 16px;
}
.post-author__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}
.post-author__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.post-author__role {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Single post — hero background ── */
.post-hero-bg {
  position: relative;
  min-height: 340px;
  background-color: var(--blue);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}
.post-hero-bg__overlay {
  flex: 1;
  min-height: 340px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.post-hero-bg__inner {
  padding: 32px 20px 28px;
}
.post-hero-bg .ava-h1 {
  color: #fff;
  text-align: left;
}
.post-hero-bg .section-head__desc {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
  text-align: left;
}
.post-hero-bg .section-label--spark {
  text-align: left;
  align-items: center;
  justify-content: flex-start;
}
.post-hero-bg__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-top: 10px;
}
.breadcrumb--white,
.breadcrumb--white a,
.breadcrumb--white span {
  color: rgba(255,255,255,0.78);
}
.breadcrumb--white a:hover { color: #fff; }
.post-meta--white { color: rgba(255,255,255,0.65); }
.post-meta--white .post-meta__sep { background: rgba(255,255,255,0.3); }

/* ── Single post — two-column layout ── */
.post-layout {
  padding: 0 20px 56px;
}
.post-layout .post-content {
  padding-left: 0;
  padding-right: 0;
}
.post-layout__aside {
  display: none;
}

/* ── Post tags ── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 24px;
}
.post-tags .chip {
  font-size: 12px;
  height: 28px;
  padding: 0 10px;
  cursor: default;
}

/* ── Related posts (mobile only block) ── */
.post-related-mobile {
  padding: 8px 0 32px;
}
.post-widget-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ── Compartir artículo ── */
.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 32px;
}
.post-share__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.post-share__icon {
  width: 56px;
  height: 56px;
  border-radius: 27%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  transition: border-radius 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.post-share__icon:hover {
  border-radius: 15%;
  transform: rotate(4deg) scale(1.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}
.post-share__icon--wa {
  background: var(--wa-green);
}
.post-share__icon--fb {
  background: #1877f2;
}
@media (prefers-reduced-motion: reduce) {
  .post-share__icon { transition: none; }
  .post-share__icon:hover { transform: none; }
}

/* ── Sidebar widgets — dark navy theme ── */
.post-layout__aside .blog-widget {
  background: #0f1623;
  border-color: transparent;
}
.post-layout__aside .blog-widget__title {
  color: rgba(255,255,255,0.45);
}
.post-layout__aside .blog-widget__item {
  border-color: rgba(255,255,255,0.08);
}
.post-layout__aside .blog-widget__post-title {
  color: #fff;
}
.post-layout__aside .blog-widget__link:hover .blog-widget__post-title {
  color: var(--yellow);
}
.post-layout__aside .blog-widget__post-date {
  color: rgba(255,255,255,0.48);
}
.post-layout__aside .blog-widget__cat-link {
  color: rgba(255,255,255,0.75);
}
.post-layout__aside .blog-widget__cat-link:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.post-layout__aside .blog-widget__cat-count {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}
.post-layout__aside .blog-widget__link.is-current .blog-widget__post-title {
  color: var(--yellow);
}

/* CTA widget — azul más vibrante para destacar del navy */
.post-layout__aside .blog-widget--cta {
  background: linear-gradient(150deg, #003c86 0%, #002060 100%);
}
.post-layout__aside .blog-widget--cta .blog-widget__title {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-widget--cta .blog-widget__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Stats bar (Nosotros) ── */
.nosotros-stats {
  background: var(--bg);
}
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 12px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--blue-dark);
}
.stat-item__num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1;
}
.stat-item__num sup {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  vertical-align: super;
}
.stat-item__lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 5px;
}
@media (min-width: 768px) {
  .stats-bar {
    display: flex;
    align-items: center;
  }
  .stat-item {
    flex: 1;
    padding: 0 28px;
  }
  .stat-item + .stat-item {
    border-left: 2px dashed var(--line);
  }
  .stat-item__num { font-size: 32px; }
  .stat-item__icon { width: 60px; height: 60px; }
}
@media (min-width: 1200px) {
  .stat-item__num { font-size: 38px; letter-spacing: -1.5px; }
  .stat-item__num sup { font-size: 18px; }
  .stat-item__icon { width: 66px; height: 66px; }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--line);
}
.team-card__photo {
  aspect-ratio: 1/1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
}
.team-card__name {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  color: var(--ink);
}
.team-card__role {
  font-size: 12px;
  color: var(--muted);
}

/* ── Value cards ── */
.value-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.value-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 22px 20px 20px;
  border-bottom: 3px solid var(--line);
}
.value-card--featured {
  border-bottom-color: var(--yellow);
}
.value-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.value-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 20px;
}
.value-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.value-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .value-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .value-card { padding: 26px 24px 22px; }
}

/* ── Value rows (legacy) ── */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.value-row {
  display: flex;
  gap: 14px;
}
.value-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-row__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.value-row__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}

/* ── About split (Nosotros) ── */
.about-split {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.about-split__body {
  display: flex;
  flex-direction: column;
}

/* Collage */
.about-collage {
  position: relative;
  padding-bottom: 60px;
}
.about-collage__deco {
  position: absolute;
  left: -8px;
  top: 24px;
  width: 0;
  height: 0;
  border-top: 48px solid transparent;
  border-bottom: 48px solid transparent;
  border-right: 44px solid var(--blue);
  z-index: 0;
  opacity: 0.9;
}
.about-collage__main {
  display: block;
  width: 80%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}
.about-collage__secondary {
  display: block;
  width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  box-shadow: 0 8px 28px rgba(0,0,0,0.20);
  border: 4px solid #fff;
}
.about-split__badge {
  position: absolute;
  bottom: 68px;
  left: 0;
  background: var(--yellow);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  z-index: 3;
}
.about-split__badge-num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1;
}
.about-split__badge-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* Tipografía específica del split */
.about-split__body .ava-h2 {
  font-size: 30px;
  line-height: 1.1;
  color: var(--ink);
}
.about-split__body .ava-p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

/* Checklist 2 columnas */
.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  margin-top: 20px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.about-checklist li svg {
  flex-shrink: 0;
}

/* Callout */
.about-callout {
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  margin-top: 22px;
  background: var(--blue-soft);
  border-radius: 0 10px 10px 0;
}
.about-callout p {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* CTA link */
.about-split__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s;
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 2px;
}
.about-split__link:hover {
  gap: 10px;
}

/* ── Testimonial destacado (Nosotros) ── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testimonial-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 18px;
  position: relative;
  padding-left: 22px;
}
.testimonial-card__text::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-card__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 2px solid var(--line);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-card__role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

/* ── Gallery strip (Nosotros) ── */
.gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.gallery-strip::-webkit-scrollbar {
  display: none;
}
.gallery-strip__item {
  width: 150px;
  height: 190px;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.gallery-strip__cta {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 40px;
}

/* ── Contact ── */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.channel-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.channel-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.channel-card__icon--wa {
  background: rgba(31, 170, 86, 0.12);
}
.channel-card__icon--phone {
  background: var(--blue-soft);
}
.channel-card__label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.channel-card__value {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
  color: var(--ink);
}

.form-field {
  margin-bottom: 12px;
}
.form-field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.form-textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.schedule-row:last-child {
  border-bottom: none;
}
.schedule-row__time {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}

/* ── Contact page — hero ── */
.contact-hero {
  background: linear-gradient(150deg, #001845 0%, #002f70 50%, #003C86 100%);
  padding: 56px 24px 52px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,239,0,0.18) 0%, transparent 68%);
  pointer-events: none;
}
.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0,120,255,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-hero__title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-top: 12px;
}
.contact-hero__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Contact page — two-column layout ── */
.contact-layout {
  padding: 40px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Contact info (left col) ── */
.contact-info {
  text-align: center;
}
.contact-info__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.contact-info__heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.contact-info__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}
.contact-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}
.contact-items .contact-item:last-child {
  grid-column: 1 / -1;
}
.contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,60,134,0.11);
  border-color: rgba(0,60,134,0.22);
}
.contact-item svg {
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 5px;
}
.contact-item__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.contact-coverage {
  margin-top: 16px;
  padding: 20px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.contact-coverage__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-coverage__head svg {
  flex-shrink: 0;
}
.contact-coverage__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-zones {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-zone__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
}
.contact-zone__count {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  color: var(--muted);
}
.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-channel:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.contact-channel--wa { background: rgba(31,170,86,0.04); }
.contact-channel--wa:hover { box-shadow: 0 6px 22px rgba(31,170,86,0.12); }
.contact-channel--phone:hover { box-shadow: 0 6px 22px rgba(0,60,134,0.10); }
.contact-channel__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel--wa .contact-channel__icon { background: rgba(31,170,86,0.12); }
.contact-channel--phone .contact-channel__icon { background: var(--blue-soft); }
.contact-channel__body { flex: 1; }
.contact-channel__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-channel__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.contact-channel__hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}
.contact-channel__arrow {
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}
.contact-channel:hover .contact-channel__arrow {
  opacity: 1;
  transform: translateX(3px);
}
.contact-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
}


/* ── Contact form ── */
.contact-form-wrap .card {
  position: relative;
  overflow: hidden;
}
.contact-form-wrap .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #FFEF00 100%);
  border-radius: 16px 16px 0 0;
}
.contact-form-wrap h2 {
  text-align: center;
}
.contact-form-wrap > .card > p {
  text-align: center;
}
.form-row {
  display: flex;
  flex-direction: column;
}
.contact-form-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 16px;
}

/* ── Contact map ── */
.contact-map {
  padding-bottom: 56px;
}
.contact-map__embed {
  height: 320px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-map__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Final CTA block ── */
.cta-block {
  margin: 56px 20px;
  border-radius: 24px;
  padding: 40px 24px;
  background-image: url('https://red-kudu-295331.hostingersite.com/wp-content/uploads/2026/05/man-doing-household-tasks.avif');
  background-size: cover;
  background-position: center top;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 30, 90, 0.88) 0%, rgba(0, 43, 134, 0.82) 100%);
  border-radius: inherit;
}
.cta-block__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.1;
  position: relative;
}
.cta-block__desc {
  margin: 12px 0 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
}
.cta-block .btn {
  position: relative;
}

/* ── Scroll chips (category filters) ── */
.chip-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 20px -20px 0;
  padding: 0 20px;
  scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar {
  display: none;
}

/* ── Specialist page hero ── */
.specialist-hero {
  position: relative;
  padding: 20px 20px 0;
  background: var(--bg-soft);
}

/* ── Coverage info card ── */
.coverage-info-card {
  display: flex;
  gap: 12px;
  padding: 18px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb__current {
  color: var(--text);
  font-weight: 600;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}
.pagination .current {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Utilities ── */
.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: 4px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-14 {
  margin-top: 14px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-18 {
  margin-top: 18px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-22 {
  margin-top: 22px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 { margin-top: 40px; }
.mt-32 {
  margin-top: 32px;
}

.text-center {
  text-align: center;
}
.text-muted {
  color: var(--muted);
}
.text-blue {
  color: var(--blue);
}
.text-ink {
  color: var(--ink);
}
.text-yellow {
  color: var(--yellow);
}

.d-flex {
  display: flex;
}
.gap-8 {
  gap: 8px;
}
.gap-10 {
  gap: 10px;
}
.gap-12 {
  gap: 12px;
}

/* ── Responsive ── */
@media (min-width: 481px) {
  body {
    display: flex;
    justify-content: center;
    background: var(--bg-tone);
  }
  .ava-page {
    margin: 0 auto;
    box-shadow:
      0 8px 40px rgba(0, 0, 0, 0.12),
      0 0 0 1px rgba(0, 0, 0, 0.04);
    min-height: 100vh;
  }
  .top-bar {
    left: auto;
    right: auto;
    width: 480px;
  }
}

@media (min-width: 900px) {
  /* On true desktop, allow a slightly wider shell */
  .ava-page {
    max-width: 520px;
  }
  .top-bar {
    width: 520px;
  }
  #js-menu-open {
    display: none;
  }
}

/* ── Sticky contact bar ── */
@keyframes ava-ring {
  0%, 52%, 100% { transform: rotate(0deg); }
  55%           { transform: rotate(-15deg); }
  60%           { transform: rotate(15deg); }
  65%           { transform: rotate(-10deg); }
  70%           { transform: rotate(8deg); }
  75%           { transform: rotate(-5deg); }
  80%           { transform: rotate(0deg); }
}

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 100;
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.sticky-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.sticky-bar__btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}
.sticky-bar__btn--call {
  background: linear-gradient(180deg, #003c86 0%, #002b86 100%);
  box-shadow: 0 2px 12px rgba(0, 43, 134, 0.28);
}
.sticky-bar__btn--wa {
  background: var(--wa-green);
  box-shadow: 0 2px 12px rgba(31, 170, 86, 0.28);
}
.sticky-bar__icon {
  display: inline-flex;
  align-items: center;
  animation: ava-ring 5s ease-in-out infinite;
  transform-origin: center;
}

/* ── Blue gradient section ── */
.section--blue {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.section--blue .ava-h2 {
  color: #fff;
}
.section--blue .reviews-arrow {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.section--blue .reviews-arrow:not(:disabled):hover {
  background: rgba(0, 0, 0, 0.45);
}
.section--blue .reviews-dot {
  background: rgba(255, 255, 255, 0.30);
}
.section--blue .reviews-dot.is-active {
  background: var(--yellow);
}

/* ── Dark image section ── */
.section--dark-img {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.section--dark-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.72);
}
.section--dark-img > * {
  position: relative;
}
.section--dark-img .ava-h2 {
  color: #fff;
}
.section--dark-img .btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.h-accent-light {
  color: var(--yellow);
}

/* ── Bubble overlay ── */
.section--bubbles {
  position: relative;
  overflow: hidden;
}
.section--bubbles > * {
  position: relative;
  z-index: 1;
}
.ba-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ba-bubble {
  display: block;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
.ba-bubble::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 20%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.ba-bubble:nth-child(1)  { top: 20%; left: 20%; width: 60px; height: 60px; animation: ba-float  8s linear infinite; }
.ba-bubble:nth-child(2)  { top: 60%; left: 80%; width: 80px; height: 80px; animation: ba-float 10s linear infinite; }
.ba-bubble:nth-child(3)  { top: 40%; left: 40%; width: 30px; height: 30px; animation: ba-float  3s linear infinite; }
.ba-bubble:nth-child(4)  { top: 66%; left: 30%; width: 50px; height: 50px; animation: ba-float  7s linear infinite; }
.ba-bubble:nth-child(5)  { top: 90%; left: 10%; width: 40px; height: 40px; animation: ba-float  9s linear infinite; }
.ba-bubble:nth-child(6)  { top: 30%; left: 60%; width: 70px; height: 70px; animation: ba-float  5s linear infinite; }
.ba-bubble:nth-child(7)  { top: 70%; left: 20%; width: 35px; height: 35px; animation: ba-float  8s linear infinite; }
.ba-bubble:nth-child(8)  { top: 75%; left: 60%; width: 55px; height: 55px; animation: ba-float 10s linear infinite; }
.ba-bubble:nth-child(9)  { top: 50%; left: 50%; width: 45px; height: 45px; animation: ba-float  6s linear infinite; }
.ba-bubble:nth-child(10) { top: 45%; left: 20%; width: 65px; height: 65px; animation: ba-float 10s linear infinite; }
.ba-bubble:nth-child(11) { top: 10%; left: 90%; width: 35px; height: 35px; animation: ba-float  9s linear infinite; }
.ba-bubble:nth-child(12) { top: 20%; left: 70%; width: 50px; height: 50px; animation: ba-float  7s linear infinite; }
.ba-bubble:nth-child(13) { top: 80%; left: 45%; width: 40px; height: 40px; animation: ba-float  8s linear infinite; }
.ba-bubble:nth-child(14) { top: 60%; left:  5%; width: 60px; height: 60px; animation: ba-float  6s linear infinite; }
.ba-bubble:nth-child(15) { top: 90%; left: 80%; width: 45px; height: 45px; animation: ba-float  9s linear infinite; }
@keyframes ba-float {
  0%   { transform: scale(0) translateY(0) rotate(70deg); }
  100% { transform: scale(1.3) translateY(-100px) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ba-bubble { animation: none !important; }
}

/* ── Section head (centrado + animado) ── */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-label--spark::before {
  display: none;
}
.h-accent {
  color: var(--blue);
}
.section-head__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
  max-width: 400px;
}
.section--blue .section-head__desc,
.section--dark-img .section-head__desc {
  color: rgba(255, 255, 255, 0.72);
}

@keyframes ava-slide-left {
  from { opacity: 0; transform: translateX(-44px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ava-slide-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-from-left   { opacity: 0; }
.anim-from-bottom { opacity: 0; }

.anim-from-left.is-visible {
  animation: ava-slide-left 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.anim-from-bottom.is-visible {
  animation: ava-slide-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

/* ── Coverage map (Leaflet) ── */
.coverage-map-leaflet {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  box-shadow: 0 16px 40px -12px rgba(0, 60, 134, 0.35), 0 4px 12px rgba(15, 22, 35, 0.08);
}
/* ── Coverage: zone tabs (brújula) ── */
.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.zone-tab__compass {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  transition: background 0.15s, color 0.15s;
}
.zone-tab.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.zone-tab.is-active .zone-tab__compass {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.zone-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}
.zone-panel {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.zone-panel.is-active { display: flex; }
.zone-summary__town {
  font-size: 12.5px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 4px;
}
.zone-tag--metro { background: var(--blue-soft); color: var(--blue); }
.zone-tag--extra { background: #fdf3df; color: #8a5a00; border: 1px solid #f0dba8; }

.notes-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coverage-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.coverage-note strong { color: var(--text); }
.coverage-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.ava-map-pin {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
.ava-map-pin--primary {
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-color: var(--blue);
}
.ava-map-pin--secondary {
  width: 11px;
  height: 11px;
  background: var(--blue);
}
.leaflet-control-attribution { display: none; }

/* ══════════════════════════════════════════════════════════
   TABLET — 768 px y más
   ══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* ── Tokens ─────────────────────────────────────────────── */
  :root {
    --ava-header-h: 64px;
    --ava-sticky-h: 0px;
  }

  /* ── Shell ──────────────────────────────────────────────── */
  body {
    display: flex;
    justify-content: center;
    background: var(--bg-soft);
  }

  .ava-page {
    max-width: 100%;
    width: 100%;
    box-shadow: none;
    padding-bottom: 0;
  }

  /* ── Barra sticky inferior: ocultar ─────────────────────── */
  .sticky-bar {
    display: none;
  }

  /* ── Top bar ─────────────────────────────────────────────── */
  .top-bar {
    width: 100%;
    height: var(--ava-header-h);
    padding: 0;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    justify-content: center;
  }

  /* Inner: 80% centrado (mismo ancho que el mega-panel), grid 3 columnas con separación mínima garantizada */
  .top-bar__inner {
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: clamp(24px, 4vw, 64px);
    align-items: center;
  }

  /* Hamburger: ocultar */
  #js-menu-open {
    display: none;
  }

  /* Nav horizontal: columna central, centrada */
  .top-bar__nav {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
  }

  .top-bar__nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    padding: 6px 11px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
  }

  .top-bar__nav-link:hover,
  .mega-trigger:hover,
  .mega-trigger[aria-expanded="true"] {
    background: var(--bg-soft);
    color: var(--blue);
  }

  /* ── Mega panel ─────────────────────────────────────────── */
  .mega-panel {
    display: block;
    position: fixed;
    top: var(--ava-header-h);
    left: 0;
    right: 0;
    background: #0F1623;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    z-index: 49;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .mega-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mega-panel__inner {
    max-width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    padding: 36px 0 40px;
  }
  .mega-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 14px;
  }
  .mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .mega-group + .mega-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .mega-group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
  }
  .mega-group__desc {
    margin: 4px 0 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
  }
  .mega-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s;
  }
  .mega-item:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .mega-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 60, 134, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    overflow: hidden;
    transition: background 0.15s;
  }
  .mega-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mega-item:hover .mega-item__icon {
    background: rgba(0, 60, 134, 0.65);
  }
  .mega-item__name {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
    transition: color 0.15s;
  }
  .mega-item:hover .mega-item__name {
    color: var(--yellow);
  }
  .mega-item__desc {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
  }
  .mega-cta {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start;
  }
  .mega-cta__badge {
    display: inline-block;
    padding: 3px 11px;
    background: rgba(255, 239, 0, 0.12);
    border: 1px solid rgba(255, 239, 0, 0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--yellow);
    letter-spacing: 0.4px;
    width: fit-content;
  }
  .mega-cta__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
  }
  .mega-cta__sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
  }
  .mega-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
    transition: color 0.15s ease;
  }
  .mega-cta__phone:hover {
    color: var(--yellow);
  }
  .mega-cta__phone svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: stroke 0.15s ease;
  }
  .mega-cta .btn--yellow {
    background: var(--wa-green);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(31, 170, 86, 0.3);
    width: 100%;
    justify-content: center;
  }
  .mega-cta .btn--yellow:hover {
    background: var(--wa-green);
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(31, 170, 86, 0.45);
  }
  .mega-cta .btn--yellow svg {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }

  /* Botones de acción: columna derecha, alineados al extremo */
  .top-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }

  /* ── Tipografía global ───────────────────────────────────── */
  .ava-h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .ava-p {
    font-size: 15.5px;
  }

  .section-label {
    font-size: 12px;
    letter-spacing: 1.6px;
  }

  /* ── Secciones ───────────────────────────────────────────── */
  .section {
    padding: 80px 10%;
  }

  .section-head__desc {
    font-size: 16px;
    max-width: 520px;
  }

  /* ── Hero zone ───────────────────────────────────────────── */
  .hero-zone {
    height: auto;
    min-height: 500px;
    overflow: visible;
    flex-direction: column;
  }

  /* Hero: grid 3 columnas — col1 vacía actúa de margen (10%) */
  .hero-zone > .hero {
    display: grid;
    grid-template-columns: 10% 46% 44%;
    grid-template-rows: 1fr auto;
    min-height: 460px;
    flex: none;
    padding: 0;
  }

  /* Video: columna 3, ocupa ambas filas */
  .hero-zone .hero__video-wrap {
    grid-column: 3;
    grid-row: 1 / 3;
    height: 100%;
    width: 100%;
    border-radius: 0 0 0 40px;
    flex-shrink: unset;
  }

  /* Gradiente del video: de izquierda (azul) a transparente */
  .hero-zone .hero__video-wrap::after {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, var(--blue), transparent);
  }

  /* Contenido: columna 2, fila 1 — alineado con el logo */
  .hero-zone .hero__inner {
    grid-column: 2;
    grid-row: 1;
    padding: 52px 5% 28px 0;
    justify-content: center;
    gap: 18px;
  }

  /* H1 más grande */
  .hero-zone .hero__title {
    font-size: clamp(40px, 4.4vw, 54px);
    line-height: 1.01;
    letter-spacing: -1.5px;
  }

  .hero__desc {
    font-size: 15.5px;
    max-width: 420px;
  }

  /* Botón CTA del hero: tamaño estándar */
  .hero-zone .btn--lg {
    height: 54px;
    font-size: 16px;
    border-radius: 16px;
  }

  /* Stats: columna 2, fila 2 — alineado con el contenido */
  .hero-zone .hero__stats {
    grid-column: 2;
    grid-row: 2;
    padding: 22px 5% 22px 0;
    margin-top: 0;
    gap: 36px;
    display: flex;
  }

  .hero__stat-num {
    font-size: 20px;
  }

  .hero__stat-lbl {
    font-size: 12.5px;
  }

  /* Trust strip: ancho completo debajo del hero grid */
  .hero-zone > .trust-strip {
    flex-shrink: 0;
  }

  .hero-zone .trust-track {
    padding: 14px 0;
  }

  .hero-zone .trust-item {
    font-size: 13px;
    padding: 0 28px;
  }

  /* ── Servicios: 4 columnas ───────────────────────────────── */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .js-svc-slider .services-slider__track { gap: 16px; }

  .service-card__img  { height: 200px; }
  .service-card__icon { top: 200px; }

  /* "Ver todos": no full-width en tablet */
  .section .btn--full {
    width: auto;
    min-width: 220px;
  }

  /* ── Antes y Después: 16:9, centrado ─────────────────────── */
  .before-after {
    aspect-ratio: 16 / 9;
    max-width: 740px;
    margin: 0 auto;
  }

  /* ── Timeline: horizontal ────────────────────────────────── */
  .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 52px;
  }

  .timeline__item {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  /* Track horizontal: punto + línea a la derecha */
  .timeline__track {
    flex-direction: row;
    width: 100%;
    align-items: center;
    height: 22px;
  }

  /* Segmento: línea horizontal */
  .timeline__segment {
    height: 2px;
    width: auto;
    flex: 1;
    min-height: 0;
    margin-top: 0;
    margin-left: 4px;
  }

  /* Animación horizontal: width en vez de height */
  .timeline__segment::after {
    height: 100%;
    width: 0;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  }

  .timeline__item.is-active .timeline__segment::after {
    height: 100%;
    width: 100%;
  }

  /* Contenido: debajo del track */
  .timeline__content {
    padding-bottom: 0;
    padding-right: 20px;
  }

  .timeline__title {
    font-size: 17px;
  }

  .timeline__desc {
    font-size: 14px;
  }

  /* ── How-to cards: 2 columnas ────────────────────────────── */
  .howto-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 24px;
  }
  .howto-card {
    width: calc(50% - 12px);
  }

  /* ── Reseñas: 1 card, más espaciado ──────────────────────── */
  .review-card {
    padding: 28px 32px;
  }

  .review-card__name {
    font-size: 15px;
  }

  .review-card__text {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .reviews-arrow--prev { left: -20px; }
  .reviews-arrow--next { right: -20px; }

  .reviews-arrow {
    width: 42px;
    height: 42px;
  }

  /* ── Cobertura ───────────────────────────────────────────── */
  .chip-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 20px 0 0;
    padding: 0;
    gap: 10px;
  }

  .chip {
    height: 34px;
    font-size: 13.5px;
  }

  .coverage-map-leaflet {
    height: 380px;
    border-radius: 20px;
    margin-top: 24px;
  }

  .zone-tabs,
  .zone-summary {
    justify-content: center;
  }
  .notes-stack {
    align-items: center;
    text-align: center;
  }

  /* ── FAQ: 2 columnas ─────────────────────────────────────── */
  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    align-items: start;
  }

  .faq-item__question {
    font-size: 15.5px;
  }

  /* ── CTA final: horizontal ───────────────────────────────── */
  .cta-block {
    margin: 80px 10%;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 56px;
    text-align: left;
    align-items: center;
  }

  .cta-block__title {
    grid-column: 1;
    grid-row: 1;
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .cta-block__desc {
    grid-column: 1;
    grid-row: 2;
    margin: 8px 0 0;
    font-size: 15px;
  }

  .cta-block .btn {
    grid-column: 2;
    grid-row: 1 / 3;
    width: auto;
    align-self: center;
  }

  /* ── Footer: 3 columnas ──────────────────────────────────── */
  .site-footer {
    padding: 56px 10% 0;
  }

  .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    align-items: start;
  }

  .site-footer__bottom {
    margin-top: 44px;
    font-size: 13px;
  }

  .footer-services-scroll {
    max-height: 230px;
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }
  .footer-services-scroll::-webkit-scrollbar { width: 5px; }
  .footer-services-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 4px;
  }
  .footer-services-scroll::-webkit-scrollbar-track { background: transparent; }
  .footer-services-fade {
    display: block;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 26px;
    margin-top: -26px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 60, 134, 0) 0%, var(--blue) 92%);
  }
  .footer-services {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }
  .footer-services li { display: flex; align-items: center; }
  .footer-services a {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 7px;
  }
  .footer-services a::before {
    content: '›';
    color: rgba(255, 255, 255, 0.35);
    font-size: 16px;
    line-height: 1;
  }
  .footer-services__icon { display: none; }
  .footer-services__name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.80);
  }

  /* ── About split (tablet) ──────────────────────────────── */
  .about-split {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .about-collage {
    width: 44%;
    flex-shrink: 0;
    padding-bottom: 80px;
  }
  .about-collage__main {
    width: 78%;
    aspect-ratio: 3/4;
    max-height: 460px;
  }
  .about-collage__secondary {
    width: 44%;
  }
  .about-split__badge {
    bottom: 88px;
  }
  .about-split__body {
    flex: 1;
    min-width: 0;
  }
  .gallery-strip__item {
    width: 200px;
    height: 240px;
  }

  /* ── Contact (tablet) ───────────────────────────────────── */
  .contact-hero { padding: 64px 10% 56px; }
  .contact-hero__title { font-size: 36px; }
  .contact-info { text-align: left; }
  .contact-info__heading { font-size: 28px; }
  .contact-items { grid-template-columns: 1fr 1fr; }
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 40px 10% 56px;
    align-items: start;
  }
  .form-row {
    flex-direction: row;
    gap: 12px;
  }
  .form-row .form-field { flex: 1; }
  .contact-map__embed { height: 400px; }
  .contact-map { padding: 0 0 72px; }
  .contact-map .section-label { padding: 0 10%; }

  /* ── Blog (tablet) ──────────────────────────────────────── */
  .post-hero {
    aspect-ratio: 21 / 9;
    border-radius: 20px;
  }
  .post-hero__title {
    font-size: 22px;
  }
  .post-grid {
    gap: 16px;
  }
  .post-card__title {
    font-size: 14px;
  }
  .post-thumb__img {
    border-radius: 20px;
  }
  .post-content h2 { font-size: 20px; }

  /* ── Single post — sidebar layout (768px+) ── */
  .post-hero-bg,
  .post-hero-bg__overlay { min-height: 420px; }
  .post-hero-bg__title   { font-size: 28px; }
  .post-hero-bg__inner   { padding: 40px 10% 36px; }

  .post-layout {
    display: grid;
    grid-template-columns: 1fr 268px;
    gap: 36px;
    padding: 32px 10% 56px;
    align-items: start;
  }
  .post-layout__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--ava-header-h) + 20px);
  }
  .post-related-mobile { display: none; }

}

/* ══════════════════════════════════════════════════════════
   DESKTOP — 1200 px y más
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {

  /* ── Top bar ────────────────────────────────────────────── */
  .top-bar__nav-link {
    font-size: 16px;
    padding: 7px 14px;
  }

  .top-bar__call-link {
    font-size: 15px;
  }

  .top-bar__action-btn {
    height: 46px;
    padding: 0 24px;
    font-size: 15px;
    border-radius: 14px;
    gap: 8px;
  }

  /* ── Tipografía ─────────────────────────────────────────── */
  .ava-h2 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .ava-p {
    font-size: 16px;
  }

  /* ── Secciones: 80% layout global (acorde con el header) ── */
  .section {
    padding: 96px 10%;
  }
  .section--sm {
    padding: 24px 10%;
  }

  .section-head__desc {
    font-size: 17px;
  }

  /* ── Hero zone ──────────────────────────────────────────── */
  /* Mismo layout dividido que tablet: texto + stats a la izquierda,
     video a la derecha (el video trae su propio texto centrado,
     por eso no se usa a pantalla completa con texto encima). */
  .hero-zone {
    height: calc(100vh - var(--ava-header-h));
    height: calc(100dvh - var(--ava-header-h));
    min-height: 560px;
    max-height: 820px;
  }

  .hero-zone > .hero {
    grid-template-columns: 10% 42% 48%;
    flex: 1;
    min-height: 0;
  }

  .hero-zone .hero__inner {
    padding: 48px 6% 24px 0;
    gap: 22px;
  }

  .hero-zone .hero__title {
    font-size: clamp(42px, 3.6vw, 58px);
    letter-spacing: -1.5px;
  }

  .hero__desc {
    font-size: 17px;
    max-width: 480px;
  }

  .hero-zone .hero__stats {
    padding: 24px 6% 28px 0;
    gap: 44px;
  }

  .hero__stat-num {
    font-size: 24px;
  }

  .hero__stat-lbl {
    font-size: 13px;
  }

  .hero-zone .hero__video-wrap::after {
    width: 160px;
  }

  .hero-zone .trust-item {
    font-size: 13.5px;
  }

  /* ── Servicios ──────────────────────────────────────────── */
  .services-grid {
    gap: 20px;
  }

  .service-card--extra { display: block; }

  .js-svc-slider .services-slider__track { gap: 20px; }

  .service-card__img  { height: 170px; }
  .service-card__icon { top: 170px; }

  /* ── Services slider (desktop) ─────────────────────────── */
  .services-slider__dots {
    gap: 10px;
    margin-top: 22px;
  }

  /* ── Antes y Después ────────────────────────────────────── */
  .before-after {
    max-width: 900px;
  }

  /* ── Timeline ───────────────────────────────────────────── */
  .timeline {
    margin-top: 64px;
  }

  .timeline__dot {
    width: 26px;
    height: 26px;
  }

  .timeline__track {
    height: 26px;
  }

  .timeline__title {
    font-size: 18px;
  }

  .timeline__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .timeline__content {
    padding-right: 32px;
  }

  /* ── How-to cards: 4 columnas ────────────────────────────── */
  .howto-grid {
    flex-wrap: nowrap;
    gap: 20px;
  }
  .howto-card {
    width: calc(25% - 15px);
    flex: 1;
  }
  .howto-card__icon-wrap {
    width: 104px;
    height: 104px;
  }
  .howto-card__title {
    font-size: 18px;
  }

  /* ── Reseñas ────────────────────────────────────────────── */
  .review-card {
    padding: 36px 40px;
  }

  .review-card__text {
    font-size: 16px;
  }

  /* ── Cobertura ──────────────────────────────────────────── */
  .coverage-map-leaflet {
    height: 440px;
  }

  /* ── FAQ ────────────────────────────────────────────────── */
  .faq-list {
    gap: 12px 28px;
  }

  .faq-item__question {
    font-size: 16px;
  }

  /* ── CTA block ──────────────────────────────────────────── */
  .cta-block {
    margin: 96px 10%;
    padding: 68px 80px;
    column-gap: 72px;
  }

  .cta-block__title {
    font-size: 40px;
  }

  /* ── Footer ─────────────────────────────────────────────── */
  .site-footer {
    padding: 68px 10% 0;
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
    gap: 0 40px;
  }

  .site-footer__desc {
    font-size: 14.5px;
    max-width: 280px;
  }

  .site-footer__bottom {
    margin-top: 48px;
    padding-bottom: 28px;
  }

  /* ── Contact (desktop) ──────────────────────────────────── */
  .contact-hero { padding: 80px 10% 72px; }
  .contact-hero__title { font-size: 44px; }
  .contact-info__heading { font-size: 32px; }
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    padding: 48px 10% 72px;
  }
  .contact-coverage { padding: 22px 24px; }
  .contact-zones {
    flex-direction: row;
    gap: 24px;
  }
  .contact-zone { flex: 1; }
  .contact-map__embed { height: 460px; }

  /* ── Blog (desktop) ──────────────────────────────────────── */
  .post-hero__title { font-size: 26px; }
  .post-hero__overlay { padding: 28px 32px; }
  .post-grid { gap: 20px; }
  .post-card__body { padding: 14px 18px 18px; }
  .post-card__title { font-size: 15px; }
  .post-card__mins  { font-size: 12px; }

  /* ── Single post — sidebar layout (1200px+) ── */
  .post-hero-bg,
  .post-hero-bg__overlay { min-height: 480px; }
  .post-hero-bg__title   { font-size: 36px; }
  .post-hero-bg__inner   { padding: 48px 10% 44px; }

  .post-layout {
    grid-template-columns: 1fr 296px;
    gap: 56px;
    padding: 40px 10% 72px;
  }

}

/* ── Blog tabs (archive) ── */
.blog-tabs-wrap {
  position: relative;
}
.blog-tabs {
  display: flex;
  align-items: flex-end;
  border-bottom: 1.5px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.blog-tabs::-webkit-scrollbar { display: none; }
.blog-tab {
  flex-shrink: 0;
  padding: 10px 16px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.blog-tab.is-active { color: var(--blue); }
.blog-tab:hover:not(.is-active) { color: var(--text); }
.blog-tabs__line {
  position: absolute;
  bottom: -1.5px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              width    0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Hero post oculto por tab filter */
.js-blog-hero[data-hidden],
.js-blog-card[data-hidden] {
  display: none;
}

/* ── Blog slider (front page) ── */
.blog-slider {
  position: relative;
}
.blog-slider__viewport {
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}
.blog-slider__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.blog-slide-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.blog-slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}
.blog-slide-card__img {
  width: 100%;
  height: auto; /* el atributo height de WP anulaba el aspect-ratio */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.blog-slide-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-slide-card__cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.blog-slide-card__title {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.2px;
}
.blog-slide-card__excerpt {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-slide-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.blog-slide-card__mins {
  font-size: 11.5px;
  color: var(--muted-soft);
}
.blog-slide-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* Controles del blog slider */
.blog-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.blog-slider__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.blog-slider__arrow:hover:not(:disabled) {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue);
}
.blog-slider__arrow:disabled {
  opacity: 0.32;
  cursor: default;
}
.blog-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 60, 134, 0.20);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
  flex-shrink: 0;
}
.blog-dot.is-active {
  background: var(--blue);
  width: 28px;
  border-radius: 5px;
}
.blog-slider__cta {
  text-align: center;
  margin-top: 22px;
}

/* ── Blog listing page ── */
.blog-page-hero {
  padding: 56px 20px 52px;
}
.section--blue .ava-h1 {
  color: #fff;
}
.section--blue .section-head__desc {
  color: rgba(255, 255, 255, 0.78);
}
.blog-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.blog-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Blog aside widgets ── */
.blog-widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.blog-widget__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.blog-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-widget__item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.blog-widget__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.blog-widget__link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}
.blog-widget__link:hover .blog-widget__post-title {
  color: var(--blue);
}
.blog-widget__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.blog-widget__post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-widget__post-date {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.blog-widget__cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-widget__cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.blog-widget__cat-link:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.blog-widget__cat-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-tone);
  border-radius: 20px;
  padding: 2px 8px;
}

/* ── Post card excerpt (blog listing) ── */
.post-card__excerpt {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: none;
}

@media (min-width: 1200px) {
  .blog-page-hero { padding: 80px 10% 72px; }
  .post-grid--3   { grid-template-columns: 1fr 1fr 1fr; }
  .blog-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .blog-layout__main {
    flex: 1;
    min-width: 0;
  }
  .blog-layout__aside {
    width: 296px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
  }
}

/* ══════════════════════════════════════════════
   FAQ PAGE — layout vanguardista
══════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────── */
.faq-hero {
  background: var(--blue);
  padding: 56px 20px 48px;
}
.faq-hero__inner {
  max-width: 620px;
}
.faq-hero__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 12px;
}
.faq-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  margin: 0 0 28px;
  line-height: 1.5;
}
.faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50px;
  padding: 0 18px;
  height: 48px;
  max-width: 460px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s;
}
.faq-search:focus-within {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.40);
}
.faq-search__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: #fff;
  caret-color: var(--yellow);
}
.faq-search__input::placeholder {
  color: rgba(255,255,255,0.42);
}

/* ── Chips (mobile only) ──────────────────── */
.faq-chips-wrap {
  padding: 16px 20px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.faq-chips-wrap::-webkit-scrollbar { display: none; }

.faq-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(0,60,134,0.12);
  color: var(--blue);
  margin-left: 4px;
  vertical-align: middle;
}
.chip.is-active .faq-chip-count {
  background: rgba(0,0,0,0.15);
  color: inherit;
}

/* ── Layout ───────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  padding: 28px 20px 56px;
  gap: 28px;
}
.faq-sidebar {
  display: none;
}
.faq-content {
  min-width: 0;
}
.faq-content .faq-group {
  margin-bottom: 36px;
}
.faq-content .faq-group[hidden],
.faq-content .faq-item[hidden] {
  display: none;
}

/* ── Empty state ──────────────────────────── */
.faq-empty {
  text-align: center;
  padding: 56px 24px;
}
.faq-empty__text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Sidebar nav items ────────────────────── */
.faq-sidebar__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px 12px;
}
.faq-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 10px;
  transition: background 0.15s;
  color: var(--text);
}
.faq-nav-item:hover {
  background: var(--bg-tone);
}
.faq-nav-item.is-active {
  background: var(--blue);
  color: #fff;
}
.faq-nav-item__icon {
  opacity: 0.50;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.faq-nav-item.is-active .faq-nav-item__icon {
  opacity: 0.80;
}
.faq-nav-item__label {
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
}
.faq-nav-item__count {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-tone);
  border-radius: 20px;
  padding: 2px 7px;
  min-width: 22px;
  text-align: center;
}
.faq-nav-item.is-active .faq-nav-item__count {
  background: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.85);
}
.faq-sidebar__cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.faq-sidebar__cta-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ── Breakpoints ──────────────────────────── */
@media (min-width: 768px) {
  .faq-hero {
    padding: 72px 10% 64px;
  }
  .faq-hero__title {
    font-size: 44px;
  }
  .faq-chips-wrap {
    display: none;
  }
  .faq-layout {
    grid-template-columns: 220px 1fr;
    padding: 40px 10% 72px;
    align-items: start;
    gap: 40px;
  }
  .faq-sidebar {
    display: block;
    position: sticky;
    top: 80px;
  }
}
@media (min-width: 1200px) {
  .faq-hero {
    padding: 80px 10% 72px;
  }
  .faq-hero__title {
    font-size: 52px;
  }
  .faq-layout {
    grid-template-columns: 248px 1fr;
    padding: 48px 10% 80px;
  }
}

/* ── Print ── */
@media print {
  .sticky-cta,
  .nav-overlay,
  .top-bar {
    display: none;
  }
  .ava-page {
    box-shadow: none;
  }
}

/* ══════════════════════════════════════════════
   NOSOTROS — About features grid + callout
══════════════════════════════════════════════ */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 18px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: 10px;
}
.about-feature__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature__text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.about-video-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--blue-dark);
}
.about-video-callout__thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-video-callout__thumb svg {
  stroke: var(--ink);
}
.about-video-callout__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.about-video-callout__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   NOSOTROS — Featured services
══════════════════════════════════════════════ */
.nosotros-feat__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.nosotros-feat__subdesc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
/* Viewport + track */
.feat-svc-viewport {
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
  padding: 10px 6px 16px;
  margin: -10px -6px -16px;
}
.feat-svc-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.feat-svc-card {
  flex-shrink: 0;
  background: var(--bg);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.feat-svc-card__icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat-svc-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.feat-svc-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.feat-svc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

/* ══════════════════════════════════════════════
   NOSOTROS — History timeline
══════════════════════════════════════════════ */
.history-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.history-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.history-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Year navigation row */
.history-years {
  display: flex;
  align-items: center;
  gap: 6px;
}
.history-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
}
.history-nav:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}
.history-nav:disabled {
  opacity: 0.32;
  cursor: default;
}
.history-track-wrap {
  flex: 1;
  position: relative;
}
.history-year-list {
  display: flex;
  justify-content: space-between;
  position: relative;
}
/* Línea continua: va de centro a centro del primer y último dot */
.history-year-list::before {
  content: '';
  position: absolute;
  left: calc(100% / 8);
  right: calc(100% / 8);
  bottom: 7px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.history-year-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.history-year-btn__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.history-year-btn.is-active .history-year-btn__label {
  color: var(--blue);
  font-weight: 700;
}
.history-year-btn__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.history-year-btn.is-active .history-year-btn__dot {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
/* Content panels */
.history-panels {
  min-height: 72px;
}
.history-panel {
  display: none;
  animation: historyFadeIn 0.3s ease;
}
.history-panel.is-active {
  display: block;
}
@keyframes historyFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.history-panel__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.2;
  text-align: center;
}
.history-panel__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  text-align: center;
}
@media (min-width: 768px) {
  .history-panel__title,
  .history-panel__desc { text-align: left; }
}

/* ── Historia sobre fondo azul oscuro ── */
.section--blue .history-nav {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.section--blue .history-nav:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.section--blue .history-nav:disabled {
  opacity: 0.25;
}
.section--blue .history-year-list::before {
  background: rgba(255,255,255,0.2);
}
.section--blue .history-year-btn__label {
  color: rgba(255,255,255,0.55);
}
.section--blue .history-year-btn.is-active .history-year-btn__label {
  color: #fff;
}
.section--blue .history-year-btn__dot {
  border-color: rgba(255,255,255,0.3);
  background: var(--blue-dark);
}
.section--blue .history-year-btn.is-active .history-year-btn__dot {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,239,0,0.2);
}
.section--blue .history-panel__title {
  color: #fff;
}
.section--blue .history-panel__desc {
  color: rgba(255,255,255,0.72);
}
.section--blue .history-img-wrap {
  opacity: 0.9;
}

/* ── Tablet 768px ── */
@media (min-width: 768px) {
  .nosotros-feat__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
  }
  .nosotros-feat__head .section-head {
    flex: 0 0 auto;
    max-width: 50%;
  }
  .nosotros-feat__subdesc {
    max-width: 42%;
    margin-bottom: 4px;
  }
  .history-layout {
    flex-direction: row;
    align-items: center;
    gap: 52px;
  }
  .history-img-wrap {
    width: 42%;
  }
  .history-img {
    height: 420px;
  }
  .history-content {
    flex: 1;
    min-width: 0;
  }
}

/* ── Desktop 1200px ── */
@media (min-width: 1200px) {
  .history-img {
    height: 480px;
  }
  .history-year-btn__label {
    font-size: 13px;
  }
  .history-panel__title {
    font-size: 19px;
  }
  .history-panel__desc {
    font-size: 14.5px;
  }
}

/* ── 80% layout global: elementos que no usan .section ── */
@media (min-width: 1200px) {
  .cta-block       { margin: 56px 10%; }
  .site-footer     { padding: 64px 10% 0; }
  .b2b-hero        { padding: 48px 10% 52px; }
  .faq-hero        { padding: 80px 10% 72px; }
  .nosotros-stats  { padding: 64px 10%; }
}


/* ══════════════════════════════════════════════
   SERVICE PAGES — Componentes reutilizables
══════════════════════════════════════════════ */

/* ── Photo hero: foto + overlay azul + burbujas ── */
.svc-photo-hero {
  background-size: cover;
  background-position: center;
}
.svc-photo-hero__overlay {
  position: relative;
  min-height: 400px;
  background: linear-gradient(150deg, rgba(0,20,60,0.93) 0%, rgba(0,60,134,0.83) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.svc-photo-hero__body {
  position: relative;
  z-index: 1;
  padding: 36px 24px 32px;
}
.svc-photo-hero__body .ava-h1 {
  color: #fff;
}
.svc-photo-hero__body .section-head__desc {
  color: rgba(255, 255, 255, 0.72);
}
.svc-photo-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.svc-photo-hero__trust {
  justify-content: center;
}

/* ── Hero trust bar ── */
.svc-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
}
.svc-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

/* ── Qué incluye v2: centered head + list left + image right ── */
.svc-inc2-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.svc-inc2-head__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.svc-inc2-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svc-inc2-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-inc2-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
}
.svc-inc2-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-inc2-item--active .svc-inc2-item__icon {
  background: var(--blue-dark);
}
.svc-inc2-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.svc-inc2-item--active .svc-inc2-item__title {
  color: var(--blue);
}
.svc-inc2-item__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 6px;
}
.svc-inc2-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-inc2-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .svc-inc2-layout {
    flex-direction: row;
    align-items: center;
    gap: 52px;
  }
  .svc-inc2-list { flex: 1; min-width: 0; }
  .svc-inc2-img-wrap { flex: 0 0 42%; }
  .svc-inc2-img { height: 480px; }
}

/* ── Qué incluye: layout 2 columnas ── */
.svc-includes-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svc-includes-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.svc-includes-list {
  display: flex;
  flex-direction: column;
}
.svc-include-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.svc-includes-list .svc-include-row:last-child {
  border-bottom: 1px solid var(--line);
}
.svc-include-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-include-row__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.svc-include-row__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.svc-include-badge {
  display: inline-block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}
.svc-include-badge--green { color: #1a7a4a; background: #e6f7ee; }
.svc-include-badge--teal  { color: #0e7a6e; background: #e6f5f4; }
@media (max-width: 767px) {
  .svc-inc2-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
  }
  .svc-inc2-item__title,
  .svc-inc2-item__desc { text-align: center; }
}
@media (min-width: 768px) {
  .svc-includes-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 52px;
  }
  .svc-includes-head {
    flex: 0 0 40%;
    min-width: 220px;
  }
  .svc-includes-list {
    flex: 1;
    min-width: 0;
  }
}

/* ── Pricing grid ── */
.svc-pricing-desc {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.svc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.svc-price-card {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-price-card--featured {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.svc-price-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 1;
}
.svc-price-card__img-wrap {
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-price-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.svc-price-card:hover .svc-price-card__img-wrap img {
  transform: scale(1.04);
}
.svc-price-card__body {
  padding: 18px 20px 22px;
}
.svc-price-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.svc-price-card--featured .svc-price-card__name { color: #fff; }
.svc-price-card__from {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.svc-price-card--featured .svc-price-card__from { color: rgba(255,255,255,0.55); }
.svc-price-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.svc-price-card--featured .svc-price-card__price {
  color: var(--yellow);
  font-size: 28px;
}
@media (max-width: 767px) {
  .svc-pricing-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ── Process card description ── */
.process-card__desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 4px;
}

/* ── Process steps horizontal ── */
.svc-process-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-process-header__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.svc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
.svc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.svc-step__line {
  display: none; /* solo desktop */
}
.svc-step__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.svc-step__circle--featured {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.svc-step__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-step__time {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.svc-step__time--featured { color: var(--yellow-deep); }
.svc-step__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
}
.svc-step__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Desktop: fila horizontal con línea conectora */
@media (min-width: 768px) {
  .svc-process-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .svc-process-header .section-head { flex: 0 0 44%; }
  .svc-process-header__desc { max-width: 46%; margin-bottom: 4px; }
  .svc-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: flex-start;
  }
  .svc-step__line {
    display: block;
    position: absolute;
    top: 32px; /* centro del círculo de 64px */
    left: 50%;
    width: 100%;
    height: 1.5px;
    background: var(--line);
    z-index: 0;
  }
  .svc-step__circle {
    position: relative;
    z-index: 1;
  }
}

/* ── Por qué elegirnos: imagen izq + lista der ── */
.svc-why-layout {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}
.svc-why-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-why-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.svc-why-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,20,45,0.92) 0%, rgba(10,20,45,0.3) 100%);
  display: flex;
  gap: 0;
  padding: 20px 16px 16px;
}
.svc-why-stat {
  flex: 1;
}
.svc-why-stat__num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.svc-why-stat__lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
  line-height: 1.3;
}
.svc-why-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
/* Lista de diferenciadores */
.svc-why-list {
  display: flex;
  flex-direction: column;
}
.svc-why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
}
.svc-why-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-why-item__icon--featured {
  background: var(--blue-dark);
}
.svc-why-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.svc-why-item__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.svc-why-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #1a7a4a;
  background: #e6f7ee;
  padding: 3px 9px;
  border-radius: 20px;
}
@media (min-width: 768px) {
  .svc-why-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .svc-why-img-wrap {
    width: 40%;
  }
  .svc-why-img { height: 100%; min-height: 420px; }
  .svc-why-content { flex: 1; min-width: 0; }
}

/* ── Reseñas ── */
.svc-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-review-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 20px;
  border: 1.5px solid var(--line);
}
.svc-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}
.svc-review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}
.svc-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-review-author__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tone);
  flex-shrink: 0;
}
.svc-review-author__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.svc-review-author__role {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}

/* ── Cobertura: grid de cards ── */
.svc-coverage-head {
  text-align: center;
}
.svc-coverage-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.svc-coverage-head__desc {
  font-size: 14px;
  color: var(--muted);
}
.svc-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.svc-coverage-card {
  background: var(--blue-dark);
  border: 1.5px solid var(--blue-dark);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-coverage-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 2px 12px rgba(0,60,134,0.18);
}
.svc-coverage-card__name {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.svc-coverage-card__sub {
  font-size: 11.5px;
  color: var(--yellow);
}
.svc-coverage-footer {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.svc-coverage-footer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.svc-coverage-footer a:hover {
  text-decoration-color: var(--blue);
}
@media (min-width: 768px) {
  .svc-coverage-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .svc-coverage-card { padding: 20px 16px; }
}

/* ── Responsive tablet ── */
@media (min-width: 768px) {
  .svc-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .svc-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .svc-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════════════
   GALERÍA — Filter tabs + Grid
══════════════════════════════════════════════ */

/* ── Tabs ── */
.gallery-tabs-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  cursor: grab;
  user-select: none;
}
.gallery-tabs-wrap::-webkit-scrollbar { display: none; }
.gallery-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  min-width: 100%;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1;
}
.gallery-tab svg {
  flex-shrink: 0;
  transition: stroke 0.2s;
}
.gallery-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.gallery-tab.is-active {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}
.gallery-tab.is-active svg {
  stroke: var(--yellow);
}

/* ── Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-tone);
  position: relative;
}
.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
  transition: transform 0.45s ease;
}
.gallery-item:hover .gallery-item__img {
  transform: scale(1.06);
}
.gallery-item--tall .gallery-item__img {
  aspect-ratio: 3/4;
}
.gallery-item--wide .gallery-item__img {
  aspect-ratio: 16/7;
}

/* Cuando hay filtro activo — todo uniforme */
.gallery-grid.is-filtered .gallery-item--tall .gallery-item__img {
  aspect-ratio: 4/3;
}
.gallery-grid.is-filtered .gallery-item--wide {
  grid-column: span 1;
}
.gallery-grid.is-filtered .gallery-item--wide .gallery-item__img {
  aspect-ratio: 4/3;
}

/* Empty state */
.gallery-empty {
  display: none;
  text-align: center;
  padding: 48px 20px;
  grid-column: 1 / -1;
}
.gallery-empty.is-visible { display: block; }
.gallery-empty__text {
  font-size: 15px;
  color: var(--muted);
}

/* ── Tablet 768px ── */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gallery-item--tall {
    grid-row: span 2;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
  .gallery-tab {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ── Desktop 1200px ── */
@media (min-width: 1200px) {
  .gallery-grid { gap: 16px; }
}
