/* ==============================================================================
   SIGAC-U — LANDING PAGE PREMIUM STYLESHEET
   Design Language: Vanguard UI / High-End Institutional SaaS
   Paleta Oficial: Navy (#0A2540), Cian (#00A3E0), Blanco Puro y Slate Estructural
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Design Tokens */
    --sigac-navy-950: #04101D;
    --sigac-navy-900: #0A2540;
    --sigac-navy-800: #0F365E;
    --sigac-navy-700: #164E84;
    
    --sigac-cyan-500: #00A3E0;
    --sigac-cyan-600: #0284C7;
    --sigac-cyan-400: #38BDF8;
    --sigac-cyan-100: #E0F2FE;
    --sigac-cyan-50:  #F0F9FF;

    /* Semantic Neutral Tokens */
    --canvas-bg: #F8FAFC;
    --surface-card: #FFFFFF;
    --surface-elevated: #FFFFFF;
    
    --text-heading: #0B192C;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-inverted: #FFFFFF;
    
    --border-hairline: #E2E8F0;
    --border-focus: #00A3E0;
    
    /* Elevation & Concentric Geometry */
    --radius-pill: 9999px;
    --radius-3xl: 28px;
    --radius-2xl: 20px;
    --radius-xl: 14px;
    --radius-lg: 10px;
    
    --shadow-soft: 0 4px 20px -2px rgba(10, 37, 64, 0.05);
    --shadow-hover: 0 16px 36px -4px rgba(10, 37, 64, 0.12);
    --shadow-depth: 0 24px 48px -8px rgba(10, 37, 64, 0.16);
    --shadow-inset-light: inset 0 1px 1px rgba(255, 255, 255, 0.6);

    /* Transitions & Motion */
    --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--canvas-bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease-snappy);
}

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

/* ==============================================================================
   TYPOGRAPHY
   ============================================================================== */
.font-display {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 163, 224, 0.1);
    border: 1px solid rgba(0, 163, 224, 0.25);
    border-radius: var(--radius-pill);
    color: var(--sigac-navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: fit-content;
}

.eyebrow-badge .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--sigac-cyan-500);
    box-shadow: 0 0 8px var(--sigac-cyan-500);
}

/* ==============================================================================
   HEADER & FLOATING DETACHED ISLAND NAVBAR
   ============================================================================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    pointer-events: none;
    transition: padding 0.3s var(--ease-snappy);
}

.header-island {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 18px 10px 22px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px -4px rgba(10, 37, 64, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    transition: all 0.3s var(--ease-snappy);
}

.header-scrolled .header-island {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow: 0 12px 36px -4px rgba(10, 37, 64, 0.14);
}

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

.nav-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--sigac-navy-900);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sigac-cyan-500);
    transition: width 0.25s var(--ease-snappy);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

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

/* ==============================================================================
   BUTTON ARCHITECTURE (Haptic Nested Island Pill)
   ============================================================================== */
.btn-primary-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 22px;
    background: linear-gradient(135deg, var(--sigac-navy-900) 0%, var(--sigac-navy-800) 100%);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s var(--ease-snappy);
}

.btn-primary-pill:hover {
    background: linear-gradient(135deg, var(--sigac-navy-800) 0%, var(--sigac-navy-950) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.3);
    color: #FFFFFF;
}

.btn-primary-pill:active {
    transform: scale(0.98);
}

.btn-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--ease-snappy);
    color: var(--sigac-cyan-400);
}

.btn-primary-pill:hover .btn-icon-bubble {
    transform: translateX(2px) rotate(-15deg);
    background: rgba(0, 163, 224, 0.3);
    color: #FFFFFF;
}

.btn-secondary-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--surface-card);
    color: var(--sigac-navy-900);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s var(--ease-snappy);
}

.btn-secondary-pill:hover {
    border-color: var(--sigac-cyan-500);
    color: var(--sigac-cyan-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-pill);
    background: rgba(10, 37, 64, 0.04);
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sigac-navy-900);
    border-radius: 2px;
    transition: all 0.3s var(--ease-snappy);
}

/* ==============================================================================
   HERO PRINCIPAL (Editorial Split with Visual Balance)
   ============================================================================== */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 70px;
    background: radial-gradient(circle at 85% 15%, rgba(0, 163, 224, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(10, 37, 64, 0.04) 0%, transparent 50%),
                var(--canvas-bg);
    overflow: hidden;
}

.container-xl {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-title {
    font-size: clamp(2.35rem, 4.4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--sigac-navy-950);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--sigac-navy-900) 0%, var(--sigac-cyan-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    line-height: 1.65;
    max-width: 540px;
}

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

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--sigac-cyan-500);
    font-size: 1.15rem;
}

/* Double-Bezel Media Wrapper for Hero */
.hero-media-wrapper {
    position: relative;
}

.double-bezel-outer {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-depth);
    position: relative;
}

.double-bezel-inner {
    position: relative;
    border-radius: calc(var(--radius-3xl) - 10px);
    overflow: hidden;
    background: #0B192C;
}

.double-bezel-inner img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-snappy);
}

.double-bezel-outer:hover .double-bezel-inner img {
    transform: scale(1.02);
}

/* Floating Glass Overlay Tag on Hero Image */
.hero-floating-pill {
    position: absolute;
    bottom: 22px;
    left: 22px;
    padding: 12px 18px;
    background: rgba(10, 37, 64, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-floating-pill .pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sigac-cyan-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.hero-floating-pill .pill-text h4 {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-floating-pill .pill-text p {
    font-size: 0.75rem;
    color: var(--sigac-cyan-100);
    line-height: 1.2;
}

/* ==============================================================================
   SECTION HEADINGS (Sentence-Case Strict Hierarchy)
   ============================================================================== */
.section-padding {
    padding: 96px 0;
}

.section-padding-sm {
    padding: 64px 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 56px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-header.text-left {
    margin-left: 0;
    text-align: left;
    align-items: flex-start;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--sigac-navy-950);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ==============================================================================
   CHALLENGES / EL DESAFÍO INSTITUCIONAL
   ============================================================================== */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.challenge-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-2xl);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s var(--ease-snappy);
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--sigac-cyan-500);
    transition: height 0.3s var(--ease-snappy);
}

.challenge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 163, 224, 0.4);
}

.challenge-card:hover::before {
    height: 100%;
}

.card-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--sigac-cyan-50);
    color: var(--sigac-navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(0, 163, 224, 0.15);
}

.challenge-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sigac-navy-900);
}

.challenge-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.55;
}

/* ==============================================================================
   ASYMMETRIC BENTO GRID — MÓDULOS INTEGRADOS CONFIRMADOS
   ============================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-col-8 {
    grid-column: span 8;
}

.bento-col-4 {
    grid-column: span 4;
}

.bento-col-6 {
    grid-column: span 6;
}

.bento-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-3xl);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-snappy);
}

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 163, 224, 0.4);
}

.bento-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bento-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sigac-navy-950);
    margin-bottom: 8px;
}

.bento-card-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.55;
}

.bento-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--sigac-cyan-50);
    color: var(--sigac-navy-900);
    border: 1px solid rgba(0, 163, 224, 0.2);
    white-space: nowrap;
}

/* Mini Visual Preview Components Inside Bento */
.bento-preview-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    background: #F1F5F9;
}

.bento-preview-box img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.bento-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
}

.bento-feature-item i {
    color: var(--sigac-cyan-500);
    font-size: 1.15rem;
}

/* ==============================================================================
   INTERACTIVE APPLICATION MOCKUP (Experiencia de Usuario)
   ============================================================================== */
.mockup-outer-frame {
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    padding: 16px;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 64px -12px rgba(10, 37, 64, 0.35);
}

.mockup-window {
    background: #FFFFFF;
    border-radius: calc(var(--radius-3xl) - 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-topbar {
    background: #F8FAFC;
    padding: 12px 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-address-pill {
    padding: 4px 16px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-tabs {
    display: flex;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    overflow-x: auto;
}

.mockup-tab-btn {
    padding: 12px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-tab-btn:hover {
    color: var(--sigac-navy-900);
}

.mockup-tab-btn.active {
    color: var(--sigac-navy-900);
    background: #FFFFFF;
    border-bottom-color: var(--sigac-cyan-500);
}

.mockup-content-body {
    padding: 28px;
    min-height: 420px;
}

.tab-pane {
    display: none;
    animation: fadeInPane 0.3s var(--ease-snappy);
}
.tab-pane.active {
    display: block;
}

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

/* ==============================================================================
   PROFILES TABS (Diseñado para el Entorno Universitario)
   ============================================================================== */
.profiles-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.role-pill-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-nav-item {
    padding: 20px 24px;
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-2xl);
    text-align: left;
    transition: all 0.25s var(--ease-snappy);
    display: flex;
    align-items: center;
    gap: 16px;
}

.role-nav-item:hover {
    border-color: var(--sigac-cyan-400);
    transform: translateX(4px);
}

.role-nav-item.active {
    background: var(--sigac-navy-900);
    border-color: var(--sigac-navy-900);
    color: #FFFFFF;
    box-shadow: var(--shadow-hover);
}

.role-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--sigac-cyan-50);
    color: var(--sigac-navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.role-nav-item.active .role-icon-box {
    background: rgba(255, 255, 255, 0.15);
    color: var(--sigac-cyan-400);
}

.role-nav-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.role-nav-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.role-nav-item.active p {
    color: rgba(255, 255, 255, 0.75);
}

.role-detail-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-3xl);
    padding: 40px;
    box-shadow: var(--shadow-depth);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.role-detail-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sigac-navy-950);
}

.role-benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.role-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.role-benefit-item i {
    color: var(--sigac-cyan-500);
    font-size: 1.3rem;
    margin-top: 2px;
}

/* ==============================================================================
   HOW IT WORKS (Secuencia de 4 Pasos Visuales)
   ============================================================================== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-2xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: all 0.3s var(--ease-snappy);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 163, 224, 0.5);
}

.step-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sigac-navy-900);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sigac-navy-900);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* ==============================================================================
   SECURITY & TRUST (Verificado y Honesto)
   ============================================================================== */
.security-section {
    background: linear-gradient(180deg, #0A2540 0%, #04101D 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.security-section .section-title {
    color: #FFFFFF;
}

.security-section .section-description {
    color: #CBD5E1;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-2xl);
    padding: 32px 26px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s var(--ease-snappy);
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--sigac-cyan-400);
    transform: translateY(-3px);
}

.security-card i {
    font-size: 2rem;
    color: var(--sigac-cyan-400);
}

.security-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.security-card p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.55;
}

/* ==============================================================================
   FAQ ACCORDION (Accesible WCAG 2.2)
   ============================================================================== */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.25s var(--ease-snappy);
}

.faq-item:hover {
    border-color: rgba(0, 163, 224, 0.4);
}

.faq-trigger {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sigac-navy-950);
}

.faq-icon-arrow {
    font-size: 1.3rem;
    color: var(--sigac-cyan-600);
    transition: transform 0.3s var(--ease-snappy);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-snappy);
}

.faq-content-inner {
    padding: 0 26px 22px 26px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ==============================================================================
   FINAL CALL TO ACTION
   ============================================================================== */
.cta-box {
    background: radial-gradient(circle at 10% 20%, rgba(0, 163, 224, 0.25) 0%, transparent 50%),
                linear-gradient(135deg, #0A2540 0%, #04101D 100%);
    border-radius: var(--radius-3xl);
    padding: 72px 48px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-depth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-box h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-box p {
    font-size: 1.15rem;
    color: #CBD5E1;
    max-width: 640px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==============================================================================
   FOOTER INSTITUCIONAL
   ============================================================================== */
.footer-main {
    background: #04101D;
    color: #94A3B8;
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--sigac-cyan-400);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ==============================================================================
   DEMO REQUEST MODAL
   ============================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 16, 29, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-3xl);
    width: 100%;
    max-width: 520px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalPop 0.3s var(--ease-snappy);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #E2E8F0;
    color: var(--sigac-navy-900);
}

.form-group-modal {
    margin-bottom: 18px;
    text-align: left;
}

.form-group-modal label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sigac-navy-950);
}

.form-group-modal input,
.form-group-modal select,
.form-group-modal textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-heading);
    outline: none;
    transition: border-color 0.2s;
}

.form-group-modal input:focus,
.form-group-modal select:focus,
.form-group-modal textarea:focus {
    border-color: var(--sigac-cyan-500);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

/* ==============================================================================
   RESPONSIVE DESIGN (FASE 6)
   ============================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
        align-items: center;
    }
    .hero-subtitle {
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust-badges {
        justify-content: center;
    }
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
    }
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .profiles-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        padding: 8px 12px;
    }
    .header-island {
        padding: 8px 14px;
        gap: 8px;
    }
    .nav-brand {
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
    }
    .nav-brand img {
        height: 28px;
        width: auto;
        max-width: 140px;
        display: block !important;
    }
    .nav-menu {
        display: none !important;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .nav-actions .btn-secondary-pill {
        display: none !important;
    }
    .btn-primary-pill {
        padding: 8px 12px 8px 16px;
        font-size: 0.8rem;
        gap: 8px;
    }
    .btn-icon-bubble {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    .mobile-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    .steps-row {
        grid-template-columns: 1fr;
    }
    .security-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .cta-box {
        padding: 48px 24px;
    }
}

/* Reduced Motion Compliance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
