/* Estilos globales modernos */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.novedad-contenedor {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.novedad-tags {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
}

.novedad-tag-rojo {
    background-color: #e4002b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.novedad-tag:last-child {
    margin-right: 0px;
}
.novedad-titulo {
    position: absolute;
    /*padding: 30px;*/
    width: 100%;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
    left: 0;
    bottom: 22px;
    letter-spacing: -0.5px;
}
.novedad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 44, 106, 0.8) 0%, rgba(0, 50, 160, 0.6) 100%);
}
.novedad-imagen {
    transition: transform 0.6s ease;
}
.novedad-imagen {
    width: 100%;
    height: 100%;
    background-size: 110%;
    transition: background-size 0.6s ease;
    background-position: center;
    background-size: cover;
}
.form-envio{
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
    padding: 40px;
    transition: box-shadow 0.3s ease;
}
.form-envio:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.calendar {
    background: url("../img/calendar.svg") no-repeat;
    top: 33px !important;
    right: 10px !important;
}
#content2
{
    display:none;
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*#contentBTN
{
    display: flex;
    align-items: center;
    justify-content: right;
}*/
.leyenda-form {
    font-size: 12px;
    color: #718096;
    margin-top: 4px;
    font-weight: 500;
    font-style: italic;
}
.frm-center{
    display: flex;
    justify-content: center;
}

#contentBTN {
    margin-top: 8px;
}

#msgp2 {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    display: inline-block;
}

.enviar-formulario {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.enviar-formulario:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.enviar-formulario:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.enviar-formulario:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animación sutil de pulso para el botón */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}
.contenido{
    margin-top: 72px;
    padding-bottom: 50px;
}
.title-h1{
    color: #667eea;
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 700;
}

.ob{
    color: #e4002b;
    font: normal normal bold 13px/18px "Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* Estilos modernos para inputs y labels */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.form-control {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f7fafc;
}

.form-control:hover {
    border-color: #cbd5e0;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
    animation: inputFocus 0.3s ease;
}

.form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Estilos para validación */
.form-control.error,
.form-control:invalid:not(:placeholder-shown) {
    border-color: #fc8181;
    background-color: #fff5f5;
}

.form-control.error:focus {
    border-color: #e4002b;
    box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.1);
}

.form-control.success {
    border-color: #68d391;
    background-color: #f0fff4;
}

/* Mejora visual para campos deshabilitados */
.form-control:disabled {
    background-color: #edf2f7;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Animación para focus en inputs */
@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.g-recaptcha{
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
}

#privacidad{
    vertical-align: middle;
    margin-right: 5px;
}

#terminos {
    width: 90%;
    vertical-align: middle;
}

.interrogacion{
    width: 15px;
    vertical-align: text-top;
}

.captcha{
    margin-top: 24px;
    margin-bottom: 8px;
    overflow: hidden;
}

/* Responsive Captcha */
@media (max-width: 320px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .g-recaptcha {
        transform: scale(0.95);
        transform-origin: 0 0;
    }
}

@media (max-width: 480px) {
    .captcha {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .form-envio {
        padding: 24px;
    }
    
    .novedad-titulo {
        font-size: 28px;
        padding: 20px;
    }
    
    .novedad-contenedor {
        height: 150px;
    }
}


@media(max-width:520px)
{
    .portal-nav {
        font-size: 23px;
    }
    
    .title-h1 {
        font-size: 32px;
    }
}

@media(max-width:460px)
{
    .portal-nav {
        font-size: 17px;
    }
    
    .title-h1 {
        font-size: 28px;
    }
}

/* Media queries para tablets */
@media(min-width: 768px) and (max-width: 991px) {
    .form-envio {
        padding: 32px;
    }
}

/* Mejoras generales responsive */
@media(max-width: 767px) {
    .novedad-contenedor {
        margin-bottom: 30px;
    }
    
    .contenido {
        margin-top: 60px;
    }
}

/* ============================================
   Indicador de Progreso en Pasos
   ============================================ */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: linear-gradient(to right, #e2e8f0 0%, #e2e8f0 100%);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-label {
    font-size: 13px;
    color: #718096;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.3;
}

/* Paso activo */
.progress-step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: #2d3748;
    font-weight: 700;
}

/* Paso completado */
.progress-step.completed .step-number {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.progress-step.completed .step-label {
    color: #2d3748;
}

.progress-step.completed .step-number::after {
    content: '✓';
    font-size: 24px;
}

/* Animación de pulso para el paso activo */
@keyframes pulse-step {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

.progress-step.active .step-number {
    animation: pulse-step 2s ease-in-out infinite;
}

/* Responsive para tablets */
@media(max-width: 991px) {
    .progress-indicator {
        padding: 0 10px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .step-label {
        font-size: 12px;
    }
}

/* Responsive para móviles */
@media(max-width: 767px) {
    .progress-indicator {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .progress-indicator::before {
        display: none;
    }
    
    .progress-step {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .step-label {
        font-size: 11px;
    }
}

/* Responsive para móviles muy pequeños */
@media(max-width: 480px) {
    .progress-step {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 10px;
    }
}

/* ============================================
   Aviso de Privacidad
   ============================================ */
.privacy-notice {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.privacy-notice p {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.privacy-notice i {
    color: #667eea;
    margin-right: 8px;
    font-size: 16px;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.privacy-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    text-decoration: none;
}

.privacy-link:focus {
    outline: 2px solid rgba(102, 126, 234, 0.3);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive para móviles */
@media(max-width: 480px) {
    .privacy-notice {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .privacy-notice p {
        font-size: 12px;
    }
    
    .privacy-notice i {
        font-size: 14px;
    }
}

/* ============================================
   Caja de Información / Instrucciones
   ============================================ */
.info-box {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #ffffff;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content {
    flex: 1;
    padding-top: 4px;
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.info-description {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.info-phone {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.info-phone:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
    text-decoration: none;
}

/* Responsive para tablets */
@media(max-width: 991px) {
    .info-box {
        padding: 18px 20px;
    }
    
    .info-icon {
        width: 44px;
        height: 44px;
        margin-right: 14px;
    }
    
    .info-title {
        font-size: 15px;
    }
    
    .info-description {
        font-size: 13px;
    }
}

/* Responsive para móviles */
@media(max-width: 767px) {
    .info-box {
        padding: 16px 18px;
        margin-bottom: 25px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .info-title {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .info-description {
        font-size: 12px;
    }
}

/* Responsive para móviles muy pequeños */
@media(max-width: 480px) {
    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .info-content {
        padding-top: 0;
    }
}