:root {
  --bg: #ffffff;
  --bg-soft: #f2f4f6;
  --card: #ffffff;
  --card-2: #eef2f5;
  --text: #10233d;
  --muted: #647184;
  --line: #dde3e8;
  --primary: #f28c28;
  --primary-2: #ffb14a;
  --navy: #0b1a2d;
  --navy-2: #102943;
  --blue: #168fc7;
  --shadow: 0 22px 60px rgba(12, 28, 48, 0.12);
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1200px;
}

html {
  scroll-padding-top: 86px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-bg { display: none; }
.container { width: min(calc(100% - 48px), var(--container)); }
.section { padding: clamp(82px, 9vw, 124px) 0; }
.section--tight { padding: clamp(72px, 8vw, 108px) 0; }
.section--soft { background: var(--bg-soft); }

main {
  display: flex;
  flex-direction: column;
}
.hero { order: 1; }
.highlights { order: 2; }
#nosotros { order: 3; }
#esencia { order: 4; }
#cursos { order: 5; }
#vip { order: 6; }
#galeria { order: 7; }
#opiniones { order: 8; }
#empresas { order: 9; }
#contacto { order: 10; }

/* Navegación clara, inspirada en el lenguaje arquitectónico de IMFRA */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  width: 100%;
  min-height: 86px;
  margin: 0;
  padding: 8px max(24px, calc((100vw - 1280px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(16, 35, 61, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(11, 26, 45, 0.05);
  transition: min-height .25s ease, padding .25s ease, box-shadow .25s ease;
}

.topbar.is-scrolled {
  min-height: 72px;
  padding-top: 3px;
  padding-bottom: 3px;
  box-shadow: 0 12px 36px rgba(11, 26, 45, 0.12);
}
.topbar.is-scrolled .brand__logo { height: 58px; }

.brand { flex: 0 0 auto; }
.brand__logo {
  width: 236px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  border: 0;
  border-radius: 0;
}

.brand__name,
.brand__sub { display: none; }

.nav { gap: 25px; }
.nav a {
  color: #4d5d71;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
}

.nav > a:not(.nav__cta):not(.nav__vip)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--primary);
  transition: right 0.2s ease;
}

.nav > a:not(.nav__cta):not(.nav__vip):hover::after,
.nav > a.is-active:not(.nav__cta):not(.nav__vip)::after { right: 0; }
.nav > a.is-active:not(.nav__cta):not(.nav__vip) { color: var(--navy); }
.nav a:hover { color: var(--navy); }

.nav__cta,
.nav__vip {
  min-height: 44px;
  padding: 0 18px !important;
  border-radius: 2px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__cta {
  background: var(--navy) !important;
  color: #fff !important;
}

.nav__vip {
  background: var(--primary) !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}

.nav__vip::before { display: none !important; }
.nav__vip-dot { background: #fff !important; box-shadow: none !important; }
.nav-toggle span { background: var(--navy); }

/* Hero industrial */
.hero {
  min-height: 790px;
  padding: 152px 0 92px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(120deg, #08131f 0%, #0b1a2d 58%, #102943 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -8%;
  width: 46%;
  height: 140%;
  background: rgba(242, 140, 40, 0.08);
  transform: skewX(-14deg);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 8px;
  height: 38%;
  background: var(--primary);
}

.hero__content {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(48px, 7vw, 90px);
}

.eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  margin: 22px 0 24px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(3.1rem, 6.4vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 span { display: block; color: var(--primary); }
.hero p { max-width: 650px; color: #aab5c3; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero__actions { margin: 34px 0 42px; }

.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

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

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn--vip {
  background: #fff !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}

.btn:hover,
.btn--primary:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  transform: translateY(-2px);
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 28px;
}

.stat-card {
  padding: 0 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stat-card:first-child { padding-left: 0; }
.stat-card:last-child { border-right: 0; }
.stat-card strong { color: #fff; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.stat-card span { color: #8fa0b4; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

.hero__media { position: relative; }
.hero__media::before {
  content: '';
  position: absolute;
  inset: -24px -24px 68px 58px;
  border: 1px solid rgba(242, 140, 40, 0.58);
  z-index: -1;
}

.hero__media-card {
  position: relative;
  height: 590px;
  border: 0;
  border-radius: 2px;
  background: #11263f;
  box-shadow: 0 34px 90px rgba(0,0,0,.32);
}

.hero__media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 15, 27, 0.86));
}

.hero__media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 17% center;
}

.hero__media-label {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  color: #fff;
}

.hero__media-label strong { font-size: 1.4rem; letter-spacing: 0.08em; }
.hero__media-label span { color: #c5d0dd; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; text-align: right; }
.hero__floating { margin-top: 20px; }
.hero__floating span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2px;
  background: rgba(255,255,255,.035);
  color: #c4cfdb;
  font-size: 0.78rem;
}

/* Banda de capacidades */
.highlights {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.highlights article {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 22px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: #4f5f72;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.highlights article:first-child { border-left: 1px solid var(--line); }

/* Secciones editoriales */
.section-heading { max-width: 790px; }
.section-heading h2 {
  margin: 16px 0 20px;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-heading p,
.modal p { color: var(--muted); }
.split { grid-template-columns: 1.18fr 0.82fr; gap: clamp(48px, 8vw, 100px); align-items: center; }

.about-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 70px rgba(11, 26, 45, .18);
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  transform: scale(1.22);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 15, 27, .86));
}
.about-visual:hover img { transform: scale(1.27); filter: saturate(1.08); }
.about-visual__slash {
  position: absolute;
  z-index: 2;
  inset: -12% auto -12% -13%;
  width: 26%;
  background: rgba(242, 140, 40, .88);
  transform: skewX(-12deg);
  mix-blend-mode: multiply;
}
.about-visual__corner {
  position: absolute;
  z-index: 3;
  width: 54px;
  height: 54px;
  border-color: var(--primary);
  border-style: solid;
}
.about-visual__corner--top { top: 18px; left: 18px; border-width: 2px 0 0 2px; }
.about-visual__corner--bottom { right: 18px; bottom: 18px; border-width: 0 2px 2px 0; }
.about-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 29px;
  max-width: 240px;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

.essence-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #080f18;
  background-size: 48px 48px;
  color: #fff;
}
.essence-section::after {
  content: 'IMDIIL';
  position: absolute;
  right: -1vw;
  top: -6vw;
  color: rgba(255,255,255,.018);
  font-family: 'Sora', sans-serif;
  font-size: clamp(8rem, 21vw, 22rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  pointer-events: none;
}
.essence-section .container { position: relative; z-index: 2; }
.essence-section .section-heading h2 { color: #fff; }
.essence-section .section-heading p { color: #a9b5c5; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: rgba(255,255,255,.12);
}
.value-card {
  position: relative;
  min-height: 310px;
  padding: 34px 30px;
  overflow: hidden;
  background: #121b25;
  transition: transform .3s ease, background .3s ease;
}
.value-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.value-card:hover { z-index: 2; transform: translateY(-8px); background: #192532; }
.value-card:hover::after { transform: scaleX(1); }
.value-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
}
.value-card__icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.value-card__number {
  position: absolute;
  top: 27px;
  right: 27px;
  color: rgba(255,255,255,.14);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}
.value-card h3 { margin: 26px 0 10px; color: #fff; font-family: 'Sora', sans-serif; font-size: 1.15rem; }
.value-card p { margin: 0; color: #9ba8b8; font-size: .95rem; }

.feature-panel {
  position: relative;
  padding: 42px;
  border: 0;
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.feature-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.feature-panel h3 { color: #fff; font-family: 'Sora', sans-serif; font-size: 1.55rem; }
.check-list { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.check-list li { color: #d8e0e9; padding-left: 28px; }
.check-list li::before {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
}

#cursos { background: var(--bg-soft); }
.course-toolbar {
  margin-top: 44px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.course-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.course-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: #546378;
  font: inherit;
  font-size: .79rem;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.course-filter:hover,
.course-filter.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.course-count { flex: 0 0 auto; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.courses-grid { gap: 20px; margin-top: 22px; }
.course-card {
  border: 1px solid #dfe4e8;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(11, 26, 45, 0.07);
}
.course-card img { aspect-ratio: 16 / 10; filter: saturate(.88) contrast(1.03); }
.course-card__body { padding: 24px; }
.course-card h3 { color: var(--navy); font-family: 'Sora', sans-serif; }
.course-card p { color: var(--muted); }
.course-card button {
  min-height: 48px;
  border: 0;
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
}
.course-card:hover {
  transform: translateY(-7px);
  border-color: rgba(242, 140, 40, .65);
  background: #fff;
  box-shadow: 0 22px 52px rgba(11, 26, 45, .14);
}
.course-card:hover button,
.course-card button:hover { background: var(--primary); color: var(--navy); box-shadow: none; }

/* Club VIP: sin precios en la landing */
.vip-section {
  padding: clamp(88px, 9vw, 126px) 0;
  background: var(--navy);
  color: #e8edf5;
}
.vip-section::before {
  top: -30%;
  right: -12%;
  width: 52vw;
  height: 52vw;
  background: rgba(242, 140, 40, 0.16);
  filter: blur(140px);
}
.vip-section::after { background: rgba(22, 143, 199, 0.16); }
.vip-container { max-width: 1200px; }
.vip-head { max-width: 820px; margin: 0 auto 54px; }
.vip-section h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -.05em; }
.vip-section h2 em { color: var(--primary); }
.vip-section h2 em::after { display: none; }
.vip-badge { border-radius: 2px; color: var(--primary); background: transparent; }
.vip-badge-dot { background: var(--primary); box-shadow: none; }
.vip-sub { color: #a9b5c5; }
.vip-benefits { grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); margin-bottom: 54px; }
.vip-benefit {
  border: 0;
  border-radius: 0;
  background: #10243c;
  padding: 30px;
  backdrop-filter: none;
}
.vip-benefit:hover { transform: none; background: #142b47; }
.vip-benefit__icon { border-radius: 2px; color: var(--primary); background: rgba(242, 140, 40, .12); }
.vip-benefit h3 { font-size: 1rem; }
.vip-benefit p { color: #9dacbf; }
.vip-tools-banner {
  border-radius: 2px;
  padding: 34px;
  border-color: rgba(242, 140, 40, .36);
  background: linear-gradient(100deg, rgba(242,140,40,.12), rgba(22,143,199,.08));
}
.vip-tools-banner__label { color: var(--primary); }
.vip-tool-pill { border-radius: 2px; }
.vip-tool-pill svg { stroke: var(--primary); }
.vip-plans { display: none !important; }
.vip-plan {
  min-height: 100%;
  padding: 36px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.12);
  background: #10243c;
  backdrop-filter: none;
}
.vip-plan--featured { border-color: var(--primary); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.vip-plan__ribbon { border-radius: 2px !important; background: var(--primary) !important; color: var(--navy) !important; }
.vip-plan__name { color: #aab8c8 !important; }
.vip-plan__price { display: none !important; }
.vip-plan__headline {
  margin: 0;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
.vip-plan__equiv { color: #9dacbf !important; }
.vip-plan li { color: #dbe3ec; }
.vip-plan li svg { stroke: var(--primary); }
.vip-plan__cta { border-radius: 2px !important; }
.vip-plan__cta--primary { background: var(--primary) !important; color: var(--navy) !important; }
.vip-plan__cta--ghost { border-color: rgba(255,255,255,.28) !important; }
.vip-foot { color: #9dacbf !important; }
.vip-portal {
  margin-top: 48px;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 46px;
  border: 1px solid rgba(242, 140, 40, .52);
  background: linear-gradient(105deg, rgba(242,140,40,.13), rgba(16,41,67,.72));
}
.vip-portal__content { max-width: 680px; }
.vip-portal__label { color: var(--primary); font-size: .7rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.vip-portal h3 { margin: 11px 0 10px; color: #fff; font-family: 'Sora', sans-serif; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.035em; }
.vip-portal p { margin: 0; color: #a9b5c5; }
.vip-portal__actions { min-width: 230px; display: grid; gap: 13px; text-align: center; }
.vip-portal__link { color: #dbe3ec; font-size: .82rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.vip-portal__link:hover { color: var(--primary); }

/* Galería y testimonios */
.gallery-grid { gap: 10px; margin-top: 44px; }
.gallery-item { border: 0; border-radius: 2px; background: var(--navy); }
.gallery-item img { filter: saturate(.9); }

#opiniones { background: var(--navy); color: #fff; }
#opiniones .section-heading h2 { color: #fff; }
#opiniones .section-heading p { color: #a9b5c5; }
.carousel__card { border-radius: 2px; border: 0; background: #fff; box-shadow: 0 26px 70px rgba(0,0,0,.25); }
.carousel__card img { border-radius: 0; }
.carousel__btn { border-color: rgba(255,255,255,.3); background: transparent; }

/* Empresas */
.empresas-carousel { margin-top: 48px; }
.empresas-track img {
  height: 92px;
  max-width: 210px;
  border: 1px solid var(--line);
  border-radius: 2px;
  opacity: .72;
}

/* Contacto y pie */
#contacto {
  position: relative;
  background: #0a1727;
  color: #fff;
  overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute;
  left: -70px;
  top: 0;
  bottom: 0;
  width: 150px;
  background: var(--primary);
  transform: skewX(-12deg);
}
#contacto .section-heading h2 { color: #fff; }
#contacto .section-heading p { color: #a9b5c5; }
.contact-wrap { position: relative; z-index: 2; }
.contact-card {
  padding: 30px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  box-shadow: none;
}
.contact-card__label { color: var(--primary); }
.contact-card small { color: #9dacbf; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--primary); background: rgba(255,255,255,.05); box-shadow: none; }

.footer {
  padding: 58px 0 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #050d17;
  color: #fff;
}
.footer__content { grid-template-columns: 1.15fr 1fr .75fr; }
.footer__brand img {
  width: 150px;
  height: 92px;
  border-radius: 2px;
  object-fit: cover;
  object-position: center;
}
.footer__brand strong { display: none; }
.footer__brand p { max-width: 300px; color: #8795a7; }
.footer__links a,
.footer__socials a { color: #9ba8b8; }

.floating-socials { right: 24px; bottom: 24px; gap: 0; }
.floating-social--whatsapp {
  width: 58px !important;
  height: 58px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.25) !important;
}
.floating-social--whatsapp svg { width: 29px !important; height: 29px !important; }
.floating-social--whatsapp:hover { transform: translateY(-4px) scale(1.05) !important; box-shadow: 0 16px 34px rgba(37,211,102,.35) !important; }

/* Modales */
.modal__dialog {
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}
.modal__close { background: var(--navy); color: #fff; }
.modal-course img { border-radius: 2px; }
.modal-course .tags span { border-radius: 2px; color: #a85c13; }
.modal-course__box { border-radius: 2px; background: var(--bg-soft); border-color: var(--line); }
.modal-course__box ul { color: var(--muted); }
.modal-course__actions .btn--ghost { color: var(--navy); border-color: var(--line); }
.lightbox img { border-radius: 2px; }

@media (max-width: 1180px) {
  .topbar { min-height: 78px; padding: 6px 24px; }
  .brand__logo { width: 210px; height: 64px; }
  .nav-toggle { display: block; padding: 8px; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 22px 24px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 18px 34px rgba(11,26,45,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; color: var(--navy); }
  .nav__cta,
  .nav__vip { margin-top: 10px; padding: 0 18px !important; }
  .hero { padding-top: 138px; }
  .hero__content { grid-template-columns: 1fr 0.82fr; gap: 52px; }
  .hero__media-card { height: 520px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .hero { min-height: auto; padding: 132px 0 80px; }
  .hero__content,
  .split,
  .footer__content { grid-template-columns: 1fr; }
  .hero__text { max-width: 760px; }
  .hero__media { max-width: 620px; }
  .hero__media-card { height: 500px; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .highlights article:nth-child(4) { border-left: 1px solid var(--line); }
  .vip-benefits { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__links,
  .footer__socials { justify-content: flex-start; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .topbar { min-height: 72px; padding: 5px 16px; }
  .brand__logo { width: 166px; height: 58px; }
  .hero { padding: 118px 0 66px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); line-height: 1; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stat-card { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .stat-card:last-child { border-bottom: 0; }
  .hero__media::before { inset: -14px -14px 56px 38px; }
  .hero__media-card { height: 420px; }
  .hero__media-label { left: 20px; right: 20px; }
  .hero__media-label span { max-width: 150px; }
  .highlights { grid-template-columns: 1fr; padding: 0 14px; }
  .highlights article,
  .highlights article:first-child,
  .highlights article:nth-child(4) { min-height: 64px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section-heading h2 { font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .feature-panel { padding: 30px 26px; }
  .check-list { grid-template-columns: 1fr; }
  .about-visual { min-height: 440px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 255px; }
  .course-toolbar { align-items: flex-start; flex-direction: column; }
  .course-count { padding-left: 2px; }
  .courses-grid,
  .gallery-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .vip-benefits { grid-template-columns: 1fr; }
  .vip-benefit { padding: 26px; }
  .vip-tools-banner { padding: 26px; }
  .vip-plan { padding: 30px 24px; }
  .vip-portal { grid-template-columns: 1fr; gap: 26px; }
  .vip-portal__actions { min-width: 0; }
  .carousel__slide { padding: 0; }
  .carousel__btn { display: none; }
  #contacto::before { opacity: .18; }
  .footer__brand { align-items: flex-start; flex-direction: column; }
  .footer__brand img { width: 138px; height: 86px; }
  .floating-socials { right: 14px; bottom: 14px; }
  .floating-social--whatsapp { width: 54px !important; height: 54px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
