:root {
  --blue: #1a4b9c;
  --blue-dark: #12356e;
  --blue-light: #e8f0ff;
  --yellow: #f5b800;
  --orange: #f28c28;
  --red: #e84c6f;
  --purple: #8b3fb8;
  --green: #5cb83a;
  --text: #1c2d4a;
  --muted: #5a6b85;
  --white: #ffffff;
  --bg: #f8faff;
  --bg-soft: #f0f5ff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 16px 48px rgba(26, 75, 156, 0.1);
  --shadow-sm: 0 8px 24px rgba(26, 75, 156, 0.08);
  --header-offset: calc(4.5rem + env(safe-area-inset-top, 0px));
  --container-gutter: clamp(0.75rem, 3.5vw, 1.5rem);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration: 0.65s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

main {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--blue-dark);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1140px, calc(100% - var(--container-gutter) * 2));
  margin: 0 auto;
  min-width: 0;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--blue-light) 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
}

.section-head p,
.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(248, 250, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 75, 156, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.4s var(--ease-out);
  animation: header-enter 0.55s var(--ease-out) both;
}

@keyframes header-enter {
  from { transform: translate3d(0, -100%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(26, 75, 156, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue), #2563c7);
  box-shadow: 0 4px 16px rgba(26, 75, 156, 0.25);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-offset) + 2.5rem) 0 3rem;
  overflow-x: clip;
  background: linear-gradient(180deg, #f8faff 0%, #eef3fc 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(245, 184, 0, 0.08), transparent 70%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(139, 63, 184, 0.06), transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.highlight {
  position: relative;
  color: var(--blue);
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.32em;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0.4;
  border-radius: 4px;
  z-index: -1;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 1.35rem;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.hero-metric {
  min-width: 0;
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.hero-metrics strong,
.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.hero-metrics span,
.hero-metric span {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-media {
  min-width: 0;
}

.hero-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(26, 75, 156, 0.14);
  border: 1px solid rgba(26, 75, 156, 0.08);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-live-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.1);
  line-height: 1.2;
}

/* Hero entrance */
.hero-enter {
  opacity: 1;
  transform: none;
  transition: opacity var(--motion-duration) var(--ease-out), transform var(--motion-duration) var(--ease-out);
}

.js-ready .hero-enter {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.hero-enter--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-enter--1 { transition-delay: 0ms; }
.hero-enter--2 { transition-delay: 80ms; }
.hero-enter--3 { transition-delay: 160ms; }
.hero-enter--4 { transition-delay: 240ms; }
.hero-enter--5 { transition-delay: 320ms; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2d6fd4);
  box-shadow: 0 8px 24px rgba(26, 75, 156, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-outline {
  color: var(--blue);
  background: var(--white);
  border: 2px solid rgba(26, 75, 156, 0.15);
}

.btn-white {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Icons */
.ef-icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.ef-icon--sm {
  width: 18px;
  height: 18px;
}

.star-icon {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

/* Trust strip */
.trust-strip {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(26, 75, 156, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  height: 100%;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid rgba(26, 75, 156, 0.08);
  box-shadow: var(--shadow-sm);
}

.trust-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.3;
}

.trust-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.trust-icon-wrap--orange { background: rgba(242, 140, 40, 0.15); color: var(--orange); }
.trust-icon-wrap--blue { background: rgba(26, 75, 156, 0.1); color: var(--blue); }
.trust-icon-wrap--red { background: rgba(232, 76, 111, 0.12); color: var(--red); }
.trust-icon-wrap--purple { background: rgba(139, 63, 184, 0.12); color: var(--purple); }

/* Evolución presencial → online */
.section-evolution {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.section-evolution .section-head p strong {
  color: var(--blue);
  font-weight: 700;
}

.evolution-reach {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.08);
  box-shadow: var(--shadow-sm);
}

.reach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
  padding: 0.35rem 0.5rem;
}

.reach-step strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.reach-step span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

.reach-step--highlight strong {
  color: var(--purple);
}

.reach-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 0.35rem;
}

.reach-dot--orange { background: var(--orange); }
.reach-dot--blue { background: var(--blue); }
.reach-dot--purple { background: var(--purple); }

.reach-line {
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  border-radius: 2px;
  flex-shrink: 0;
}

.compare-bridge {
  margin: 0 0 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.evolution-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 75, 156, 0.08);
}

.evolution-past {
  border-top: 4px solid var(--orange);
}

.evolution-now {
  border-top: 4px solid var(--purple);
}

.evolution-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evolution-label--past {
  color: var(--orange);
}

.evolution-label--now {
  color: var(--purple);
}

.evolution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.evolution-card > p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.evolution-highlights {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.evolution-highlights li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--bg-soft);
  border: 1px solid rgba(26, 75, 156, 0.08);
}

.evolution-past .evolution-highlights li {
  background: rgba(242, 140, 40, 0.1);
  border-color: rgba(242, 140, 40, 0.2);
}

.evolution-now .evolution-highlights li {
  background: rgba(139, 63, 184, 0.1);
  border-color: rgba(139, 63, 184, 0.2);
}

.evolution-figure {
  margin: auto 0 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.evolution-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.evolution-figure--online {
  background: var(--bg-soft);
}

.evolution-figure--online img {
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
}

.evolution-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
}

.evolution-arrow-icon {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.evolution-arrow-caption {
  max-width: 6.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  color: var(--muted);
}

.evolution-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.evolution-benefit {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.08);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.evolution-benefit-icon {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.evolution-benefit:nth-child(2) .evolution-benefit-icon {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.evolution-benefit:nth-child(3) .evolution-benefit-icon {
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.evolution-benefit h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--blue-dark);
}

.evolution-benefit p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Legacy modality — no usado */
.modality-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.modality-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 75, 156, 0.08);
}

.modality-past {
  border-top: 4px solid var(--orange);
}

.modality-now {
  border-top: 4px solid var(--purple);
  box-shadow: 0 12px 40px rgba(139, 63, 184, 0.1);
}

.modality-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.modality-badge--past {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.modality-badge--now {
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.modality-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.modality-lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.modality-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.modality-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}

.modality-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.modality-past .modality-list li::before {
  background: var(--orange);
}

.modality-now .modality-list li::before {
  background: var(--purple);
}

.modality-figure {
  margin: auto 0 0;
}

.modality-figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.modality-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.modality-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.25rem;
  min-width: 0;
}

.modality-bridge-text {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  max-width: 7rem;
}

.modality-bridge-text--now {
  color: var(--purple);
}

.modality-bridge-arrow {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.modality-note {
  margin: 2rem auto 0;
  max-width: 52ch;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.1);
  box-shadow: var(--shadow-sm);
}

/* Timeline legacy — no usado */
.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.timeline-arrow {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue);
}

.timeline-past {
  border-top-color: var(--orange);
}

.timeline-now {
  border-top-color: var(--purple);
}

.timeline-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.timeline-now .timeline-label {
  background: linear-gradient(135deg, var(--purple), var(--red));
}

.timeline-card h3 {
  font-size: 1.35rem;
}

.timeline-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline-card img {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.timeline-now img {
  object-fit: contain;
  background: var(--bg-soft);
}

/* Benefits — rediseño con iconos de marca */
.section-benefits {
  position: relative;
  overflow: hidden;
}

.section-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(26, 75, 156, 0.06), transparent 70%),
    radial-gradient(ellipse 40% 35% at 100% 100%, rgba(139, 63, 184, 0.06), transparent 70%);
}

.section-benefits .container {
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 75, 156, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.benefit-blue::before { background: linear-gradient(90deg, var(--blue), #3d7dd4); }
.benefit-green::before { background: linear-gradient(90deg, var(--green), #7ed957); }
.benefit-purple::before { background: linear-gradient(90deg, var(--purple), #b86ee0); }
.benefit-orange::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.benefit-red::before { background: linear-gradient(90deg, var(--red), #f06b8a); }
.benefit-yellow::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.benefit-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(26, 75, 156, 0.18);
}

.benefit-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  flex-shrink: 0;
}

.benefit-svg {
  width: 36px;
  height: 36px;
  display: block;
}

.benefit-blue .benefit-icon-wrap { background: linear-gradient(145deg, rgba(26,75,156,.12), rgba(26,75,156,.04)); color: var(--blue); }
.benefit-green .benefit-icon-wrap { background: linear-gradient(145deg, rgba(92,184,58,.15), rgba(92,184,58,.05)); color: var(--green); }
.benefit-purple .benefit-icon-wrap { background: linear-gradient(145deg, rgba(139,63,184,.14), rgba(139,63,184,.05)); color: var(--purple); }
.benefit-orange .benefit-icon-wrap { background: linear-gradient(145deg, rgba(242,140,40,.15), rgba(242,140,40,.05)); color: var(--orange); }
.benefit-red .benefit-icon-wrap { background: linear-gradient(145deg, rgba(232,76,111,.13), rgba(232,76,111,.05)); color: var(--red); }
.benefit-yellow .benefit-icon-wrap { background: linear-gradient(145deg, rgba(245,184,0,.18), rgba(245,184,0,.06)); color: #d49a00; }

.benefit-body h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
  color: var(--blue-dark);
}

.benefit-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-yellow:hover { box-shadow: 0 16px 40px rgba(245, 184, 0, 0.18); }
.benefit-orange:hover { box-shadow: 0 16px 40px rgba(242, 140, 40, 0.18); }
.benefit-red:hover { box-shadow: 0 16px 40px rgba(232, 76, 111, 0.16); }
.benefit-purple:hover { box-shadow: 0 16px 40px rgba(139, 63, 184, 0.16); }
.benefit-green:hover { box-shadow: 0 16px 40px rgba(92, 184, 58, 0.16); }
.benefit-blue:hover { box-shadow: 0 16px 40px rgba(26, 75, 156, 0.14); }

/* Methodology — hub central + iconos */
.section-methodology {
  position: relative;
  overflow: hidden;
}

.section-methodology::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 50% 50%, rgba(26, 75, 156, 0.05), transparent 70%);
}

.section-methodology .container {
  position: relative;
}

.method-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.method-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(26, 75, 156, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.method-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
}

.method-pill-icon .method-svg {
  width: 20px;
  height: 20px;
}

.method-layout {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  gap: 1.25rem;
  align-items: center;
}

.method-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.method-hub {
  position: relative;
  z-index: 1;
}

.method-hub-inner {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-dark) 0%, #1a3d7a 55%, #2a5294 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(26, 75, 156, 0.28);
  text-align: center;
}

.method-hub-ring {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
}

.method-hub-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.method-hub-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.method-hub-core strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.25;
  margin-top: 0.15rem;
}

.method-hub-orbit {
  position: absolute;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.method-hub-orbit--1 { top: 0; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--blue-dark); animation: orbit-top 5s ease-in-out infinite; }
.method-hub-orbit--2 { top: 50%; right: -4px; transform: translateY(-50%); background: var(--orange); color: #fff; animation: orbit-right 5s ease-in-out 0.6s infinite; }
.method-hub-orbit--3 { bottom: 0; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; animation: orbit-bottom 5s ease-in-out 1.2s infinite; }
.method-hub-orbit--4 { top: 50%; left: -4px; transform: translateY(-50%); background: var(--green); color: #fff; animation: orbit-left 5s ease-in-out 1.8s infinite; }

@keyframes orbit-top {
  0%, 100% { transform: translate3d(-50%, 0, 0); }
  50% { transform: translate3d(-50%, -4px, 0); }
}

@keyframes orbit-bottom {
  0%, 100% { transform: translate3d(-50%, 0, 0); }
  50% { transform: translate3d(-50%, 4px, 0); }
}

@keyframes orbit-right {
  0%, 100% { transform: translate3d(0, -50%, 0); }
  50% { transform: translate3d(-4px, -50%, 0); }
}

@keyframes orbit-left {
  0%, 100% { transform: translate3d(0, -50%, 0); }
  50% { transform: translate3d(4px, -50%, 0); }
}

.method-hub-caption {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.88;
}

.method-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 75, 156, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.method-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.method-col--right .method-card:hover {
  transform: translateX(-4px);
}

.method-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.method-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.method-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
}

.method-card-num {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(26, 75, 156, 0.15);
}

.method-card-body h3 {
  margin: 0 0 0.25rem;
  padding-right: 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
}

.method-card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.method-yellow .method-card-icon { background: rgba(245, 184, 0, 0.16); color: #c49000; }
.method-orange .method-card-icon { background: rgba(242, 140, 40, 0.14); color: var(--orange); }
.method-red .method-card-icon { background: rgba(232, 76, 111, 0.12); color: var(--red); }
.method-purple .method-card-icon { background: rgba(139, 63, 184, 0.12); color: var(--purple); }
.method-green .method-card-icon { background: rgba(92, 184, 58, 0.14); color: var(--green); }

.method-yellow { border-left: 3px solid var(--yellow); }
.method-orange { border-left: 3px solid var(--orange); }
.method-red { border-left: 3px solid var(--red); }
.method-purple { border-left: 3px solid var(--purple); }
.method-green { border-left: 3px solid var(--green); }

.method-col--right .method-card {
  border-left: none;
  border-right: 3px solid transparent;
}

.method-col--right .method-yellow { border-right-color: var(--yellow); }
.method-col--right .method-orange { border-right-color: var(--orange); }
.method-col--right .method-red { border-right-color: var(--red); }
.method-col--right .method-purple { border-right-color: var(--purple); }
.method-col--right .method-green { border-right-color: var(--green); }

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.program-card:hover {
  transform: translateY(-6px);
}

.program-yellow:hover { box-shadow: 0 16px 40px rgba(245, 184, 0, 0.18); }
.program-orange:hover { box-shadow: 0 16px 40px rgba(242, 140, 40, 0.18); }
.program-red:hover { box-shadow: 0 16px 40px rgba(232, 76, 111, 0.16); }
.program-purple:hover { box-shadow: 0 16px 40px rgba(139, 63, 184, 0.16); }

.program-yellow::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
.program-orange::before { background: linear-gradient(90deg, var(--orange), var(--red)); }
.program-red::before { background: linear-gradient(90deg, var(--red), var(--purple)); }
.program-purple::before { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.program-soon::before { background: repeating-linear-gradient(90deg, var(--muted) 0, var(--muted) 8px, transparent 8px, transparent 16px); }

.program-age {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.program-card h3 {
  font-size: 1.25rem;
}

.program-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.program-soon {
  border: 2px dashed rgba(26, 75, 156, 0.2);
  background: transparent;
}

/* Intro band */
.intro-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--blue) 0%, #2a5fad 50%, var(--purple) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
  color: #fff;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.intro-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.intro-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 28ch;
}

.intro-steps {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.intro-steps li {
  margin-bottom: 0.35rem;
}

/* Gallery */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gallery-tab {
  padding: 0.5rem 1.1rem;
  border: 2px solid rgba(26, 75, 156, 0.12);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-tab:hover {
  border-color: var(--blue);
}

.gallery-tab.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  transition: opacity 0.3s ease;
}

.gallery-grid.is-switching {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.gallery-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(26, 75, 156, 0.12);
}

.gallery-item--photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item--promo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #f6f9fd 0%, #eef3fa 100%);
  padding: 0.35rem;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(26, 75, 156, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.open {
  border-color: rgba(26, 75, 156, 0.14);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blue);
  background: var(--blue-light);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 1.1rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-info > p {
  color: var(--muted);
}

.contact-cards {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-cards li {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-cards strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-form {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(26, 75, 156, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-form .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  margin-bottom: 0.75rem;
  border-radius: 10px;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--font-display);
}

.footer-tagline {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

.footer-motto {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-credit {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 300;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer-credit a:hover {
  color: var(--yellow);
}

/* WhatsApp float — regla 07 */
.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, calc(22px + env(safe-area-inset-bottom, 0px)));
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: translateZ(0);
  animation: wa-bounce 3s ease-in-out 2s infinite;
}

@keyframes wa-bounce {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

.whatsapp-float:hover {
  transform: translateZ(0) translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
  animation-play-state: paused;
}

.whatsapp-float-icon {
  width: 30px;
  height: 30px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--motion-duration) var(--ease-out) var(--reveal-delay, 0ms),
    transform var(--motion-duration) var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-left {
  transform: translate3d(-32px, 0, 0);
}

.reveal-right {
  transform: translate3d(32px, 0, 0);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-left.visible,
.reveal-right.visible {
  transform: translate3d(0, 0, 0);
}

.reveal-scale.visible {
  transform: scale(1);
}

.section-head.visible .section-tag {
  animation: tag-pop 0.5s var(--ease-out) both;
}

@keyframes tag-pop {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.92); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

[data-stagger] > .reveal.visible,
[data-stagger] > .evolution-benefit.visible,
[data-stagger] > .faq-item.visible {
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .hero-enter,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header,
  .hero-bg,
  .hero-image-wrap,
  .method-hub-orbit,
  .whatsapp-float,
  .highlight::after {
    animation: none;
  }

  .live-dot,
  .intro-band {
    animation: none;
  }

  .btn-primary::after {
    display: none;
  }

  .faq-answer {
    transition: none;
  }

  .gallery-grid {
    transition: none;
  }
}

/* Responsive — regla 08 */
@media (max-width: 1024px) {
  .hero-inner,
  .contact-layout,
  .intro-band-inner {
    grid-template-columns: 1fr;
  }

  .intro-band-inner {
    text-align: center;
  }

  .intro-band-inner .btn {
    width: 100%;
  }

  .benefits-grid,
  .programs-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .evolution-reach {
    gap: 0.65rem;
  }

  .reach-line {
    width: 100%;
    max-width: 120px;
    height: 2px;
  }

  .evolution-benefits {
    grid-template-columns: 1fr;
  }

  .modality-compare {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modality-bridge {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 0;
  }

  .modality-bridge-text {
    max-width: none;
    font-size: 0.75rem;
  }

  .modality-bridge-arrow {
    transform: rotate(90deg);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .method-hub {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .method-col--right .method-card {
    border-right: none;
    border-left: 3px solid transparent;
  }

  .method-col--right .method-yellow { border-left-color: var(--yellow); }
  .method-col--right .method-orange { border-left-color: var(--orange); }
  .method-col--right .method-red { border-left-color: var(--red); }
  .method-col--right .method-purple { border-left-color: var(--purple); }
  .method-col--right .method-green { border-left-color: var(--green); }

  .method-col--right .method-card:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 768px) {
  :root {
    --container-gutter: 0.7rem;
    --header-offset: calc(4rem + env(safe-area-inset-top, 0px));
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem);
  }

  .hero {
    padding: calc(var(--header-offset) + 1rem) 0 2rem;
  }

  .hero-inner {
    gap: 1.25rem;
  }

  .hero-media {
    order: -1;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.15rem);
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-ctas {
    margin-bottom: 1rem;
  }

  .hero-metrics li,
  .hero-metric {
    padding: 0.7rem 0.5rem;
  }

  .hero-metrics strong,
  .hero-metric strong {
    font-size: 1.15rem;
  }

  .trust-strip {
    padding: 1.25rem 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-card {
    padding: 1rem;
  }

  .trust-icon-wrap {
    width: 32px;
    height: 32px;
  }

  .evolution-card,
  .modality-card,
  .timeline-card,
  .benefit-card,
  .method-card,
  .program-card,
  .testimonial-card {
    padding: 1.1rem;
  }

  .intro-band {
    padding: 2.5rem 0;
  }

  .intro-band h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
  }

  .contact-layout {
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .contact-cards li {
    padding: 0.85rem 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .site-footer {
    padding: 2rem 0 1.15rem;
  }

  .header-inner {
    min-height: 64px;
    gap: 0.65rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text em {
    font-size: 0.65rem;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(72px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 75, 156, 0.08);
    box-shadow: 0 12px 32px rgba(26, 75, 156, 0.1);
    max-width: 100vw;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav.open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav a:hover {
    background: var(--blue-light);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .benefits-grid,
  .programs-grid,
  .gallery-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(24px, calc(20px + env(safe-area-inset-bottom, 0px)));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-offset) + 1.25rem);
  }

  .hero .container,
  .hero-inner,
  .hero-content,
  .hero-media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-ctas,
  .cta-row {
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-ctas .btn,
  .cta-row .btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}

@media (max-width: 380px) {
  :root {
    --container-gutter: 0.6rem;
  }

  .hero-ctas,
  .cta-row {
    flex-direction: column;
  }

  .hero-ctas .btn,
  .cta-row .btn {
    width: 100%;
    flex: 1 1 100%;
  }
}
