/* LEONPROL — Landing Page Styles */

:root {
  --primary: #0B2F87;
  --secondary: #079FE8;
  --accent: #16C8F4;
  --dark: #071B4A;
  --text: #15213B;
  --muted: #6F7B91;
  --light: #F5F9FD;
  --white: #FFFFFF;
  --border: #E4ECF5;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(7, 27, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(7, 27, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(7, 27, 74, 0.1);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --container: 1240px;
  --header-h: 96px;
  --transition: 0.25s ease;
  --gradient-brand: linear-gradient(135deg, var(--dark) 0%, var(--primary) 45%, var(--secondary) 100%);
  --gradient-soft: linear-gradient(160deg, #E8F4FD 0%, #F5F9FD 50%, #FFFFFF 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: #EEF4FB;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(7, 159, 232, 0.12), transparent),
    linear-gradient(180deg, #F8FBFF 0%, #EEF4FB 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

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

.section {
  padding: 90px 0;
}

.section--light {
  background: linear-gradient(180deg, #F0F6FC 0%, #E8F0FA 100%);
}

.section--surface {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--philosophy {
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.section--philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(22, 200, 244, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.eyebrow--pill {
  background: rgba(7, 159, 232, 0.1);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(7, 159, 232, 0.15);
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  color: var(--muted);
  max-width: 560px;
}

.section-desc--center {
  margin: 0 auto;
}

.section-block {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}

.section-block--testimonials {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 1.15rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  line-height: 1.3;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn--outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 3.25rem;
  width: auto;
  max-width: min(16rem, 42vw);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__links {
  display: flex;
  gap: 32px;
}

.header__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition);
}

.header__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: width var(--transition);
}

.header__links a:hover {
  color: var(--secondary);
}

.header__links a:hover::after {
  width: 100%;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.header__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero — estilo split + cards flotantes */
.hero {
  padding: calc(var(--header-h) + 1.25rem) 0 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(238, 244, 251, 0.95));
  z-index: 1;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-image {
  position: absolute;
  inset: -8%;
  background: url('../images/bg-section-hero.png') center center / cover no-repeat;
  filter: blur(6px);
  transform: scale(1.06);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(7, 27, 74, 0.92) 0%,
      rgba(11, 47, 135, 0.82) 42%,
      rgba(7, 159, 232, 0.45) 72%,
      rgba(11, 47, 135, 0.55) 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  align-items: center;
}

.hero__content {
  max-width: 32rem;
  padding: 0;
}

.hero__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
}

.hero__title {
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero__highlight {
  display: inline-block;
  margin-top: 0.15em;
  padding: 0.06em 0.28em 0.12em;
  background: rgba(22, 200, 244, 0.95);
  color: var(--dark);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: none;
}

.hero__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero .btn--primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .btn--primary:hover {
  background: var(--accent);
  color: var(--dark);
}

.hero .btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.hero .btn--outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  min-height: 0;
  padding-top: 0.5rem;
  margin-left: clamp(-2rem, -4vw, -0.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero__figure {
  position: relative;
  z-index: 2;
  margin: 0 0 -1rem;
  width: min(500px, 108%);
  line-height: 0;
  align-self: flex-end;
}

.hero__figure img {
  width: 100%;
  height: auto;
  max-height: min(580px, calc(100vh - var(--header-h) - 8rem));
  object-fit: contain;
  object-position: bottom left;
  transform: scale(1.06);
  transform-origin: bottom left;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
}

/* Hero stats flotantes */
.hero__stats {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-stat {
  position: absolute;
  width: min(200px, 42vw);
  padding: 1rem 1.125rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(24px);
  animation: heroStatRise 0.8s ease forwards, heroStatFloat 4.5s ease-in-out infinite;
}

.hero-stat--1 {
  top: 8%;
  right: 0;
  animation-delay: 0.2s, 0.2s;
}

.hero-stat--2 {
  bottom: 14%;
  left: 0;
  animation-delay: 0.45s, 0.45s;
}

@keyframes heroStatRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroStatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-stat__number {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.hero-stat__value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.hero-stat__label {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stat {
    animation: heroStatRise 0.8s ease forwards;
  }
}

/* Trust Strip */
.trust {
  padding: 0 0 64px;
  margin-top: -3.5rem;
  position: relative;
  z-index: 3;
}

.trust__card {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  padding: 32px 40px;
  box-shadow: 0 -8px 40px rgba(7, 27, 74, 0.08), var(--shadow-lg);
  border: 1px solid var(--border);
}

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

.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}

.trust__item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.trust__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  color: var(--white);
}

.trust__item h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.trust__item p {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Process */
.section--process {
  padding-top: 40px;
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.process__step {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process__number {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 16px;
  color: var(--primary);
  margin-bottom: 16px;
}

.process__step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process__step p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.process__connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--secondary), var(--border));
  margin-top: 72px;
  border-radius: 2px;
}

/* Methodology */
.methodology__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.methodology__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  position: relative;
}

.methodology__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7, 27, 74, 0.4));
  pointer-events: none;
}

.methodology__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.methodology__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.method-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.method-card:hover::before {
  opacity: 1;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.method-card__icon {
  color: var(--secondary);
  margin-bottom: 10px;
}

.method-card h4 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.method-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Plan card — Cursos */
.section--plan {
  background: linear-gradient(180deg, transparent 0%, rgba(7, 159, 232, 0.06) 50%, transparent 100%);
}

.plan-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.plan-section > .eyebrow {
  margin-bottom: 28px;
}

.plan-section .section-title {
  margin-bottom: 12px;
}

.plan-section__desc {
  margin: 0 auto 40px;
  max-width: 560px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

.plan-card {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(7, 159, 232, 0.08),
    0 20px 50px rgba(7, 27, 74, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--gradient-brand);
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(7, 159, 232, 0.15),
    0 28px 60px rgba(7, 27, 74, 0.16);
}

.plan-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.plan-card__badge--virtual {
  background: var(--secondary);
}

.plan-card__price {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.plan-card__price-note {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.plan-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(7, 27, 74, 0.08);
  overflow: hidden;
}

.plan-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-card__title {
  font-size: clamp(1.125rem, 2.5vw, 1.3125rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--dark);
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 26px;
  padding: 18px 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}

.plan-card__check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(7, 159, 232, 0.14);
  color: var(--secondary);
}

.plan-card__cta {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(11, 47, 135, 0.25);
  margin-top: auto;
}

.plan-card__cta:hover {
  box-shadow: 0 8px 24px rgba(11, 47, 135, 0.35);
}

/* Services — two columns: vertical slider + panel */
.services-timeline__body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.services-timeline__col-left .section-title {
  margin-bottom: 14px;
}

.services-timeline__col-left .section-desc {
  margin-bottom: 32px;
}

.services-timeline__wrap {
  position: relative;
  padding-left: 8px;
  margin-bottom: 24px;
}

.services-timeline__line {
  position: absolute;
  left: 27px;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}

.services-timeline__line-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  border-radius: 2px;
  transition: height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-timeline__slider {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.services-timeline__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.55s ease,
              filter 0.55s ease;
  cursor: pointer;
}

.services-timeline__row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.services-timeline__marker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 2px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.services-timeline__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition), font-weight var(--transition);
}

.services-timeline__item.is-center {
  z-index: 3;
  transform: translateY(-50%) scale(1);
  opacity: 1;
  filter: none;
  pointer-events: auto;
}

.services-timeline__item.is-center .services-timeline__row {
  border-color: rgba(7, 159, 232, 0.45);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.services-timeline__item.is-center .services-timeline__marker {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(11, 47, 135, 0.28);
}

.services-timeline__item.is-center .services-timeline__label {
  color: var(--dark);
  font-weight: 600;
}

.services-timeline__item.is-above {
  z-index: 2;
  transform: translateY(calc(-50% - 72px)) scale(0.94);
  opacity: 0.45;
  filter: blur(0.5px);
  pointer-events: auto;
}

.services-timeline__item.is-below {
  z-index: 2;
  transform: translateY(calc(-50% + 72px)) scale(0.94);
  opacity: 0.45;
  filter: blur(0.5px);
  pointer-events: auto;
}

.services-timeline__item.is-hidden {
  z-index: 1;
  transform: translateY(-50%) scale(0.88);
  opacity: 0;
  pointer-events: none;
}

.services-timeline__controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.services-timeline__panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.services-timeline__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.services-timeline__panel-slides {
  position: relative;
  min-height: 240px;
}

.services-timeline__panel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-timeline__panel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.services-timeline__panel-slide.is-exiting {
  opacity: 0;
  transform: translateX(-24px);
}

.services-timeline__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(11, 47, 135, 0.08), rgba(7, 159, 232, 0.14));
  color: var(--primary);
}

.services-timeline__panel-step {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 8px;
}

.services-timeline__panel-slide h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 14px;
}

.services-timeline__panel-slide p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.services-timeline__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.services-timeline__btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.services-timeline__dots {
  display: flex;
  gap: 8px;
}

.services-timeline__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.services-timeline__dot.is-active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .services-timeline__item,
  .services-timeline__panel-slide,
  .services-timeline__line-fill,
  .services-timeline__marker {
    transition: none;
  }

  .services-timeline__item.is-above,
  .services-timeline__item.is-below {
    filter: none;
  }
}

/* Benefits */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.benefits__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.benefits__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.benefits__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
}

.benefits__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(7, 159, 232, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-top: 2px;
}

/* About */
.about__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.about__founder-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__block {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.about__block h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.about__block p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 12px;
  line-height: 1.75;
}

.about__block p:last-child {
  margin-bottom: 0;
}

.about__block--highlight {
  background: linear-gradient(135deg, rgba(11, 47, 135, 0.04), rgba(7, 159, 232, 0.06));
  border-color: rgba(7, 159, 232, 0.2);
}

.about__founder-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.about__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__meta-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.about__meta-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 6px;
}

.about__meta-item span {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

/* Filosofía Empresarial */
.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.philosophy__card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), background var(--transition);
}

.philosophy__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.philosophy__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--accent);
  margin-bottom: 20px;
}

.philosophy__card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
}

.philosophy__card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.philosophy__values-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.philosophy__values-list li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 20px;
  position: relative;
}

.philosophy__values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--dark);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

.about__founder-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.about__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(7, 159, 232, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
}


/* Testimonials */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.testimonials__slider-wrap {
  position: relative;
  padding: 20px 0;
}

.testimonials__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
  cursor: pointer;
}

.testimonial-slide img {
  width: 220px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.testimonial-slide.is-center {
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: none;
}

.testimonial-slide.is-left {
  z-index: 2;
  transform: translateX(-180px) scale(0.85);
  opacity: 0.5;
  filter: blur(2px);
}

.testimonial-slide.is-right {
  z-index: 2;
  transform: translateX(180px) scale(0.85);
  opacity: 0.5;
  filter: blur(2px);
}

.testimonial-slide.is-hidden {
  z-index: 1;
  transform: translateX(0) scale(0.7);
  opacity: 0;
  pointer-events: none;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials__btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonials__dot.is-active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
}

/* Final CTA */
.cta-final {
  background: var(--gradient-brand);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final .container {
  position: relative;
}

.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-final__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Contact */
.contact__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact__info h3 {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.contact__item {
  margin-bottom: 20px;
}

.contact__item strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact__item p,
.contact__item a {
  font-size: 0.9375rem;
  color: var(--text);
}

.contact__item a:hover {
  color: var(--secondary);
}

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.contact__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light);
  color: var(--primary);
  transition: var(--transition);
}

.contact__social a:hover {
  background: var(--primary);
  color: var(--white);
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}

.contact__map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo-round {
  width: 8.75rem;
  height: auto;
}

.footer__col-sub {
  margin-top: 1.25rem;
}

.footer__col h4 {
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 16px;
  font-family: 'Exo 2', sans-serif;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-float__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

.wa-float.is-open .wa-float__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-float__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float__action:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.wa-float__action--channel svg {
  color: var(--secondary);
}

.wa-float__toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--whatsapp);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float__toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.wa-float__icon--close {
  display: none;
}

.wa-float.is-open .wa-float__icon--open {
  display: none;
}

.wa-float.is-open .wa-float__icon--close {
  display: block;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .hero__grid {
    gap: 2.5rem;
  }

  .hero-stat {
    width: min(180px, 40vw);
  }

  .process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .process__connector {
    display: none;
  }

  .section-block {
    padding: 40px 32px;
  }

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

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

  .about__founder-col {
    position: static;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: center;
  }

  .header__toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .hero__content {
    max-width: none;
    text-align: center;
    padding: 0;
  }

  .hero__visual {
    margin-left: 0;
    justify-content: center;
  }

  .hero__figure img {
    transform-origin: bottom center;
    object-position: bottom center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
    padding-top: 1rem;
  }

  .hero__figure {
    width: 100%;
    margin-bottom: -0.75rem;
  }

  .hero__figure img {
    max-height: 420px;
    transform: scale(1.02);
  }

  .hero-stat--1 { top: 4%; }
  .hero-stat--2 { bottom: 10%; left: 2%; }

  .trust__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust__item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }

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

  .services-timeline__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-timeline__controls {
    justify-content: center;
  }

  .methodology__grid,
  .benefits__grid,
  .testimonials__grid,
  .contact__card {
    padding: 32px 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan-card {
    padding: 32px 22px 28px;
  }

  .plan-card__price {
    font-size: 1.375rem;
  }

  .wa-float__action {
    font-size: 0.8125rem;
    padding: 11px 16px;
  }

  .wa-float__toggle {
    width: 54px;
    height: 54px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__logo-round {
    margin-left: auto;
    margin-right: auto;
  }

  .header__logo img {
    height: 2.5rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 5rem;
  }

  .hero__visual {
    min-height: 340px;
    padding-top: 2rem;
  }

  .hero__figure {
    width: 100%;
    margin-bottom: -0.5rem;
  }

  .hero__figure img {
    max-height: none;
    transform: scale(1.02);
  }

  .trust {
    margin-top: -3.5rem;
  }

  .hero-stat {
    width: min(160px, 46vw);
    padding: 0.75rem 0.875rem;
  }

  .hero-stat__number {
    font-size: 1.75rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .trust__card {
    padding: 24px;
  }

  .section-block {
    padding: 32px 20px;
    border-radius: var(--radius);
  }

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

  .services-timeline__slider {
    height: 260px;
  }

  .services-timeline__panel {
    padding: 32px 24px;
    min-height: 280px;
  }

  .services-timeline__item.is-above {
    transform: translateY(calc(-50% - 64px)) scale(0.92);
  }

  .services-timeline__item.is-below {
    transform: translateY(calc(-50% + 64px)) scale(0.92);
  }

  .testimonial-slide.is-left {
    transform: translateX(-120px) scale(0.8);
  }

  .testimonial-slide.is-right {
    transform: translateX(120px) scale(0.8);
  }

  .testimonial-slide img {
    width: 180px;
  }

  .cta-final__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }
}
