@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* =============================================
   HERO - fondo blanco, igual a comunicaciones
   ============================================= */

.marzo-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
}

/* Elementos geométricos decorativos - idénticos a comunicaciones, muy sutiles */
.geometric-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(159, 121, 8, 0.18);
    bottom: 60px;
    left: 60px;
}

.geo-diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(235, 190, 50, 0.25);
    transform: rotate(45deg);
    right: 120px;
    top: 80px;
}

.geo-triangle {
    position: absolute;
    width: 0; height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 38px solid rgba(235,190,50,0.2);
    right: 80px;
    bottom: 100px;
}

.geo-line-h {
    position: absolute;
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #d2a009, rgba(210,160,9,0));
    border-radius: 4px;
    bottom: 120px;
    left: 0;
}

.geo-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(235,190,50,0.3);
}
.geo-dot-1 { width: 10px; height: 10px; top: 80px;  right: 200px; }
.geo-dot-2 { width:  6px; height:  6px; top: 200px; right: 160px; }
.geo-dot-3 { width:  8px; height:  8px; bottom: 60px; left: 220px; }

/* Contenedor principal */
.marzo-hero .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Lado izquierdo - texto */
.marzo-hero .hero-content {
    flex: 1;
    min-width: 0;
}

/* Badge "Comunicación Oficial" - exacto al screenshot */
.animated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 158, 91, 0.1);
    border-radius: 50px;
    padding: 6px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #0f9e5b;
    font-weight: 600;
    margin-bottom: 24px;
}
.animated-badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #0f9e5b;
    flex-shrink: 0;
}

/* Título - dorado + negro, exacto al screenshot */
.hero-title {
    font-family: "Titillium Web", sans-serif;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero-title .text-accent {
    display: block;
    font-size: 2.5em;
    color: #d2a009;
}

.hero-title .text-main {
    display: block;
    font-size: 2.7em;
    color: #1a1a1a;
}

/* Línea decorativa dorada bajo el título */
.title-decoration {
    width: 55px;
    height: 4px;
    background: #d2a009;
    border-radius: 4px;
    margin-bottom: 24px;
}

/* Descripción */
.hero-description {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 36px;
}
.hero-description strong { color: #d2a009; font-weight: 700; }

/* Botón CTA verde - igual al "Explorar novedades" del screenshot */
.hero-cta-container { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f9e5b;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(15,158,91,0.35);
    transition: all 0.3s ease;
}
.hero-cta-primary:hover {
    background: #0a7a45;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15,158,91,0.45);
}
.hero-cta-primary i { font-size: 14px; }

/* -----------------------------------------------
   Lado derecho - foto con tarjetas flotantes
   igual estructura que comunicaciones
   ----------------------------------------------- */
.marzo-hero .hero-image-container {
    flex-shrink: 0;
    width: 580px;
    position: relative;
}

/* Imagen principal */
.main-illustration {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}
.main-illustration img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 480px;
    min-height: 380px;
}

/* Tarjetas flotantes sobre la foto */
.notification-card {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 2;
    min-width: 200px;
    max-width: 240px;
}

.notification-card.notification-1 {
    top: -20px;
    left: -50px;
}
.notification-card.notification-2 {
    bottom: -20px;
    right: -30px;
}

.notification-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.notification-card.notification-1 .notification-icon {
    background: rgba(235,190,50,0.15);
    color: #d2a009;
}
.notification-card.notification-2 .notification-icon {
    background: rgba(235,190,50,0.15);
    color: #d2a009;
}

.notification-content h4 {
    font-family: "Poppins", sans-serif;
    font-size: 13px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 4px;
}
.notification-content p {
    font-family: "Poppins", sans-serif;
    font-size: 12px; color: #888; margin: 0;
    line-height: 1.4;
}

/* Animaciones fadeIn */
.fadeIn {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fadeIn.animated { opacity: 1; transform: translateY(0); }
.fadeIn.delay-1 { transition-delay: 0.15s; }
.fadeIn.delay-2 { transition-delay: 0.30s; }
.fadeIn.delay-3 { transition-delay: 0.45s; }
.fadeIn.delay-4 { transition-delay: 0.60s; }

/* =============================================
   SECCIÓN DE PUBLICACIONES
   ============================================= */
.pub-card-aviso {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 211, 102, 0.1);
    color: #1a9e4a;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.pub-card-aviso i {
    font-size: 14px;
    color: #25d366;
}
.publicaciones-section {
    padding: 70px 40px;
    background: #f5f7fa;
}

.publicaciones-section .section-title {
    font-family: "Titillium Web", sans-serif;
    font-size: 2.5em; font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}
.publicaciones-section .section-title span { color: #0f9e5b; }

.publicaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card */
.pub-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    display: flex; flex-direction: column;
}
.pub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15,158,91,0.15);
}

.pub-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #fff;
    padding: 26px;
    box-sizing: border-box;
    border-bottom: 1px solid #eef1f4;
}
.pub-card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}
.pub-card:hover .pub-card-img-wrap img { transform: scale(1.04); }

/* Modificador para logos que quedan pequeños con el padding estándar */
.pub-card-img-wrap.logo-grande {
    padding: 10px;
}

/* Badge sobre la imagen */
.pub-card-tag {
    position: absolute;
    top: 14px; left: 14px;
    font-family: "Poppins", sans-serif;
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pub-card-tag.tag-nuevo       { background: #0f9e5b; color: #fff; }
.pub-card-tag.tag-destacado   { background: #d2a009; color: #fff; }
.pub-card-tag.tag-informacion { background: #ebbe32; color: #333; }
.pub-card-tag.tag-actividad   { background: #089f21; color: #fff; }

/* Overlay hover */
.pub-card-overlay {
    position: absolute; inset: 0;
    background: rgba(128, 128, 128, 0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.pub-card:hover .pub-card-overlay { opacity: 1; }

.btn-ver-img {
    background: #fff; color: #0f9e5b;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px; font-weight: 700;
    padding: 10px 24px; border-radius: 50px;
    cursor: pointer; transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-ver-img:hover { background: #0f9e5b; color: #fff; }

/* Cuerpo */
.pub-card-body {
    padding: 18px; flex: 1;
    display: flex; flex-direction: column;
    align-items: center;
    text-align: center;
}

.pub-card-tag-inline {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 11px; font-weight: 700;
    padding: 3px 12px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.pub-card-tag-inline.tag-nuevo       { background: rgba(15,158,91,0.1);  color: #0f9e5b; }
.pub-card-tag-inline.tag-destacado   { background: rgba(210,160,9,0.1);  color: #9f7908; }
.pub-card-tag-inline.tag-informacion { background: rgba(235,190,50,0.18);color: #9f7908; }
.pub-card-tag-inline.tag-actividad   { background: rgba(8,159,33,0.1);   color: #089f21; }

.pub-card-title {
    font-family: "Titillium Web", sans-serif;
    font-size: 16px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 14px; line-height: 1.35;
}

.pub-card-desc {
    font-family: "Poppins", sans-serif;
    font-size: 13px; color: #666;
    line-height: 1.65; margin: 0 0 18px; flex: 1;
}

.pub-card-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 13px; font-weight: 700;
    color: #0f9e5b; text-decoration: none;
    border: 2px solid #0f9e5b; border-radius: 50px;
    padding: 8px 20px; transition: all 0.3s ease;
    width: fit-content; cursor: pointer; background: transparent;
}
.pub-card-btn:hover { background: #0f9e5b; color: #fff; }
.pub-card-btn i { font-size: 12px; }

/* =============================================
   SECCIÓN INFERIOR - fechas (fondo blanco)
   ============================================= */

.marzo-info-section {
    background: #fff;
    padding: 70px 40px;
}

.marzo-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.marzo-info-content { flex: 1; }

.marzo-info-title {
    font-family: "Titillium Web", sans-serif;
    font-size: 2em; font-weight: 700;
    color: #1a1a1a; margin-bottom: 16px;
}

.marzo-info-text {
    font-family: "Poppins", sans-serif;
    font-size: 15px; color: #555;
    line-height: 1.75; margin-bottom: 30px;
}

.marzo-fechas { display: flex; flex-direction: column; gap: 16px; }

.marzo-fecha-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 18px 20px; border-radius: 14px;
    background: #f5f7fa;
    border-left: 4px solid #ebbe32;
    transition: transform 0.2s ease;
}
.marzo-fecha-item:hover { transform: translateX(4px); }
.marzo-fecha-item.verde { border-left-color: #0f9e5b; }

.fecha-icon-wrap {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.fecha-icon-wrap.dorado { background: rgba(235,190,50,0.15); color: #d2a009; }
.fecha-icon-wrap.verde  { background: rgba(15,158,91,0.12);  color: #0f9e5b; }

.fecha-text h4 {
    font-family: "Poppins", sans-serif;
    font-size: 14px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 4px;
}
.fecha-text p {
    font-family: "Poppins", sans-serif;
    font-size: 13px; color: #777; margin: 0;
}

.marzo-info-image {
    flex-shrink: 0; width: 380px; position: relative;
}
.marzo-info-image img {
    width: 100%; border-radius: 20px;
    box-shadow: 0 15px 45px rgba(15,158,91,0.12);
    display: block;
}
.image-decoration {
    position: absolute;
    width: 100%; height: 100%;
    border: 3px solid rgba(235,190,50,0.3);
    border-radius: 20px;
    top: 14px; left: 14px;
    z-index: -1;
}


/* =============================================
   MODAL
   ============================================= */

.modal-overlay-marzo {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 9000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay-marzo.show { display: flex; }

.modal-container-marzo {
    position: relative;
    max-width: 90vw; max-height: 90vh;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: popIn 0.3s ease;
}
@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.modal-container-marzo img {
    display: block;
    max-width: 90vw; max-height: 85vh;
    object-fit: contain; background: #fff;
}
.modal-close-marzo {
    position: absolute; top: 12px; right: 12px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff;
    border: none; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 10;
}
.modal-close-marzo:hover { background: #0f9e5b; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1050px) {
    .marzo-hero .hero-container {
        flex-direction: column;
        padding: 60px 25px;
        gap: 50px;
    }
    .marzo-hero .hero-image-container {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }
    .hero-title .text-accent { font-size: 2.8em; }
    .hero-title .text-main   { font-size: 2.3em; }

    .marzo-info-container { flex-direction: column; gap: 40px; }
    .marzo-info-image { width: 100%; }
}

@media (max-width: 768px) {
    .publicaciones-section { padding: 50px 20px; }
    .marzo-info-section    { padding: 50px 20px; }
    .notification-card.notification-1 { left: -10px; top: -14px; }
    .notification-card.notification-2 { right: -10px; bottom: -14px; }
}

@media (max-width: 600px) {
    .hero-title .text-accent { font-size: 2em; }
    .hero-title .text-main   { font-size: 1.8em; }
    .publicaciones-grid { grid-template-columns: 1fr; }
    .publicaciones-section .section-title { font-size: 1.9em; }
    .notification-card { min-width: 160px; max-width: 190px; padding: 10px 14px; }
    .notification-content h4 { font-size: 12px; }
    .notification-content p  { font-size: 11px; }
    .marzo-hero .hero-container { padding: 50px 20px; }
}

/* =============================================
   TAGS DE CIUDAD
   ============================================= */

.pub-card-tag.tag-bogota   { background: #ebbe32; color: #333; }
.pub-card-tag.tag-nacional { background: #0f9e5b; color: #fff; }
.pub-card-tag.tag-medellin { background: #e05c1a; color: #fff; }

/* =============================================
   FILTROS POR CIUDAD
   ============================================= */

.filtros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filtro-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 50px;
    border: 2px solid #d1d5db;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.25s ease;
}
.filtro-btn:hover {
    border-color: #0f9e5b;
    color: #0f9e5b;
}
.filtro-btn.activo {
    background: #0f9e5b;
    border-color: #0f9e5b;
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,158,91,0.3);
}
.filtro-btn i { font-size: 12px; }

@media (max-width: 600px) {
    .filtro-btn { font-size: 12px; padding: 8px 14px; }
    .filtros-container { gap: 8px; }
}

/* =============================================
   TARJETA PDF (sin imagen)
   ============================================= */

.pub-card-pdf-wrap {
    background: #f9f9f9;
}

.pdf-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #c0392b;
}
.pdf-placeholder i  { font-size: 52px; }
.pdf-placeholder span {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}