        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: #f4f7fc;
            min-height: 100vh;
            padding: 32px 20px;
        }

        /* Paleta de colores basada en logo: rojo + verde + blanco */
        :root {
            --rojo-principal: #c1272d;
            --rojo-oscuro: #9b1d22;
            --verde-coope: #2e7d32;
            --verde-claro: #e8f5e9;
            --gris-claro: #f9fafb;
            --gris-borde: #e2e8f0;
            --sombra-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
            --sombra-md: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
            --radius-xl: 1.5rem;
            --radius-lg: 1rem;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            background: white;
            border-radius: var(--radius-xl);
            box-shadow: var(--sombra-md);
            overflow: hidden;
            transition: all 0.2s ease;
        }

        /* Header con degradado basado en rojo/verde */
        .header {
            background: linear-gradient(135deg, #1a4d1f 0%, #2e7d32 50%, #368d3b 100%);
            color: white;
            padding: 32px 40px;
            text-align: center;
            position: relative;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: #ffcd3c;
        }

        .logo-container {
            display: flex;
            justify-content: center;
            margin-bottom: 16px;
        }

        .logo {
            max-width: 130px;
            background: white;
            border-radius: 60px;
            padding: 6px 18px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }

        .header h1 {
            font-size: 1.9rem;
            font-weight: 700;
            letter-spacing: -0.3px;
            margin: 12px 0 6px;
        }

        .header p {
            font-size: 1rem;
            opacity: 0.92;
            font-weight: 400;
        }

        /* alertas personalizadas */
        .alert {
            padding: 16px 20px;
            border-radius: 60px;
            margin-bottom: 28px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            backdrop-filter: blur(2px);
            border-left: 5px solid;
            animation: slideIn 0.25s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .alert-success {
            background: #e9f7ef;
            color: #1e4620;
            border-left-color: #2e7d32;
        }

        .alert-error {
            background: #ffe9e9;
            color: #b91c1c;
            border-left-color: #c1272d;
        }

        .form-content {
            padding: 40px 44px;
        }

        /* secciones estilo tarjeta */
        .form-section {
            background: var(--gris-claro);
            border-radius: var(--radius-lg);
            padding: 28px 30px;
            margin-bottom: 32px;
            border: 1px solid var(--gris-borde);
            transition: box-shadow 0.2s;
        }

        .form-section:hover {
            box-shadow: var(--sombra-sm);
        }

        .form-section h2 {
            color: #1e3a2f;
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid var(--rojo-principal);
            display: inline-block;
            letter-spacing: -0.2px;
        }

        /* grid responsivo */
        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-bottom: 18px;
        }

        .form-group {
            flex: 1 1 250px;
            min-width: 0;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #1f2937;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            font-size: 0.95rem;
            font-family: inherit;
            background-color: white;
            transition: all 0.2s;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--rojo-principal);
            box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.15);
        }

        /* radio group */
        .radio-group {
            display: inline-flex;
            align-items: center;
            margin-right: 28px;
            gap: 6px;
        }

        .radio-group label {
            text-transform: none;
            font-weight: 500;
            margin-bottom: 0;
        }

        .radio-group input {
            width: 18px;
            height: 18px;
            accent-color: var(--verde-coope);
            margin-right: 4px;
        }

        /* experiencia items */
        .experience-item {
            background: white;
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #eef2f6;
            box-shadow: 0 1px 2px rgba(0,0,0,0.02);
        }

        .experience-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .experience-header h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--rojo-principal);
            background: #fff0f0;
            padding: 5px 14px;
            border-radius: 40px;
        }

        .btn-remove-exp {
            background: #fee2e2;
            border: none;
            color: #b91c1c;
            font-weight: 600;
            padding: 8px 20px;
            border-radius: 40px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s;
        }

        .btn-remove-exp:hover {
            background: #fecaca;
            transform: scale(0.97);
        }

        .btn-add-exp {
            background: #2e7d32;
            color: white;
            border: none;
            padding: 12px 22px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: 0.2s;
            margin-top: 8px;
        }

        .btn-add-exp:hover {
            background: #1b5e20;
            transform: translateY(-2px);
        }

        .btn-submit {
            background: linear-gradient(95deg, #c1272d 0%, #9b1d22 100%);
            color: white;
            border: none;
            padding: 18px 28px;
            border-radius: 60px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            transition: 0.2s;
            letter-spacing: 0.5px;
            box-shadow: 0 5px 10px rgba(193,39,45,0.25);
        }

        .btn-submit:hover {
            background: linear-gradient(95deg, #9b1d22 0%, #7f161b 100%);
            transform: scale(0.99);
            box-shadow: 0 8px 18px rgba(193,39,45,0.3);
        }

        .file-info {
            font-size: 0.7rem;
            color: #5b677b;
            margin-top: 8px;
            font-weight: 500;
        }

        /* boton reinicio cuando ya enviado */
        .btn-secondary {
            background: #2e7d32;
            text-decoration: none;
            display: inline-block;
            border-radius: 60px;
            padding: 12px 28px;
            font-weight: 600;
        }

        .clearfix {
            clear: both;
        }

        /* responsivo extremo */
        @media (max-width: 768px) {
            body {
                padding: 16px;
            }
            .form-content {
                padding: 24px 20px;
            }
            .form-section {
                padding: 20px 18px;
            }
            .header h1 {
                font-size: 1.5rem;
            }
            .form-row {
                gap: 16px;
            }
            .radio-group {
                margin-right: 16px;
            }
            .btn-add-exp, .btn-remove-exp {
                width: auto;
            }
        }

        @media (max-width: 480px) {
            .experience-header {
                flex-direction: column;
                align-items: start;
                gap: 10px;
            }
            .btn-remove-exp {
                align-self: flex-start;
            }
        }

        /* sweet alerts personalizadas (ligeras) pero sin librerias externas, usamos alertas nativas estilizadas */
        .toast-message {
            position: fixed;
            bottom: 25px;
            right: 25px;
            background: white;
            border-radius: 50px;
            padding: 14px 24px;
            box-shadow: 0 20px 35px -8px rgba(0,0,0,0.2);
            border-left: 5px solid var(--verde-coope);
            z-index: 1000;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: fadeInUp 0.3s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
                /* Estilos adicionales para iconos */
        .file-info {
            font-size: 0.75rem;
            color: #6b7280;
            margin-top: 0.25rem;
        }
        
        .btn-add-exp i, .btn-remove-exp i, .btn-submit i {
            margin-right: 0.5rem;
        }
        
        .form-section h2 i {
            margin-right: 0.5rem;
            color: #2e7d32;
        }
        
        .header h1 i, .header p i {
            margin-right: 0.5rem;
        }
        
        input:invalid, select:invalid {
            border-color: #fecaca;
        }
        
        .error-input {
            border-color: #dc2626 !important;
            background-color: #fef2f2 !important;
        }
        
        /* Ocultar alertas normales */
        .alert {
            display: none;
        }