/* ============================================================
   Faster Consultores — Landing
   ============================================================ */

:root {
  --navy:        #16243d;
  --navy-soft:   #1e3252;
  --navy-card:   #20335a;
  --blue:        #2f6fed;
  --blue-dark:   #1f57c9;
  --amber:       #f7a934;   /* acento cálido — usado SOLO en números/datos */
  --ink:         #1e293b;
  --muted:       #5b6677;
  --light:       #f4f6f9;
  --white:       #ffffff;
  --border:      #e4e8ef;
  --radius:      16px;
  --shadow:      0 12px 30px rgba(22, 36, 61, 0.10);
  --shadow-lg:   0 26px 60px rgba(22, 36, 61, 0.22);
  --maxw:        1240px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .btn { margin-top: 8px; }

.lead { font-size: 1.1rem; margin-top: 16px; }

.section { padding: 100px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--navy); color: #c3cee0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: #b9c4d6; }
.section--dark .lead { color: #c3cee0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7da6ff;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow--dark { color: var(--blue); }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Highlights ---------- */
.hl { color: var(--blue); }
.section--dark .hl,
.statement .hl { color: var(--amber); }
.hl-soft { color: #ffe39c; }
.hl-underline {
  position: relative;
  white-space: nowrap;
}
.hl-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.28em;
  background: var(--blue);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.55;
}

/* ---------- Section head ---------- */
.section-head { margin-bottom: 56px; }
.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 4px; }
.section-head .lead { margin-top: 14px; }

.kicker-h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
}
.kicker-h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em; bottom: 0.15em;
  width: 4px;
  background: var(--blue);
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(47, 111, 237, 0.35); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--ghost-light { color: var(--white); }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(22, 36, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 40px; }
.header__text { display: flex; flex-direction: column; line-height: 1.15; }
.header__name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
}
.header__tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb4ff;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: #c6d0e0; font-size: 0.93rem; font-weight: 500; transition: color 0.2s; }
.nav__link:hover { color: var(--white); }
.nav__cta {
  background: var(--blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--blue-dark); transform: translateY(-2px); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(47, 111, 237, 0.4), transparent 62%),
    var(--navy);
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}
.hero__kicker {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fb4ff;
  margin-bottom: 18px;
}
.hero__headline {
  color: var(--white);
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
}
.hero p { color: #c3cee0; font-size: 1.12rem; margin-top: 22px; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.stat-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}
.stat-badge strong {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-badge span { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.stat-badge--corner {
  bottom: auto;
  top: -26px;
  left: auto;
  right: -26px;
}
.stat-badge--corner strong { color: var(--amber); }

/* ============ CLIENTES ============ */
.clients { padding: 60px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.clients__title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.clients__marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 26s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__track img {
  height: 52px;
  width: auto;
  margin: 0 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.clients__track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ============ STATEMENT ============ */
.statement {
  padding: 110px 0;
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(47, 111, 237, 0.07), transparent),
    var(--white);
}
.statement__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  margin: 8px 0 0;
}
.statement .lead { font-size: 1.18rem; }

/* ============ SPLIT ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split + .split, .section-head + .split, .stats + .split { margin-top: 56px; }
.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.split__media--framed::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  opacity: 0.16;
  z-index: 0;
}
.section--dark .split__media--framed::before { opacity: 0.4; }
.split__content h2, .split__content h3 { margin-bottom: 16px; }
.split__content .eyebrow + h2 { margin-top: 0; }
.split__content p + p { margin-top: 14px; }
.split__content .btn { margin-top: 28px; }

/* ============ CHECKLIST ============ */
.checklist { list-style: none; margin: 24px 0 6px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 1rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist__ic {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px 32px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.18;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.card h3 { margin-bottom: 12px; }
.cards--dark .card {
  background: var(--navy-card);
  border-color: rgba(255, 255, 255, 0.08);
}
.cards--dark .card h3 { color: var(--white); }
.cards--dark .card p { color: #b9c4d6; }
.cards--dark .card__num { color: var(--amber); opacity: 0.32; }
.cards--dark .card::before { background: var(--amber); }

/* ============ BENEFITS ============ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.benefit {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit__top {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(47, 111, 237, 0.12), rgba(47, 111, 237, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit__icon { width: 46px; height: 46px; object-fit: contain; }
.benefit h3 { margin-bottom: 10px; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}
.stat {
  text-align: center;
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}
.stat span { font-size: 0.92rem; color: #b9c4d6; }

/* ============ EMBED (PowerBI) ============ */
.embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 36px;
  background: #0f1a2e;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ STEPS (equipo) ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.12;
  line-height: 1;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step__level {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(47, 111, 237, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }

/* ============ CTA BANNERS ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 88px 0;
}
.cta-banner .eyebrow { color: #cfe0ff; justify-content: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  margin: 16px auto 30px;
  max-width: 640px;
}
.cta-banner--strong {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, #1f57c9 0%, var(--navy) 100%);
}
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #b9c4d6; padding-top: 72px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.footer__brand img { width: 72px; border-radius: 40px; margin-bottom: 16px; }
.footer__brand p { color: #95a3ba; max-width: 320px; }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer__col a {
  display: block;
  color: #95a3ba;
  padding: 5px 0;
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer__bottom p { color: #6f7d94; font-size: 0.85rem; text-align: center; }
.footer__credit {
  margin-top: 6px;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a566b !important;
}
.footer__credit span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #7da6ff;
}

/* ============ TO TOP ============ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); }

/* ============ WHATSAPP FLOTANTE ============ */
.wa-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 95;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
/* --- Pantallas grandes: el hero respira y llena el viewport --- */
@media (min-width: 1500px) {
  :root { --maxw: 1380px; }
  .hero { padding: 124px 0 144px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 88px; }
  .hero p { font-size: 1.2rem; max-width: 600px; }
  .hero__actions { margin-top: 40px; }
}
@media (min-width: 1900px) {
  :root { --maxw: 1520px; }
  .hero { padding: 150px 0 170px; }
}

@media (max-width: 920px) {
  .section, .statement { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }

  .header__inner { padding-top: 36px; }

  .nav {
    position: fixed;
    inset: 90px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 14px 24px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav.open { transform: translateY(0); }
  .nav__link, .nav__cta { width: 100%; padding: 14px 0; text-align: center; }
  .nav__cta { margin-top: 10px; }
  .nav__toggle { display: flex; }

  .hero { padding: 116px 0 90px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__content { text-align: center; }
  .hero p { max-width: none; }
  .hero__actions { justify-content: center; }
  .stat-badge { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .stat-badge--corner { left: auto; right: 16px; transform: none; top: -24px; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 10; }
  .split__media--framed::before { inset: 14px -14px -14px 14px; }

  .cards, .benefits, .steps, .stats { grid-template-columns: 1fr; gap: 18px; }
  .stats { margin-bottom: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header__text { display: none; }
  .clients__track img { height: 42px; margin: 0 26px; }
  .btn { width: 100%; }
  .hero__actions, .cta-banner__actions { flex-direction: column; }
  .stat-badge { padding: 14px 18px; }
  .stat-badge strong { font-size: 2rem; }
}
