/* Variables CSS */
:root {
    /* Paleta de colores */
    --primary-color: #0D1B2A;    /* Azul medianoche */
    --secondary-color: #1B4965;  /* Azul océano */
    --accent-color: #89C2D9;     /* Verde jade claro */
    --text-color: #FFFFFF;       /* Blanco puro */
    --light-bg: #F4F4F4;         /* Gris claro */
    --error-color: #FF6B6B;      /* Rojo suave */
    --success-color: #4CAF50;    /* Verde suave */
    --border-color: #E0E0E0;     /* Borde gris */
    --hover-color: #89C2D9;      /* Color hover */
    --selected-bg: #F8FBFF;      /* Fondo seleccionado */
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(13, 27, 42, 0.1);
    --shadow: 0 4px 6px rgba(13, 27, 42, 0.15);
    --shadow-lg: 0 8px 16px rgba(13, 27, 42, 0.2);
    
    /* Transiciones */
    --transition: all 0.3s ease;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 4rem;
    
    /* Nuevas variables para el hero */
    --hero-gradient-start: #0D1B2A;
    --hero-gradient-end: #1B4965;
    --hero-overlay-opacity: 0.03;
    --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilidades */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    border-color: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: var(--spacing-md);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #0D1B2A;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-block-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.logo-text-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    margin-right: 0.7rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: transform 0.2s;
}

.logo-title {
    font-family: 'Inter', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: 'Inter', serif;
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-top: 0.1rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #89C2D9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    padding: calc(var(--header-height) + 50px) 0 4rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: var(--hero-overlay-opacity);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(137, 194, 217, 0.2);
}

.hero-cta:hover {
    background: var(--hero-gradient-end);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 73, 101, 0.3);
}

.trust-message {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-message i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .trust-message {
        text-align: center;
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: var(--spacing-md);
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .wizard-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .wizard-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .prev-button,
    .next-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .radio-option {
        padding: var(--spacing-sm);
    }

    .location-card {
        padding: var(--spacing-sm);
    }

    .location-options {
        grid-template-columns: 1fr;
    }

    .logo-block-horizontal {
        margin: 0;
        min-width: 0;
        padding: 0;
    }
    .logo-img {
        height: 24px;
        margin-right: 0.5rem;
    }
    .logo-title {
        font-size: 0.98rem;
    }
    .logo-subtitle {
        font-size: 0.7rem;
    }
    .header {
        height: 52px;
    }
    .nav-container {
        padding: 0;
    }
    .nav-links {
        gap: 1.2rem;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--light-bg);
    padding: 6rem 0;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l7.9-7.9h-.828zm5.656 0L19.515 8.485 20.93 9.9l8.485-8.485h-1.415zM32.658 0l-8.485 8.485L25.587 9.9l8.485-8.485h-1.414zM11.03 0L2.544 8.485 3.96 9.9 13.857 0H11.03zm5.656 0L8.2 8.485 9.616 9.9 17.515 0h-.828zm5.656 0l-8.485 8.485L13.858 9.9l8.485-8.485h-1.415zm5.656 0l-8.485 8.485L19.515 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L25.172 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L30.828 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L36.485 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L42.142 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L47.8 9.9l8.485-8.485h-1.414zm5.656 0l-8.485 8.485L53.456 9.9 62 1.414V0h-5.374zM54.627 60L62 52.627V60h-7.373zm-5.656 0L62 47.314V54.142L50.485 65.657 48.97 64.142 59.586 53.556V60h-10.03zm-5.656 0L62 41.657v6.828L46.143 64.142 44.728 62.728 58.172 49.384v5.656L43.314 69.414 41.9 68 57.757 52.142V60h-8.03zm-5.656 0L62 36v5.657L41.9 61.757 40.485 60.343 56.343 44.485V50.142L38.485 68 37.07 66.586 54.93 48.728v5.656L35.657 69.414 34.242 68 53.414 48.828V60h-9.03zm-5.656 0L62 30.343v5.656L32.242 65.657 30.828 64.242 51.586 43.485v5.656L29.414 70.828 28 69.414 50.172 47.242v5.656L27.172 70.828 25.757 69.414 48.93 46.242v5.656L24.343 71.414 22.928 70 47.414 45.515V60h-3.03zm-5.656 0L62 24.686v5.657L19.8 71.414 18.384 70 43.485 44.9v5.657L17.384 71.414 15.97 70 41.071 44.9v5.657L14.97 71.414 13.556 70 38.657 44.9V60h-9.03zm-5.656 0L62 19.03v5.657L5.657 75.414 4.242 74 29.343 48.9v5.657L3.242 75.414 1.828 74 26.93 48.9v5.657L0 75.414v-5.657L24.515 45.242v5.657L0 75.414v-5.657L22.1 47.657v5.657L0 75.414v-5.657L19.686 50.07v5.657L0 75.414v-5.657L17.272 52.485v5.657L0 75.414v-5.657L14.858 54.9V60H0V0h62v60H5.373z' fill='%230D1B2A' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background-color: var(--text-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Wizard Container */
.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    color: #fff;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
    backdrop-filter: none !important;
    outline: none !important;
}

.wizard-container::before {
    content: none !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    position: relative;
    transition: background 0.3s;
}
.progress-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(.4,2,.6,1);
    z-index: 2;
}

/* Eliminar los estilos de los números de pasos */
.progress-steps,
.step,
.step.active {
    display: none;
}

/* Wizard step */
.wizard-step {
    animation: fadeInStep 0.5s cubic-bezier(.4,2,.6,1);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Botones y elementos interactivos */
.wizard-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.prev-button.invisible {
    visibility: hidden;
    pointer-events: none;
}

.next-button, .whatsapp-btn, .submit-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 1.4rem 3.2rem;
    border-radius: 80px;
    box-shadow: 0 10px 36px rgba(13,27,42,0.22);
    border: none;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.prev-button {
    background: #e0e0e0;
    color: #222;
    font-size: 0.98rem;
    padding: 0.7rem 1.3rem;
    border: 1.5px solid #bdbdbd;
    box-shadow: none;
    font-weight: 500;
    opacity: 0.92;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.prev-button:hover:not(:disabled) {
    background: #cccccc;
    color: var(--primary-color);
    border-color: var(--accent-color);
    opacity: 1;
}

.next-button:hover, .next-button:focus, .whatsapp-btn:hover, .whatsapp-btn:focus, .submit-button:hover, .submit-button:focus {
    background: linear-gradient(135deg, #5CA9D9 0%, var(--accent-color) 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 16px 48px rgba(13,27,42,0.28);
    outline: 3px solid var(--accent-color);
}

.next-button i, .whatsapp-btn i, .submit-button i {
    font-size: 2rem;
}

/* Radio buttons mejorados */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.3rem 1.5rem;
    margin: 0 auto;
    background: var(--primary-color);
    color: #fff;
    border: 2.5px solid var(--accent-color);
    border-radius: 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border 0.18s, transform 0.12s;
    box-shadow: none;
    outline: none;
    margin-bottom: 0.5rem;
    user-select: none;
    position: relative;
}
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.radio-option.selected {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%) !important;
    color: #1a2636 !important;
    border-color: #5CA9D9 !important;
    border-width: 3px !important;
    box-shadow: 0 4px 24px rgba(89,194,217,0.18);
    transform: scale(1.03);
    position: relative;
}
.radio-option.selected::after {
    content: '\2714';
    font-size: 1.5rem;
    color: #1a2636;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    pointer-events: none;
}
.radio-option.selected span {
    color: #1a2636 !important;
}
.radio-option:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%) !important;
    color: #1a2636 !important;
    border-color: #5CA9D9 !important;
    transform: scale(1.03);
}
.radio-option:hover span {
    color: #1a2636 !important;
}
.radio-option span {
    font-size: 1.18rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.18s;
}
.wizard-form {
    border: none !important;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.01em;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}
.wizard-step legend {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
    text-align: center;
    border-color: none !important;
}
.wizard-form label {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.wizard-form input,
.wizard-form select {
    color: #fff;
    background: rgba(44, 62, 80, 0.85);
    border: none;
    font-size: 1.18rem;
    font-weight: 700;
    padding: 1.1rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    width: 100%;
    box-shadow: none;
}
.wizard-form input:focus,
.wizard-form select:focus {
    outline: 2px solid var(--accent-color);
    background: rgba(44, 62, 80, 1);
}
.wizard-form input::placeholder {
    color: #e0e0e0;
    opacity: 1;
}

/* Location cards mejoradas */
.location-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.location-option:hover .location-card {
    border-color: var(--color-primary);
    background: var(--color-gray-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.location-option input[type="radio"]:checked + .location-card {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.location-card i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.location-name {
    font-weight: 600;
    color: var(--color-gray-900);
}

.location-description {
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* Mensajes de error mejorados */
.error-message {
    display: none;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-sm);
    background: var(--color-error-light);
    color: var(--color-error);
    border-radius: 8px;
    font-size: 0.9rem;
    animation: slideIn 0.3s ease;
}

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

/* Resultados mejorados */
.results-container {
    text-align: center;
    padding: var(--spacing-xl);
    animation: fadeIn 0.5s ease;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.success-result,
.error-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    border-radius: 16px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.success-result h3,
.error-result h3,
.success-result p,
.error-result p {
    color: #fff !important;
}

.success-result i,
.error-result i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.success-result i {
    color: var(--color-success);
}

.error-result i {
    color: var(--color-error);
}

.success-result h3,
.error-result h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.success-result p,
.error-result p {
    font-size: 1.1rem;
    color: var(--color-gray-700);
    max-width: 400px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    padding: 6rem 0;
    color: var(--text-color);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(137, 194, 217, 0.2);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .benefits,
    .testimonials {
        padding: 4rem 0;
    }

    .benefits h2,
    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .benefit-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Referral Program Section */
.referral-program {
    background-color: var(--light-bg);
    padding: 5rem 0;
    color: var(--primary-color);
}

.referral-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.referral-content h2 {
    margin-bottom: 1rem;
}

.referral-content p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    padding: 5rem 0;
    color: var(--text-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    padding: 4rem 0 2rem;
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
}

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

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .wizard-container {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
    }
    .wizard-container::before {
        content: none !important;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
    }
    .radio-option,
    .location-card {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }
    .location-name {
        color: var(--text-color);
    }
    .location-description {
        color: #a0a0a0;
    }
    .prev-button {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        color: var(--text-color);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Logo horizontal alineado a la izquierda */
.logo-block-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0;
    min-width: 0;
}

.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    margin-right: 0.7rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: transform 0.2s;
}
.logo-img:hover {
    transform: scale(1.05);
}

.logo-text-horizontal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin-left: 0;
}
.logo-title {
    font-family: 'Inter', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.logo-subtitle {
    font-family: 'Inter', serif;
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-top: 0.1rem;
}

@media (max-width: 768px) {
    .logo-block-horizontal {
        margin-left: 0;
        min-width: 0;
    }
    .logo-img {
        height: 24px;
        margin-right: 0.5rem;
    }
    .logo-title {
        font-size: 0.98rem;
    }
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* Referral Section Mejorada */
.referral-section {
    background: linear-gradient(120deg, #f4f4f4 60%, #eaf6fb 100%);
    padding: 6rem 0;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.referral-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.referral-info-block {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 600px;
}

.referral-info-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    position: relative;
}

.referral-info-block h2::after {
    content: '';
    position: absolute;
    bottom: -0.7rem;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.referral-lead {
    font-size: 1.2rem;
    margin-bottom: 2.2rem;
    color: var(--secondary-color);
}

.referral-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.referral-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.3rem 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.referral-benefit-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.referral-benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.referral-benefit-card p {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
}

.referral-benefit-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px) scale(1.03);
}

.referral-cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(137, 194, 217, 0.15);
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.referral-cta:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.referral-image-block {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    max-width: 400px;
}

.referral-illustration {
    background: linear-gradient(135deg, #eaf6fb 60%, #cbe7f6 100%);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(137, 194, 217, 0.15);
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-illustration i {
    color: var(--secondary-color);
    opacity: 0.9;
    font-size: 5rem;
}

@media (max-width: 992px) {
    .referral-flex {
        flex-direction: column;
        gap: 2.5rem;
    }
    .referral-image-block {
        max-width: 100%;
        min-width: 0;
    }
    .referral-info-block {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .referral-section {
        padding: 3rem 0;
    }
    .referral-info-block h2 {
        font-size: 1.5rem;
    }
    .referral-lead {
        font-size: 1rem;
    }
    .referral-benefit-card {
        padding: 1rem 0.8rem;
    }
    .referral-illustration {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }
    .referral-illustration i {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .wizard-container {
        padding: 0.5rem 0.2rem !important;
        max-width: 100vw;
        min-width: 0;
    }
    .wizard-form {
        padding: 0;
        max-width: 100vw;
    }
    .wizard-step legend {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    .radio-group {
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }
    .radio-option {
        font-size: 1.08rem;
        padding: 1.1rem 0.5rem;
        border-radius: 2rem;
        min-height: 56px;
        width: 100%;
        margin-bottom: 0.7rem;
    }
    .radio-option.selected::after {
        right: 1rem;
        font-size: 1.2rem;
    }
    .wizard-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .next-button, .prev-button {
        width: 100%;
        font-size: 1.1rem;
        padding: 1.1rem 0.5rem;
        border-radius: 2rem;
    }
}

.convenio-select-container {
    width: 100%;
    margin: 1.5rem 0;
    position: relative;
}

.convenio-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent-color) 50%),
                      linear-gradient(135deg, var(--accent-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px,
                    5px 5px;
    background-repeat: no-repeat;
}

.convenio-select:hover {
    border-color: #5CA9D9;
    background-color: rgba(255, 255, 255, 0.08);
}

.convenio-select:focus {
    outline: none;
    border-color: #5CA9D9;
    box-shadow: 0 0 0 3px rgba(137, 194, 217, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.convenio-select optgroup {
    font-weight: 600;
    color: var(--accent-color);
    background-color: var(--primary-color);
    padding: 0.5rem;
}

.convenio-select option {
    padding: 0.8rem 1rem;
    font-weight: normal;
    color: #fff;
    background-color: var(--primary-color);
    transition: all 0.2s ease;
}

.convenio-select option:hover,
.convenio-select option:focus {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Estilo para el placeholder */
.convenio-select option[value=""] {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Estilo para cuando el select está abierto */
.convenio-select:focus option:checked {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5CA9D9 100%);
    color: var(--primary-color);
    font-weight: 600;
}

/* Estilo para el grupo de opciones cuando está seleccionado */
.convenio-select optgroup:has(option:checked) {
    background-color: var(--secondary-color);
}

/* Estilo para el scrollbar del select */
.convenio-select::-webkit-scrollbar {
    width: 8px;
}

.convenio-select::-webkit-scrollbar-track {
    background: var(--primary-color);
    border-radius: 4px;
}

.convenio-select::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.convenio-select::-webkit-scrollbar-thumb:hover {
    background: #5CA9D9;
}

fieldset {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}

fieldset legend {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
} 