:root {
    --bg-image: url('../img/fondo.jpg');
    --primary-dark: #E4352D; 
    --primary-hover: #c62828; 
    --text-gray: #7a7a7a;
    --border-color: #cbd5e1;
    
    --form-text: #334155;
    --form-label: #64748b;
    --bg-legal: #f8fafc;
    --border-legal: #e2e8f0;
    --success-color: #000000;
    --success-hover: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Aller', Arial, sans-serif !important;
}


/* ==========================================
   Versión 1
   ========================================== */
body.v1 .cabecera, body.v1 .contenedor { background-color: transparent; box-shadow: none;}
body.v1 .cabecera .izq{ padding: 20px 20px;}
body.v1 .cabecera .dcha .text{ padding: 20px 60px 20px 100px;}
body.v1 .cabecera .dcha{ background-image: none;}
body.v1 .cabecera .dcha::before{ display: none;}
body.v1 .contForm{ padding: 50px 60px 0px 60px; border-radius: 4px 4px 0 0;}
body.v1 .cabecera .izq img { filter: brightness(0) invert(1);}
body.v1 .cabecera .dcha h1{color:var(--primary-dark);}
body.v1 .dark-overlay{ padding: 30px 60px 0px 60px;}
body.v1 .btn-consulta{ background-color: var(--primary-dark);}
body.v1 .btn-consulta svg{ color:#fff;}

/* ==========================================
   ESTRUCTURA PRINCIPAL Y FONDO
   ========================================== */
body {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.dark-overlay {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: linear-gradient(45deg, rgba(10, 15, 25, 0.9), rgba(38, 55, 75, 0.4), rgba(10, 15, 25, 0.9));
    background-size: 200% 200%; 
    animation: movingLight 15s ease infinite;
}

@keyframes movingLight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.contenedor {
    display: flex;
    width: 100%;
    max-width: 1410px;
    min-height: 500px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    opacity: 0; 
    animation: fadeInUp 0.8s ease-out forwards; 
    animation-delay: 1s;
    flex-direction: column;
}

/* ==========================================
   CABECERA 
   ========================================== */

.cabecera { 
    display: flex; 
    justify-content: space-between;
    width: 100%; 
    background-color: #ffffff;
    /* Evita línea/hairline roja bajo toda la cabecera: recorte + capa estable con el hijo .dcha redondeado */
    overflow: hidden;
    isolation: isolate;
}

.cabecera .izq { 
    width: 50%; 
    padding: 50px 40px; 
    display: flex; 
    justify-content: space-around;  
    align-items: center; 
}

.cabecera .dcha {
    width: 50%; 
    display: flex;
    align-items: center;  
    justify-content: flex-end;
    position: relative;
	/*background-image: var(--bg-image);*/
	background-image:url("../img/clase-ipads.jpg");
    background-size: cover;
    background-position: top left;
    /* fixed + border-radius en Chrome/Chromium suele dibujar una línea de 1px en el borde recortado */
    border-bottom-left-radius: 100%; 
    overflow: hidden; 
}
	
.cabecera .dcha::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    background: linear-gradient(to bottom, rgba(211, 47, 47, 0.95) 0%, rgba(183, 28, 28, 0.75) 100%);
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.cabecera .dcha .text {
    position: relative;
    z-index: 2;
    padding: 50px 60px 50px 100px; 
    text-align: right;
}

.cabecera .dcha h1 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cabecera .dcha h1 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 5px;
}

@media (max-width: 1200px) {
	.dark-overlay {padding: 20px;}
    .cabecera {
        flex-direction: column;
    }
    .cabecera .izq {
		width: 100%;}
	
    .cabecera .dcha {
        width: 100%;
        justify-content: center;
        border-radius: 0; 
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
    }

    .cabecera .dcha .text {
        padding: 20px;
        text-align: center;
    }

    .cabecera .dcha .text h1 {
        font-size: 2rem; 
    }
}
@media (max-width: 758px) {
	.dark-overlay {padding: 0;}
    .cabecera .izq {
        width: 100%;
        padding: 30px 20px;
        gap: 20px;
    }
	.cabecera .dcha .text h1 { font-size: 1.5rem;}

}

@media (max-width: 640px) {
	.logoML, .logoCentro{height: auto !important; width:40%!important;}
}

/* ==========================================
   BLOQUE INFORMACION 
   ========================================== */
.contInfo {
	display: flex;
    position: relative;
    /*background-image: var(--bg-image);*/
	background-image:url("../img/nina-love.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
	width:100%;
	padding-top: 120px;
    overflow: hidden; 
}

.contInfo::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(211, 47, 47, 0.95) 0%, rgba(183, 28, 28, 0.75) 100%);
    z-index: 1;
}

.contInfoInt {
position: relative;
    z-index: 11; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    text-align: center;
    color: #ffffff;
}


.contInfo::after {
content: '';
    position: absolute;
    top: -2px; 
    left: -10%; 
    width: 120%;
   
    height: 80px; 
    
    background-color: #ffffff;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    z-index: 2;
}

.contInfoInt h3 {
    font-weight: 900;
    font-size: 2rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px; 
    font-family: 'Roboto', Arial, sans-serif !important;
}
.contInfoInt .subt{    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
    margin-bottom: -3px;
    letter-spacing: -1px; 
    font-family: 'Roboto', Arial, sans-serif !important; display: block;}

.contInfo .contInfoInt .col{padding: 1rem; text-align: center; opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.25,.8,.25,1), transform 1s cubic-bezier(.25,.8,.25,1);  cursor: pointer; }
/* activo */
.contInfoInt .col.show { opacity: 1; transform: translateY(0);}
/* delay en cascada */
.contInfoInt .col:nth-child(1) { transition-delay: 0.1s; }
.contInfoInt .col:nth-child(2) { transition-delay: 0.3s; }
.contInfoInt .col:nth-child(3) { transition-delay: 0.5s; }
.contInfoInt .col:nth-child(4) { transition-delay: 0.7s; }

.contInfoInt .col.show:hover {
  transform: translateY(0) scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contInfo .contInfoInt .col.calendario img, .contInfo .contInfoInt .col.dias img, .contInfo .contInfoInt .col.horario img, .contInfo .contInfoInt .col.pago img{ width: 70px; filter: invert(1); margin-bottom: 0.8rem;}
.contInfoInt .col.calendario h3 { font-weight: 900; font-size: 2.5rem;}
.contInfoInt .col.dias h3{ font-size:2rem;}
.contInfoInt .col.dias .subt{ font-weight: 500; font-size: 1.2rem; line-height: 1.3;}
.contInfoInt .col.pago .subt{ font-weight: 500; font-size: 1.4rem; line-height: 1.2;}

.contInfoInt p {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .contInfoInt {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    /*.contInfoInt {
        grid-template-columns: 1fr;
    }*/
	.contInfoInt{ padding: 0 1em 1em 1em; gap:0;}
	.contInfoInt .col.calendario h3, .contInfoInt .col.dias h3, .contInfoInt h3{font-size: 1.5rem;}
	.contInfoInt .col.dias .subt{ font-size: 1em;}
	.contInfoInt p{ font-size: 0.8em;}
	.contInfo .contInfoInt .col.calendario img, .contInfo .contInfoInt .col.dias img, .contInfo .contInfoInt .col.horario img, .contInfo .contInfoInt .col.pago img{ width:50px;}
	.contInfoInt .subt{ font-size:1.2em;}
	.contInfoInt .col.pago .subt{ font-size:0.9em;}
	.cabecera .dcha h1 span{ font-size: 1rem;}
}

/* ==========================================
   BLOQUE (FORMULARIO)
   ========================================== */

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    /* Sombra interior gigante BLANCA para tapar el azul de Chrome */
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    
    /* Mantenemos tu color de texto oscuro para que se lea bien */
    -webkit-text-fill-color: #334155 !important;
    
    transition: background-color 5000s ease-in-out 0s;
}

.contForm {
    flex: 4;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 0 60px 0px 60px;
	position: relative; 
}

/* Botones laterales tipo pestaña */
.flotantes-group {
    position: absolute;
	top:1em;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 990;
}

.btn-flotante {
 width: 65px;
    height: 60px;
    border-radius: 30px 0 0 30px; 
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none; 
    box-shadow: -4px 5px 15px rgba(0, 0, 0, 0.15); 
    transition: all 0.3s ease;
    position: relative;
}

/* Colores específicos para cada botón */
.btn-consulta {
    background-color: var(--primary-dark);
}
.btn-consulta:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 15px 25px rgba(228, 53, 45, 0.4);
}

.btn-info {
    background-color: #000000;
}
.btn-info:hover {
    background-color: #1e293b;
    box-shadow: 0 15px 25px rgba(30, 41, 59, 0.4);
}

.btn-consulta svg, .btn-info svg {
    transition: color 0.3s ease;
	    width: 40px;
    height: 40px;
}

.btn-consulta:hover svg, .btn-info:hover svg {
    color: white;
	 animation: spin360 1s forwards; 
}

/* Capa flotante "Consúltanos" */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Estado inicial oculto */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);

    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Botón de cerrar */
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--form-border);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--primary-dark);
}

/* Modal resultado inscripción (landing) */
.modal-content.modal-inscripcion-msg .step-title {
    margin-bottom: 0;
}
.modal-content.modal-inscripcion-msg--success .step-title {
    color: #065f46;
}
.modal-content.modal-inscripcion-msg--error .step-title {
    color: #b91c1c;
}
.modal-content.modal-inscripcion-msg--loading .step-title {
    color: var(--form-text);
}
.modal-content.modal-inscripcion-msg--loading #inscripcionMsgText::after {
    content: '';
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    margin-left: 0.35em;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-dark);
    border-radius: 50%;
    animation: ml-spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes ml-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .btn-flotante { top:4rem;}
}

@media (min-width: 641px) and (max-width: 768px) {
	.logoML { height: 50px!important;}
	.logoCentro {height: 40px!important;}
}

@media (max-width: 576px) {
    .contInfo {
        padding-top: 80px; 
    }
    .contInfo::after {
        height: 40px; 
    }
}


@media (max-width: 600px) {
    .modal-content {
        padding: 35px 25px;
        width: 95%;
    }
}

@keyframes spin360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Tooltip */
.btn-flotante .tooltip {
    position: absolute;
    right: 75px;
    background: #1e293b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

/* Flecha del tooltip */
.btn-flotante .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Mostrar tooltip al hover */
.btn-flotante:hover .tooltip {
   opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .flotantes-group {
        bottom: 20px;
        /*right: 20px;*/
        gap: 5px;
    }
    .btn-flotante {
        width: 40px;
        height: 40px;
    }
	.btn-consulta svg, .btn-info svg{ width:30px; height: 30px;}
    .btn-flotante .tooltip {
        display: none; 
    }
}

.logoML {
    height: 75px;
    object-fit: cover;
}

.logoCentro {
    height: 50px;
    object-fit: cover;
} 

/* Títulos de sección */
.step-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.step-subtitle {
    font-size: 1.2rem;
    color: var(--form-text);
    margin: 35px 0 20px 0;
    font-weight: 700;
}

/* Etiquetas Flotantes */
.form-floating {
    position: relative;
    margin-bottom: 22px;
    width: 100%;
}

.form-floating input,
.form-floating select,
.form-floating textarea {
    width: 100%;
    padding: 22px 15px 8px 15px; 
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--form-text);
    background-color: transparent;
    outline: none;
    transition: all 0.3s ease;
}

/* Fecha (HTML5 date): usamos el icono nativo del navegador */

.form-floating textarea {
    resize: vertical;
    min-height: 100px;
    padding-top: 25px;
}

/* La etiqueta (actúa como placeholder inicialmente) */
.form-floating label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--form-label);
    font-size: 0.95rem;
    transition: all 0.2s ease-out;
    pointer-events: none; 
    margin: 0;
}

.form-floating textarea ~ label {
    top: 25px;
}

.form-floating input:focus,
.form-floating select:focus,
.form-floating textarea:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(228, 53, 45, 0.1); 
}

/* Animación de la etiqueta subiendo */
.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:valid ~ label,
.form-floating select.has-value ~ label {
    top: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.form-floating input[type="date"] ~ label {
    top: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Selects */
.form-floating select {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-floating select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4352D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Calendario */

.form-floating input[type="date"] {
    color: transparent;
}
.form-floating input[type="date"]:focus,
.form-floating input[type="date"]:valid {
    color: var(--form-text);
}
.form-floating input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 1;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4352D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    width: 18px;
    height: 18px;
    padding-left: 10px;
}

/* Cajas de Información Legal */
.legal-info-box {
    background-color: var(--bg-legal);
    border: 1px solid var(--border-legal);
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--form-label);
    line-height: 1.6;
}

.legal-info-box h3 {
    font-size: 1rem;
    color: #000;
    margin-bottom: 12px;
    font-weight: 700;
	text-transform: uppercase;
}

.legal-info-box ul {
    margin-left: 20px;
    margin-bottom: 0;
	    margin-top: 5px;
}

.mt-4 { margin-top: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }

/* Checkboxes de Aceptación */
.form-check-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 30px;
    cursor: pointer;
}

.form-check-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-dark);
}

.form-check-group label {
    font-size: 0.95rem;
    color: var(--form-text);
    line-height: 1.5;
    cursor: pointer;
}

/* Botones de Navegación */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    border-top: 1px solid var(--border-legal);
    padding-top: 25px;
    width: 100%;
}

.btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary { background-color: var(--primary-dark); color: #fff; }
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 53, 45, 0.3); /* Sombra roja */
}

.btn-secondary { background-color: #f5f5f5; color: var(--form-label); border: 1px solid var(--border-color); }
.btn-secondary:hover { background-color: #eeeeee; color: #1e293b; }

.btn-success { background-color: var(--success-color); color: #fff; }
.btn-success:hover {
    background-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 6, 6, 0.25);
}

/* Alertas */
.alert { padding: 15px; border-radius: 5px; font-size: 0.9rem; font-weight: 700; width: 100%; }
.alert-success { background-color: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-info { background-color: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.alert-error { background-color: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* Errores de validación (debajo del campo, sin solapar labels flotantes) */
.field-error {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    /*font-weight: 800;*/
    color: #b91c1c;
}

/* Wrapper de campo para no romper grid con errores */
.field-wrap {
    width: 100%;
}

/* Cuando hay error, acercamos el mensaje al campo */
.field-wrap.has-error .form-floating {
    margin-bottom: 6px;
}

/* Estado inválido: borde y glow rojo (sin cambiar el layout) */
.form-floating input.is-invalid,
.form-floating select.is-invalid,
.form-floating textarea.is-invalid {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}


/* ==========================================
   ANIMACIONES
   ========================================== */

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Animación fadeInUp */
.contForm > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Elementos en cascada */
.contForm .logoML { animation-delay: 1.2s; }
.contForm .logoCentro { animation-delay: 1.3s; }
.contForm form, .contForm .form-step { animation-delay: 1.4s; width:100%; }

@media (max-width: 768px) {
    .contenedor { flex-direction: column; }
    .contInfo { min-height: 250px; }
    .form-actions { flex-direction: column-reverse; }
    .btn { width: 100%; }
	.contForm{ padding: 30px 20px;}
}

/* Elementos formulario a 2 columnas */

.form-step.dos-columnas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    align-items: start; 
}

.form-step.dos-columnas .step-title,
.form-step.dos-columnas .step-subtitle,
.form-step.dos-columnas .legal-info-box,
.form-step.dos-columnas .form-check-group,
.form-step.dos-columnas .ancho-completo {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-step.dos-columnas {
        grid-template-columns: 1fr;
    }
}

/* Línea de tiempo */

.timeline-container {
    width: 100%;
    margin-bottom: 60px;
}

.multisteps-form__progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 15px;
}

.multisteps-form__progress::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    z-index: 1;
}

.multisteps-form__progress-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    color: var(--form-label);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding-top: 40px;
    cursor: pointer;
    transition: color 0.3s;
    flex: 1;
    text-align: center;
}

.multisteps-form__progress-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background-color: #fff;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s;
    box-sizing: border-box;
}

/* --- Estado activo y completado --- */
.multisteps-form__progress-btn.js-active {
    color: var(--primary-dark);
}

.multisteps-form__progress-btn.js-active::before {
    /*border-color: var(--primary-dark);*/
    background-color: var(--primary-dark);
    /*box-shadow: 0 0 0 4px rgba(228, 53, 45, 0.2);*/
}

.multisteps-form__progress-btn.js-active::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    background-color: #fff;
    border-radius: 50%;
}

/* Ocultar texto de la línea de tiempo en móviles para que no se amontone */
@media (max-width: 600px) {
    .multisteps-form__progress-btn { font-size: 0; }
}