/* 1. Fuentes locales. Las variables reúnen los colores y el ancho máximo. */
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --red: #df0725;
  --red-dark: #ba001a;
  --navy: #172744;
  --blue: #315faa;
  --ink: #19263b;
  --muted: #626c7c;
  --line: #e6e8ed;
  --pink: #fcf4f3;
  --paper: #f7f8fa;
  --white: #fff;
  --width: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #ffd1d9;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon,
.course-icon,
.review-symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.container {
  width: min(var(--width), calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 106px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
}
h1 {
  font-size: clamp(44px, 4.3vw, 66px);
  line-height: 1.1;
  letter-spacing: -3px;
}
h2 {
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.2;
  letter-spacing: -1.9px;
}
h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.6;
  margin-bottom: 19px;
}
.muted-heading {
  color: #737d8d;
}
.red-text {
  color: var(--red);
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #df07251a;
}
.button .icon {
  width: 19px;
  height: 19px;
}
.button-small {
  min-height: 44px;
  padding: 11px 18px;
  gap: 20px;
}
.button-outline {
  color: var(--ink);
  border-color: #cdd2dc;
  background: transparent;
}
.button-outline:hover {
  color: var(--red);
  border-color: var(--red);
  background: white;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #bcc0c9;
  text-underline-offset: 6px;
}
.text-link:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 12px 18px;
  color: white;
  background: var(--navy);
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 2. Cabecera fija y navegación. */
.topbar {
  color: #e5e9f0;
  background: var(--navy);
  font-size: 10px;
  letter-spacing: 0.2px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e6e8edb3;
  background: #ffffffed;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 89px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
}
.brand img {
  width: 142px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 11px;
  font-weight: 700;
}
.main-nav > a:not(.button):hover {
  color: var(--red);
}
.virtual-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 21px;
  border-left: 1px solid var(--line);
}
.virtual-link .icon {
  width: 14px;
  height: 14px;
}
.menu-toggle {
  display: none;
}

/* 3. Portada: texto e imagen en dos columnas. */
.hero {
  overflow: hidden;
  background: linear-gradient(112deg, #fff 45%, #fdf5f5 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 42px;
  padding-block: 54px 42px;
}
.hero-copy {
  padding-block: 18px;
}
.hero h1 span {
  color: var(--red);
}
.hero-description {
  max-width: 365px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 19px;
  margin-top: 30px;
}
.hero-actions .text-link {
  font-size: 10px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 10px;
}
.hero-note .icon {
  color: var(--blue);
  width: 17px;
  height: 17px;
}
.results-figure {
  position: relative;
  padding: 16px 16px 0;
  background: #fff;
  border: 1px solid #eadfe1;
  border-radius: 13px;
  box-shadow: 0 16px 55px #68263708;
  animation: enter 0.7s ease both;
}
.results-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  padding-bottom: 9px;
}
.results-image-link {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}
.results-image {
  width: 100%;
}
.image-zoom {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #ffffffed;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.2s;
}
.image-zoom .icon {
  width: 15px;
  height: 15px;
}
.results-image-link:hover .image-zoom {
  color: white;
  background: var(--red);
}
.results-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid #e9e6e9;
  color: var(--muted);
  font-size: 10px;
}
.hero-bottom a {
  color: var(--ink);
  font-weight: 700;
}
.hero-bottom a span {
  margin-left: 12px;
}
.benefit-strip {
  background: var(--navy);
  color: #f3f5fa;
}
.benefit-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 72px;
}
.benefit-list > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
}
.benefit-list .icon {
  color: #acbfe3;
  width: 20px;
  height: 20px;
}

/* 4. Cursos y etapas. */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 43px;
}
.section-heading > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 4px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.course-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.course-card:hover {
  transform: translateY(-7px);
  border-color: #f2a9b4;
  box-shadow: 0 14px 28px #17274409;
}
.course-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}
.course-icon {
  width: 31px;
  height: 31px;
  color: var(--red);
  stroke-width: 1.4;
}
.course-top > span {
  color: #626c7c;
  font-size: 10px;
  font-weight: 700;
}
.course-kicker {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 9px;
}
.course-card h3 {
  font-size: 23px;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.course-card > p:not(.course-kicker) {
  flex: 1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.course-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 23px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
}
.course-bottom .icon {
  width: 18px;
  height: 18px;
}
.course-featured {
  color: white;
  border-color: var(--red);
  background: var(--red);
}
.course-featured .course-icon,
.course-featured .course-top > span,
.course-featured .course-kicker,
.course-featured > p:not(.course-kicker) {
  color: #fff;
}
.course-featured .course-bottom {
  border-color: #ffffff45;
}
.other-courses {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 30px;
  font-size: 11px;
}
.other-courses > span {
  color: var(--muted);
}
.other-courses a {
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 700;
}
.other-courses a:hover,
.other-courses a span {
  color: var(--red);
}
.course-detail {
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}

/* 5. Método, recursos y equipo. */
.method-section {
  background: var(--paper);
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 84px;
}
.method-visual {
  min-height: 610px;
  position: relative;
  border-radius: 12px;
  isolation: isolate;
}
.method-visual > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  border-radius: inherit;
}
.method-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #17274400 30%, #111f37d9);
  z-index: 1;
}
.photo-caption {
  position: absolute;
  bottom: 40px;
  left: 35px;
  color: white;
  z-index: 2;
}
.photo-caption > span {
  display: block;
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.photo-caption strong {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -2px;
}
.photo-tag {
  position: absolute;
  top: 25px;
  left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  background: white;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 700;
}
.photo-tag .icon {
  color: var(--red);
  width: 17px;
  height: 17px;
}
.method-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.method-steps {
  margin-block: 26px 28px;
}
.method-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid #dfe3e9;
}
.step-number {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  margin-top: 2px;
}
.method-step h3 {
  font-size: 15px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.method-step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.resources-section {
  color: white;
  background: var(--navy);
  padding-block: 84px;
}
.resources-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: center;
}
.resource-intro .eyebrow {
  color: #aebfe1;
}
.resource-intro h2 {
  font-size: 42px;
}
.resource-intro h2 span {
  color: #a8bfe8;
}
.resource-intro > p:not(.eyebrow) {
  color: #c1ccdf;
  font-size: 13px;
  margin-block: 23px 28px;
  max-width: 350px;
}
.button-white {
  color: var(--navy);
  background: white;
}
.button-white:hover {
  background: #e7edf7;
}
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 40px;
}
.resource-item {
  padding-top: 25px;
  border-top: 1px solid #ffffff33;
}
.resource-item .course-icon {
  color: #a5bce4;
  width: 27px;
  height: 27px;
  margin-bottom: 17px;
}
.resource-item h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.resource-item p {
  color: #c1ccdf;
  font-size: 12px;
  line-height: 1.9;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.about-copy h2 {
  font-size: 36px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
.about-copy .text-link {
  margin-top: 25px;
}
.academy-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: 65% center;
  border-radius: 10px;
}
.academy-photo figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}
.academy-photo figcaption .icon {
  color: var(--red);
  width: 15px;
  height: 15px;
}

/* 6. Opiniones: enlace alternativo y carrusel cuando se conecta Google. */
.reviews-section {
  background: var(--pink);
}
.reviews-fallback {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 32px;
  border: 1px solid #eddfe1;
  border-radius: 10px;
  background: white;
}
.review-symbol {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  flex-shrink: 0;
}
.review-symbol svg {
  width: 28px;
  height: 28px;
}
.reviews-fallback .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
.reviews-fallback h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.reviews-fallback p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
}
.reviews-fallback .button {
  margin-left: auto;
  flex-shrink: 0;
}
.reviews-toolbar,
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.reviews-toolbar {
  margin-bottom: 22px;
}
#reviews-rating {
  font-size: 16px;
  font-weight: 700;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.round-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d9ccd0;
  border-radius: 50%;
  color: var(--ink);
  background: white;
  font-size: 20px;
}
.round-button:hover {
  background: var(--navy);
  color: white;
}
.round-button:disabled {
  opacity: 0.4;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 4px 2px 18px;
  overscroll-behavior-x: contain;
}
.review-card {
  scroll-snap-align: start;
  border: 1px solid #eddfe1;
  border-radius: 10px;
  background: white;
  padding: 25px;
}
.review-author {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eaf0fa;
  color: var(--blue);
  flex-shrink: 0;
}
.review-author a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-stars {
  color: #956100;
  letter-spacing: 3px;
  font-size: 18px;
}
.review-text {
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-block: 12px 18px;
}
.review-date {
  font-size: 10px;
  color: var(--muted);
}
.review-original {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  text-decoration: underline;
}
.reviews-footer {
  margin-top: 20px;
}
.google-attribution {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
  letter-spacing: normal;
  color: #5e5e5e;
}
#reviews-updated,
#reviews-attributions {
  color: var(--muted);
  font-size: 10px;
}
#reviews-attributions a {
  text-decoration: underline;
  margin-right: 10px;
}

/* 7. Mapa y formulario. */
.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  align-items: center;
}
.location-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin-top: 22px;
  max-width: 320px;
}
.location-copy address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-block: 28px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
}
.location-copy address .icon {
  color: var(--red);
  width: 19px;
  height: 19px;
  margin-top: 3px;
}
.map-frame {
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 385px;
  border: 0;
}
.map-fallback-link {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 700;
  background: var(--paper);
}
.contact-section {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 90px;
}
.contact-copy {
  position: sticky;
  top: 140px;
}
.contact-copy h2 {
  font-size: 55px;
  line-height: 1.15;
}
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin-top: 25px;
  max-width: 330px;
}
.direct-contact {
  margin-top: 34px;
}
.direct-contact > a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid #dde1e7;
}
.direct-contact > a > .icon:first-child {
  color: var(--red);
}
.direct-contact > a > .icon:last-child {
  width: 17px;
  height: 17px;
  margin-left: auto;
}
.direct-contact small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}
.direct-contact strong {
  font-size: 16px;
  font-weight: 700;
}
.direct-contact a:hover strong {
  color: var(--red);
}
.contact-decoration {
  display: block;
  margin-top: 32px;
  color: #7f8ca0;
  font-size: 105px;
  font-weight: 800;
  letter-spacing: -7px;
  line-height: 1.2;
  user-select: none;
}
.contact-decoration > span {
  color: #c9586d;
}
.contact-form {
  padding: 35px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-form h3 {
  font-size: 20px;
}
.form-intro {
  color: var(--muted);
  font-size: 10px;
  margin-block: 9px 27px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
  min-width: 0;
}
.field label,
.request-type legend {
  font-size: 10px;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid #dce0e7;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  line-height: 1.6;
  transition: border-color 0.2s;
}
.field textarea {
  min-height: 105px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7a8493;
  opacity: 1;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
}
.request-type {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.request-type legend {
  margin-bottom: 10px;
}
.request-type label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--red);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin: 0;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-block: 3px 23px;
}
.privacy-check input {
  margin-top: 2px;
}
.privacy-check a {
  color: var(--ink);
  text-decoration: underline;
}
.form-submit {
  width: 100%;
  justify-content: space-between;
}
.form-submit:disabled {
  color: #fff;
  background: #677183;
  box-shadow: none;
  transform: none;
}
.form-availability {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 12px;
}
.form-status {
  font-size: 12px;
  margin-top: 12px;
}
.form-status[data-kind="error"] {
  color: var(--red-dark);
}
.form-status[data-kind="success"] {
  color: #1a6541;
}

/* 8. Pie de página y animaciones. */
.site-footer {
  padding-top: 38px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 30px;
}
.footer-top .brand img {
  width: 118px;
}
.footer-top p {
  font-size: 11px;
  color: var(--muted);
}
.footer-top strong {
  color: var(--ink);
  font-weight: 600;
}
.back-top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
}
.back-top span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-size: 9px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(22px);
}
.reveal {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 9. Tablet y móvil. El contenido sigue disponible sin JavaScript. */
@media (min-width: 1600px) {
  .hero-grid {
    padding-block: 65px 55px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .main-nav {
    gap: 19px;
    font-size: 10px;
  }
  .brand img {
    width: 126px;
  }
  .virtual-link {
    padding-left: 14px;
  }
  .hero-grid {
    gap: 26px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-note {
    margin-top: 25px;
  }
  .course-card {
    padding: 20px;
  }
  .course-card h3 {
    font-size: 20px;
  }
  .course-kicker {
    font-size: 7px;
  }
  .method-grid,
  .about-grid,
  .resources-layout,
  .contact-grid {
    gap: 45px;
  }
  .method-visual {
    min-height: 630px;
  }
  .contact-form {
    padding: 26px;
  }
  .location-grid {
    gap: 35px;
  }
  .reviews-fallback {
    gap: 20px;
    padding: 25px;
  }
  .review-symbol {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 850px) {
  html {
    scroll-padding-top: 98px;
  }
  .section {
    padding-block: 75px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 12px;
    min-height: 78px;
  }
  .brand img {
    width: 122px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: white;
    padding: 9px 12px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
  }
  .menu-lines {
    position: relative;
    width: 16px;
    height: 10px;
    border-block: 1.5px solid currentColor;
  }
  .menu-lines::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
  }
  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-block: 12px;
  }
  .menu-enhanced .main-nav {
    display: none;
  }
  .menu-enhanced .main-nav.is-open {
    display: flex;
  }
  .virtual-link {
    border: 0;
    padding-left: 0;
  }
  .hero-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 22px;
    padding-block: 35px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 18px;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding-inline: 16px;
    gap: 13px;
  }
  .hero-note {
    font-size: 9px;
  }
  .results-figure {
    padding: 10px 10px 0;
  }
  .results-label {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .results-figure figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 7px;
  }
  .hero-bottom {
    font-size: 9px;
  }
  .benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-block: 22px;
    gap: 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .section-heading > p {
    max-width: 470px;
  }
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-card {
    padding: 25px;
  }
  .course-kicker {
    font-size: 8px;
  }
  .course-top {
    margin-bottom: 25px;
  }
  .course-card h3 {
    font-size: 25px;
  }
  .other-courses {
    gap: 15px 22px;
  }
  .method-grid {
    gap: 30px;
  }
  .method-visual {
    min-height: 650px;
  }
  .method-copy h2 {
    font-size: 32px;
  }
  .method-step {
    gap: 13px;
  }
  .method-step h3 {
    font-size: 13px;
  }
  .method-step p {
    font-size: 11px;
  }
  .photo-caption {
    left: 24px;
  }
  .photo-caption strong {
    font-size: 38px;
  }
  .photo-tag {
    left: 15px;
    padding: 10px;
    font-size: 9px;
  }
  .resources-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .resource-intro h2 {
    font-size: 37px;
  }
  .resource-intro > p:not(.eyebrow) {
    max-width: 480px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-copy h2 {
    font-size: 30px;
  }
  .academy-photo img {
    height: 360px;
  }
  .reviews-fallback {
    flex-wrap: wrap;
  }
  .reviews-fallback > div:nth-child(2) {
    flex: 1;
  }
  .reviews-fallback .button {
    margin-left: 68px;
  }
  .reviews-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .location-copy > p:not(.eyebrow) {
    max-width: 450px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-copy {
    position: static;
  }
  .contact-copy h2 {
    font-size: 44px;
  }
  .contact-copy > p:not(.eyebrow) {
    max-width: 500px;
  }
  .direct-contact {
    display: flex;
    gap: 30px;
    margin-top: 12px;
  }
  .direct-contact > a {
    flex: 1;
    gap: 12px;
  }
  .direct-contact strong {
    font-size: 13px;
  }
  .contact-decoration {
    display: none;
  }
  .contact-form {
    padding: 32px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 60px;
  }
  .topbar {
    font-size: 8px;
  }
  .topbar-inner {
    min-height: 29px;
    gap: 12px;
  }
  .topbar a {
    white-space: nowrap;
  }
  .header-inner {
    min-height: 76px;
  }
  .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .main-nav > a {
    padding-block: 12px;
    font-size: 13px;
  }
  .main-nav > .button {
    margin-top: 8px;
    justify-content: space-between;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 24px 30px;
  }
  .results-figure {
    grid-row: 1;
    border-radius: 9px;
  }
  .results-label {
    font-size: 7px;
    padding-bottom: 6px;
  }
  .results-figure figcaption {
    flex-direction: row;
    font-size: 6px;
    padding-block: 10px;
    gap: 6px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  h1 {
    max-width: 380px;
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 360px;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 11px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .hero-note {
    font-size: 10px;
    margin-top: 23px;
  }
  .hero-bottom {
    padding-block: 17px;
  }
  .hero-bottom > span {
    max-width: 240px;
  }
  .hero-bottom a {
    font-size: 0;
  }
  .hero-bottom a span {
    font-size: 19px;
    margin: 0 6px;
  }
  .benefit-list {
    gap: 20px 15px;
  }
  .benefit-list > span {
    font-size: 9px;
    gap: 8px;
  }
  .benefit-list .icon {
    width: 18px;
    height: 18px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }
  .section-heading {
    margin-bottom: 28px;
    gap: 17px;
  }
  .section-heading > p {
    font-size: 12px;
  }
  .course-grid {
    gap: 12px;
  }
  .course-card {
    padding: 19px 16px;
  }
  .course-top {
    margin-bottom: 22px;
  }
  .course-top .course-icon {
    width: 26px;
    height: 26px;
  }
  .course-kicker {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .course-card h3 {
    font-size: 20px;
    letter-spacing: -0.8px;
  }
  .course-card > p:not(.course-kicker) {
    font-size: 11px;
  }
  .course-bottom {
    font-size: 8px;
    gap: 6px;
    padding-top: 15px;
    margin-top: 18px;
  }
  .course-bottom .icon {
    width: 15px;
    height: 15px;
  }
  .other-courses {
    gap: 12px 20px;
    font-size: 10px;
    padding-top: 25px;
  }
  .other-courses > span {
    width: 100%;
  }
  .course-detail {
    font-size: 9px;
  }
  .method-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .method-visual {
    min-height: 400px;
  }
  .method-copy h2 {
    font-size: 34px;
  }
  .method-step h3 {
    font-size: 14px;
  }
  .method-step p {
    font-size: 12px;
  }
  .photo-caption {
    bottom: 28px;
  }
  .photo-caption strong {
    font-size: 41px;
  }
  .resources-section {
    padding-block: 60px;
  }
  .resource-intro h2 {
    font-size: 34px;
  }
  .resource-grid {
    gap: 30px 24px;
  }
  .resource-item h3 {
    font-size: 15px;
  }
  .resource-item p {
    font-size: 11px;
  }
  .about-copy h2 {
    font-size: 31px;
  }
  .academy-photo img {
    height: 260px;
  }
  .reviews-fallback {
    padding: 24px;
    gap: 20px;
  }
  .reviews-fallback > div:nth-child(2) {
    flex-basis: 100%;
  }
  .reviews-fallback h3 {
    font-size: 20px;
  }
  .reviews-fallback .button {
    margin-left: 0;
    width: 100%;
    font-size: 11px;
  }
  .reviews-track {
    grid-auto-columns: 88%;
  }
  .reviews-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  #reviews-rating {
    font-size: 12px;
  }
  .map-frame iframe {
    height: 325px;
  }
  .contact-copy h2 {
    font-size: 43px;
  }
  .direct-contact {
    flex-direction: column;
    gap: 0;
  }
  .direct-contact > a {
    padding-block: 17px;
  }
  .direct-contact strong {
    font-size: 16px;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-form h3 {
    font-size: 19px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .field label,
  .privacy-check,
  .form-availability {
    font-size: 11px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top .brand img {
    width: 100px;
  }
  .footer-top p {
    font-size: 10px;
  }
  .back-top {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 32px);
  }
  h1 {
    font-size: 38px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-card {
    padding: 24px;
  }
  .course-card h3 {
    font-size: 25px;
  }
  .course-kicker {
    font-size: 8px;
  }
  .course-card > p:not(.course-kicker) {
    font-size: 12px;
  }
  .course-bottom {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}
