/* ── main.css ─────────────────────────────────────────── */

/* ══ 1. RESET & TOKENS ══════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Skip to content — accesibilidad teclado */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }


:root {
  --white:    #ffffff;
  --bg:       #f5f5f7;
  --dark:     #1d1d1f;
  --mid:      #3d3d3f;
  --muted:    #6e6e73;
  --border:   #d2d2d7;
  --blue:     #1B5FDF;
  --blue-h:   #1654cc;
  --red:      #ff3b30;
  --wa:       #25d366;
  --wa-h:     #20bc5a;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1140px;
  --r:   16px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--dark); background: var(--white); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* Elimina tap delay en móvil */
a, button, .timeline__link, .faq-item__trigger { touch-action: manipulation; }

/* Selección de texto con identidad de marca */
::selection { background: rgba(27,95,223,0.18); color: var(--dark); }

/* Focus visible para navegación por teclado */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══ 2. UTILITARIOS GLOBALES ════════════════════════════ */

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-eyebrow--light { color: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin-top: 1rem;
}

/* ══ 3. BOTONES ═════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  border-radius: 980px;
  cursor: pointer;
  border: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  white-space: nowrap;
}

.btn--hero {
  display: flex;
  font-size: 1.05rem;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  padding: 0.85rem 1.75rem 0.85rem 0.85rem;
  background: var(--wa);
  color: #ffffff;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  letter-spacing: 0.01em;
  border-radius: 980px;
  text-decoration: none;
}
.btn--hero:hover { background: var(--wa-h); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.btn--hero svg { width: 32px; height: 32px; flex-shrink: 0; }

.btn--urgency {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 0.65rem 0.65rem 0.65rem;
  background: var(--wa);
  color: var(--white);
  flex-shrink: 0;
  gap: 0.6rem;
  padding-right: 1.25rem;
}
.btn--urgency:hover { background: var(--wa-h); transform: translateY(-1px); }
.btn--urgency svg { width: 26px; height: 26px; flex-shrink: 0; }

.btn--urgency-lg {
  font-size: 1.1rem;
  padding: 1rem 1.75rem 1rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5), 0 2px 8px rgba(37,211,102,0.3);
  white-space: nowrap;
}
.btn--urgency-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6), 0 4px 12px rgba(37,211,102,0.35);
}
.btn--urgency-lg svg { width: 32px; height: 32px; }

.btn--cta {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem 2.25rem 1rem 1rem;
  background: var(--wa);
  color: var(--white);
  gap: 0.85rem;
  box-shadow: 0 6px 30px rgba(37,211,102,0.45);
  letter-spacing: 0.01em;
}
.btn--cta:hover { background: var(--wa-h); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }
.btn--cta svg { width: 34px; height: 34px; flex-shrink: 0; }

/* ══ 4. HERO ════════════════════════════════════════════ */

.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100dvh;
  background: var(--white);
}


.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 5vw;
  gap: 2rem;
}

.hero__logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.hero__logo {
  height: 280px;
  width: auto;
  max-width: 620px;
  object-fit: contain;
  object-position: center;
}

.hero__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
  letter-spacing: -0.01em;
  /* Contiene las letras del TextExplode en mobile sin clipear el texto en reposo */
  overflow: clip;
  overflow-clip-margin: 120px;
}

.hero__tagline {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* "libertades" — contenedor inline-block para el split JS */
.hero__freedom {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  display: inline-block;
  white-space: nowrap;
}

/* Cada letra envuelta por JS */
.hero__freedom .freedom-char {
  display: inline-block;
  will-change: transform, opacity;
}

/* Última línea — más pequeña para jerarquía */
.hero__headline-sub {
  font-size: 1em;
  color: var(--dark);
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  display: block;
  margin-top: 0.15em;
}

/* Status panel */
.status-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(37,211,102,0.1), transparent 55%),
    var(--dark);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}


.hero__avail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  padding: 0 0.25rem;
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Hero foto */
.hero__right {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  /* Corte diagonal — empuja visualmente hacia el texto */
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero__photo-frame {
  position: absolute;
  inset: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.08);
  transition: transform 8s ease;
  animation: photo-zoom 8s ease forwards;
}
@keyframes photo-zoom {
  from { transform: scale(1.18); }
  to   { transform: scale(1.04); }
}
.hero__right:hover .hero__photo {
  animation: none;
  transform: scale(1.12);
  transition: transform 0.8s ease;
}

/* Gradiente cinematográfico — funde la foto con el fondo oscuro del hero */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(27,95,223,0.12) 0%,
      transparent 35%,
      transparent 45%,
      rgba(10,10,14,0.55) 75%,
      rgba(10,10,14,0.85) 100%
    );
  pointer-events: none;
}

/* ── Badge de autoridad premium ─── */
.hero__badge {
  position: absolute;
  bottom: 2.25rem;
  right: 1.75rem;
  width: 220px;
  background: rgba(8, 8, 12, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.1rem 1.25rem 1rem;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hero__badge.badge--on {
  opacity: 1;
  pointer-events: auto;
}

/* Wrapper interior para 3D tilt (creado por JS) */
.hero__badge-tilt {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transform: translateY(10px);
  transition: transform 0.4s ease;
  transform-origin: center center;
  transform-style: preserve-3d;
}
.hero__badge.badge--on .hero__badge-tilt {
  transform: translateY(0);
}

/* Sheen holográfico — reflejo de luz sobre badge oscuro */
.hero__badge-holo {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    0deg,
    transparent 20%,
    rgba(255,255,255,0.04) 38%,
    rgba(255,255,255,0.13) 50%,
    rgba(255,255,255,0.04) 62%,
    transparent 80%
  );
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
}
.hero__badge.badge--on .hero__badge-holo {
  opacity: 0.4;
  animation: holo-idle 14s linear infinite;
}
.hero__badge-holo.holo--active {
  opacity: 1;
  animation: none;
}
@keyframes holo-idle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Orb de luz interior — inspirado en 21dev */
.hero__badge-glow {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(27, 95, 223, 0.18);
  filter: blur(28px);
  pointer-events: none;
}

/* Fila disponibilidad */
.hero__badge-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Ping animado — 21dev pattern */
.hero__badge-ping-wrap {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.hero__badge-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34c759;
  opacity: 0.75;
  animation: badge-ping 1.4s ease-in-out infinite;
}
.hero__badge-ping-core {
  position: absolute;
  inset: 1.5px;
  border-radius: 50%;
  background: #34c759;
}
@keyframes badge-ping {
  0%   { transform: scale(1);   opacity: 0.75; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Stat principal */
.hero__badge-stat {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}
.hero__badge-num {
  font-family: var(--sans);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero__badge-plus {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0;
}
.hero__badge-desc {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  padding-bottom: 0.2rem;
}

/* Separador */
.hero__badge-sep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 -1.25rem;
}

/* Barra de progreso */
.hero__badge-bar-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero__badge-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.hero__badge-bar-pct {
  font-weight: 700;
  color: var(--white);
  font-size: 0.72rem;
}
.hero__badge-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.hero__badge-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--blue), #5aa3f5);
  border-radius: 99px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__badge-bar-fill.animated { width: 95%; }

/* Pills */
.hero__badge-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.hero__badge-pill {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

/* Responsive hero foto */
@media (max-width: 860px) {
  .hero__right {
    clip-path: none;
    min-height: 340px;
  }
  .hero__badge {
    bottom: 1rem;
    right: 1rem;
    width: 190px;
    padding: 0.9rem 1rem 0.85rem;
  }
  .hero__badge-num { font-size: 2rem; }
}


/* ══ 5. URGENCIA ════════════════════════════════════════ */

.urgency {
  background:
    radial-gradient(ellipse 600px 300px at 85% 50%, rgba(37,211,102,0.07), transparent 70%),
    linear-gradient(135deg, #161618 0%, #1d1d1f 55%, #1a2030 100%);
  border-top: 1px solid rgba(27,95,223,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 2rem;
}

.urgency__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.urgency__signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.urgency__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: urgency-pulse 1.5s ease-in-out infinite;
}
.urgency__dot--green {
  background: var(--wa);
  animation: urgency-pulse-green 1.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0.6); }
  50%       { box-shadow: 0 0 0 8px rgba(255,59,48,0); }
}
@keyframes urgency-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

.urgency__live {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}
.urgency__live--green { color: var(--wa); }

.urgency__text-block { flex: 1; min-width: 240px; }

.urgency__heading {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.urgency__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* ══ 6. TIMELINE ════════════════════════════════════════ */

.timeline {
  padding: 5rem 2rem;
  background: #09090c;
  position: relative;
  overflow: hidden;
}

.timeline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("img/seccion 4.png") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.timeline::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,12,0.78) 0%, rgba(8,8,12,0.22) 28%, rgba(8,8,12,0.22) 72%, rgba(8,8,12,0.78) 100%),
    linear-gradient(to bottom, rgba(8,8,12,0.45) 0%, transparent 12%, transparent 88%, rgba(8,8,12,0.45) 100%);
  pointer-events: none;
}

.timeline__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.timeline__inner--full {
  display: block;
  max-width: 780px;
}

.timeline__header { position: sticky; top: 6rem; }

.timeline__list { display: flex; flex-direction: column; }

.timeline__item {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s;
}
.timeline__item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.timeline__item:hover {
  background: linear-gradient(to right, rgba(27,95,223,0.18), rgba(27,95,223,0.06) 55%, transparent);
}
/* Barra de acento lateral en hover */
.timeline__item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.timeline__item:hover::before { transform: scaleY(1); }

.timeline__link {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.6rem 0.75rem 1.6rem 0;
  transition: padding-left 0.2s;
}
.timeline__link:hover { padding-left: 0.85rem; }
.timeline__link:hover .timeline__arrow { opacity: 1; transform: translateX(0); color: var(--blue); }
.timeline__link:hover .timeline__title { color: var(--blue); }

.timeline__num {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.timeline__item:hover .timeline__num {
  opacity: 1;
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.timeline__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.timeline__title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  transition: color 0.18s;
}

.timeline__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
  width: fit-content;
}
.timeline__badge--urgent {
  background: rgba(255,59,48,0.1);
  color: var(--red);
  border: 1px solid rgba(255,59,48,0.2);
}
.timeline__badge--urgent::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

.timeline__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
  max-width: 560px;
}

.timeline__arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.25);
  opacity: 0.4;
  transform: translateX(-4px);
  transition: all 0.2s;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ══ 7. CASES — bento grid premium ══════════════════════ */

.cases {
  background: var(--bg);
  padding: 5rem 2rem;
}

.cases__inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Header ── */
.cases__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.cases__header-left { display: flex; flex-direction: column; gap: 0.6rem; }

.cases__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.cases__sub {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 42ch;
  align-self: center;
  margin: 0;
}

/* ── Bento grid ── */
.cases__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Tarjeta base */
.ccase {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--dark);
  color: var(--white);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
  cursor: default;
}
.ccase:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 0 40px rgba(27,95,223,0.12);
}

/* ── Foto superior ── */
.ccase__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.ccase__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
  filter: grayscale(25%) brightness(0.88);
}
.ccase:hover .ccase__photo {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.92);
}
.ccase__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.45) 100%);
}

/* ── Contenido inferior ── */
.ccase__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
}

.ccase__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27,95,223,0.15);
  padding: 0.3em 0.8em;
  border-radius: 99px;
  align-self: flex-start;
  border: 1px solid rgba(27,95,223,0.3);
}

.ccase__name {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  display: block;
  margin: 0;
}

.ccase__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ── Card ancha 04 — ocupa todo el ancho, foto a la derecha ── */
.ccase--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 240px;
}
.ccase--wide .ccase__photo-wrap {
  width: 45%;
  aspect-ratio: unset;
  flex-shrink: 0;
  order: 2;
}
.ccase--wide .ccase__content {
  order: 1;
  padding: 2.5rem 2.5rem;
  justify-content: center;
  gap: 0.85rem;
}
.ccase--wide .ccase__name { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.ccase--wide .ccase__desc { max-width: 52ch; color: rgba(255,255,255,0.6); }
.ccase--wide:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.3); }

/* ══ 8. COBERTURA — panel de presencia operacional ══════ */

.coverage {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.coverage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/seccion%206.png') center center / cover no-repeat;
  z-index: 0;
}

.coverage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,6,12,0.82) 0%,
    rgba(5,6,12,0.55) 55%,
    rgba(5,6,12,0.18) 100%
  );
  z-index: 1;
}

.coverage__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.coverage__lead {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
}

.coverage__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #22c55e;
  font-weight: 700;
}

.coverage__signal-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: signal-pulse 2.5s ease-in-out infinite;
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.coverage__headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
}

.coverage__headline em {
  font-style: italic;
  color: rgba(255,255,255,0.28);
  display: block;
}

.coverage__globe-wrap { display: none; }

@media (max-width: 640px) {
  .coverage { min-height: 360px; }
  .coverage::after {
    background: linear-gradient(
      to bottom,
      rgba(5,6,12,0.7) 0%,
      rgba(5,6,12,0.55) 100%
    );
  }
  .coverage__inner { padding: 3.5rem 1.25rem; }
}

/* ══ 9. RESEÑAS — MARQUEE ESTILO GOOGLE ════════════════ */

.reviews {
  background: var(--bg);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.reviews__header {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.reviews__rating-total {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews__big-score {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
}

.stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1.3;
}
.stars--lg { font-size: 1.25rem; }

.reviews__based {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.reviews__header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.btn--maps {
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 980px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn--maps:hover { background: var(--blue); color: var(--white); }

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.marquee__track--fwd { animation: marquee-fwd 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card estilo Google Reviews */
.gcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem 1rem;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.gcard:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: rgba(27,95,223,0.2);
}

.gcard__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gcard__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gcard__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}

.gcard__time {
  font-size: 0.75rem;
  color: var(--muted);
}

.gcard__g {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gcard__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gcard__more {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  cursor: pointer;
  margin-top: -0.2rem;
}

/* ══ 9b. FAQ ════════════════════════════════════════════ */

.faq {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}

.faq__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}

.faq__header {
  position: sticky;
  top: 6rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  counter-reset: faq;
}

.faq-item {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  margin-bottom: 0.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
  counter-increment: faq;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.faq-item:hover {
  border-color: rgba(27,95,223,0.2);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transform: translateY(-1px);
}
.faq-item:has(.faq-item__trigger[aria-expanded="true"]) {
  border-color: rgba(27,95,223,0.22);
  background: #f5f8ff;
  box-shadow: 0 6px 28px rgba(27,95,223,0.1);
  transform: translateY(-1px);
}
.faq-item:has(.faq-item__trigger[aria-expanded="true"])::before {
  opacity: 1;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 1.01rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.18s;
}
.faq-item__trigger::before {
  content: counter(faq, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0.65;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.2em;
}
.faq-item__trigger:hover { color: var(--blue); }
.faq-item__trigger[aria-expanded="true"] { color: var(--blue); }

.faq-item__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  background: rgba(0,0,0,0.04);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.22s, background 0.22s;
  line-height: 1;
}
.faq-item__icon::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.28s ease, border-color 0.22s;
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: rgba(27,95,223,0.08);
  border-color: rgba(27,95,223,0.4);
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  border-color: var(--blue);
  transform: rotate(-135deg) translate(-1px, 2px);
}

.faq-item__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-bottom: 0;
}
.faq-item__body.open {
  max-height: 520px;
  padding-bottom: 1.5rem;
}

.faq-item__body p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
}
.faq-item__body a:not(.faq-item__wa-cta) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA WhatsApp dentro de cada respuesta FAQ */
.faq-item__wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  background: var(--wa);
  color: #fff;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}
.faq-item__wa-cta:hover { background: var(--wa-h); transform: scale(1.03); }
.faq-item__wa-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 860px) {
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq__header { position: static; }
}

/* ══ 10. ABOUT — split foto + narrativa ═════════════════ */

.about {
  display: grid;
  grid-template-columns: 46% 1fr;
  min-height: auto;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* ── Columna foto ── */
.about__photo-col {
  position: relative;
  overflow: hidden;
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.about__photo-col:hover .about__photo {
  transform: scale(1.03);
}

/* Fade lateral derecho para fundir con el blanco */
.about__photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--white) 100%);
  pointer-events: none;
}

/* ── Columna texto ── */
.about__text {
  display: flex;
  align-items: center;
}

.about__text-inner {
  padding: 3.5rem 4rem 3.5rem 2.5rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about__name {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0;
}
.about__name em {
  font-style: italic;
  color: var(--blue);
}

.about__lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.7;
  margin: 0;
}

.about__body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* Tags de especialidades */
.about__areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.about__areas-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
  white-space: nowrap;
}

.about__area-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(27,95,223,0.07);
  border: 1px solid rgba(27,95,223,0.18);
  border-radius: 99px;
  padding: 0.25em 0.75em;
  white-space: nowrap;
}

/* CTA */
.about__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}


/* ══ 11. FOOTER ═════════════════════════════════════════ */

.footer {
  background:
    radial-gradient(ellipse 800px 400px at 15% 0%, rgba(27,95,223,0.06), transparent 60%),
    var(--dark);
  border-top: 2px solid rgba(27,95,223,0.3);
}

/* Columnas principales */
.footer__cols {
  padding: 4.5rem 2rem 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__inner-max {
  max-width: var(--max);
  margin: 0 auto;
}

/* Layout columnas */
.footer__cols .footer__inner-max {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.3fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

/* Pre-footer CTA strip */
.footer__precta {
  padding: 2.25rem 2rem;
  background: rgba(27,95,223,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__precta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.footer__precta-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.45rem;
}
.footer__precta-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer__precta-heading {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}
.footer__precta-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0;
}
.footer__precta-btn {
  font-size: 0.92rem !important;
  padding: 0.72rem 1.4rem 0.72rem 0.7rem !important;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(37,211,102,0.28) !important;
  will-change: transform;
}
.footer__precta-btn svg {
  width: 24px !important;
  height: 24px !important;
  animation: wa-icon-pulse 1.2s ease-in-out infinite;
}
.footer__precta-btn:hover {
  animation: wa-alert-shock 0.25s linear infinite;
}
.footer__precta-btn:hover svg {
  animation: wa-icon-pulse 0.7s ease-in-out infinite;
}

@keyframes wa-alert-shock {
  0%   { transform: translate(0, 0);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28); }
  20%  { transform: translate(-1px, 1px);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28), 0 0 12px 2px rgba(37,211,102,0.55); }
  40%  { transform: translate(-1px, -1px);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28); }
  60%  { transform: translate(1px, 1px);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28), 0 0 12px 2px rgba(37,211,102,0.55); }
  80%  { transform: translate(1px, -1px);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28); }
  100% { transform: translate(0, 0);
         box-shadow: 0 4px 20px rgba(37,211,102,0.28); }
}

@keyframes wa-icon-pulse {
  0%   { filter: drop-shadow(0 0 2px rgba(37,211,102,0.4));  transform: scale(1); }
  50%  { filter: drop-shadow(0 0 8px rgba(37,211,102,0.9));  transform: scale(1.13); }
  100% { filter: drop-shadow(0 0 2px rgba(37,211,102,0.4));  transform: scale(1); }
}

/* Col brand */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer__logo {
  height: 260px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.footer__brand-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 290px;
  margin: 0;
}

/* Íconos sociales */
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__social-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.footer__social-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.07);
}
.footer__social-btn--wa {
  color: #25D366;
  border-color: rgba(37,211,102,0.25);
}
.footer__social-btn--wa:hover {
  color: #25D366;
  border-color: rgba(37,211,102,0.5);
  background: rgba(37,211,102,0.1);
}
.footer__social-btn--ig {
  border-color: rgba(214,41,118,0.25);
}
.footer__social-btn--ig:hover {
  border-color: rgba(214,41,118,0.45);
  background: rgba(214,41,118,0.08);
}
.footer__social-handle {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.01em;
}

/* Títulos de columna */
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.1rem;
}

/* Listas de columna */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer__links li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  transition: color 0.18s;
}

/* Columna contacto */
.footer__links--contact li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__links--contact li:last-child { border-bottom: none; }

.footer__contact-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.1rem;
}

.footer__links--contact a {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  transition: color 0.18s;
}
.footer__links--contact a:hover { color: var(--white); }

/* Barra inferior */
.footer__bottom {
  padding: 1.5rem 2rem;
  background: rgba(0,0,0,0.2);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.62);
}

.footer__disc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.52);
  max-width: 400px;
  text-align: right;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer__cols .footer__inner-max {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer__cols .footer__inner-max {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__disc { text-align: left; }
}

/* ══ 12. SCROLL REVEAL ══════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══ 13. RESPONSIVE ═════════════════════════════════════ */

/* ── Tablet grande (≤1100px) ── */
@media (max-width: 1100px) {
  .footer__cols .footer__inner-max {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* ── Tablet (≤860px) ── */
@media (max-width: 860px) {
  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__right { order: -1; height: 58vw; max-height: 380px; clip-path: none; }
  .hero__photo { object-position: center 15%; }
  .hero__left { padding: 2rem 1.25rem 2.5rem; gap: 1.5rem; }
  .hero__logo { height: 148px; max-width: 420px; }

  /* Timeline */
  .timeline { padding: 4rem 1.25rem; }
  .timeline__inner { grid-template-columns: 1fr; gap: 2rem; }
  .timeline__header { position: static; }

  /* Cases */
  .cases { padding: 4rem 1.25rem; }
  .cases__header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .cases__bento { grid-template-columns: repeat(2, 1fr); }
  .ccase--wide { flex-direction: column; }
  .ccase--wide .ccase__photo-wrap { width: 100%; aspect-ratio: 16/7; order: 1; }
  .ccase--wide .ccase__content { order: 2; padding: 1.75rem; }

  /* Reviews */
  .reviews { padding: 4rem 0 3rem; }

  /* FAQ */
  .faq { padding: 4rem 1.25rem; }
  .faq__inner { grid-template-columns: 1fr; gap: 2rem; }
  .faq__header { position: static; }


  /* About — tablet (entre 720px y 860px) */
  .about { grid-template-columns: 42% 1fr; }
  .about__text-inner { padding: 2.5rem 1.75rem 2.5rem 1.5rem; }

  /* Footer */
  .footer__cols { padding: 3rem 1.25rem 2.5rem; }
  .footer__bottom { padding: 1.25rem 1.25rem; }
  .footer__logo { height: 200px; }
}

/* ── Tablet intermedio (≤720px) — colapsa about antes de llegar a mobile ── */
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; min-height: auto; }
  .about__photo-col { height: 76vw; max-height: 440px; }
  .about__photo-fade { background: linear-gradient(to bottom, transparent 60%, var(--white) 100%); }
  .about__text { align-items: flex-start; }
  .about__text-inner { padding: 2rem 1.5rem 3rem; max-width: 100%; gap: 1.2rem; }
  .about__name { font-size: clamp(2.4rem, 8vw, 3rem); }
  .about__cta { flex-direction: column; align-items: stretch; }
  .about__cta .btn--hero { width: 100%; justify-content: center; }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  /* Globals */
  .section-title { font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
  .section-sub { font-size: 0.92rem; line-height: 1.6; }

  /* ── HERO ── */
  .hero__right { height: 88vw; max-height: 430px; }
  .hero__photo { object-position: center 15%; transform: scale(1); }
  .hero__left { padding: 1.5rem 1rem 5rem; gap: 1.1rem; }
  .hero__logo { height: 170px; max-width: 100%; }
  .hero__logo-wrap { align-items: center; }
  .hero__eyebrow { display: none; }
  .hero__headline { font-size: clamp(1.75rem, 6.5vw, 2.5rem); }
  .hero__tagline { font-size: 0.88rem; line-height: 1.6; }
  .status-panel { padding: 1.1rem; gap: 0.8rem; border-radius: 14px; }
  .status-panel__label { font-size: 0.68rem; }
  .btn--hero { font-size: 0.92rem; padding: 0.85rem 1.1rem 0.85rem 0.85rem; min-height: 44px; }
  .btn--hero svg { width: 24px; height: 24px; }

  /* Badge móvil: esquina inferior derecha, oculto por defecto, aparece al tocar la foto */
  .hero__badge { max-width: 190px; }
  .hero__badge-glow { display: none; }
  .hero__badge-bar-block,
  .hero__badge-pills,
  .hero__badge-sep { display: none; }
  .hero__badge-live { font-size: 0.6rem; white-space: nowrap; }
  .hero__badge-stat { flex-direction: row; align-items: center; gap: 0.4rem; flex: 1; }
  .hero__badge-num { font-size: 1.5rem; }
  .hero__badge-desc { font-size: 0.56rem; line-height: 1.35; padding-bottom: 0; }

  /* ── URGENCY ── */
  .urgency { padding: 1.4rem 1rem; }
  .urgency__inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .btn--urgency { width: 100%; justify-content: center; }
  .urgency__heading { font-size: clamp(1.25rem, 5vw, 1.65rem); }
  .urgency__sub { font-size: 0.85rem; }

  /* ── TIMELINE ── */
  .timeline { padding: 3rem 1rem; }
  .timeline__link { gap: 1rem; padding: 1.1rem 0; }
  .timeline__title { font-size: 0.95rem; }
  .timeline__desc { font-size: 0.8rem; }

  /* ── CASES ── */
  .cases { padding: 3rem 1rem; }
  .cases__header { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .cases__bento { grid-template-columns: 1fr; gap: 1rem; }
  .ccase--wide { flex-direction: column; }
  .ccase--wide .ccase__photo-wrap { width: 100%; aspect-ratio: 16/7; order: 1; }
  .ccase--wide .ccase__content { order: 2; padding: 1.5rem; }
  .ccase__name { font-size: 1.2rem; }

  /* ── REVIEWS ── */
  .reviews { padding: 2.5rem 0 2rem; }
  .reviews__header { padding: 0 1rem; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .reviews__header-right { align-items: flex-start; }
  .reviews__big-score { font-size: 2.6rem; }
  /* Quitar fade izquierdo en móvil — primera card queda cortada */
  .marquee {
    -webkit-mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
  }


  /* ── FAQ ── */
  .faq { padding: 2.5rem 1rem; }
  .faq-item__trigger { font-size: 0.93rem; padding: 1.1rem 0; gap: 1rem; }

  /* ── ABOUT (heredado de ≤720px, sólo ajustes menores) ── */
  .about__photo-col { height: 80vw; max-height: 440px; }
  .about__text-inner { padding: 1.5rem 1rem 2.5rem; gap: 1rem; }
  .about__name { font-size: clamp(2.2rem, 9vw, 2.8rem); }

  /* ── FOOTER ── */
  .footer__cols { padding: 2.5rem 1rem 2rem; }
  .footer__cols .footer__inner-max { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__col--brand { grid-column: auto; align-items: center; text-align: center; }
  .footer__brand-desc { text-align: center; }
  .footer__social { align-items: center; }
  .footer__logo { height: 230px; max-width: 90vw; object-position: center center; }
  .footer__precta { padding: 1.5rem 1rem; }
  .footer__precta-inner { align-items: center; gap: 1.25rem; }
  .footer__precta-btn { width: 100% !important; justify-content: center; }
  .footer__disc { text-align: left; }
  .footer__bottom { padding: 1rem 1rem calc(1rem + 72px + env(safe-area-inset-bottom)); }
  .footer__bottom-inner { flex-direction: column; gap: 0.5rem; }
  .footer__copy { font-size: 0.7rem; }
}

/* ══ 14. PREFERS-REDUCED-MOTION ════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  /* Desactiva todas las transiciones y animaciones CSS */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Detiene el marquee de reseñas y el zoom de la foto */
  .marquee__track { animation: none !important; }
  .hero__photo { animation: none !important; transform: scale(1.04) !important; }

  /* Scroll reveal — ya visible sin animación */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Mobile pequeño (≤420px) ── */
@media (max-width: 420px) {
  .hero__right { height: 84vw; max-height: 350px; }
  .hero__left { padding: 1.25rem 0.85rem 1.75rem; }
  .hero__headline { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .hero__logo { height: 140px; }
  .ccase__name { font-size: 1.1rem; }
  .about__photo-col { height: 74vw; max-height: 330px; }
  .about__name { font-size: clamp(2rem, 10vw, 2.6rem); }
  .footer__logo { height: 185px; }
}

/* ══ 15. STICKY CTA — scroll-triggered, PC + móvil ════ */

.sticky-cta {
  position: fixed;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.sticky-cta.sticky-cta--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Móvil: barra completa inferior */
@media (max-width: 640px) {
  .sticky-cta {
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(8px);
  }
  .sticky-cta.sticky-cta--visible { transform: translateY(0); }

  .sticky-cta__wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--wa);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 980px;
    padding: 0.85rem 1rem;
    min-height: 44px;
    box-shadow: 0 2px 12px rgba(37,211,102,0.4);
    transition: background 0.18s;
  }
  .sticky-cta__wa:hover { background: var(--wa-h); }
  .sticky-cta__wa svg { width: 20px; height: 20px; flex-shrink: 0; }

  .sticky-cta__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 980px;
    padding: 0.85rem 1.1rem;
    min-height: 44px;
    white-space: nowrap;
    transition: background 0.18s;
  }
  .sticky-cta__tel:hover { background: rgba(255,255,255,0.12); }
  .sticky-cta__tel svg { width: 16px; height: 16px; flex-shrink: 0; }
}

/* PC: botón flotante WhatsApp — esquina inferior derecha */
@media (min-width: 641px) {
  .sticky-cta {
    bottom: 2rem;
    right: 2rem;
    display: flex;
    transform: translateY(12px);
  }
  .sticky-cta.sticky-cta--visible { transform: translateY(0); }

  .sticky-cta__wa {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 1.35rem 0.72rem 1.1rem;
    background: var(--wa);
    color: #fff;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(37,211,102,0.38);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
  }
  .sticky-cta__wa:hover {
    background: var(--wa-h);
    transform: scale(1.04);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  }
  .sticky-cta__wa svg { width: 18px; height: 18px; flex-shrink: 0; }
  .sticky-cta__tel { display: none; }
}
