/* Solo /profesores-particulares (body.vl-academy, después de sitio.css y sitio-compacto.css): las demás páginas no reciben
   ni un byte de este archivo. Mobile first. Interacción en resources/views/site/partials/academy-landing-script.blade.php. */

/* Lo que el JS oculta (hidden) se oculta aunque la clase tenga su propio display */
.vl-academy #funciones [hidden], .vl-academy #dominios [hidden], .vl-academy .contact-checks li[hidden] { display: none; }

/* Bandera del país junto al logo: informativa, sin botón. En el celular, solo la bandera (el nombre queda para el lector de pantalla) */
.top-country { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.top-country img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(7, 54, 56, .18); }
@media (max-width: 599px) {
    .top-country { margin-left: -2px; }
    .top-country span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 600px) { .top-country { margin-left: -12px; } }

/* Etapa h3 (2 o más países abiertos): el país es un botón que vuelve a abrir «¿Desde qué país nos visitás?». Sin JS, la
   bandera fija de siempre (el botón no haría nada). Sin bandera («Otro país»): en la computadora el nombre; en el celular, un
   globo (el nombre queda para el lector de pantalla) */
.js .top-country-static, html:not(.js) .top-country-btn { display: none; }
.top-country-btn { min-height: 44px; min-width: 44px; padding: 0 8px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.top-country-btn:hover { border-color: var(--teal-600); background: var(--teal-50); }
.top-country-btn[aria-expanded="true"] { border-color: var(--teal-600); }
.top-country-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.top-country-caret { flex: none; color: var(--teal-600); transition: transform .2s; }
.top-country-btn[aria-expanded="true"] .top-country-caret { transform: rotate(180deg); }
/* Globo: solo en el celular y sin bandera («Otro país»); el nombre sigue llegando al lector de pantalla */
.top-country-globe { display: none; flex: none; color: var(--teal-600); }
@media (max-width: 599px) {
    .top-country-btn { flex: none; padding: 0 6px; gap: 4px; }
    .top-country-btn.top-country-noflag .top-country-globe { display: block; }
}
@media (prefers-reduced-motion: reduce) { .top-country-caret { transition: none; } }

/* Franja del alumno, debajo del encabezado y no fija: verde de la marca (blanco sobre #0F6E70 = 6,1:1), alto mínimo de 44 px */
.vl-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; min-height: 44px; padding: 8px 16px;
    background: var(--teal-600); color: #fff; font-size: 15px; line-height: 1.3; text-align: center; text-decoration: none; }
.vl-topbar .ico { width: 18px; height: 18px; }
.vl-topbar strong { text-decoration: underline; text-underline-offset: 3px; }
.vl-topbar:hover { background: var(--teal-800); }
.vl-topbar:focus-visible { outline: 3px solid #fff; outline-offset: -5px; border-radius: 0; }

/* Subtítulo: el largo en la computadora, el corto en el celular */
.vl-lead-short { display: none; }

/* Celular: menos texto */
@media (max-width: 599px) {
    .vl-lead-full { display: none; }
    .vl-lead-short { display: inline; }
    .vl-academy .hero-cta .link-arrow { display: none; }
    .vl-academy #como-funciona .vl-head p { display: none; }
    .vl-academy .vc-chat li:nth-child(2) { display: none; }
}

/* Funciones: "Ver todo" (solo en el celular, lo agrega el JS) */
.vl-see-all { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 10px; padding: 10px 16px;
    background: #fff; border: 1.5px solid var(--teal-600); border-radius: var(--r-md); color: var(--teal-800); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.vl-see-all:hover { background: var(--teal-50); }

/* Dominios plegados en el celular: el título es el botón */
.vl-fold-btn { position: relative; display: block; width: 100%; min-height: 44px; margin: 0; padding: 6px 40px 6px 0; background: none; border: 0;
    color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; border-radius: 4px; }
.vl-fold-btn::after { content: "+"; position: absolute; top: 50%; right: 4px; transform: translateY(-50%); font-size: 26px; font-weight: 500; line-height: 1; color: var(--teal-600); transition: transform .2s; }
.vl-fold-btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.vl-academy #dominios.vl-folded .vl-head { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .vl-fold-btn::after { transition: none; } }

/* Formulario: un campo por renglón (correo, país y WhatsApp) y el aviso para un país donde todavía no empezamos */
.vl-academy .contact .field-row { grid-template-columns: 1fr; }
.country-notice:not(:empty) { margin-top: 8px; padding: 10px 12px; background: var(--teal-50); border-left: 3px solid var(--teal-600); border-radius: 6px;
    font-size: 14px; line-height: 1.45; color: var(--teal-900); }

/* Bloque del alumno: botón con borde verde (no dorado) */
.vl-academy .vl-band-soft .btn-ghost { border-color: var(--teal-600); }
.vl-academy .vl-band-soft .btn-ghost:hover { background: var(--teal-50); }
