.hero-form__fields label {display:none!important;}

.content-hero__form{
	border-radius: 20px;
	padding: 40px;
	position: relative;
	z-index: 1;
}
.content-hero__form::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: #0093F71A;
	top: 0;
    left: 0;
    z-index: -1;
    border-radius: 20px;
    box-shadow: 1px 1px 0.2px 0px #FFFFFF40 inset;
    backdrop-filter: blur(10px);
}

.two-columnas {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.two-columnas .hero-form__fields {
    flex: 1;
    min-width: 0; /* Evita que el contenido se desborde */
}

.two-columnas .hero-form__fields input {
    width: 100%;
    box-sizing: border-box; /* Incluye padding y border en el ancho total */
}

.hero-form__fields{
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 20px;
}
.hero-form__fields:last-child{
	margin: 0;
}
.hero-form__fields input{
	width: 100%;
	color: rgba(10, 2, 35, 0.5);
	font-size: 16px;
	font-weight: 300;
	border: none;
	border: 1px solid #DFE4ED;
	padding: 18px 10px 18px 35px;
	border-radius: 7px;
	outline: none;
	background: #FAFAFA;
}
.hero-form__fields input::placeholder, .hero-form__fields textarea::placeholder{
	color: rgba(10, 2, 35, 0.5);
}

.hero-form__fields textarea{
	width: 100%;
	color: rgba(10, 2, 35, 0.5);
	font-size: 16px;
	font-weight: 300;
	font-family: inherit;
	border: none;
	border: 1px solid #DFE4ED;
	padding: 12px 10px 12px 35px;
	border-radius: 12px;
	outline: none;
}

/* ===== LAYOUT DE SUBMIT CON POLÍTICA DE PRIVACIDAD ===== */
.form-submit-row {
    display: flex;
    align-items: center; /* ✅ CAMBIADO: Alineación vertical centrada */
    gap: 20px;
    width: 100%;
}

.submit-button-col {
    flex-shrink: 0; /* No se comprime */
}

.privacy-policy-col {
    flex: 1; /* Toma el espacio restante */
    display: flex;
    align-items: center; /* ✅ CAMBIADO: Centrado vertical */
}

.privacy-policy-text {
    display: flex;
    align-items: flex-start; /* ✅ CAMBIADO: Ícono alineado al top */
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #0A0223;
}

.privacy-icon {
    flex-shrink: 0;
    margin-top: 2px; /* ✅ AGREGADO: Pequeño ajuste para alineación con primera línea */
}

.privacy-policy-text span {
    font-weight: 300;
    color: #0A0223;
}

.privacy-link {
    color: #0A0223 !important; /* ✅ AGREGADO: !important para forzar el color */
    text-decoration: underline !important; /* ✅ AGREGADO: !important para forzar el underline */
    font-weight: 400;
}

/* Responsive para el submit */
@media only screen and (max-width: 600px) {
    .form-submit-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .submit-button-col {
        width: 100%;
    }
    
    .btn-submit-form {
        width: 100%;
        justify-content: center;
    }
    
    .privacy-policy-col {
        align-items: flex-start; /* En móvil volver a flex-start */
    }
    
    .privacy-policy-text {
        font-size: 13px;
        align-items: flex-start; /* ✅ YA CORRECTO: En móvil mantener alineación superior */
    }
    
    .privacy-icon {
        margin-top: 2px; /* ✅ MANTENER: En móvil el margen superior */
    }
}

/* ===== BOTÓN SUBMIT CON CURSOR POINTER ===== */
.btn-general, .hero-form__fields button, .btn-submit-form{
	border-radius: 19px;
	background: transparent;
	color: #0A0223;
	padding: 14px 60px;
	font-size: 16px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -0.2px;
	border: none;
	transition: .3s ease-in-out;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	border: 10px solid #DBE9FF33;
	cursor: pointer; /* ✅ AGREGADO: Cursor pointer */
}
.btn-general:hover, .hero-form__fields button:hover, .btn-submit-form:hover{
	transition: .3s ease-in-out;
	color: #FBFDFD;
	background: radial-gradient(74.44% 74.44% at 50% 50%, rgba(0, 147, 247, 0) 0%, #0093F7 0.01%, rgba(0, 86, 145, 0) 100%);
	cursor: pointer; /* ✅ AGREGADO: Mantener cursor en hover */
}
.btn-general::before, .hero-form__fields button::before, .btn-submit-form::before{
	position: absolute;
	content: '';
	border-radius: 50px;
	width: 0;
	height: 100%;
	transition: .3s ease-in-out;
	z-index: 1;
}
.btn-general:hover::before, .hero-form__fields button:hover::before, .btn-submit-form:hover::before{
	background: #0093F7;
	transition: .3s ease-in-out;
	border-radius: 10px;
	width: 100%;
	height: 100%;
}
.btn-general::after, .hero-form__fields button::after, .btn-submit-form::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	background: #FFFFFF99;
	transition: .3s ease-in-out;
	border-radius: 10px;
	backdrop-filter: blur(5px);
	box-shadow: 0px 4.79px 4.79px 0px #23286914;
}
.btn-general span, .hero-form__fields button span, .btn-submit-form span{
	position: relative;
	z-index: 2;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

/* Textarea: alinear icono hacia arriba */
.input-container--textarea .input-icon {
    top: 16px;
    transform: translateY(0);
}

@media only screen and (max-width: 600px) {
    .two-columnas {
        flex-direction: column;
        margin-bottom: 20px;
        gap: 0px;
    }
}

.iti__flag-container {
    color: black;
}

/* ===== TELÉFONO SIN SVG - SOLO ESPACIADO PARA BANDERA ===== */
.input-container--tel {
    position: relative;
}

/* Campo de teléfono - Solo padding para la bandera, NO para icono */
.input-container--tel input[type="tel"],
.iti input#phone,
input#phone {
    padding-left: 100px !important; /* Solo espacio para bandera + código */
    padding-right: 10px;
}

/* Ancho estable para el contenedor de bandera */
.iti--allow-dropdown .iti__flag-container,
.iti--allow-dropdown .iti__selected-flag {
    width: 90px !important;
}

.iti.iti--allow-dropdown {
    width: 100%;
}

/* Ajustes responsivos para teléfono */
@media (max-width: 480px) {
    .input-container--tel input[type="tel"],
    .iti input#phone,
    input#phone {
        padding-left: 110px !important;
    }
    
    .iti--allow-dropdown .iti__flag-container,
    .iti--allow-dropdown .iti__selected-flag {
        width: 80px !important;
    }
}

/* ===== SELECT PERSONALIZADO PARA SERVICIOS ===== */
.form-select {
    width: 100%;
    color: rgba(10, 2, 35, 0.5);
    font-size: 16px;
    font-weight: 300;
    border: 1px solid #DFE4ED;
    padding: 18px 35px 18px 35px;
    border-radius: 7px;
    outline: none;
    background: #FAFAFA;
    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='%230093F7' 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 12px center;
    background-size: 16px;
}

.form-select:focus {
    border-color: #0093F7;
    box-shadow: 0 0 0 2px rgba(0, 147, 247, 0.1);
}

.form-select option {
    color: #0A0223;
    background: #FFFFFF;
    padding: 10px;
}

/* Espacio para icono en inputs normales (excepto teléfono) */
.hero-form__fields input:not(#phone):not([type="tel"]),
.hero-form__fields textarea {
    padding-left: 40px;
}

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

/* Transiciones base para ambos contenedores */
#delta-form-container,
#delta-form-success {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Estado inicial del formulario (visible) */
#delta-form-container {
    opacity: 1;
    transform: translateY(0);
}

/* Estado inicial del mensaje de éxito (OCULTO) */
#delta-form-success {
    opacity: 0;
    transform: translateY(-10px);
}

/* Animación fade-out para el formulario */
.delta-fade-out {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

/* Animación fade-in para el mensaje de éxito */
.delta-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Estilos para el mensaje de éxito por defecto */
.delta-success-fallback {
    background: linear-gradient(135deg, #0093F7 0%, #00B4DB 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 147, 247, 0.3);
    backdrop-filter: blur(10px);
}

.delta-success-fallback::before {
    content: '✓';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsivo para las animaciones */
@media (prefers-reduced-motion: reduce) {
    #delta-form-container,
    #delta-form-success {
        transition: none;
    }
    
    .delta-fade-out,
    .delta-fade-in {
        transition: none;
    }
}