:root {
  --mustard: #FFAB00;
  --mustard-light: #FFB824;
  --bg-page: #E8E8E8;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F4F4F2;
  --bg-section-alt: #FFFFFF;
  --gray-text: #5A6570;
  --text-primary: #1D262E;
  --radius: 14px;
  --max-w: 1100px;
  /* Legacy aliases para compatibilidad */
  --dark: var(--bg-page);
  --dark-card: var(--bg-card);
  --dark-card-hover: var(--bg-card-alt);
  --white: var(--text-primary);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(255,171,0,.32) 0%, rgba(255,171,0,.12) 280px, rgba(232,232,232,0) 520px),
    var(--bg-page);
  background-repeat: no-repeat;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav-logo { height: 24px !important; width: auto !important; display: block; }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(29,38,46,.08);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-text {
  font-family: 'Aktiv Grotesk', Helvetica, Arial, sans-serif;
  font-weight: 700; font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -0.5px;
  text-transform: lowercase;
}
.logo-text span { color: var(--mustard); font-weight: 800; }
.nav-cta {
  background: var(--mustard); color: #1D262E;
  font-weight: 700; font-size: .85rem;
  padding: 10px 22px; border-radius: 50px;
  text-decoration: none; letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,171,0,.35); }

/* ── HERO ── */
.hero {
  display: block; text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background: transparent;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='48' height='48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 8l8 8-8 8' stroke='rgba(255,171,0,.06)' fill='none' stroke-width='2'/%3E%3Cpath d='M28 8l8 8-8 8' stroke='rgba(255,171,0,.04)' fill='none' stroke-width='2'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1D262E; border: 1px solid rgba(255,171,0,.35);
  padding: 8px 18px; border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: var(--mustard);
  margin-bottom: 28px;
  animation: fadeInDown .6s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; } 50% { opacity: .4; }
}
h1 {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeInDown .6s ease .1s both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--mustard), var(--mustard-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.word-rotator {
  display: inline-block;
  transition: opacity .35s ease, transform .35s ease;
}
.word-rotator.is-changing {
  opacity: 0;
  transform: translateY(-6px);
}
.hero-sub {
  margin-top: 20px; font-size: 1.1rem; color: var(--gray-text);
  line-height: 1.6; max-width: 540px; margin-inline: auto;
  animation: fadeInDown .6s ease .2s both;
}
.hero-ctas {
  margin-top: 36px; display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  animation: fadeInDown .6s ease .3s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mustard); color: #1D262E;
  font-weight: 700; font-size: 1.05rem;
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(255,171,0,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,171,0,.4); }
.btn-primary svg { width: 22px; height: 22px; }
.btn-primary .wa-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; border-radius: 50%;
  width: 32px; height: 32px;
  margin-left: -10px;
}
.btn-primary .wa-badge svg { width: 20px; height: 20px; fill: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(29,38,46,.12); color: var(--white);
  font-weight: 500; font-size: .95rem;
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--mustard); background: rgba(255,171,0,.06); }

/* ── STATS ── */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2px; max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px;
  animation: fadeInDown .6s ease .4s both;
}
.stat {
  background: var(--dark-card); padding: 28px 20px;
  text-align: center; border-radius: 4px;
  transition: background .2s;
}
.stat:hover { background: var(--dark-card-hover); }
.stat-num {
  font-family: 'Aktiv Grotesk', Helvetica, Arial, sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--mustard);
}
.stat-label { font-size: .82rem; color: var(--gray-text); margin-top: 4px; }
.stats-disclaimer {
  max-width: var(--max-w);
  margin: 10px auto 0;
  padding: 0 24px;
  font-size: .75rem;
  color: var(--gray-text);
  text-align: center;
  font-style: italic;
}

/* ── SECTIONS ── */
section { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }
.section-tag {
  font-size: .75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mustard); margin-bottom: 12px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -.5px;
}
.section-sub {
  margin-top: 12px; color: var(--gray-text);
  font-size: .95rem; max-width: 520px; line-height: 1.6;
}

/* ── SERVICES ── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 40px;
}
.service-card {
  background: var(--dark-card); border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(29,38,46,.08); box-shadow: 0 2px 12px rgba(29,38,46,.06);
  transition: border-color .3s, transform .3s;
}
.service-card:hover { border-color: rgba(255,171,0,.25); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,171,0,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--mustard); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: .88rem; color: var(--gray-text); line-height: 1.55; }

/* ── HOW IT WORKS ── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 40px; counter-reset: step;
}
/* step styles now in improvements block above */

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px; margin-top: 40px;
}
.testimonial {
  background: var(--dark-card); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(29,38,46,.08); box-shadow: 0 2px 12px rgba(29,38,46,.06);
}
.testimonial .stars { color: var(--mustard); font-size: .9rem; margin-bottom: 12px; }
.testimonial blockquote {
  font-size: .92rem; line-height: 1.6; color: var(--gray-text);
  font-style: italic;
}
.testimonial .author {
  margin-top: 16px; font-size: .8rem; font-weight: 600;
  color: var(--white);
}
.testimonial .author span { color: var(--gray-text); font-weight: 400; }

/* ── FAQ ── */
.faq-list { margin-top: 40px; max-width: 680px; }
.faq-item {
  border-bottom: 1px solid rgba(29,38,46,.08);
}
.faq-q {
  width: 100%; background: none; border: none; color: var(--white);
  font-family: 'Aktiv Grotesk', Helvetica, Arial, sans-serif;
  font-size: .95rem; font-weight: 600;
  text-align: left; padding: 20px 0;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after {
  content: '+'; font-size: 1.3rem; color: var(--mustard);
  transition: transform .3s;
}
.faq-q.active::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a p {
  font-size: .88rem; color: var(--gray-text); line-height: 1.6;
  padding-bottom: 20px;
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--mustard); opacity: .55; animation: scroll-bounce 2.2s ease-in-out infinite;
  text-decoration: none;
}
.scroll-hint span { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.scroll-hint svg { width: 18px; height: 18px; }
@keyframes scroll-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ── SECTION ALTERNADA ── */
.section-alt { background: var(--bg-section-alt); }
.section-alt .service-card,
.section-alt .step,
.section-alt .testimonial,
.section-alt .faq-item { background: var(--bg-card-alt); }

/* ── STEPS mejorado ── */
.step { counter-increment: step; position: relative; padding-left: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--mustard); opacity: 1; line-height: 1;
  display: block; margin-bottom: 12px;
  letter-spacing: -2px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--gray-text); line-height: 1.5; }

/* ── WA FAB ── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab img { width: 28px; height: 28px; }

/* WHATSAPP ICONS (img) */
.wa-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.nav-cta .wa-icon {
  width: 18px;
  height: 18px;
}

/* ── COMPARE TABLE (servicios) ── */
.compare-table {
  width: 100%; margin-top: 40px; border-collapse: collapse; font-size: .88rem;
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid rgba(29,38,46,.06);
}
.compare-table thead th {
  font-size: .75rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gray-text); font-weight: 600;
}
.compare-table .avex-col { color: var(--mustard); font-weight: 700; }
.compare-table .check { color: #16a34a; font-weight: 600; }
.compare-table .cross { color: #9ca3af; }
@media (max-width: 600px) {
  .nav-logo { height: 22px !important; }
  .compare-table { font-size: .78rem; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
}

/* ── BOTTOM CTA ── */
.bottom-cta {
  text-align: center; padding: 80px 24px 100px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,171,0,.08) 0%, transparent 70%);
}
.bottom-cta h2 {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  letter-spacing: -.5px;
}
.bottom-cta p { color: var(--gray-text); margin: 14px 0 32px; font-size: .95rem; }

/* ── FOOTER ── */
footer {
  text-align: center; padding: 32px 24px;
  border-top: 1px solid rgba(29,38,46,.06);
  font-size: .78rem; color: var(--gray-text);
}

/* ── ANIMS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 100px 18px 80px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 18px; }
  .services-grid { grid-template-columns: 1fr; }
}

/* COMPARÁ — banda full-bleed naranja */
.section-alt {
  background: var(--mustard) !important;
  color: var(--text-primary);
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 96px 24px;
}
.section-alt > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.section-alt .section-tag { color: rgba(29,38,46,.75); }
.section-alt .section-title { color: var(--text-primary); }
.section-alt .section-sub { color: rgba(29,38,46,.8); }
.section-alt .compare-table {
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 16px;
  box-shadow: 0 14px 40px rgba(29,38,46,.18);
  overflow: hidden;
}
.section-alt .compare-table th,
.section-alt .compare-table td { border-bottom-color: rgba(29,38,46,.08); }
.section-alt .compare-table thead th { color: var(--text-primary); opacity: .65; }
.section-alt .compare-table .avex-col { color: var(--text-primary); }
.section-alt .compare-table .check { color: #16a34a; }
.section-alt .compare-table .cross { color: #6b7280; }


@media(max-width:600px){ .hero-badge { display:none !important; } }
