* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.gobierno-header {
    background: linear-gradient(135deg, #1a4d8f 0%, #2d5fa8 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gobierno-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.escudo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #1a4d8f;
}

.gobierno-title h1 {
    font-size: 20px;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h2 {
    font-size: 32px;
    color: #1a4d8f;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 16px;
}

.tipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.tipo-card {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tipo-card:hover {
    border-color: #1a4d8f;
    box-shadow: 0 8px 25px rgba(26, 77, 143, 0.2);
    transform: translateY(-5px);
}

.tipo-card.selected {
    border-color: #1a4d8f;
    background: #f0f7ff;
    box-shadow: 0 8px 25px rgba(26, 77, 143, 0.25);
}

.tipo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.tipo-icon {
    font-size: 48px;
}

.tipo-header h3 {
    font-size: 24px;
    color: #1a4d8f;
}

.requisitos-list {
    margin-top: 20px;
}

.requisitos-list h4 {
    color: #1a4d8f;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.requisito-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

.requisito-item:last-child {
    border-bottom: none;
}

.numero {
    display: inline-block;
    background: #1a4d8f;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
}

.btn-continuar {
    display: block;
    width: 300px;
    margin: 40px auto;
    padding: 15px 40px;
    background: #1a4d8f;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continuar:hover {
    background: #143a6f;
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.4);
    transform: translateY(-2px);
}

.btn-continuar:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-volver {
    display: block;
    text-align: center;
    color: #666;
    text-decoration: none;
    margin-top: 20px;
    font-size: 14px;
}

.btn-volver:hover {
    color: #1a4d8f;
    text-decoration: underline;
}

.confirmacion-section {
    max-width: 900px;
    margin: 40px auto 20px;
    background: white;
    border: 2px solid #1a4d8f;
    border-radius: 8px;
    padding: 25px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
    text-align: justify;
}

.checkbox-group input[type="checkbox"]:checked + label {
    color: #1a4d8f;
    font-weight: 500;
}

.checkbox-group label a {
    color: #1a4d8f;
    font-weight: 600;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: #0d3a6e;
}

@media (max-width: 1024px) {
    .tipo-grid {
        grid-template-columns: 1fr;
    }
}