/* Reset y estilos base */
html {
    height: 100%;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
}

/* Asegurar que no haya scroll en el documento */
html, body {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
}

/* ===== ESTILOS DEL HERO ===== */

/* Contenedor principal del hero */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Fondo del hero */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10%;
    height: 10%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 2;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

/* Logo */
.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Texto del hero */
.hero-text {
    margin-bottom: 40px;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.sub-headline {
    font-size: 1.5rem;
    font-weight: 400;
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* Contenedor del CTA */
.cta-container {
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5aa0 100%);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 15px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .main-headline {
        font-size: 2.5rem;
    }
    
    .sub-headline {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 2rem;
    }
    
    .sub-headline {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Efectos de hover adicionales */
.hero-content:hover .logo {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Optimización para dispositivos táctiles */
@media (hover: none) {
    .cta-button:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* ===== ESTILOS DEL CUESTIONARIO ===== */

/* Contenedor principal del cuestionario */
.quiz-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Indicador de progreso */
.progress-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none; /* Permite que los clicks pasen al contenido debajo */
}

/* Mostrar progress dots desde el segundo slide */
.progress-container.show {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ocultar progress dots cuando hay colisión con el contenido */
.progress-container.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Ocultar progress dots en el primer slide */
.progress-container[data-step="0"] {
    opacity: 0 !important;
    visibility: hidden !important;
}

.progress-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #fff;
    opacity: 0.3;
    transition: all 0.3s ease;
}

/* Ocultar el primer dot siempre */
.progress-dot[data-step="0"] {
    display: none;
}

.progress-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
    opacity: 1;
}

.progress-dot.completed {
    background: #fff;
    border-color: #fff;
    transform: scale(1);
    opacity: 1;
}

/* Contenedor de páginas - Carrusel vertical */
.pages-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.quiz-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    opacity: 0;
}

/* Slide activo - Visible */
.quiz-page.active {
    opacity: 1;
    z-index: 2;
    overflow-y: auto;
}

/* Mejorar scroll en pantallas pequeñas */
@media (max-width: 768px) {
    .quiz-page.active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Mejor scroll en iOS */
    }
    
    .quiz-page.active .page-content {
        min-height: 100vh;
        padding: 20px 15px;
        padding-top: 60px; /* Espacio para los dots de progreso */
        justify-content: start; /* Empezar desde el inicio cuando el contenido es alto */
    }
}

@media (max-width: 480px) {
    .quiz-page.active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .quiz-page.active .page-content {
        min-height: 100vh;
        padding: 15px 10px;
        padding-top: 50px; /* Espacio para los dots de progreso en pantallas muy pequeñas */
        justify-content: start; /* Empezar desde el inicio cuando el contenido es alto */
    }
}

/* Asegurar que el slide de agradecimiento sea visible */
.quiz-page[data-page="9"].active {
    opacity: 1;
    z-index: 2;
    transform: translateY(0%) !important;
}

/* Posiciones iniciales de todos los slides */
.quiz-page[data-page="0"] { transform: translateY(0%); }
.quiz-page[data-page="1"] { transform: translateY(100%); }
.quiz-page[data-page="2"] { transform: translateY(200%); }
.quiz-page[data-page="3"] { transform: translateY(300%); }
.quiz-page[data-page="4"] { transform: translateY(400%); }
.quiz-page[data-page="5"] { transform: translateY(500%); }
.quiz-page[data-page="6"] { transform: translateY(600%); }
.quiz-page[data-page="7"] { transform: translateY(700%); }
.quiz-page[data-page="8"] { transform: translateY(800%); }
.quiz-page[data-page="9"] { transform: translateY(900%); }

.quiz-page[data-page="1"] .page-content,
.quiz-page[data-page="2"] .page-content,
.quiz-page[data-page="8"] .page-content { 
    width: 457px; 
}
.quiz-page[data-page="3"] .page-content { 
    width: 540px; 
}
.quiz-page[data-page="4"] .page-content { 
    width: 730px; 
}

/* Fondo de página - Fijo */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imgs/background-start.jpg') center center/cover no-repeat;
    z-index: 1;
    transition: background-image 0.5s ease;
}

/* Degradado negro con transparencia por encima del fondo */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
}

.page-background.quiz-background {
    background: url('../imgs/background-quiz.jpg') center center/cover no-repeat;
}

/* Degradado negro con transparencia por encima del fondo del cuestionario */
.page-background.quiz-background .background-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Fondo específico para la página de estilo de vida */
.quiz-page[data-page="3"] .page-background {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    position: relative;
}

.quiz-page[data-page="3"] .page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.4) 0%, transparent 50%);
    z-index: 1;
}

/* Fondo específico para la página de tipo de propiedad */
.quiz-page[data-page="4"] .page-background {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    position: relative;
}

.quiz-page[data-page="4"] .page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.4) 0%, transparent 50%);
    z-index: 1;
}

/* Fondo específico para la página de agradecimiento */
.quiz-page[data-page="9"] .page-background {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 50%, #E0F6FF 100%);
    position: relative;
}

.quiz-page[data-page="9"] .page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.4) 0%, transparent 50%);
    z-index: 1;
}

.page-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay con gradiente radial - Opaco en el centro, transparente en los bordes */
.page-background::after {
    display: none;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10%;
    height: 10%;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
}

/* Contenedor de páginas */
.pages-container {
    position: relative;
    z-index: 15;
    width: 100%;
    height: 100%;
}

/* Contenido de página - Se mueve */
.page-content {
    position: relative;
    z-index: 15;
    text-align: center;
    width: 100%;
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    min-height: 100vh;
    justify-content: center;
}

/* Estilos específicos para el contenido de la página de estilo de vida */
.quiz-page[data-page="5"] .page-content {
    text-align: left;
    align-items: flex-start;
    padding: 0;
}

/* Contenedor para el contenido principal */
.page-content-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 0;
}

/* Logo en páginas de cuestionario */
.quiz-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 16;
}

/* Títulos y textos */
.page-title {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: none;
    line-height: 1.2;
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: center;
}

/* Estilos específicos para el título de la página de estilo de vida */
.quiz-page[data-page="3"] .page-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.3;
    max-width: 600px;
}

/* Estilos específicos para el título de la página de tipo de propiedad */
.quiz-page[data-page="4"] .page-title {
    max-width: 100%;
    width: 500px;
}

/* Estilos para la página de agradecimiento */
.quiz-page[data-page="9"] .page-content {
    text-align: center;
    max-width: 600px;
}

.thank-you-icon {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 20px;
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thank-you-message {
    background: rgb(140 233 255 / 60%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}
.width-930{
    width: 930px;
    max-width: 100%;
}
.link-proposal{
    color: #fff;
    font-weight: bold;
}
.thank-you-message p {
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    font-size: 1rem;
}

.thank-you-message p:last-child {
    margin-bottom: 0;
}

.page-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: none;
    line-height: 1.4;
}

/* Estilos específicos para la primera página (intro) */
.quiz-page[data-page="0"] .quiz-logo {
    max-width: 250px;
    margin-bottom: 70px;
}

/* Campos de entrada */
.input-field {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
    color: #062330;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-radius: 160px;
}
.data-user .input-field{
    margin-bottom: 10px;
}
.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.input-field::placeholder {
    color: #18485e;
}

/* Opciones de selección única */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}
.options-container.multiple-options {
   margin-bottom: 50px;
}
.medium-text{
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 22px;
}
.medium-width{
    width: 650px;
    max-width: 100%;
}
.option-button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    color: #062330;
}
.option-button .small-text {
    color: #062330;
    font-weight: normal;
    font-size: 0.8rem;
    font-style: normal;
}
.option-button.selected .small-text{
    color: #ffffff;
}
.option-button .two-lines{
    line-height: 18px;
}

.option-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.option-button.selected {
    background: #062330;
    border-color: #062330;
    color: #fff;
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 1px solid #062330;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-button.selected .option-radio {
    border-color: white;
    background: white;
}

.option-button.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #062330;
    border-radius: 50%;
}

/* Opciones múltiples */
.multiple-options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.multiple-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    color: #ffffff;
}

.multiple-option:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
}

.multiple-option.selected {
    background: #ffffff;
    border-color: #ffffff;
    color: #062330;
}

.multiple-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 0;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.multiple-option.selected .multiple-checkbox {
    border-color: white;
    background: white;
}

.multiple-option.selected .multiple-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #062330;
    font-weight: bold;
    font-size: 14px;
}

/* Opciones en grid */
.grid-options-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.grid-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
}

.grid-option:hover {
    transform: translateY(-2px);
}

.grid-option.selected {
    color: #ffffff;
}

.grid-option.selected .grid-option-icon {
    background: #062330;
}

.grid-option.selected .grid-option-icon img {
    filter: brightness(0) invert(1);
}
.thank-you-message img{
    filter: brightness(0) invert(1);
}
.grid-option-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 126px;
    height: 126px;
    transition: background-color 0.3s ease;
}

.grid-option-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 20px;
}

.grid-option-text {
    font-size: 21px;
    color: #ffffff;
    line-height: 1.2;
}

.grid-option-price {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* Preguntas duales */
.dual-questions-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.dual-question {
    text-align: center;
    padding: 20px;
}

.dual-question-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 167px;
    height: 167px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.question-icon-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    padding: 12px;
}

.dual-question-title {
    font-size: 21px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}
.quiz-page[data-page="5"] .dual-questions-container{
    align-items: flex-end;
}
.dual-options {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dual-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #062330;
}

.dual-option:hover {
    background: #f0f0f0;
}

.dual-option.selected {
    background: #062330;
    border-color: #062330;
    color: #fff;
}

.radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    position: relative;
    flex-shrink: 0;
    border: 1px solid #062330;
}

.dual-option.selected .radio-circle {
    background: white;
}

.dual-option.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #062330;
    border-radius: 50%;
}

/* Slider de rango */
.range-slider-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: #062330;
    cursor: pointer;
    border: 2px solid white;
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: #062330;
    cursor: pointer;
    border: 2px solid white;
}

.range-value {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 15px;
}

/* Formulario de contacto */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-field {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 15px;
    border-radius: 160px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: #ffffff;
    border: none;
    font-family: 'Montserrat', sans-serif;
}
.contact-form .form-input{
    color: #062330;
}
.form-input:focus {
    outline: none;
    border-color: #062330;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(6, 35, 48, 0.2);
}
.option-button .form-input{
    color: #062330;
    border: 2px solid #9fc0cf;
}
.option-button.calendar-meeting{
    flex-direction: column;
    gap: 15px;
}
.with-auto{
    width: auto;
    max-width: unset;
}
.link-policies{
    color: #ffffff;
    text-decoration: underline;
    font-weight: normal;
}
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: #ffffff;
    resize: vertical;
    min-height: 100px;
    font-family: 'Montserrat', sans-serif;
}

/* Navegación */
.navigation-container {
    position: relative;
    display: flex;
    gap: 20px;
    z-index: 20;
    justify-content: center;
    width: 100%;
}

/* Asegurar que el botón de navegación sea visible */
.nav-button.back-button {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.nav-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #062330;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos específicos para el icono de la flecha */
.nav-button i {
    font-size: 1.2rem;
    color: #062330;
    display: block;
}

.nav-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Ocultar botones de navegación en los primeros dos slides */
.nav-button.next-button.hide,
.nav-button.back-button.hide {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Botón principal */
.quiz-cta-button {
    background: #ffffff;
    color: #062330;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    margin-top: 20px;
    min-width: 179px;
}

.quiz-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #ffffff;
}

.quiz-cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de error */
.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive design para cuestionario */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .grid-options-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
    
    .dual-questions-container {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    .quiz-page[data-page="3"] .page-title{
        margin-bottom: 0;
    }
    .multiple-options-container {
        grid-template-columns: 1fr;
    }
    
    .navigation-container {
        bottom: 20px;
    }
    
    .dual-question-icon {
        width: 100px;
        height: 100px;
    }
    .dual-question-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .question-icon-image {
        width: 80%;
        height: 80%;
        padding: 15px;
    }
    
    /* Responsive para la página de tipo de propiedad */
    .quiz-page[data-page="4"] .page-title {
        margin-bottom: 10px;
    }
    .grid-option{
        padding-bottom: 5px;
    }
    .grid-option-icon {
        width: 100px;
        height: 100px;
    }
    
    .grid-option-text {
        font-size: 12px;
    }
    
    .grid-option-price {
        font-size: 11px;
    }
    
    .quiz-page[data-page="9"] .page-subtitle {
        font-size: 1.1rem;
    }
    
    .thank-you-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .thank-you-message {
        padding: 20px;
    }
    
    .field-group {
        max-width: 350px;
        gap: 8px;
    }
    
    .field-group select {
        min-width: 100px;
        padding: 12px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
    
    .grid-options-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }
    
    .quiz-page {
        padding: 0px 15px 15px;
        padding-top: 50px; /* Espacio para los dots de progreso */
    }
    
    .progress-container {
        top: 15px;
    }
    
    .progress-dot {
        width: 10px;
        height: 10px;
    }
    .option-button {
        padding: 12px 14px;
    }
    .quiz-page[data-page="8"] .quiz-cta-button {
        margin-top: 0;
    }
    .quiz-page[data-page="8"] .page-title {
        margin-bottom: 20px;
    }
}

/* ===== ESTILOS DEL CHECKBOX ===== */

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #062330;
}

.checkbox-label {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    user-select: none;
}

/* Estilos para campos con error */
.input-field.error,
.form-input.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 1) !important;
}

/* Estilos para checkbox con error */
.checkbox-input.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 1) !important;
}

/* Estilos para mensajes de error */
.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    text-align: left;
    padding: 8px 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    display: block;
    max-width: 100%;
}

/* Estilos para texto pequeño */
.small-text {
    font-size: 0.7rem;
    color: #ffffff;
    font-style: italic;
    margin: 10px 0;
    line-height: 1.3;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.small-text-terms{
    font-size: 0.6rem;
}

/* Responsive para checkbox */
@media (max-width: 768px) {
    .checkbox-container {
        max-width: 400px;
        gap: 10px;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .small-text {
        font-size: 0.7rem;
        max-width: 350px;
    }
    
    .error-message {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .checkbox-container {
        max-width: 350px;
        gap: 8px;
    }
    
    .checkbox-input {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .small-text {
        font-size: 0.65rem;
        max-width: 300px;
    }
    
    .error-message {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
}

/* Estilos para campo de teléfono con código de país */
.field-group {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
}

.field-group select {
    flex: 0 0 auto;
    padding: 15px 15px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 160px;
    background: rgba(255, 255, 255, 1);
    color: #062330;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    min-width: 80px;
    max-width: 100px;
}

.field-group .input-field {
    flex: 1;
    margin-bottom: 0;
    min-width: 200px;
}

/* Responsive para campo de teléfono */
@media (max-width: 768px) {
    .field-group {
        max-width: 350px;
        gap: 8px;
    }
    
    .field-group select {
        min-width: 70px;
        max-width: 90px;
        padding: 12px 12px;
        font-size: 0.95rem;
    }
    
    .field-group .input-field {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .field-group {
        max-width: 300px;
        gap: 6px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .field-group select {
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .field-group .input-field {
        width: 100%;
        min-width: auto;
    }
}

/* ===== ESTILOS PARA GROUP-SELECT ===== */

/* Contenedor de selects en línea */
.form-field.group-select {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px auto;
}

/* Estilos para los selects dentro de group-select */
.form-field.group-select select {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 160px;
    background: rgba(255, 255, 255, 0.9);
    color: #062330;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid #9fc0cf;
}

.form-field.group-select select:focus {
    outline: none;
    border-color: #062330;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(6, 35, 48, 0.2);
}

.form-field.group-select select:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive para group-select */
@media (max-width: 768px) {
    .form-field.group-select {
        max-width: 450px;
        gap: 12px;
    }
    
    .form-field.group-select select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .form-field.group-select {
        flex-direction: column;
        gap: 15px;
        max-width: 350px;
    }
    
    .form-field.group-select select {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* ===== ESTILOS PARA BOTÓN DE COPIAR ===== */
.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: #007bff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.copy-button:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button svg {
    width: 16px;
    height: 16px;
}

/* ===== ESTILOS PARA TOOLTIP ===== */
.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

/* ===== ESTILOS PARA INPUTS CON ERROR ===== */

/* Estilo para input con error */
.form-input.error,
.option-button input.error {
    border: 2px solid #ff0000 !important;
    border-color: #ff0000 !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    animation: shake 0.5s ease-in-out;
}

/* Mensaje de error para inputs */
.input-error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 5px;
    border-left: 3px solid #ff0000;
}

/* Animación de shake para inputs con error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Transición suave para el borde del input */
.form-input,
.option-button input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
