/* ==========================================================================
   FixGo · landing publica
   ========================================================================== */

.wrap-l {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------ Navbar --------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 14px 0;
  transition: background var(--t), border-color var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 9, 18, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line-soft);
  padding: 10px 0;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: var(--grad-brand);
  box-shadow: 0 10px 26px -10px rgba(79, 123, 255, 0.9);
  color: #fff;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-size: 20px; }
.brand-name span { color: var(--primary); }

.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -5px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: right var(--t);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 9px; }
.nav-cta .btn-ghost { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta .btn-ghost { display: inline-flex; }
}

/* ------------------------------- Hero ---------------------------------- */
.hero { position: relative; padding: 34px 0 60px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(79, 123, 255, 0.22), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  gap: 42px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-in { grid-template-columns: 1.08fr 0.92fr; gap: 60px; padding: 46px 0 20px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border-radius: var(--pill);
  background: rgba(79, 123, 255, 0.1);
  border: 1px solid rgba(79, 123, 255, 0.26);
  font-size: 12.5px;
  font-weight: 650;
  color: #c3d4ff;
  margin-bottom: 20px;
}
.hero-badge b {
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--grad-brand);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(34px, 8.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.042em;
  font-weight: 820;
}
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin-top: 18px;
  font-size: clamp(15.5px, 2.4vw, 18.5px);
  color: var(--muted);
  line-height: 1.62;
  max-width: 52ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 190px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trust-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.trust-item b { color: var(--text); font-weight: 750; }

/* ------------------------- Mockup del telefono ------------------------- */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #263149, #10161f);
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-16px) rotate(0.6deg); }
}
.phone::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 22px;
  border-radius: var(--pill);
  background: #06090f;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #080c15;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 20px;
  border-radius: var(--pill);
  background: #06090f;
  z-index: 2;
}

/* Mini-mapa dentro del mockup */
.phone-map {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.phone-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 200px at 30% 40%, rgba(79, 123, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(6, 9, 18, 0.35) 0%, transparent 30%, rgba(6, 9, 18, 0.75) 100%);
}
.phone-card {
  position: absolute;
  left: 12px; right: 12px;
  z-index: 2;
  padding: 13px;
  border-radius: 20px;
  background: rgba(11, 17, 28, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--sh-lg);
}
.phone-card-top { top: 46px; }
.phone-card-bottom { bottom: 46px; }
.phone-driver { display: flex; align-items: center; gap: 10px; }
.phone-driver .avatar { width: 38px; height: 38px; font-size: 13px; }
.phone-eta { display: flex; align-items: baseline; gap: 5px; margin: 10px 0 2px; }
.phone-eta b { font-size: 30px; font-weight: 820; letter-spacing: -0.04em; line-height: 1; }
.phone-eta span { font-size: 12.5px; color: var(--muted); }
.phone-bar { display: flex; gap: 4px; margin-top: 11px; }
.phone-bar i {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.phone-bar i.on { background: var(--grad-brand); }
.phone-bar i.mint { background: var(--grad-mint); }
.phone-fab {
  position: absolute;
  right: 14px; bottom: 190px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(79, 123, 255, 0.9);
}
.phone-fab svg { width: 24px; height: 24px; }
.phone-mini {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 12px;
  background: rgba(79, 123, 255, 0.14);
  border: 1px solid rgba(79, 123, 255, 0.3);
  color: #8fb0ff;
}
.phone-mini svg { width: 17px; height: 17px; }

.hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.28), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

/* ------------------------------ Secciones ------------------------------ */
.section { padding: 62px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }

.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 5.2vw, 40px);
  letter-spacing: -0.038em;
  margin: 13px 0 12px;
  line-height: 1.1;
}
.section-head p { color: var(--muted); font-size: clamp(14.5px, 2vw, 17px); line-height: 1.65; }

/* Pasos (estilo "como funciona") */
.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  background: var(--grad-surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-5px); border-color: rgba(79, 123, 255, 0.4); }
.step-num {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 54px;
  font-weight: 850;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 17px;
  background: var(--grad-brand);
  box-shadow: 0 12px 28px -12px rgba(79, 123, 255, 0.9);
  color: #fff;
  margin-bottom: 17px;
}
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 17.5px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.step-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.24);
  font-size: 11.5px;
  font-weight: 700;
  color: #8bffd4;
}

/* Servicios */
.serv-grid { display: grid; gap: 13px; }
@media (min-width: 620px) { .serv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .serv-grid { grid-template-columns: repeat(3, 1fr); } }

.serv {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--grad-surface);
  border: 1px solid var(--line-soft);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.serv:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 123, 255, 0.42);
  box-shadow: var(--sh-lg);
}
.serv-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: rgba(79, 123, 255, 0.12);
  border: 1px solid rgba(79, 123, 255, 0.24);
  color: #8fb0ff;
}
.serv-icon svg { width: 25px; height: 25px; }
.serv h3 { font-size: 17px; }
.serv p { color: var(--muted); font-size: 13.8px; line-height: 1.55; flex: 1; }
.serv-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.serv-price { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.serv-go {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: rgba(79, 123, 255, 0.13);
  border: 1px solid rgba(79, 123, 255, 0.26);
  color: #8fb0ff;
  transition: all var(--t);
}
.serv:hover .serv-go { background: var(--grad-brand); color: #fff; border-color: transparent; }
.serv-go svg { width: 19px; height: 19px; }

/* Tecnicos */
.tec-grid { display: grid; gap: 13px; }
@media (min-width: 620px) { .tec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tec-grid { grid-template-columns: repeat(4, 1fr); } }

.tec {
  padding: 22px 18px;
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--grad-surface);
  border: 1px solid var(--line-soft);
  transition: transform var(--t), border-color var(--t);
}
.tec:hover { transform: translateY(-4px); border-color: rgba(0, 229, 160, 0.3); }
.tec .avatar { margin: 0 auto 13px; }
.tec h3 { font-size: 15.5px; }
.tec-spec { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.tec-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.tec-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tec-meta svg { width: 14px; height: 14px; color: #ffc531; }
.tec-meta .z svg { color: var(--info); }

/* Features */
.feat-grid { display: grid; gap: 13px; }
@media (min-width: 680px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat { padding: 24px 20px; border-radius: var(--r-lg); background: rgba(19, 28, 46, 0.5); border: 1px solid var(--line-soft); }
.feat-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.22);
  color: var(--accent);
  margin-bottom: 15px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 16px; margin-bottom: 7px; }
.feat p { color: var(--muted); font-size: 14px; line-height: 1.58; }

/* Testimonios */
.trust-stats { max-width: 720px; margin: 0 auto 22px; }
.trust-stats .stat { text-align: center; }
.demo-note {
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 9px 14px;
  border-radius: var(--r);
  border: 1px dashed var(--line);
  background: rgba(79, 123, 255, 0.07);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}
.testi-grid { display: grid; gap: 13px; }
@media (min-width: 700px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi { padding: 22px; border-radius: var(--r-lg); background: var(--grad-surface); border: 1px solid var(--line-soft); }
.testi .stars { margin-bottom: 13px; }
.testi p { color: #cbd5e1; font-size: 14.5px; line-height: 1.65; font-style: italic; }
.testi-by { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.testi-by .avatar { width: 38px; height: 38px; font-size: 13px; }

/* Cobertura / mapa */
.cov {
  display: grid;
  gap: 26px;
  align-items: center;
}
@media (min-width: 940px) { .cov { grid-template-columns: 0.9fr 1.1fr; } }
.cov-map {
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.cov-list { display: grid; gap: 11px; }
.cov-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-radius: var(--r);
  background: rgba(19, 28, 46, 0.5);
  border: 1px solid var(--line-soft);
}
.cov-item .cov-dot {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 12px;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.22);
  color: var(--accent);
}
.cov-item svg { width: 19px; height: 19px; }
.cov-item b { font-size: 14.5px; display: block; }
.cov-item span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item {
  border-radius: var(--r);
  background: rgba(19, 28, 46, 0.5);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(79, 123, 255, 0.35); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 19px;
  text-align: left;
  font-weight: 650;
  font-size: 15px;
}
.faq-q svg { width: 19px; height: 19px; color: var(--muted); flex: none; transition: transform var(--t); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding var(--t);
  padding: 0 19px;
  color: var(--muted);
  font-size: 14.3px;
  line-height: 1.65;
}
.faq-item.open .faq-a { padding: 0 19px 19px; max-height: 320px; }

/* CTA final */
.cta-final {
  position: relative;
  padding: 46px 30px;
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79, 123, 255, 0.2), rgba(123, 92, 255, 0.14));
  border: 1px solid rgba(79, 123, 255, 0.3);
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  top: -200px; right: -120px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.18), transparent 70%);
  filter: blur(30px);
}
.cta-final h2 { position: relative; font-size: clamp(25px, 5vw, 38px); letter-spacing: -0.04em; }
.cta-final p { position: relative; color: var(--muted); margin: 14px auto 26px; max-width: 48ch; line-height: 1.6; }
.cta-final .hero-actions { position: relative; justify-content: center; margin-top: 0; }
.cta-final .btn { flex: 0 1 auto; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 44px 0 34px; margin-top: 20px; }
.footer-in { display: grid; gap: 30px; }
@media (min-width: 780px) { .footer-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer a { font-size: 14px; color: var(--muted); transition: color var(--t); }
.footer a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: 14px; line-height: 1.62; margin-top: 14px; max-width: 38ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* Burbuja de whatsapp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 850;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.75);
  transition: transform var(--t);
}
.wa-float:active { transform: scale(0.9); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 2.4s var(--ease) infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
