/* ─── Variables ─── */
:root {
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-card-alt: #1a1a1a;
  --blue: #1b38e8;
  --blue-hover: #1530cc;
  --lime: #c8ff00;
  --white: #ffffff;
  --white-60: rgba(255,255,255,0.6);
  --white-10: rgba(255,255,255,0.08);
  --white-20: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.1);
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-w: 1200px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-hover); box-shadow: 0 0 24px rgba(27,56,232,0.4); }

.btn--accent {
  background: var(--lime);
  color: #000;
}
.btn--accent:hover { box-shadow: 0 0 28px rgba(200,255,0,0.35); }

.btn--full { width: 100%; justify-content: center; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 48px;
  color: var(--white);
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--delay { transition-delay: 0.15s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}
.logo__digital { color: var(--blue); }
.logo__view { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-60);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--white); }

.nav__cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  padding: 160px 0 80px;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--white-60);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__cta { font-size: 1rem; }

.hero__stats { display: flex; flex-direction: column; gap: 16px; }

.stat {
  padding: 24px 28px;
  border-radius: var(--radius);
}
.stat--blue { background: var(--blue); }
.stat--dark { background: var(--bg-card); border: 1px solid var(--border); }

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__number--lime { color: var(--lime); }
.stat__label { font-size: 0.9rem; color: var(--white-60); }
.stat__label--bold { font-size: 1rem; font-weight: 600; color: var(--white); }
.stat__label--bold em { font-style: italic; color: var(--white-60); }

.hero__line {
  height: 3px;
  background: var(--lime);
  margin-top: 80px;
  border-radius: 2px;
}

/* ─── El Problema ─── */
.problema {
  padding: 100px 0;
}
.problema__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.problema__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 16px;
}
.problema__subtitle {
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 700;
}
.problema__list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.problema__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.6;
}
.problema__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 7px;
}
.problema__result {
  padding: 20px 24px;
  background: var(--white-10);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--white-60);
  line-height: 1.6;
}
.problema__result strong { color: var(--white); }

/* ─── Servicios ─── */
.servicios { padding: 100px 0; }
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card__desc { font-size: 0.875rem; color: var(--white-60); line-height: 1.65; }

/* ─── Proceso ─── */
.proceso { padding: 100px 0; background: var(--bg-card-alt); }
.proceso__timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}
.proceso__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.proceso__dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.proceso__dot span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
}
.proceso__step-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.proceso__step-desc { font-size: 0.78rem; color: var(--white-60); line-height: 1.5; }

.proceso__connector {
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 26px;
}

.proceso__result {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 28px 36px;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}
.proceso__result strong { color: var(--lime); }

/* ─── Testimonios ─── */
.testimonios { padding: 100px 0; }
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: rgba(200,255,0,0.3); }

.testimonial-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white-10);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--white-60);
  width: fit-content;
}
.testimonial-card__name {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--white-60);
}
.testimonial-card__role a { color: var(--blue); }
.testimonial-card__role a:hover { color: var(--lime); }

.testimonial-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.testimonial-card__metrics li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--lime);
  line-height: 1;
}
.metric-label { font-size: 0.72rem; color: var(--white-60); }

.testimonial-card__highlight {
  background: var(--white-10);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white-60);
  text-align: center;
  margin-top: auto;
}

/* ─── Contacto ─── */
.contacto { padding: 100px 0; }
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  margin-bottom: 16px;
}
.contacto__sub { font-size: 1rem; color: var(--white-60); margin-bottom: 32px; }
.contacto__info { display: flex; flex-direction: column; gap: 14px; }
.contacto__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white-60);
  transition: color var(--transition);
}
.contacto__link:hover { color: var(--white); }
.contacto__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 0.8rem; font-weight: 600; color: var(--white-60); letter-spacing: 0.05em; }
.form__input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
  resize: none;
}
.form__input::placeholder { color: rgba(255,255,255,0.25); }
.form__input:focus { border-color: var(--blue); }
.form__textarea { min-height: 120px; }
.form__success {
  display: none;
  text-align: center;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 600;
}
.form__success.visible { display: block; }

/* ─── VSL ─── */
.vsl { padding: 100px 0; background: var(--bg-card-alt); }
.vsl__wrapper { max-width: 860px; margin: 0 auto; }
.vsl__player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.vsl__player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ─── Equipo ─── */
.equipo { padding: 100px 0; }

.equipo__socios {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.equipo__staff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.team-card--partner {
  border-color: rgba(27,56,232,0.35);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3a5af5);
  box-shadow: 0 0 28px rgba(27,56,232,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
}

.team-card__avatar--alt {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--white-60);
}

.team-card__avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(27,56,232,0.12);
  border: 1px solid rgba(27,56,232,0.4);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.team-card__name {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--white-60);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__nav { display: flex; gap: 24px; }
.footer__link { font-size: 0.8rem; color: var(--white-60); transition: color var(--transition); }
.footer__link:hover { color: var(--white); }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 36px;
  }
  .nav.open .nav__link { font-size: 1.5rem; }
  .nav__cta { display: none; }
  .hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; flex-wrap: wrap; }
  .hero__stats .stat { flex: 1; min-width: 140px; }

  .problema__inner { grid-template-columns: 1fr; padding: 36px 28px; }

  .servicios__grid { grid-template-columns: repeat(2, 1fr); }

  .proceso__timeline {
    flex-direction: column;
    gap: 24px;
  }
  .proceso__step { flex-direction: row; text-align: left; gap: 16px; }
  .proceso__dot { margin-bottom: 0; }
  .proceso__connector {
    width: 2px;
    height: 24px;
    margin: 0 0 0 25px;
  }

  .testimonios__grid { grid-template-columns: 1fr; }

  .equipo__socios { grid-template-columns: repeat(2, 1fr); }
  .equipo__staff { grid-template-columns: 1fr; }

  .contacto__inner { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .servicios__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; }
  .stat { width: 100%; }
  .equipo__socios { grid-template-columns: 1fr; }
}
