        /* --- VARIABLES --- */
        :root {
            --bg-color: #0a192f;        /* Azul Noche Profundo */
            --secondary-bg: #112240;    /* Azul para Cards */
            --text-primary: #ccd6f6;    /* Blanco Hueso */
            --text-secondary: #8892b0;  /* Gris Azulado */
            --gold: #d4af37;            /* Dorado */
            --gold-hover: #f3e5ab; /* Dorado pálido para hover */
            --font-serif: 'Playfair Display', serif;
            --font-sans: 'Lato', sans-serif;
            --nav-height: 80px;
        }

        /* --- OVERRIDES GLOBALES --- */
        .ysb-theme {
          background-color: var(--bg-color) !important;
          color: var(--text-primary) !important;
          font-family: var(--font-sans);
          padding-top: var(--nav-height);
        }

        .ysb-theme h1, 
        .ysb-theme h2, 
        .ysb-theme h3, 
        .ysb-theme h4, 
        .ysb-theme h5, 
        .ysb-theme h6,
        .ysb-theme .h1, 
        .ysb-theme .h2, 
        .ysb-theme .h3,
        .ysb-theme .h4,
        .ysb-theme .h5,
        .ysb-theme .h6 {
          font-family: var(--font-serif);
          color: #e6f1ff !important;
        }


        /* --- NAVBAR --- */
        .navbar {
            padding: 20px 0;
            background: transparent;
            border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        }
        .logo {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
        }

        /* --- BOOTSTRAP CARD OVERRIDE --- */
        .card {
            background-color: var(--secondary-bg) !important; /* Fuerza el fondo oscuro */
            border: 1px solid rgba(212, 175, 55, 0.3) !important; /* Borde dorado */
            box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7) !important;
        }
        
        .card-body {
            padding: 2.5rem !important;
        }

        /* --- INPUTS (FORMULARIOS) --- */
        .form-label {
            color: var(--gold);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
        }

        .form-control {
            background-color: rgba(10, 25, 47, 0.6) !important;
            border: 1px solid #233554 !important;
            color: #fff !important;
            padding: 12px;
        }

        .form-control:focus {
            background-color: rgba(10, 25, 47, 1) !important;
            border-color: var(--gold) !important;
            box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15) !important;
        }

        /* Fix para el autocompletado de Google Chrome (Evita el fondo blanco) */
        input:-webkit-autofill,
        input:-webkit-autofill:hover, 
        input:-webkit-autofill:focus, 
        input:-webkit-autofill:active{
            -webkit-box-shadow: 0 0 0 30px #112240 inset !important;
            -webkit-text-fill-color: white !important;
            transition: background-color 5000s ease-in-out 0s;
        }
        
        /* --- SELECT (BOOTSTRAP) --- */
        .form-select {
        background-color: rgba(10, 25, 47, 0.6) !important;
        border: 1px solid #233554 !important;
        color: #fff !important;
    
        padding: 12px;
        padding-right: 2.5rem; /* espacio para la flecha */
    
        /* Quitamos estilos nativos */
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    
        /* Flecha custom */
        background-image:
            linear-gradient(45deg, transparent 50%, var(--gold) 50%),
            linear-gradient(135deg, var(--gold) 50%, transparent 50%),
            linear-gradient(to right, transparent, transparent);
        background-position:
            calc(100% - 20px) calc(50% - 3px),
            calc(100% - 15px) calc(50% - 3px),
            calc(100% - 2.5rem) 0.5rem;
        background-size:
            5px 5px,
            5px 5px,
            1px 1.5em;
        background-repeat: no-repeat;
        }

        /* --- BOTONES --- */
        .btn-primary {
            background: linear-gradient(45deg, #b8860b, #d4af37, #b8860b) !important;
            border: 1px solid var(--gold) !important;
            color: #0a192f !important;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 12px 30px;
        }
        
        .btn-primary:hover {
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
            transform: translateY(-2px);
        }

        /* --- PROGRESS BAR --- */
        .progress {
            background-color: #233554 !important;
            height: 6px !important;
        }
        .progress-bar {
            background-color: var(--gold) !important;
        }

        /* --- TEXTOS --- */
        .text-muted {
            color: var(--text-secondary) !important;
        }
        .text-gold {
            color: var(--gold) !important;
        }
        
        /* Indicador de pasos activo */
        .is-active {
            color: var(--gold) !important;
            font-weight: bold;
            border-bottom: 1px solid var(--gold);
            padding-bottom: 2px;
        }

        /* --- FOOTER --- */
        footer {
            margin-top: 80px;
            padding: 40px 0;
            border-top: 1px solid rgba(212, 175, 55, 0.1);
            text-align: center;
        }
        .footer-links a { color: var(--text-secondary); margin: 0 10px; text-decoration: none; font-size: 0.9rem;}
        .footer-links a:hover { color: var(--gold); }
        .footer p { color: #555; margin-top: 20px; font-size: 0.8rem; }

        .form-check-label a {
          color: var(--gold);
          text-decoration: none;
          border-bottom: 1px dotted rgba(212,175,55,0.6);
        }
        .form-check-label a:hover {
          color: var(--gold-hover);
          border-bottom-color: var(--gold-hover);
        }
