/* static/style.css - Política en Evidencia */
:root {
    --black-brand: #000000;
    --gray-dark: #3e3e3e;
    --cyan-accent: #0ddefa;
    --bg-light: #f5f7fc;
    --text-main: #1e1e2a;
    --card-bg: #ffffff;
    --timeline-line: #d4d9e2;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Merriweather', Georgia, serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* Tipografía personalizada */
h1, h2, h3, h4, .navbar-brand, .btn, .nav-link, .hero-title, .section-title, .editorial-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.accent-text {
    color: var(--cyan-accent);
}

/* Navbar Sticky */
.navbar {
    background-color: rgba(150, 150, 150, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(13, 222, 250, 0.3);
}
.navbar .logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}
.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}
.nav-link {
    color: #e0e0e0 !important;
    font-weight: 500;
    margin: 0 0.25rem;
    transition: 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--cyan-accent) !important;
    border-bottom: 2px solid var(--cyan-accent);
}
.btn-social {
    background: rgba(255,255,255,0.1);
    color: white;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}
.btn-social:hover {
    background: var(--cyan-accent);
    color: black;
}

/* Hero */
.hero-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(145deg, #ffffff 0%, #f0f2f8 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--black-brand);
}
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gray-dark);
    margin-top: 0.5rem;
}
.hero-line {
    width: 80px;
    height: 3px;
    background: var(--cyan-accent);
    margin: 1.5rem auto;
}
.hero-description {
    font-size: 1.05rem;
    max-width: 850px;
    margin: 0 auto;
    color: #2c2c2c;
}
.btn-outline-accent {
    border: 2px solid var(--cyan-accent);
    background: transparent;
    color: var(--black-brand);
    border-radius: 40px;
    padding: 0.5rem 1.8rem;
    font-weight: 600;
}
.btn-outline-accent:hover {
    background: var(--cyan-accent);
    color: black;
    border-color: var(--cyan-accent);
}
.btn-accent {
    background: var(--cyan-accent);
    border: none;
    color: #000;
    font-weight: 600;
    border-radius: 40px;
    padding: 0.5rem 1.8rem;
}
.btn-accent:hover {
    background: #0ac3df;
    color: black;
}

/* Timeline-centric design */
.timeline-container {
    position: relative;
    padding: 3rem 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 90%;
    background: var(--timeline-line);
    top: 5%;
    transform: translateX(-50%);
    z-index: 1;
}
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    z-index: 2;
}
.timeline-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan-accent);
    color: #000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 3;
    box-shadow: 0 0 0 5px rgba(13, 222, 250, 0.3);
}
.timeline-card {
    width: 85%;
    margin-left: auto;
    border: none;
    border-radius: 28px;
    background: var(--card-bg);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s;
    overflow: hidden;
}
.timeline-item.right .timeline-card {
    margin-left: 0;
    margin-right: auto;
}
.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 40px -16px rgba(0,0,0,0.2);
}
.timeline-img {
    object-fit: cover;
    height: 100%;
    min-height: 260px;
    width: 100%;
    filter: brightness(0.98) contrast(1.02);
    transition: all 0.4s;
}
.timeline-card:hover .timeline-img {
    filter: brightness(1.01) contrast(1.04);
    transform: scale(1.02);
}
.card-body {
    padding: 1.8rem;
}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black-brand);
    border-left: 5px solid var(--cyan-accent);
    padding-left: 1rem;
}
.content-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.content-bullets span {
    font-size: 0.85rem;
    background: #f0f2f5;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    color: #2c2c2c;
    font-family: var(--font-heading);
}
.content-bullets span i {
    color: var(--cyan-accent);
    margin-right: 6px;
    font-size: 0.8rem;
}
@media (max-width: 992px) {
    .timeline-container::before {
        left: 20px;
    }
    .timeline-badge {
        left: 20px;
        transform: translateX(0);
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .timeline-card {
        width: 90%;
        margin-left: 55px !important;
        margin-right: 0 !important;
    }
    .timeline-item.right .timeline-card {
        margin-left: 55px !important;
    }
    .timeline-img {
        min-height: 200px;
    }
}

/* Editorial section */
.editorial-section {
    background: #ffffff;
    padding: 4rem 0;
    margin: 2rem 0;
    border-top: 1px solid #eaeef5;
    border-bottom: 1px solid #eaeef5;
}
.editorial-card {
    background: #fafcff;
    border-radius: 36px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(13,222,250,0.2);
}
.editorial-icon {
    font-size: 3rem;
    color: var(--cyan-accent);
    margin-bottom: 1rem;
}
.editorial-card h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.editorial-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #2d2f36;
}

/* Final CTA */
.final-cta {
    background: rgba(150, 150, 150, 0.92);
    color: #f0f0f0;
    padding: 4rem 1rem;
}
.final-cta h4 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}
.final-cta p {
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1rem;
}
.cta-icons-large {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.btn-cta-facebook, .btn-cta-email {
    background: transparent;
    border: 1px solid var(--cyan-accent);
    color: var(--cyan-accent);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-cta-facebook:hover, .btn-cta-email:hover {
    background: var(--cyan-accent);
    color: #000;
    border-color: var(--cyan-accent);
}
.footer-credits {
    font-size: 0.85rem;
    color: #494949;
}

/* Imágenes estilo moderno */
.timeline-img {
    border-radius: 24px 0 0 24px;
}
@media (max-width: 768px) {
    .timeline-img {
        border-radius: 24px 24px 0 0;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .brand-name {
        font-size: 1.2rem;
    }
}