/* ============================================================
   FRONT.CSS - Aldo Concordia
   Estilos completos para landing page
   Versión: 1.3.0
   ============================================================ */

/* ---------- RESET Y BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #1e293b;
    --primary-dark: #0f172a;
    --primary-light: #e2e8f0;
    --accent: #da005b;
    --accent-light: rgba(218, 0, 91, .15);
    --accent-medium: rgba(218, 0, 91, .3);
    --text: #0f172a;
    --text-secondary: #64748b;
}

/* ---------- PAGINA ---------- */
.landing-page {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: #0f172a;
    position: relative;
    overflow-x: hidden;
}
.landing-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(180deg, #0f172a 0%, #1a2a4a 30%, #1e293b 60%, #0f172a 100%);
}
.landing-page::after {
    content: '';
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 0, 91, .06) 0%, transparent 70%);
    z-index: 0;
    animation: floatGlow 20s ease-in-out infinite alternate;
}
.glass-bg {
    position: fixed;
    top: -300px;
    left: -300px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .06) 0%, transparent 70%);
    z-index: 0;
    animation: floatGlow2 25s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, 80px) scale(1.2); }
    100% { transform: translate(50px, -60px) scale(.9); }
}
@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.1); }
    100% { transform: translate(-40px, 40px) scale(.8); }
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---------- HEADER ---------- */
.landing-header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(218, 0, 91, .15);
}
.landing-header .container {
    max-width: 100%;
    padding: 0 24px;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
}
.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    display: block;
}
.google-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid rgba(218, 0, 91, .25);
}
.google-btn-header:hover {
    background: rgba(218, 0, 91, .25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(218, 0, 91, .3);
    border-color: rgba(218, 0, 91, .4);
}
.google-btn-header i {
    font-size: 18px;
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    background: url('../img/portada.png') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, .7) 0%, rgba(15, 23, 42, .15) 50%, rgba(15, 23, 42, .5) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    padding: 60px 48px;
    background: rgba(218, 0, 91, .08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-top: 1px solid rgba(218, 0, 91, .15);
    border-bottom: 1px solid rgba(218, 0, 91, .15);
    box-shadow: 0 8px 48px rgba(0, 0, 0, .2);
    transition: all .3s ease;
}
.hero-content:hover {
    background: rgba(218, 0, 91, .12);
    border-color: rgba(218, 0, 91, .25);
    box-shadow: 0 12px 64px rgba(218, 0, 91, .08);
}
.hero-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .3));
}

/* ---------- SECCIONES GENERALES ---------- */
.reuniones {
    padding: 80px 0;
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(218, 0, 91, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ff6b9d;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
    border: 1px solid rgba(218, 0, 91, .1);
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.7;
}

/* ---------- EJES DE GESTIÓN ---------- */
.ejes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.eje-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}
.eje-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(218, 0, 91, 0.2);
    box-shadow: 0 12px 40px rgba(218, 0, 91, 0.06);
}
.eje-card:hover i {
    color: #ff6b9d !important;
}
.eje-icono {
    font-size: 32px;
    color: #da005b;
    display: block;
    margin-bottom: 12px;
}
.eje-titulo {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.eje-subtemas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.eje-subtema {
    background: rgba(218, 0, 91, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid rgba(218, 0, 91, 0.06);
}
.eje-ver-mas {
    margin-top: 12px;
    font-size: 13px;
    color: #da005b;
    font-weight: 600;
}
.eje-ver-mas i {
    font-size: 11px;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 60px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(218, 0, 91, 0.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-content-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.cta-content-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.cta-content-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.7;
}
.google-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #da005b, #b3004d);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 24px rgba(218, 0, 91, .3);
}
.google-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(218, 0, 91, .4);
    background: linear-gradient(135deg, #e60060, #cc0055);
}

/* ---------- MODAL ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 20px;
    padding: 32px;
    max-width: 550px;
    width: 90%;
    border: 1px solid rgba(218, 0, 91, 0.15);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
}
.modal-close:hover {
    color: #fff;
}

/* ---------- REUNIONES ---------- */
.reuniones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.reunion-card {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .3s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, .1);
}
.reunion-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(218, 0, 91, .15);
    box-shadow: 0 12px 48px rgba(218, 0, 91, .06);
}
.reunion-date {
    font-size: 13px;
    font-weight: 600;
    color: #ff6b9d;
    margin-bottom: 8px;
}
.reunion-date i {
    margin-right: 6px;
}
.reunion-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.reunion-lugar {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 12px;
}
.reunion-lugar i {
    margin-right: 6px;
}
.reunion-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.6;
    margin-bottom: 12px;
}
.reunion-asistentes {
    font-size: 13px;
    font-weight: 600;
    color: #ff6b9d;
    background: rgba(218, 0, 91, .1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(218, 0, 91, .08);
}
.reunion-asistentes i {
    margin-right: 6px;
}

/* ---------- PUBLICACIONES ---------- */
.publicaciones {
    padding: 80px 0;
}
.publicaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.publicacion-card {
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: all .3s ease;
}
.publicacion-card:hover {
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 8px 32px rgba(218, 0, 91, .04);
    border-color: rgba(218, 0, 91, .08);
}
.publicacion-diario {
    font-size: 13px;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 4px;
}
.publicacion-diario i {
    margin-right: 6px;
}
.publicacion-fecha {
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 6px;
}
.publicacion-card .publicacion-imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, .06);
}
.publicacion-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}
.publicacion-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6b9d;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s ease;
}
.publicacion-link:hover {
    gap: 12px;
    color: #ff8cb0;
}

/* ---------- NOTICIA DESTACADA ---------- */
.noticia-destacada {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .06);
    margin-bottom: 40px;
    transition: all .3s ease;
}
.noticia-destacada:hover {
    border-color: rgba(218, 0, 91, .12);
    background: rgba(255, 255, 255, .06);
}
.noticia-destacada .noticia-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(218, 0, 91, .12);
    color: #ff6b9d;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
    border: 1px solid rgba(218, 0, 91, .08);
}
.noticia-destacada h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.noticia-destacada .noticia-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 16px;
}
.noticia-destacada .noticia-meta i {
    margin-right: 6px;
}
.noticia-destacada .noticia-cuerpo {
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 16px;
}
.noticia-destacada .noticia-cuerpo p {
    margin-bottom: 12px;
}
.noticia-destacada .noticia-frase {
    background: rgba(218, 0, 91, .06);
    border-left: 3px solid #da005b;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 16px 0;
    font-style: italic;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.6;
}
.noticia-destacada .noticia-frase-autor {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    margin-top: 4px;
    font-style: normal;
}
.noticia-destacada .noticia-invitacion {
    background: rgba(218, 0, 91, .06);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 16px;
    border: 1px solid rgba(218, 0, 91, .08);
}
.noticia-destacada .noticia-invitacion p {
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}
.noticia-destacada .noticia-invitacion .invitacion-autor {
    font-size: 14px;
    color: rgba(255, 255, 255, .4);
    margin-top: 6px;
    font-style: normal;
    text-align: right;
}

/* ---------- FOOTER ---------- */
.landing-footer {
    padding: 40px 0 20px;
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .04);
}
.landing-footer .container {
    max-width: 100%;
    padding: 0 24px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.footer-brand .brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.footer-brand .brand span {
    color: #ff6b9d;
}
.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, .3);
    margin-top: 4px;
}
.footer-links {
    display: flex;
    gap: 16px;
}
.footer-links a {
    color: rgba(255, 255, 255, .25);
    font-size: 20px;
    transition: all .3s ease;
}
.footer-links a:hover {
    color: #ff6b9d;
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, .15);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        background-attachment: scroll;
    }
    .hero-content {
        min-height: 70vh;
        padding: 40px 24px;
    }
    .hero-card img {
        max-width: 280px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .reuniones-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .publicaciones-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    .google-btn-header span {
        display: none;
    }
    .google-btn-header {
        padding: 10px 14px;
    }
    .cta-content-box {
        padding: 32px 24px;
    }
    .cta-content-box h2 {
        font-size: 28px;
    }
    .noticia-destacada {
        padding: 20px;
    }
    .noticia-destacada h2 {
        font-size: 20px;
    }
    .noticia-destacada .noticia-cuerpo {
        font-size: 15px;
    }
    .noticia-destacada .noticia-frase {
        font-size: 15px;
        padding: 12px 16px;
    }
    .publicacion-card .publicacion-imagen {
        height: 140px;
    }
    .ejes-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .modal-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 32px;
    }
    .hero-content {
        min-height: 60vh;
        padding: 30px 16px;
    }
    .hero-card img {
        max-width: 200px;
    }
    .reunion-card {
        padding: 16px;
    }
    .google-btn-cta {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    .noticia-destacada {
        padding: 16px;
    }
    .noticia-destacada h2 {
        font-size: 18px;
    }
    .noticia-destacada .noticia-cuerpo {
        font-size: 14px;
    }
    .noticia-destacada .noticia-frase {
        font-size: 14px;
        padding: 10px 14px;
    }
    .noticia-destacada .noticia-invitacion {
        padding: 14px 16px;
    }
    .noticia-destacada .noticia-invitacion p {
        font-size: 14px;
    }
    .publicacion-card .publicacion-imagen {
        height: 120px;
    }
    .cta-content-box {
        padding: 24px 16px;
    }
    .cta-content-box h2 {
        font-size: 24px;
    }
    .cta-content-box p {
        font-size: 15px;
    }
    .modal-content {
        padding: 16px;
    }
}