/* style.css - Esperanza por México */
:root {
    --primary: #8a1e1e;
    --secondary: #991b1b;
    --tertiary: #d97706;
    --accent: #e90ee9;
    --bg: #ffffff;
    --text: #111827;
    --gray-light: #f3f4f6;
    --gray-border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.5;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    border-bottom: 1px solid var(--gray-border);
}

.brand-text {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.logo-img {
    object-fit: contain;
    max-height: 80px;
    max-width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
}

.btn-outline-fb {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all 0.2s;
}

.btn-outline-fb:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.main-content {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-section {
    padding-top: 2rem !important;
}

.badge-accent {
    background-color: rgba(14, 165, 233, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    display: inline-block;
    letter-spacing: 0.3px;
}

.shadow-modern {
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shadow-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px -14px rgba(0, 0, 0, 0.12);
}

.btn-facebook {
    background-color: var(--primary);
    color: white;
    border: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-facebook:hover {
    background-color: #0f2a5c;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-email {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
    transition: all 0.2s;
}

.btn-outline-email:hover {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.section-block {
    border-bottom: 1px solid var(--gray-border);
}

.section-block:last-of-type {
    border-bottom: none;
}

.bg-soft-neutral {
    background-color: #fafafc;
}

.section-title-left {
    border-left: 5px solid var(--tertiary);
    padding-left: 1rem;
}

.section-title-left h2,
.section-title-left .display-6 {
    margin-bottom: 0.25rem;
}

.card-news {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--gray-border);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.card-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.1);
}

.card-news .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.horizontal-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: all 0.2s;
    padding: 0.75rem;
}

.horizontal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px -10px rgba(0,0,0,0.08);
}

.horizontal-img {
    width: 130px;
    height: 110px;
    object-fit: cover;
    border-radius: 0.75rem;
}

@media (max-width: 768px) {
    .horizontal-img {
        width: 100%;
        height: 160px;
        margin-bottom: 0.75rem;
    }
    .horizontal-card {
        flex-direction: column !important;
    }
}

.card-analysis {
    background: white;
    border-radius: 1.2rem;
    border: 1px solid var(--gray-border);
    transition: all 0.2s;
    height: 100%;
}

.card-analysis:hover {
    border-left: 4px solid var(--accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.card-future {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-border);
    transition: all 0.2s;
}

.card-future .card-img-top {
    height: 160px;
    object-fit: cover;
}

.quote-block {
    font-size: 1.2rem;
    font-style: italic;
    padding: 1.5rem 2rem;
    background: rgba(14, 165, 233, 0.04);
    border-left: 4px solid var(--tertiary);
    border-radius: 0 1rem 1rem 0;
    font-family: 'Merriweather', serif;
    color: #2c3e5c;
}

.why-section {
    background: linear-gradient(120deg, #ffffff 0%, #fef9e8 100%);
    border-radius: 2rem;
    margin: 1rem 0;
    padding: 2rem 1.5rem;
}

.footer {
    background-color: #f9fafb;
    border-top: 1px solid var(--gray-border);
    border-radius: 2rem 2rem 0 0;
}

.social-icon {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.08);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.btn-outline-secondary {
    border-color: var(--gray-border);
    color: var(--text);
}

.btn-outline-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.rounded-pill {
    border-radius: 50px !important;
}

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

.hero-img-wrapper img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
}

@media (max-width: 768px) {
    body {
        padding-top: 68px;
    }
    .display-5 {
        font-size: 2rem;
    }
    .display-6 {
        font-size: 1.6rem;
    }
    .btn-facebook, .btn-outline-email {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
    }
}

.border-tertiary {
    border-left-color: var(--tertiary) !important;
}

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

.btn-facebook i, .btn-outline-email i {
    font-size: 1rem;
}

.navbar-brand .brand-text {
    font-size: 1.2rem;
}

@media (min-width: 992px) {
    .navbar-nav .nav-link {
        font-size: 0.95rem;
    }
}

hr {
    opacity: 0.5;
    background-color: var(--gray-border);
}

.card-body {
    padding: 1.2rem;
}

.rounded-4 {
    border-radius: 1.2rem;
}

.bg-white {
    background: white;
}

.shadow-sm-custom {
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

footer p.small {
    font-size: 0.8rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.active.nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
}