/* ========================================
   PREVENCIÓN SERVICIOS PÚBLICOS COLOMBIA
   Estilos Principales - 2026
   ======================================== */

/* Variables de Color */
:root {
    --white: #ffffff;
    --primary-blue: #0A2463;
    --accent-yellow: #FFD700;
    --text-dark: #333333;
    --text-light: #666666;
    --border-light: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========================================
   BANNER DISCLAIMER (Superior)
   ======================================== */
.disclaimer-banner {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
}

.disclaimer-banner span {
    font-weight: 700;
}

/* ========================================
   HEADER Y NAVEGACIÓN
   ======================================== */
header {
    background-color: var(--primary-blue);
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.logo-subtitle {
    color: var(--accent-yellow);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

/* ========================================
   HERO SECTION CON BANNERS
   ======================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a7a 100%);
    padding: 60px 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

/* Banner Controls */
.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-dot.active {
    background-color: var(--accent-yellow);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
    z-index: 10;
}

.banner-nav:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

/* ========================================
   SERVICIOS PRINCIPALES
   ======================================== */
.services {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.service-link:hover {
    transform: scale(1.05);
}

/* ========================================
   SECCIÓN DE PREVENCIÓN
   ======================================== */
.prevention {
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.prevention-content {
    max-width: 1200px;
    margin: 0 auto;
}

.prevention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.prevention-card {
    background: var(--white);
    border-left: 4px solid var(--accent-yellow);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.prevention-card h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prevention-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--accent-yellow);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

.footer-bottom span {
    color: var(--accent-yellow);
}

/* ========================================
   BANNER DE COOKIES
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 25px 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    font-size: 14px;
    margin-bottom: 10px;
}

.cookie-links {
    display: flex;
    gap: 20px;
}

.cookie-links a {
    color: var(--accent-yellow);
    text-decoration: underline;
    font-size: 13px;
}

.cookie-links a:hover {
    color: var(--white);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

.cookie-accept {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
}

.cookie-decline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cookie-decline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
