/* ============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================ */
:root {
    --iq-green: #25D366;
    --iq-teal: #128C7E;
    --iq-dark: #1b517b;
    --iq-dark-blue: #1b517b;
    --iq-darker: #0f172a;
    --iq-footer-bg: #020617;
    --iq-card-bg: rgba(255,255,255,0.07);
    --iq-border: rgba(255,255,255,0.12);
    --iq-text-muted: #8a8aa3;
    --iq-gradient: linear-gradient(135deg, #25D366, #128C7E);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--iq-dark);
    color: #f0f0f5;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--iq-green); text-decoration: none; }
a:hover { opacity: 0.8; color: var(--iq-green); }

/* ============================================
   NAVBAR (Consistente con index.php)
   ============================================ */
.navbar-iq {
    background-color: rgba(27, 81, 123, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-iq .navbar-brand img {
    height: 80px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.navbar-iq .navbar-brand:hover img { transform: scale(1.05); }

.navbar-iq .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-iq .nav-link:hover { color: var(--iq-green) !important; }

/* ============================================
   HERO DE PÁGINA
   ============================================ */
.page-hero {
    padding: 8rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(27,81,123,0.95) 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

.page-hero .badge-pill {
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.25);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.75rem;
    color: var(--iq-green);
    font-weight: 500;
}

/* ============================================
   CONTENIDO DE POLÍTICA Y TABLAS
   ============================================ */
.policy-container { max-width: 820px; }

.policy-section { margin-bottom: 2.5rem; }

.policy-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--iq-border);
    margin-bottom: 1rem;
}

.policy-section .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(37,211,102,0.15);
    color: var(--iq-green);
    font-size: 0.72rem; font-weight: 700;
    margin-right: 0.5rem;
}

.policy-section p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.policy-section strong { color: #f0f0f5; }

.policy-highlight {
    background: var(--iq-card-bg);
    border: 1px solid var(--iq-border);
    border-left: 3px solid var(--iq-green);
    border-radius: 0 12px 12px 0;
    padding: 1.2rem 1.5rem;
    margin: 1rem 0;
}

.policy-highlight p { margin-bottom: 0; font-size: 0.85rem; }

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--iq-border);
    margin: 1rem 0;
}

.data-table th {
    background: rgba(255,255,255,0.08);
    padding: 0.7rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--iq-green);
}

.data-table td {
    background: var(--iq-card-bg);
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    border-top: 1px solid var(--iq-border);
}

.list-dot .item {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.35rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.7);
}

.list-dot .item::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--iq-teal); flex-shrink: 0; margin-top: 0.55rem;
}

.arco-card {
    background: var(--iq-card-bg); border: 1px solid var(--iq-border);
    border-radius: 12px; padding: 1.2rem; transition: border-color 0.3s;
}

.arco-card:hover { border-color: rgba(37,211,102,0.3); }

.arco-card .letter {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(37,211,102,0.15); color: var(--iq-green);
    font-size: 0.95rem; font-weight: 800; margin-bottom: 0.5rem;
}

.arco-card h4 { font-size: 0.88rem; font-weight: 600; }
.arco-card p { font-size: 0.76rem; color: rgba(255,255,255,0.55); margin-bottom: 0; line-height: 1.6; }

/* ============================================
   FOOTER
   ============================================ */
.footer-iq {
    background-color: #020617; border-top: 1px solid #1e293b;
    padding: 60px 0 20px; color: #cbd5e1;
}

.footer-iq h5 { color: #ffffff; font-weight: bold; margin-bottom: 20px; font-size: 0.9rem; }
.footer-iq ul { list-style: none; padding: 0; }
.footer-iq ul li { margin-bottom: 0.5rem; }
.footer-iq ul li a { font-size: 0.88rem; color: #cbd5e1; transition: all 0.3s ease; }
.footer-iq ul li a:hover { color: var(--iq-green); padding-left: 5px; }
.footer-iq .social-icons a { color: #cbd5e1; transition: all 0.3s ease; }
.footer-iq .social-icons a:hover { color: var(--iq-green); transform: translateY(-3px); padding-left: 0; }
.footer-powered img { max-width: 140px; height: auto; opacity: 0.9; transition: opacity 0.3s; }
.footer-powered:hover img { opacity: 1; }