/* FUENTES */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    font-family: var(--font-body);
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

/* Títulos con Poppins */
h1, h2, h3, h4, h5, h6,
.hero-title,
.navbar-brand,
.card-title,
.display-5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* ===== HERO SECTION AGRANDADO ===== */
.hero-section {
    background: linear-gradient(rgba(0, 82, 180, 0.85), rgba(51, 154, 240, 0.8)), url('../images/banners/banner-principal.png') center/cover no-repeat;
    color: white;
    padding: 100px 0; /* Aumentado de 80px a 100px */
    position: relative;
    min-height: 70vh; /* Aumentado de 60vh a 70vh */
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem; /* Aumentado de 2.8rem a 3.2rem */
    font-weight: 700;
    margin-bottom: 20px; /* Aumentado de 15px a 20px */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4); /* Sombra más pronunciada */
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem; /* Aumentado de 1.2rem a 1.4rem */
    margin-bottom: 35px; /* Aumentado de 25px a 35px */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6; /* Aumentado de 1.5 a 1.6 */
}

/* Buscador Circular con Lupa - TAMBIÉN AGRANDADO */
.search-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-top: 40px; /* Aumentado de 30px a 40px */
    max-width: 600px; /* Aumentado de 550px a 600px */
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    height: 60px; /* Aumentado de 52px a 60px */
}

.search-input {
    border: none;
    background: transparent;
    padding: 0 30px; /* Aumentado de 25px a 30px */
    font-size: 1.1rem; /* Aumentado de 1rem a 1.1rem */
    width: 100%;
    outline: none;
    color: #333;
    flex: 1;
    font-family: var(--font-body);
    font-weight: 400;
    height: 100%;
    line-height: 60px; /* Aumentado de 52px a 60px */
}

.search-input::placeholder {
    color: #666;
    font-family: var(--font-body);
    font-size: 1.05rem; /* Aumentado ligeramente */
}

.search-btn {
    background: linear-gradient(135deg, #FFD700, #FFC400);
    border: none;
    color: #333;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem; /* Aumentado de 1rem a 1.1rem */
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Aumentado de 52px a 60px */
    height: 60px; /* Aumentado de 52px a 60px */
    min-width: 60px; /* Aumentado de 52px a 60px */
    font-family: var(--font-body);
    margin: 0;
    flex-shrink: 0;
}

.search-btn:hover {
    background: linear-gradient(135deg, #FFC400, #FFB300);
    transform: translateY(-2px) scale(1.05); /* Efecto más pronunciado */
    box-shadow: 0 6px 15px rgba(255, 193, 0, 0.4); /* Sombra aumentada */
}

/* Icono Lupa SVG - Más grande */
.search-icon {
    width: 26px; /* Aumentado de 22px a 26px */
    height: 26px; /* Aumentado de 22px a 26px */
    fill: #333;
    transition: fill 0.3s;
}

.search-btn:hover .search-icon {
    fill: #222;
}

.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.input-group .search-input {
    border-radius: 50px 0 0 50px;
    border-right: none;
}

/* Responsive para Hero Agrandado */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0; /* Aumentado de 60px a 80px */
        min-height: 60vh; /* Aumentado de 45vh a 60vh */
    }
    
    .hero-title {
        font-size: 2.5rem; /* Aumentado de 2.2rem a 2.5rem */
        letter-spacing: -0.3px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem; /* Aumentado de 1.1rem a 1.2rem */
        margin-bottom: 30px; /* Aumentado de 25px a 30px */
    }
    
    .search-box {
        margin: 30px 15px; /* Aumentado de 20px a 30px */
        height: 55px; /* Aumentado de 48px a 55px */
        max-width: 90%;
    }
    
    .search-input {
        line-height: 55px; /* Aumentado de 48px a 55px */
        padding: 0 25px; /* Aumentado de 20px a 25px */
        font-size: 1.05rem;
    }
    
    .search-btn {
        width: 55px; /* Aumentado de 48px a 55px */
        height: 55px; /* Aumentado de 48px a 55px */
        min-width: 55px; /* Aumentado de 48px a 55px */
    }
    
    .search-icon {
        width: 24px; /* Aumentado de 20px a 24px */
        height: 24px; /* Aumentado de 20px a 24px */
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 55vh; /* Aumentado de 40vh a 55vh */
        padding: 70px 0; /* Aumentado de 50px a 70px */
    }
    
    .hero-title {
        font-size: 2.2rem; /* Aumentado de 1.8rem a 2.2rem */
        letter-spacing: -0.2px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem; /* Aumentado de 1rem a 1.1rem */
        margin-bottom: 25px; /* Aumentado de 20px a 25px */
    }
    
    .search-box {
        margin: 25px 10px; /* Aumentado */
        border-radius: 40px;
        height: 50px; /* Aumentado de 44px a 50px */
    }
    
    .search-input {
        padding: 0 20px; /* Aumentado de 18px a 20px */
        border-radius: 40px 0 0 40px;
        line-height: 50px; /* Aumentado de 44px a 50px */
        font-size: 1rem;
    }
    
    .search-btn {
        width: 50px; /* Aumentado de 44px a 50px */
        height: 50px; /* Aumentado de 44px a 50px */
        min-width: 50px; /* Aumentado de 44px a 50px */
    }
    
    .search-icon {
        width: 22px; /* Aumentado de 18px a 22px */
        height: 22px; /* Aumentado de 18px a 22px */
    }
}
/* Cards y Contenido */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border-left: 4px solid #0052b4;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
}

.card-text {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.5rem;
    color: #0052b4 !important;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Footer */
.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--font-body);
}

.footer-links a:hover {
    color: #74c0fc !important;
    text-decoration: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0052b4, #339af0);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 8px;
    font-family: var(--font-body);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 180, 0.3);
}

/* Títulos de sección */
.display-5 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-box {
        margin: 20px 15px;
    }
    
    .search-btn {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .search-icon {
        width: 20px;
        height: 20px;
    }
    
    .search-input {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 40vh;
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: -0.2px;
    }
    
    .search-box {
        margin: 53px 10px;
        border-radius: 70px;
    }
    
    .search-input {
        padding: 10px 18px;
        border-radius: 40px 0 0 40px;
    }
    
    .search-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 10px;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
    }
}

/* Servicios Cuadrados */
.service-square {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px; /* Aumentado para círculo más grande */
}

.service-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #FFD700;
}

.service-circle {
    background: linear-gradient(135deg, #FFD700, #FFC400);
    border-radius: 50%;
    width: 85px; /* Aumentado de 70px a 85px */
    height: 85px; /* Aumentado de 70px a 85px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    transition: all 0.3s ease;
}

.service-square:hover .service-circle {
    transform: scale(1.1);
}

.service-icon {
    width: 42px; /* Aumentado de 32px a 42px */
    height: 42px; /* Aumentado de 32px a 42px */
    object-fit: contain;
    /* Eliminado filter: brightness(0) invert(1) para que sean negros */
}

.service-square-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

/* Servicios Cuadrados */
.service-square {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Cuadrado específico para TRÁNSITO Y MOVILIDAD - Más alto */
.service-square:nth-child(2) {
    min-height: 220px;
}

/* Cuadrado específico para IMPUESTOS, TRIBUTOS Y EMPLEO - Más alto */
.service-square:nth-child(3) {
    min-height: 220px;
}

.service-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #FFD700;
}

.service-circle {
    background: linear-gradient(135deg, #FFD700, #FFC400);
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    transition: all 0.3s ease;
}

.service-square:hover .service-circle {
    transform: scale(1.1);
}

.service-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.service-square-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

/* Títulos específicos más pequeños para los cuadrados más altos */
.service-square:nth-child(2) .service-square-title,
.service-square:nth-child(3) .service-square-title {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Responsive para servicios */
@media (max-width: 768px) {
    .service-square {
        padding: 20px 12px;
        min-height: 180px;
    }
    
    /* Tablet - TRÁNSITO Y MOVILIDAD */
    .service-square:nth-child(2) {
        min-height: 200px;
    }
    
    /* Tablet - IMPUESTOS, TRIBUTOS Y EMPLEO */
    .service-square:nth-child(3) {
        min-height: 200px;
    }
    
    .service-circle {
        width: 75px;
        height: 75px;
        margin-bottom: 12px;
    }
    
    .service-icon {
        width: 36px;
        height: 36px;
    }
    
    .service-square-title {
        font-size: 0.85rem;
    }
    
    .service-square:nth-child(2) .service-square-title,
    .service-square:nth-child(3) .service-square-title {
        font-size: 0.82rem;
    }
}

@media (max-width: 576px) {
    .service-square {
        padding: 18px 10px;
        min-height: 170px;
    }
    
    /* Móvil - TRÁNSITO Y MOVILIDAD */
    .service-square:nth-child(2) {
        min-height: 190px;
    }
    
    /* Móvil - IMPUESTOS, TRIBUTOS Y EMPLEO */
    .service-square:nth-child(3) {
        min-height: 190px;
    }
    
    .service-circle {
        width: 65px;
        height: 65px;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 32px;
        height: 32px;
    }
    
    .service-square-title {
        font-size: 0.8rem;
    }
    
    .service-square:nth-child(2) .service-square-title,
    .service-square:nth-child(3) .service-square-title {
        font-size: 0.78rem;
    }
}

/* Responsive para servicios */
@media (max-width: 768px) {
    .service-square {
        padding: 20px 12px;
        min-height: 160px;
    }
    
    .service-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .service-icon {
        width: 28px;
        height: 28px;
    }
    
    .service-square-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-square {
        padding: 18px 10px;
        min-height: 150px;
    }
    
    .service-circle {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 24px;
        height: 24px;
    }
    
    .service-square-title {
        font-size: 0.8rem;
    }
}
/* Responsive para servicios */
@media (max-width: 768px) {
    .service-square {
        padding: 20px 12px;
        min-height: 160px;
    }
    
    .service-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .service-icon {
        width: 28px;
        height: 28px;
    }
    
    .service-square-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-square {
        padding: 18px 10px;
        min-height: 150px;
    }
    
    .service-circle {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 24px;
        height: 24px;
    }
    
    .service-square-title {
        font-size: 0.8rem;
    }
}
/* Carrusel de Trámites Más Solicitados - SIN INDICADOR AZUL */
.tramites-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
}

.tramites-carousel-container:active {
    cursor: grabbing;
}

.tramites-carousel {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    animation: scrollTramites 40s linear infinite;
}

.tramites-carousel.paused {
    animation-play-state: paused;
}

.tramite-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    width: 280px;
    height: 160px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tramite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #0052b4, #339af0); /* AZUL */
}

.tramite-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0052b4; /* AZUL */
}

.tramite-content {
    text-align: center;
    width: 100%;
}

.tramite-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: #000;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Animación del carrusel */
@keyframes scrollTramites {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 10 - 20px * 10)); /* Mueve todas las tarjetas */
    }
}

/* Efecto de gradiente en los bordes */
.tramites-carousel-container::before,
.tramites-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tramites-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

.tramites-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
}

/* ELIMINAMOS EL INDICADOR AZUL CON FLECHAS */
/* .tramites-carousel-container::after {
    content: '← →';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(0, 82, 180, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tramites-carousel-container:hover::after {
    opacity: 1;
} */

/* Responsive para el carrusel */
@media (max-width: 768px) {
    .tramites-carousel {
        gap: 15px;
        animation: scrollTramites 35s linear infinite;
    }
    
    .tramite-card {
        width: 250px;
        height: 150px;
        padding: 20px;
    }
    
    .tramite-title {
        font-size: 0.9rem;
    }
    
    @keyframes scrollTramites {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 10 - 15px * 10));
        }
    }
    
    .tramites-carousel-container::before,
    .tramites-carousel-container::after {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .tramites-carousel {
        gap: 12px;
        animation: scrollTramites 30s linear infinite;
    }
    
    .tramite-card {
        width: 220px;
        height: 140px;
        padding: 18px 15px;
    }
    
    .tramite-title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    @keyframes scrollTramites {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-220px * 10 - 12px * 10));
        }
    }
    
    .tramites-carousel-container::before,
    .tramites-carousel-container::after {
        width: 40px;
    }
}
/* Sección Herramientas - IMAGEN TAMAÑO -20% */
.herramienta-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    text-align: center;
}

.herramienta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0052b4;
}

.herramienta-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 82, 180, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.herramienta-icon svg {
    width: 28px;
    height: 28px;
}

.herramienta-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #0052b4;
    margin-bottom: 8px;
}

.herramienta-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* CONTENEDOR DE IMAGEN - TAMAÑO -20% */
.imagen-herramientas {
    position: relative;
    width: 100%;
    height: 763px; /* 954px - 20% = 763px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}

.imagen-computadora {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    
    /* TAMAÑO -20% EXACTO - SIN EFECTOS HOVER */
    height: 763px !important;  /* 954 - 20% */
    width: 509px !important;   /* 636 - 20% */
    object-fit: contain !important;
    
    /* SIN TRANSICIONES NI HOVER */
    transition: none !important;
}

/* SIN HOVER */
.imagen-computadora:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #e9ecef !important;
}

/* Fondo decorativo muy sutil */
.imagen-herramientas::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(0, 82, 180, 0.02), rgba(51, 154, 240, 0.02));
    border-radius: 20px;
    z-index: -1;
}

/* Aviso Legal */
.aviso-legal .alert {
    background: rgba(13, 110, 253, 0.05);
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
}

.aviso-legal strong {
    color: #0d6efd;
}

.aviso-legal .alert-info {
    color: #055160;
}

/* RESPONSIVE - MANTENER PROPORCIONES -20% */
@media (max-width: 1200px) {
    .imagen-herramientas {
        height: 640px; /* 800px - 20% */
    }
    
    .imagen-computadora {
        height: 640px !important;
        width: 427px !important; /* Mantiene relación 636:954 */
    }
}

@media (max-width: 992px) {
    .imagen-herramientas {
        height: 560px; /* 700px - 20% */
        margin-top: 30px;
    }
    
    .imagen-computadora {
        height: 560px !important;
        width: 373px !important;
    }
}

@media (max-width: 768px) {
    .imagen-herramientas {
        height: 480px; /* 600px - 20% */
        margin-top: 25px;
    }
    
    .imagen-computadora {
        height: 480px !important;
        width: 320px !important;
        border-radius: 12px;
    }
    
    .herramienta-card {
        padding: 20px 15px;
    }
}

@media (max-width: 576px) {
    .imagen-herramientas {
        height: 400px; /* 500px - 20% */
        margin-top: 20px;
    }
    
    .imagen-computadora {
        height: 400px !important;
        width: 267px !important;
        border-radius: 10px;
    }
    
    .herramienta-card {
        padding: 18px 12px;
    }
}
/* Sección Legal y Contactos */
.legal-content {
    padding-right: 20px;
}

.legal-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.legal-item:last-child {
    border-bottom: none;
}

.legal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #0052b4;
    margin-bottom: 8px;
}

.legal-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Contactos */
.contactos-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contacto-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.contacto-item:last-child {
    border-bottom: none;
}

.contacto-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contacto-icon svg {
    width: 22px;
    height: 22px;
}

.contacto-info {
    flex: 1;
}

.contacto-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 4px;
}

.contacto-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Horario de Atención */
.horario-atencion {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0052b4;
}

.horario-atencion h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}

/* Responsive para Legal y Contactos */
@media (max-width: 768px) {
    .legal-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contactos-content {
        padding: 20px;
    }
    
    .contacto-icon {
        width: 40px;
        height: 40px;
    }
    
    .contacto-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .contactos-content {
        padding: 15px;
    }
    
    .contacto-item {
        padding: 10px 0;
    }
    
    .contacto-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .contacto-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .legal-title {
        font-size: 0.95rem;
    }
    
    .legal-text {
        font-size: 0.8rem;
    }
}
/* Footer Simplificado */
footer.bg-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* Responsive para Footer Simplificado */
@media (max-width: 768px) {
    footer.bg-dark {
        padding: 20px 0 !important;
    }
    
    .col-md-6 {
        margin-bottom: 10px;
    }
    
    .col-md-6:last-child {
        margin-bottom: 0;
    }
}
/* Header Actualizado */
.navbar-brand {
    padding: 5px 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    line-height: 1;
}

.brand-line-1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #0052b4;
    margin: 0;
}

.brand-line-2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: #0052b4;
    margin: 0;
}

/* Menú de navegación */
.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: #333 !important;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover {
    color: #0052b4 !important;
    background: rgba(0, 82, 180, 0.05);
}

.navbar-nav .nav-link:focus {
    color: #0052b4 !important;
}

/* Botón especialista */
.btn-especialista {
    background: linear-gradient(135deg, #0052b4, #339af0);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 82, 180, 0.3);
}

.btn-especialista:hover {
    background: linear-gradient(135deg, #004494, #2d87d8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 180, 0.4);
    color: white;
}

.btn-especialista:active {
    transform: translateY(0);
}

/* Responsive para Header */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        margin: 15px 0;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        margin: 2px 0;
    }
    
    .btn-especialista {
        margin: 10px auto;
        display: block;
        max-width: 250px;
    }
    
    .brand-line-1 {
        font-size: 1rem;
    }
    
    .brand-line-2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .brand-line-1 {
        font-size: 0.9rem;
    }
    
    .brand-line-2 {
        font-size: 1.1rem;
    }
    
    .btn-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        margin-right: 0;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .brand-line-1 {
        font-size: 0.8rem;
    }
    
    .brand-line-2 {
        font-size: 1rem;
    }
    
    .btn-especialista {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
/* ===== HERO SECTION EQUILIBRADO ===== */
.hero-section {
    background: linear-gradient(rgba(0, 82, 180, 0.85), rgba(51, 154, 240, 0.8)), url('../images/banners/banner-principal.png') center/cover no-repeat;
    color: white;
    padding: 70px 0; /* Más equilibrado */
    position: relative;
    min-height: 65vh; /* Moderado pero prominente */
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.9rem; /* Grande pero no excesivo */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem; /* Tamaño legible */
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Buscador tamaño equilibrado */
.search-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    height: 55px; /* Tamaño cómodo */
}

.search-input {
    border: none;
    background: transparent;
    padding: 0 28px;
    font-size: 1.05rem;
    width: 100%;
    outline: none;
    color: #333;
    height: 100%;
    line-height: 55px;
    font-weight: 400;
}

.search-input::placeholder {
    color: #666;
    font-size: 1rem;
}

.search-btn {
    background: linear-gradient(135deg, #FFD700, #FFC400);
    border: none;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    min-width: 55px;
    margin: 0;
    flex-shrink: 0;
}

.search-btn:hover {
    background: linear-gradient(135deg, #FFC400, #FFB300);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 193, 0, 0.4);
}

.search-icon {
    width: 22px;
    height: 22px;
    fill: #333;
}

.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

/* Responsive equilibrado */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: 55vh;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }
    
    .search-box {
        height: 50px;
        max-width: 90%;
        margin-top: 25px;
    }
    
    .search-input {
        line-height: 50px;
        padding: 0 22px;
        font-size: 1rem;
    }
    
    .search-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .search-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    
    .search-box {
        height: 48px;
        border-radius: 40px;
        margin-top: 20px;
    }
    
    .search-input {
        padding: 0 20px;
        line-height: 48px;
        font-size: 0.95rem;
    }
    
    .search-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
    }
}
/* ===== PÁGINA IDENTIFICACIÓN Y DOCUMENTOS ===== */
.identificacion-page {
    background-color: #f8f9fa;
}

.documento-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.documento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #0052b4;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0052b4, #339af0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.documento-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #FFD700, #FFC400);
}

.documento-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #0052b4;
    margin-bottom: 10px;
}

.documento-desc {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.documento-badge {
    display: inline-block;
    background: rgba(0, 82, 180, 0.1);
    color: #0052b4;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .documento-card {
        padding: 25px 15px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .documento-title {
        font-size: 1.2rem;
    }
}
/* ===== PÁGINA DE CÉDULA - ARTÍCULOS ===== */
.cedula-page {
    background-color: #f8f9fa;
}

/* Estilos para artículos */
.article-header {
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #0052b4;
    margin-bottom: 10px;
}

.article-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #6c757d;
}

.article-meta {
    font-size: 0.9rem;
    color: #868e96;
}

.article-content {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 1.05rem;
}

.article-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Pasos */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #0052b4;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0052b4, #339af0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #0052b4;
    margin-bottom: 5px;
}

.step-content p {
    color: #666;
    margin: 0;
}

/* Listas */
.list-group-item {
    border: none;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}

/* Acordeón personalizado */
.accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background-color: rgba(0, 82, 180, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 82, 180, 0.1);
    color: #0052b4;
}

.accordion-body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Índice lateral */
.list-group-item.active {
    background-color: #0052b4;
    border-color: #0052b4;
}

/* Responsive */
@media (max-width: 992px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-subtitle {
        font-size: 1rem;
    }
    
    .step-card {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .step-card {
        padding: 15px;
    }
    
    .sticky-top {
        position: static !important;
        margin-bottom: 30px;
    }
}