/* ============================================
   RED TRANSFORMACIÓN - ASYMMETRIC EDITORIAL LAYOUT
   Colores: #7d2941 (burdeos), #f6eddc (beige base), acentos #fbf8e9
   fondo claro #FCF9F2, texto contrastante #1F2A2E
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #FCF9F2;  /* fondo claro cálido */
    color: #1F2A2E;
    line-height: 1.45;
    scroll-behavior: smooth;
}

/* Tipografías personalizadas */
h1, h2, h3, h4, .hero-title, .brand-text, .nav-link, .btn, .card-category {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2C1A2A;
    border-left: 5px solid #7d2941;
    padding-left: 1rem;
    margin-bottom: 1.8rem;
}

/* BARRA DE NAVEGACIÓN SIEMPRE VISIBLE */
.asymmetric-navbar {
    background: rgba(253, 250, 242, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02), 0 2px 4px rgba(125, 41, 65, 0.05);
    padding: 0.7rem 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #ece3d8;
}
.navbar-brand .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.brand-text {
    font-weight: 700;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #7d2941 0%, #aa3f60 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.01em;
}
.nav-link {
    font-weight: 500;
    color: #2C1A2A;
    transition: 0.2s;
    font-size: 0.95rem;
}
.nav-link:hover {
    color: #7d2941;
    border-bottom: 2px solid #7d2941;
    transform: translateY(-1px);
}
.nav-icon-link {
    color: #7d2941;
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6eddc;
    transition: 0.2s;
}
.nav-icon-link:hover {
    background: #7d2941;
    color: #fbf8e9;
    transform: scale(1.05);
}

/* MAIN container width limit */
.asymmetric-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 40px;
}

/* HERO asimétrico (grid propio) */
.hero-asymmetric {
    margin-bottom: 4rem;
    position: relative;
}
.hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}
.hero-text-block {
    flex: 1.2;
    min-width: 260px;
}
.hero-image-accent {
    flex: 0.9;
}
.hero-accent-img {
    width: 100%;
    border-radius: 32px 8px 32px 8px;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 20px 20px 0 #f6eddc;
    transition: 0.25s ease;
}
.hero-badge {
    background: #7d2941;
    color: #fbf8e9;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #251b24;
}
.hero-desc {
    font-size: 1.1rem;
    color: #3b2c38;
    max-width: 90%;
}
.btn-social-fb {
    background-color: #1877f2;
    border: none;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    transition: 0.2s;
}
.btn-social-fb:hover {
    background-color: #0e5bcb;
    transform: translateY(-2px);
}
.btn-social-mail {
    background-color: #7d2941;
    border: none;
    color: #fbf8e9;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
}
.btn-social-mail:hover {
    background-color: #9e3554;
    color: white;
}

/* SECCIONES ASIMÉTRICAS */
.asymmetric-section {
    margin-top: 5rem;
    margin-bottom: 3rem;
}
.section-header {
    margin-bottom: 2.5rem;
}
.title-badge {
    background: #f6eddc;
    display: inline-block;
    padding: 0.25rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7d2941;
    letter-spacing: 0.3px;
}
.title-line {
    width: 70px;
    height: 3px;
    background: #7d2941;
    margin-top: 0.8rem;
}

/* CARDS asimétricas / layout moderno */
.card-asym {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
    height: 100%;
    border: 1px solid #f0e7dd;
}
.card-asym:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(125, 41, 65, 0.12);
}
.asym-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: 0.3s;
}
.asym-img-hor {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}
.asym-img-square {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.card-body-custom {
    padding: 1.5rem;
}
.card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7d2941;
    font-weight: 700;
    background: #fbf8e9;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

/* política cards asimétricas */
.card-policy {
    background: #fffbf5;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.2s;
    height: 100%;
    border: 1px solid #efe4d8;
}
.policy-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.policy-content {
    padding: 1.4rem;
}
.icon-policy {
    font-size: 1.8rem;
    color: #7d2941;
    margin-bottom: 0.6rem;
}

/* TERRITORIO diseño mosaico */
.bg-soft-warm {
    background-color: #FEF9F0;
    padding: 2rem 0;
    border-radius: 56px;
    margin-top: 3rem;
}
.territory-main {
    position: relative;
}
.territory-main-img {
    width: 100%;
    border-radius: 32px;
    height: 320px;
    object-fit: cover;
    box-shadow: 12px 12px 0 #f6eddc;
}
.territory-overlay {
    margin-top: 1rem;
}
.tag-region {
    background: #7d2941;
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 30px;
}
.territory-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #efe4d8;
}
.territory-sm-img, .territory-hor-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.badge-territory {
    background: #f6eddc;
    padding: 0.5rem 1.4rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 500;
}
/* AGENDA */
.agenda-feature {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #f0e4d6;
}
.agenda-main-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.agenda-main-text {
    padding: 1.2rem;
}
.agenda-item {
    background: #fefaf3;
    padding: 1rem;
    border-radius: 20px;
    align-items: center;
}
.border-accent {
    border-left-color: #7d2941 !important;
}
/* comunidad */
.bg-comunidad {
    background: #fbf8e9;
    border-radius: 48px;
    padding: 2rem 1.5rem;
}
.comunidad-main-img {
    width: 100%;
    border-radius: 32px;
    object-fit: cover;
    aspect-ratio: 1/1;
    box-shadow: -15px 15px 0 rgba(125, 41, 65, 0.1);
}
.comunidad-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.item-com {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    font-size: 0.95rem;
}
.item-com i {
    color: #7d2941;
    font-size: 1.4rem;
    width: 2rem;
}
.alert-community {
    background: #7d2941;
    color: #fbf8e9;
    padding: 1rem;
    border-radius: 40px;
    text-align: center;
}

/* contacto final */
.contacto-final-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}
.contacto-card {
    background: linear-gradient(125deg, #ffffff 0%, #faf3e8 100%);
    padding: 2rem;
    border-radius: 48px;
    box-shadow: 0 18px 30px -12px rgba(0,0,0,0.05);
    border: 1px solid #f2e4d6;
}
.btn-contact-email, .btn-facebook-final {
    background-color: #7d2941;
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 60px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-facebook-final {
    background-color: #1877f2;
}
.btn-contact-email:hover, .btn-facebook-final:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}
/* footer */
.asymmetric-footer {
    border-top: 2px solid #f6eddc;
    margin-top: 3rem;
    padding: 1.8rem 0;
    font-size: 0.85rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.footer-social-links a {
    color: #7d2941;
    text-decoration: none;
    font-weight: 500;
}
.footer-social-links a:hover {
    text-decoration: underline;
}

/* imagen moderna: bordes redondeados asimétricos, sombras */
img {
    border-radius: 20px;
    transition: 0.2s ease;
}
img:hover {
    filter: brightness(0.98) contrast(1.02);
}
/* media queries */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-image-accent {
        flex: 1;
    }
    .asymmetric-main {
        padding: 90px 20px 30px;
    }
    h2 {
        font-size: 1.7rem;
    }
    .card-asym.horizontal-feature .asym-img-hor {
        height: 160px;
        border-radius: 20px 20px 0 0;
    }
    .territory-main-img {
        height: 220px;
    }
    .contacto-card {
        padding: 1.5rem;
    }
    .item-com {
        flex-wrap: wrap;
    }
}

img[src*="static/"] {
    background-color: #f0e7dd;
}