:root {
  color-scheme: light;
  --tinta: #102b36;
  --texto: #405963;
  --azul: #006887;
  --cielo: #82dcf6;
  --linea: #cbd9dd;
  --nube: #edf4f5;
  --radio: 5px;
  --ancho: 1180px;
  --margen: clamp(1.15rem, 6vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; color: var(--tinta); background: #fff; font: 400 1rem/1.55 "Open Sans", "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a { color: var(--azul); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #00779e; outline-offset: 4px; }
.portada :focus-visible, .contacto :focus-visible { outline-color: var(--cielo); }
.ancho { width: min(var(--ancho), calc(100% - (2 * var(--margen)))); margin-inline: auto; }
.solo-lectura, .saltar:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saltar:focus { position: fixed; z-index: 10; left: 1rem; top: .5rem; padding: .6rem 1rem; background: white; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .titulo-tool { font-family: "Inter", "Segoe UI", Arial, sans-serif; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); line-height: 1.07; letter-spacing: -.047em; font-weight: 650; }
.categoria { margin: 0 0 .9rem; color: var(--azul); font-size: .78rem; font-weight: 750; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .68rem 1.25rem; border: 1px solid transparent; border-radius: var(--radio); text-align: center; font-weight: 650; font-size: .95rem; line-height: 1.35; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.boton:hover { text-decoration: none; }
.whatsapp { gap: .5rem; background: #08704e; color: #fff; white-space: nowrap; }
.whatsapp:hover { background: #075b40; }
.whatsapp img, .promo-enlace img { flex: none; }
.oscuro { color: #fff; background: var(--tinta); }
.oscuro:hover { background: #175065; }
.celeste { background: var(--cielo); color: #102b36; }
.celeste:hover { background: #a2e9fb; }
.claro { background: #fff; color: var(--tinta); }
.claro:hover { background: #dff3f8; }
.contorno-claro { color: white; border-color: #b5cbd2; background: #0b24323b; }
.contorno-claro:hover { background: #284451; }
.borde { border-color: #98aeb5; background: transparent; color: var(--tinta); }
.borde:hover { background: #e6f0f3; }
.boton:disabled { opacity: .62; cursor: not-allowed; }
form[aria-busy="true"] .enviar:disabled { cursor: wait; }
.cabecera { position: sticky; z-index: 4; top: 0; border-bottom: 1px solid #dce5e7; background: white; }
.barra { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.marca { display: inline-flex; flex: none; align-items: center; }
.marca img { width: 165px; height: auto; }
.barra nav, .pie nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.75vw, 2.4rem); }
.barra nav { margin-left: auto; gap: clamp(.85rem, 1.8vw, 1.65rem); }
.barra > .whatsapp { min-height: 42px; padding: .6rem .95rem; }
.barra nav > a:not(.boton), .pie nav a { color: var(--tinta); text-decoration: none; }
.barra nav > a:not(.boton) { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 600; }
.barra nav > a:not(.boton):hover, .pie nav a:hover { color: var(--azul); text-decoration: underline; }
.nav-inscripcion { min-height: 42px; }
.menu-toggle { display: none; border: 1px solid var(--linea); background: #fff; border-radius: var(--radio); align-items: center; gap: .6rem; min-height: 44px; padding: .45rem .8rem; color: var(--tinta); font-weight: 650; }
.menu-icono { width: 16px; height: 9px; border-block: 2px solid currentColor; }
.portada { position: relative; isolation: isolate; overflow: hidden; background: var(--tinta); color: white; }
.portada-foto { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 54%; }
.portada::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #081e2bf2 1%, #0c2433db 29%, #0d26328a 53%, #10242a08 76%); }
.portada-interior { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(410px, 35vw, 536px); padding-block: clamp(2.8rem, 5.25vw, 5rem); }
.portada h1 { font-weight: 650; font-size: clamp(2.55rem, 6.4vw, 5.9rem); line-height: .99; letter-spacing: -.058em; }
.portada h1 span { color: #99e3f8; }
.portada p { max-width: 32rem; margin: 1.45rem 0 1.75rem; color: #f1f7f9; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.55; text-wrap: pretty; }
.portada p strong { color: #fff; font-weight: 700; }
.acciones, .acciones-calculo { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.seccion { padding-block: clamp(3.35rem, 5.8vw, 5.8rem); }
.encabezado-cursos { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.9rem; }
.controles { display: flex; align-items: center; gap: .7rem; flex: none; }
.paso { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--linea); border-radius: 50%; background: #fff; color: var(--tinta); }
.paso:hover { border-color: var(--azul); background: var(--nube); }
.icono-rotacion { width: .65rem; height: .8rem; border-inline: 3px solid currentColor; }
.rotacion-pausada .icono-rotacion { width: 0; height: 0; margin-left: 2px; border: 0; border-block: .4rem solid transparent; border-left: .65rem solid currentColor; }
.chevron { width: .55rem; height: .55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-.1rem) rotate(45deg); }
.chevron.antes { transform: translateX(.1rem) rotate(-135deg); }
.posicion { color: var(--texto); font-size: .85rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.carrusel { display: grid; gap: 1rem; }
.carrusel.activo { position: relative; display: flex; overflow-x: auto; gap: 0; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--radio); }
.carrusel.activo::-webkit-scrollbar { display: none; }
.curso { min-width: 0; flex: 0 0 100%; display: grid; grid-template-columns: 42% minmax(0, 1fr); scroll-snap-align: start; background: #f4f7f7; overflow: hidden; border-radius: var(--radio); }
.pozos { --panel-claro: #fbebd3; --panel-oscuro: #c6aa80; }
.pruebas { --panel-claro: #dcecf6; --panel-oscuro: #7f9eb3; }
.planos { --panel-claro: #f1ede3; --panel-oscuro: #b6b7aa; }
.gas { --panel-claro: #c9ebe7; --panel-oscuro: #73a6a4; }
.seguridad { --panel-claro: #dcebe0; --panel-oscuro: #87a994; }
.curso-afiche { display: grid; place-items: center; height: clamp(21rem, 36vw, 28rem); padding: clamp(1rem, 2.1vw, 1.85rem); background: radial-gradient(ellipse at 22% 16%, var(--panel-claro), var(--panel-oscuro)); }
.curso-afiche img { width: auto; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; box-shadow: 0 6px 20px #0c273433; }
.curso-texto { align-self: center; padding: clamp(1.65rem, 4.5vw, 4.25rem); }
.curso h3 { max-width: 17em; font-size: clamp(1.75rem, 3vw, 2.85rem); letter-spacing: -.047em; line-height: 1.07; font-weight: 630; }
.curso h3 + p { max-width: 31rem; margin-top: 1rem; color: var(--texto); }
.curso-acciones { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.15rem; margin-top: 1.5rem; }
.ver-afiche { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 650; }
.referidos { background: #082937; color: #fff; border-top: 4px solid #51c8d1; }
.promo-interior { padding-block: clamp(2.65rem, 5.3vw, 4.6rem); }
.promo-cabecera { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(1.25rem, 4vw, 4rem); }
.programa { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: 1rem; color: #a8ebf1; font-size: .83rem; font-weight: 720; letter-spacing: .085em; text-transform: uppercase; }
.programa span { padding: .16rem .55rem; border: 1px solid #7d999e; border-radius: 3px; color: #ffdb88; }
.promo-texto h2 { font-size: clamp(2.2rem, 4.1vw, 3.85rem); }
.promo-texto em { font-style: normal; color: #ffdb88; }
.promo-texto > p:last-child { max-width: 35rem; margin-top: 1rem; color: #e0edf0; font-size: 1.05rem; }
.promo-foto { width: 100%; height: auto; border-radius: var(--radio); }
.descuentos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 1.9rem 0 1.2rem; padding: 1px; list-style: none; border-radius: var(--radio); overflow: hidden; background: #47616a; }
.descuentos li { display: grid; align-content: center; gap: .15rem; padding: clamp(.85rem, 1.8vw, 1.4rem); background: #103947; }
.descuentos li > span { color: #e0edf0; font-size: .94rem; font-weight: 600; }
.descuentos strong { color: #8ee6ee; font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.descuentos small { margin-left: .07em; font-size: .59em; }
.descuentos li:last-child { background: #ffdb88; }
.descuentos li:last-child > * { color: #153541; }
.promo-pie { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; }
.promo-pie p { max-width: 40rem; color: #c7dce1; font-size: .95rem; }
.promo-enlace { flex: none; gap: .5rem; border-color: #83a0a8; color: #fff; }
.promo-enlace:hover { background: #1f4855; }
.referidos :focus-visible { outline-color: #ffdb88; }
.zona-tools { background: var(--nube); border-block: 1px solid #d9e5e7; }
.columnas-tools, .inscripcion { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.3fr); gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.presentacion > p:not(.categoria) { margin-top: 1.2rem; max-width: 28rem; color: var(--texto); font-size: 1.05rem; }
.presentacion .categoria { margin-bottom: .65rem; }
.herramientas { min-width: 0; border-top: 1px solid #9eb6be; }
.herramienta { border-bottom: 1px solid #b3c7cd; }
.herramienta > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 80px; padding: 1.15rem 0; list-style: none; }
.herramienta > summary::-webkit-details-marker, .panel-inscripcion > summary::-webkit-details-marker { display: none; }
.herramienta > summary:hover { color: var(--azul); }
.titulo-tool { font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 620; line-height: 1.18; letter-spacing: -.025em; }
.mas { position: relative; width: 35px; height: 35px; flex: none; border: 1px solid #a9c0c7; border-radius: 50%; }
.mas::before, .mas::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mas::after { transform: translate(-50%, -50%) rotate(90deg); }
.herramienta[open] > summary .mas::after, .panel-inscripcion[open] > summary .mas::after { display: none; }
.panel-inscripcion { min-width: 0; border: 1px solid #b7cbd1; border-radius: var(--radio); }
.panel-inscripcion > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 68px; padding: .9rem clamp(1rem, 2vw, 1.55rem); list-style: none; border-radius: inherit; background: #edf5f6; font-size: 1.06rem; font-weight: 650; }
.panel-inscripcion > summary:hover { background: #deedf0; }
.panel-inscripcion .al-abrir, .panel-inscripcion[open] .al-cerrar { display: none; }
.panel-inscripcion[open] .al-abrir { display: inline; }
.panel-inscripcion form { padding: clamp(1rem, 2vw, 1.55rem); }
.interior-tool { padding: .1rem 0 1.75rem; }
.interior-tool > p, .formula p { color: var(--texto); }
.interior-tool > p:first-child { margin-bottom: 1.25rem; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1.15rem; }
.campos label { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: .35rem; font-size: .92rem; font-weight: 650; line-height: 1.4; }
.campos label small { font-size: .85rem; color: var(--texto); font-weight: 400; }
.campos input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: .6rem .8rem; color: var(--tinta); background: white; border: 1px solid #8fa6af; border-radius: var(--radio); font-size: 1rem; font-weight: 400; line-height: 1.4; }
.campos input::placeholder { color: #5d717a; }
.ancho-campo { grid-column: 1/-1; }
fieldset { min-width: 0; margin: 0 0 1.15rem; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: .75rem; padding: 0 0 .4rem; border-bottom: 1px solid #c8d8dc; font-weight: 700; }
.acciones-calculo, .enviar { margin-top: 1.2rem; }
.enlace-simple { border: 0; background: transparent; padding: .5rem .24rem; color: var(--azul); font-size: .95rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.resultado { margin-top: 1.4rem; padding: 1.15rem; border-left: 3px solid var(--azul); border-radius: 0 var(--radio) var(--radio) 0; background: #fff; }
.resultados-principales { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.resultados-principales p, .api-resultado { font-size: .93rem; color: var(--texto); }
.resultado strong { display: block; font-size: clamp(1.4rem, 2.3vw, 2.05rem); line-height: 1.25; color: var(--tinta); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.equivalencia { margin-top: .75rem; font-size: .88rem; }
.desglose { margin-top: .9rem; color: var(--texto); }
.desglose summary, .pie details summary { min-height: 32px; font-weight: 600; color: var(--azul); }
.formula p { font-size: .9rem; margin-top: .45rem; }
.tabla-wrap { max-width: 100%; overflow-x: auto; }
th:first-child, td:first-child { overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; margin-top: .5rem; font-size: .86rem; }
th, td { text-align: left; vertical-align: top; padding: .45rem .35rem; border-bottom: 1px solid var(--linea); }
th:last-child, td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.estado, .error { margin-top: 1rem; padding: .7rem .88rem; border-left: 3px solid var(--azul); background: #edf6f9; color: var(--tinta); overflow-wrap: anywhere; }
.error, .estado[data-tipo="error"] { color: #7b3022; border-color: #a63e28; background: #fcf1ec; }
.estado[data-tipo="exito"] { color: #14543b; border-color: #2a805b; background: #edf7f1; }
.contacto { color: #fff; background: #123746; }
.contacto-interior { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(2.3rem, 4.5vw, 4.1rem); }
.contacto p { max-width: 35rem; margin-top: .8rem; color: #dce8eb; }
.contacto-enlaces { display: grid; gap: .7rem; justify-items: center; flex-shrink: 0; }
.contacto-enlaces a:not(.boton) { color: white; font-size: .95rem; }
.pie { padding-block: 2rem 1.5rem; }
.pie-superior, .pie-inferior { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.pie .marca img { width: 135px; }
.pie nav { flex-wrap: wrap; gap: .45rem 1.3rem; font-size: .9rem; }
.pie nav a { display: inline-flex; min-height: 36px; align-items: center; }
.pie-inferior { align-items: flex-start; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--linea); color: var(--texto); font-size: .8rem; }
.pie-inferior details { max-width: 23rem; }
.pie-inferior summary { font-size: .9rem; }
@media (max-width: 920px) {
  .barra { min-height: 68px; flex-wrap: wrap; justify-content: flex-start; gap: .55rem; padding-block: .35rem; }
  .barra .marca img { width: 145px; }
  .barra > .whatsapp { margin-left: auto; }
  .menu-toggle:not([hidden]) { display: inline-flex; justify-content: center; order: 2; }
  .barra nav { order: 3; flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; padding: .45rem 0 .75rem; }
  .nav-inscripcion { justify-self: start; }
}
@media (max-width: 820px) {
  .columnas-tools, .inscripcion { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .presentacion h2 br { display: none; }
  .presentacion > p:not(.categoria) { max-width: 38rem; margin-top: .8rem; }
  .curso-texto { padding: 1.65rem; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 5rem; }
  .barra { min-height: 62px; }
  .barra .marca img { width: clamp(5.8rem, 30vw, 8.45rem); }
  .barra > .whatsapp { gap: .35rem; padding: .45rem .65rem; font-size: .9rem; }
  .menu-toggle { width: 42px; min-height: 42px; padding: 0; }
  .menu-etiqueta { display: none; }
  .portada-interior { min-height: 405px; }
  .portada::before { background: linear-gradient(90deg, #0b202ce8, #10232cc4 54%, #10212d66); }
  .portada-foto { object-position: 68% center; }
  .portada p { max-width: 26rem; }
  .encabezado-cursos { align-items: flex-end; margin-bottom: 1.3rem; }
  .controles { gap: .25rem; }
  .posicion { font-size: .78rem; }
  .curso { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .curso-afiche { height: clamp(16rem, 65vw, 21rem); padding: .95rem; }
  .curso-texto { align-self: start; padding: 1.4rem; }
  .curso h3 { max-width: 23rem; }
  .curso-acciones { margin-top: 1rem; }
  .promo-cabecera { grid-template-columns: 1fr; gap: 1.3rem; }
  .promo-foto { max-width: 32rem; }
  .descuentos { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.35rem; }
  .descuentos li:last-child { grid-column: 1/-1; }
  .descuentos li { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
  .descuentos li > span { font-size: .88rem; }
  .descuentos strong { font-size: clamp(1.6rem, 5.4vw, 2.2rem); }
  .promo-pie { flex-direction: column; align-items: flex-start; }
  .contacto-interior { flex-direction: column; align-items: flex-start; gap: 1.45rem; }
  .contacto-enlaces { justify-items: start; }
}
@media (max-width: 495px) {
  .encabezado-cursos { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .controles { gap: .6rem; }
  .campos { grid-template-columns: 1fr; }
  .acciones { gap: .55rem; }
  .acciones .boton { padding-inline: .85rem; font-size: .9rem; }
  .categoria { margin-bottom: .65rem; }
  .resultados-principales { grid-template-columns: 1fr; }
  .pie-superior, .pie-inferior { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .descuentos li:not(:last-child) { display: grid; justify-content: start; gap: .2rem; }
}
@media (max-width: 360px) {
  .barra.ancho { width: calc(100% - 1rem); gap: .35rem; }
  .barra .marca img { width: 5.4rem; }
  .barra > .whatsapp { gap: .3rem; padding-inline: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
