        /* Variables y estilos generales */
        :root {
            --primary: #1e3a8a;
            --secondary: #fbbf24;
            --accent: #dc2626;
            --light: #f8fafc;
            --dark: #1e293b;
            --gray: #64748b;
            --gray-light: #e2e8f0;
            --success: #10b981;
            --warning: #f59e0b;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 12px 28px;
            border-radius: 8px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
        }
        
        .btn:hover {
            background-color: #1e40af;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: var(--dark);
        }
        
        .btn-secondary:hover {
            background-color: #f59e0b;
        }
        
        .btn-success {
            background-color: var(--success);
            color: white;
        }
        
        .btn-success:hover {
            background-color: #0da271;
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background-color: rgba(30, 58, 138, 0.1);
        }
        
        .btn-whatsapp {
            background-color: #25D366;
            color: white;
        }
        
        .btn-whatsapp:hover {
            background-color: #1da851;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.2rem;
            color: var(--primary);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background-color: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        /* Header y navegación */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header-logo {
            height: 120px;
        }

        .header-name{
            display: flex;
            flex-direction: column;
            font-size: large;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .nav-menu {
            display: flex;
            gap: 30px;
        }
        
        .nav-menu a {
            font-weight: 600;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-menu a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .nav-menu a:hover:after {
            width: 100%;
        }
        
        .back-link {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-weight: 600;
        }
        
        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Language switcher */
        .language-switcher {
            margin-left: 20px;
            display: flex;
            align-items: center;
        }

        .language-switcher select {
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid #cbd5f5;
            font-size: 0.9rem;
            background-color: #fff;
            color: var(--dark);
        }

        .language-switcher select:focus {
            outline: none;
            border-color: var(--primary);
        }

        .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;
        }
        
        /* Proceso de registro */
        .register-process {
            padding: 60px 0;
        }
        
        .process-steps {
            display: flex;
            justify-content: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        .process-steps:before {
            content: '';
            position: absolute;
            top: 25px;
            left: 50%;
            transform: translateX(-50%);
            width: 70%;
            height: 4px;
            background-color: var(--gray-light);
            z-index: 1;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            width: 200px;
        }
        
        .step-number {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--gray-light);
            color: var(--gray);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 15px;
            transition: var(--transition);
        }
        
        .step.active .step-number {
            background-color: var(--primary);
            color: white;
        }
        
        .step.completed .step-number {
            background-color: var(--success);
            color: white;
        }
        
        .step-title {
            font-weight: 600;
            color: var(--gray);
            text-align: center;
            transition: var(--transition);
        }
        
        .step.active .step-title {
            color: var(--primary);
        }
        
        .step.completed .step-title {
            color: var(--success);
        }
        
        /* Contenido del registro */
        .register-content {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 50px;
        }
        
        .register-section {
            padding: 50px;
            display: none;
        }
        
        .register-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .section-header {
            margin-bottom: 30px;
            text-align: center;
        }
        
        .section-header h2 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.8rem;
        }
        
        .section-header p {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Formulario */
        .register-form {
            padding: 32px;
        }

        .form-section {
            margin-bottom: 40px;
            padding-bottom: 32px;
            border-bottom: 1px solid #f1f5f9;
        }

        .form-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .form-section-title {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #1e293b;
            font-size: 20px;
            margin: 0 0 24px 0;
            padding-bottom: 16px;
            border-bottom: 2px solid #e2e8f0;
        }

        .form-icon {
            font-size: 22px;
        }

        /*mobile*/
        .mobile-toggle {
            display: block;
            font-size: 1.5rem;
            cursor: pointer;
            border: 1px solid #cbd5f5;
            border-radius: 10px;
            padding: 1px 8px;
            background-color: #fff;
            color: var(--dark);
        }

        .mobile-toggle{
            display: none;
        }

        /* Form Layout */
        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-bottom: 24px;
        }

        .form-group {
            flex: 1;
            min-width: 250px;
        }

        .form-group.full-width {
            flex: 1 0 100%;
        }

        /* Labels */
        label {
            display: block;
            margin-bottom: 8px;
            color: #334155;
            font-weight: 600;
            font-size: 15px;
        }

        .label-text {
            display: inline-block;
            margin-right: 4px;
        }

        .required {
            color: #ef4444;
            font-weight: bold;
        }

        /* Input Wrappers */
        .input-wrapper,
        .select-wrapper,
        .textarea-wrapper {
            position: relative;
        }

        .input-icon,
        .select-wrapper .input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 18px;
            pointer-events: none;
        }

        .textarea-wrapper .input-icon {
            top: 20px;
            transform: none;
        }

        /* Inputs */
        input[type="text"],
        input[type="tel"],
        input[type="email"],
        input[type="date"],
        select,
        textarea {
            width: 100%;
            padding: 14px 16px 14px 48px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: white;
            color: #334155;
            box-sizing: border-box;
        }

        select {
            appearance: none;
            cursor: pointer;
            padding-right: 48px;
        }

        .select-arrow {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            pointer-events: none;
            font-size: 12px;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
            line-height: 1.5;
            padding-top: 16px;
            padding-bottom: 40px;
        }

        /* Input Focus States */
        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        input:hover,
        select:hover,
        textarea:hover {
            border-color: #cbd5e1;
        }

        /* Radio Buttons */
        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            padding: 8px 0;
        }

        .radio-option {
            flex: 1;
            min-width: 120px;
        }

        .radio-option input[type="radio"] {
            display: none;
        }

        .radio-option label {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 20px;
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            margin: 0;
        }

        .radio-option label:hover {
            border-color: #cbd5e1;
            background: #f1f5f9;
        }

        .radio-option input[type="radio"]:checked + label {
            border-color: #2563eb;
            background: rgba(37, 99, 235, 0.05);
            color: #2563eb;
        }

        .radio-option input[type="radio"]:checked + label .radio-custom {
            background: #2563eb;
            box-shadow: inset 0 0 0 4px white;
        }

        .radio-custom {
            width: 20px;
            height: 20px;
            border: 2px solid #cbd5e1;
            border-radius: 50%;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        /* Input Hints */
        .input-hint {
            font-size: 13px;
            color: #94a3b8;
            margin-top: 6px;
            line-height: 1.4;
        }

        /* Character Counter */
        .char-counter {
            position: absolute;
            bottom: 12px;
            right: 16px;
            font-size: 13px;
            color: #94a3b8;
            background: white;
            padding: 2px 6px;
            border-radius: 4px;
        }

        /* Form Navigation */
        .form-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 32px;
            margin-top: 20px;
            border-top: 1px solid #f1f5f9;
        }

        .required-notice {
            font-size: 14px;
            color: #64748b;
        }

        /* Buttons */
        .btn {
            padding: 16px 32px;
            background: #2563eb;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }

        .btn:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn-icon {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .btn:hover .btn-icon {
            transform: translateX(4px);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .register-content {
                border-radius: 12px;
                margin: 16px;
            }
            
            .section-header,
            .register-form {
                padding: 24px;
            }
            
            .form-row {
                gap: 20px;
            }
            
            .form-group {
                min-width: 100%;
            }
            
            .radio-group {
                flex-direction: column;
                gap: 12px;
            }
            
            .radio-option {
                min-width: 100%;
            }
            
            .progress-indicator {
                padding: 6px;
            }
            
            .step-label {
                font-size: 12px;
            }
            
            .form-navigation {
                flex-direction: column;
                gap: 20px;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .section-header h2 {
                font-size: 24px;
            }
            
            .form-section-title {
                font-size: 18px;
            }
            
            input[type="text"],
            input[type="tel"],
            input[type="email"],
            input[type="date"],
            select,
            textarea {
                padding: 12px 12px 12px 44px;
                font-size: 15px;
            }
            
            .input-icon {
                left: 14px;
                font-size: 16px;
            }
            
            .btn {
                padding: 14px 24px;
            }
        }

        /* Date Input Styling */
        input[type="date"]::-webkit-calendar-picker-indicator {
            opacity: 0;
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        /* Inline date mode toggle */
        /* removed calendar button styles; manual entry only */

        /* Error State */
        input:invalid:not(:placeholder-shown),
        select:invalid,
        textarea:invalid:not(:placeholder-shown) {
            border-color: #ef4444;
        }

        input:invalid:not(:placeholder-shown):focus,
        select:invalid:focus,
        textarea:invalid:not(:placeholder-shown):focus {
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        }

        /* Avoid showing error state immediately for empty date inputs */
        input[type="date"]:invalid {
            border-color: #e2e8f0;
            box-shadow: none;
        }
        input[type="date"]:focus:invalid {
            border-color: #ef4444;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        }
        
        /* Subir recibo */
        .upload-section {
            text-align: center;
        }
        
        .upload-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .upload-option {
            background-color: #f8fafc;
            padding: 40px 30px;
            border-radius: 12px;
            border: 2px solid var(--gray-light);
            transition: var(--transition);
            text-align: center;
        }
        
        .upload-option:hover {
            border-color: var(--primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }
        
        .upload-option.active {
            border-color: var(--primary);
            background-color: rgba(30, 58, 138, 0.05);
        }
        
        .upload-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .upload-option h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .upload-option p {
            color: var(--gray);
            margin-bottom: 25px;
        }

        /* Center the action button inside upload cards */
        .upload-option .btn {
            margin: 0 auto;
        }
        
        .file-upload-area {
            border: 2px dashed var(--gray-light);
            border-radius: 8px;
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            margin-bottom: 20px;
        }
        
        .file-upload-area:hover {
            border-color: var(--primary);
            background-color: rgba(30, 58, 138, 0.05);
        }
        
        .file-upload-area i {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .file-upload-area p {
            margin-bottom: 10px;
            color: var(--gray);
        }
        
        .file-upload-area span {
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .file-preview {
            display: none;
            margin-top: 20px;
            padding: 15px;
            background-color: #f8fafc;
            border-radius: 8px;
            border: 1px solid var(--gray-light);
        }
        
        .file-preview.active {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .file-info {
            flex-grow: 1;
        }
        
        .file-name {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .file-size {
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .remove-file {
            color: var(--accent);
            cursor: pointer;
            font-size: 1.2rem;
        }
        
        /* Espera de confirmación */
        .confirmation-section {
            text-align: center;
        }
        
        .confirmation-icon {
            font-size: 5rem;
            color: var(--primary);
            margin-bottom: 25px;
        }
        
        .confirmation-message {
            background-color: rgba(30, 58, 138, 0.05);
            padding: 30px;
            border-radius: 12px;
            margin-bottom: 40px;
            text-align: left;
        }
        
        .confirmation-message h3 {
            color: var(--primary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-info {
            background-color: white;
            padding: 30px;
            border-radius: 12px;
            border: 2px solid var(--gray-light);
            margin-bottom: 30px;
        }
        
        .contact-info h3 {
            color: var(--primary);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .contact-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .contact-method {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            border-radius: 8px;
            background-color: #f8fafc;
            transition: var(--transition);
        }
        
        .contact-method:hover {
            background-color: rgba(30, 58, 138, 0.05);
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(30, 58, 138, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }
        
        .contact-details h4 {
            margin-bottom: 5px;
        }
        
        .contact-details p {
            color: var(--gray);
            font-size: 0.95rem;
        }
        
        /* Navegación del formulario */
        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--gray-light);
        }
        
        .form-navigation.hidden {
            display: none;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a:hover {
            color: var(--secondary);
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .social-icons a:hover {
            background-color: var(--secondary);
            color: var(--dark);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .register-hero h1 {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .process-steps:before {
                width: 80%;
            }
            
            .step {
                width: 150px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            
            .upload-options {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                text-align: center;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .register-hero h1 {
                font-size: 2rem;
            }
            
            .register-section {
                padding: 30px 20px;
            }
            
            .process-steps {
                flex-direction: column;
                align-items: center;
                gap: 30px;
            }
            
            .process-steps:before {
                display: none;
            }
            
            .step {
                width: 100%;
                flex-direction: row;
                gap: 20px;
            }
            
            .step-number {
                margin-bottom: 0;
            }
            
            .form-navigation {
                flex-direction: column;
                gap: 15px;
            }
            
            .form-navigation .btn {
                width: 100%;
                text-align: center;
            }
        }
        
        @media (max-width: 576px) {
            .register-hero {
                padding: 60px 0;
            }
            
            .register-process {
                padding: 50px 0;
            }
            
            .contact-methods {
                grid-template-columns: 1fr;
            }
        }

        /* Ensure WhatsApp button stays green over later .btn rules */
        .btn.btn-whatsapp {
            background-color: #25D366;
            color: #fff;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
        }

        .btn.btn-whatsapp:hover {
            background-color: #1da851;
            box-shadow: 0 6px 16px rgba(29, 168, 81, 0.3);
        }