/* ==========================================================================
   FNA - FONDO NACIONAL DEL AHORRO (CRÉDITOS 100% ONLINE)
   Estilos Principales & Slider Interactivo
   ========================================================================== */

:root {
    --fna-blue: #003087;
    --fna-blue-dark: #00205b;
    --fna-blue-light: #0066cc;
    --fna-green: #8BC400;
    --fna-green-dark: #6e9d00;
    --fna-green-light: #a6e300;
    --gov-blue: #0033a0;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --whatsapp-hover: #1ebd5a;
    
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 2px 8px rgba(0, 48, 135, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(0, 48, 135, 0.1), 0 8px 10px -6px rgba(0, 48, 135, 0.05);
    --shadow-lg: 0 20px 35px -10px rgba(0, 48, 135, 0.15), 0 10px 15px -8px rgba(0, 48, 135, 0.08);
    --shadow-glow-wa: 0 10px 25px rgba(37, 211, 102, 0.35);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   1. TOPBAR GOV.CO
   ========================================================================== */
.topbar-gov {
    background-color: var(--gov-blue);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-gov .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gov-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gov-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
}

.gov-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

.gov-links a {
    color: #e0e7ff;
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.gov-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gov-lang-select {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* ==========================================================================
   2. MAIN NAVBAR
   ========================================================================== */
.main-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 800;
    font-size: 20px;
    color: var(--fna-blue);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 11px;
    color: var(--fna-green-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-item a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14.5px;
    padding: 6px 4px;
    position: relative;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--fna-blue);
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--fna-green);
    border-radius: 2px;
}

.nav-badge-pill {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.nav-socials a {
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

.nav-socials a:hover {
    color: var(--fna-blue);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--whatsapp-green);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-header-wa:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--fna-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-login:hover {
    background-color: var(--fna-blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-toggle-btn {
    display: none;
    font-size: 22px;
    color: var(--fna-blue);
}

/* ==========================================================================
   3. HERO SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
    position: relative;
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 50%, #f6fdf5 100%);
    overflow: hidden;
    padding: 40px 0 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 196, 0, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-slider-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 48, 135, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-slider {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
}

/* Slides Individuales */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.55s;
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
    z-index: 2;
}

.slider-slide.prev {
    transform: translateX(-40px);
}

/* Contenido del Slide (Izquierda) */
.slide-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 620px;
    z-index: 3;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 48, 135, 0.08);
    color: var(--fna-blue);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    width: fit-content;
    border: 1px solid rgba(0, 48, 135, 0.15);
}

.slide-tag i {
    color: var(--fna-green-dark);
}

.slide-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.slide-title .highlight {
    background: linear-gradient(120deg, var(--fna-blue) 0%, #0084d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 4px 0 8px 0;
    list-style: none;
}

.slide-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fna-blue);
    background: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.slide-feature-item i {
    color: var(--whatsapp-green);
    font-size: 14px;
}

.slide-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.btn-primary-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #1ebd5a 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow-wa);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-primary-wa i {
    font-size: 20px;
}

.btn-primary-wa:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #128C7E 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--fna-blue);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-secondary-action:hover {
    background: #f8fafc;
    border-color: var(--fna-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Gráfico 3D del Slide (Derecha) */
.slide-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.visual-image-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
    position: relative;
    transition: transform 0.4s ease;
}

.visual-image-box:hover {
    transform: translateY(-6px);
}

.visual-image-box img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Floating Glass Badges */
.floating-glass-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-glass-badge.badge-top-left {
    top: -15px;
    left: -20px;
}

.floating-glass-badge.badge-bottom-right {
    bottom: -15px;
    right: -15px;
    animation-delay: 2s;
}

.badge-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
}

.badge-icon-circle.blue {
    background: var(--fna-blue);
}

.badge-icon-circle.green {
    background: var(--whatsapp-green);
}

.badge-icon-circle.yellow {
    background: #f59e0b;
}

.badge-text-group {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.badge-sub {
    font-size: 11px;
    color: var(--text-secondary);
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* Controles del Slider */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: var(--fna-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    font-size: 18px;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow-btn:hover {
    background: var(--fna-blue);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--shadow-lg);
}

.slider-nav-prev {
    left: 8px;
}

.slider-nav-next {
    right: 8px;
}

/* Barra Inferior del Slider: Números, Play/Pause y Progreso */
.slider-bottom-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
    padding-bottom: 10px;
    z-index: 5;
    position: relative;
}

.slider-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-num-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.page-num-btn:hover {
    border-color: var(--fna-blue);
    color: var(--fna-blue);
}

.page-num-btn.active {
    background: var(--fna-blue);
    color: #ffffff;
    border-color: var(--fna-blue);
    box-shadow: 0 4px 10px rgba(0, 48, 135, 0.25);
}

.slider-play-pause {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--fna-blue);
    color: #ffffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-play-pause:hover {
    background: var(--fna-blue-dark);
    transform: scale(1.05);
}

.slider-progress-bar {
    width: 120px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.slider-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--fna-green);
}

/* ==========================================================================
   4. BENEFICIOS RÁPIDOS STRIP
   ========================================================================== */
.quick-benefits-section {
    background: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-color);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 48, 135, 0.08);
    color: var(--fna-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-card:nth-child(2) .benefit-icon {
    background: rgba(139, 196, 0, 0.15);
    color: var(--fna-green-dark);
}

.benefit-card:nth-child(3) .benefit-icon {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp-green);
}

.benefit-card:nth-child(4) .benefit-icon {
    background: rgba(0, 132, 214, 0.12);
    color: #0084d6;
}

.benefit-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.benefit-info p {
    font-size: 12.5px;
    color: var(--text-secondary);
}

/* ==========================================================================
   4.5. INDICADORES ECONÓMICOS & PORTAL DE SERVICIOS FNA (SEGUNDA SECCIÓN)
   ========================================================================== */
.economic-indicators-bar {
    background: #eef4fc;
    border-top: 1px solid #dce7f6;
    border-bottom: 1px solid #dce7f6;
    padding: 10px 0;
}

.indicators-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--fna-blue);
    font-weight: 600;
}

.indicator-item .label {
    color: #475569;
    font-weight: 500;
}

.indicator-item .value {
    color: var(--fna-blue);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.indicator-divider {
    color: #cbd5e1;
    font-size: 10px;
}

/* Sección de Servicios y Acceso Rápido */
.services-portal-section {
    padding: 45px 0 50px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.services-portal-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 28px;
    align-items: stretch;
}

/* 4 Tarjetas de Servicios (Izquierda - 2x2) */
.portal-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portal-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.portal-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 14px 28px rgba(0, 48, 135, 0.18);
}

.portal-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-card:hover .portal-card-bg {
    transform: scale(1.08);
}

.portal-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

/* Variantes de Color de las Tarjetas */
.card-theme-ahorro .portal-card-overlay {
    background: linear-gradient(135deg, rgba(139, 196, 0, 0.88) 0%, rgba(100, 155, 0, 0.93) 100%);
}

.card-theme-cesantias .portal-card-overlay {
    background: linear-gradient(135deg, rgba(142, 88, 173, 0.88) 0%, rgba(109, 58, 138, 0.93) 100%);
}

.card-theme-vivienda .portal-card-overlay {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.88) 0%, rgba(2, 132, 199, 0.93) 100%);
}

.card-theme-programas .portal-card-overlay {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.88) 0%, rgba(190, 18, 60, 0.93) 100%);
}

/* Insignia Central FNA */
.portal-card-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px 26px 14px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition);
    min-width: 140px;
}

.portal-card:hover .portal-card-badge {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    transform: scale(1.05);
}

.portal-badge-logo {
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portal-badge-category {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Tooltip / Indicador de WhatsApp al pasar el cursor */
.portal-card-wa-hover {
    position: absolute;
    bottom: 10px;
    right: 12px;
    z-index: 3;
    background: #ffffff;
    color: var(--whatsapp-dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    transition: var(--transition);
}

.portal-card:hover .portal-card-wa-hover {
    background: var(--whatsapp-green);
    color: #ffffff;
    opacity: 1;
    transform: scale(1.05);
}

.portal-card-info-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: var(--transition);
}

.portal-card:hover .portal-card-info-icon {
    color: #ffffff;
}

/* 5 Botones de Acceso Rápido (Derecha) */
.portal-actions-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 11px;
}

.portal-action-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    background: #e8eef8;
    border: 1px solid #d4e2f5;
    border-radius: 14px;
    color: var(--fna-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 48, 135, 0.04);
}

.portal-action-pill:hover {
    background: #ffffff;
    border-color: var(--fna-blue);
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.12);
    color: var(--fna-blue);
}

.pill-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--fna-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: var(--transition);
}

.portal-action-pill:hover .pill-icon-circle {
    background: var(--whatsapp-green);
    transform: scale(1.08);
}

.pill-text {
    flex-grow: 1;
    letter-spacing: -0.2px;
}

.pill-wa-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.portal-action-pill:hover .pill-wa-tag {
    color: var(--whatsapp-green);
    transform: translateX(2px);
}

/* Responsive para la sección 2 */
@media (max-width: 1024px) {
    .services-portal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .portal-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .indicators-wrapper {
        gap: 16px;
    }
}

/* ==========================================================================
   5. SIMULADOR RÁPIDO & PASOS 100% ONLINE
   ========================================================================== */
.quick-simulator-section {
    padding: 60px 0;
    background: #f8fafc;
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 48, 135, 0.08);
    color: var(--fna-blue);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

.simulator-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.simulator-form-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sim-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-label-row label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-value-badge {
    background: #eff6ff;
    color: var(--fna-blue);
    font-weight: 800;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #bfdbfe;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fna-blue);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.simulator-result-col {
    background: linear-gradient(145deg, var(--fna-blue) 0%, #001f5c 100%);
    color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.simulator-result-col::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 196, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.result-card-header {
    margin-bottom: 20px;
}

.result-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-card-header p {
    font-size: 13px;
    color: #cbd5e1;
}

.quota-display-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 10px 0 24px 0;
    text-align: center;
}

.quota-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #93c5fd;
    font-weight: 600;
    margin-bottom: 6px;
}

.quota-amount {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.quota-rate-note {
    font-size: 12px;
    color: var(--fna-green-light);
    margin-top: 6px;
    font-weight: 600;
}

.sim-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--whatsapp-green);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.sim-btn-wa:hover {
    background: var(--whatsapp-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   6. STEPS (PASO A PASO)
   ========================================================================== */
.steps-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: #ffffff;
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--fna-blue);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 40px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
}

.step-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--fna-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
}

.step-card:nth-child(2) .step-icon-wrap {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.step-card:nth-child(3) .step-icon-wrap {
    background: #fefce8;
    color: #ca8a04;
    border-color: #fef08a;
}

.step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   7. FLOATING WHATSAPP ASSISTANT WIDGET
   ========================================================================== */
.floating-wa-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.wa-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    position: relative;
}

.wa-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.wa-floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--whatsapp-green);
    animation: waPulse 2s infinite ease-out;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.wa-floating-tooltip {
    background: #ffffff;
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInTooltip 0.5s ease;
    white-space: nowrap;
}

.wa-online-dot {
    width: 8px;
    height: 8px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--whatsapp-green);
}

@keyframes fadeInTooltip {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 20px 0;
    font-size: 13.5px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #1e293b;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (MÓVIL & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    .slider-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .slide-content {
        align-items: center;
        max-width: 100%;
    }

    .slide-features {
        justify-content: center;
    }

    .slide-actions {
        justify-content: center;
    }

    .slide-title {
        font-size: 34px;
    }

    .simulator-container {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-gov .gov-links {
        display: none;
    }

    .nav-menu, .nav-socials, .nav-actions .btn-login {
        display: none;
    }

    .mobile-toggle-btn {
        display: block;
    }

    .nav-links-wrapper.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
    }

    .nav-links-wrapper.mobile-open .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nav-links-wrapper.mobile-open .nav-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .nav-links-wrapper.mobile-open .btn-header-wa,
    .nav-links-wrapper.mobile-open .btn-login {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .slide-title {
        font-size: 28px;
    }

    .visual-image-box img {
        height: 280px;
    }

    .floating-glass-badge {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow-btn {
        display: none;
    }

    .simulator-form-col {
        padding: 24px;
    }

    .simulator-result-col {
        padding: 24px;
    }

    .quota-amount {
        font-size: 28px;
    }
}
