/* ============================================
   LA PRUEBA EN LA MESA - ESTILOS GLASSMORPHISM
   Paleta cálida: Vino, Dorado, Crema
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --vin-oscuro: #010914;
    --vin-medio: #263147;
    --vin-claro: #2b3f51;
    --dorado: #d97e4b;
    --dorado-hover: #ed8b43;
    --dorado-claro: rgba(201, 169, 110, 0.12);
    --crema: #FAF6F0;
    --crema-oscura: #F0EAE0;
    --texto: #3D2B1F;
    --texto-claro: #7A6658;
    --blanco: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-solid: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 8px 32px rgba(45, 15, 27, 0.12);
    --glass-blur: blur(16px);
    --fuente-titulo: 'Cormorant Garamond', Georgia, serif;
    --fuente-cuerpo: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radio: 18px;
    --radio-sm: 12px;
    --transicion: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--fuente-cuerpo);
    color: var(--texto);
    background: linear-gradient(145deg, #FAF6F0 0%, #F3EDE4 50%, #EDE5DA 100%);
    min-height: 100vh;
    line-height: 1.75;
    overflow-x: hidden;
}

.contenedor-principal {
    width: 85%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) { .contenedor-principal { width: 92%; } }

/* ============================================
   NAVEGACION FIJA GLASSMORPHISM
   ============================================ */

.navbar-glass {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #010914;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(201, 169, 110, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    transition: var(--transicion);
    padding: 0.6rem 0;
}

.navbar-glass.scrolled {
    background: #010914;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    padding: 0.35rem 0;
}

.navbar-glass .logo-img {
    height: 52px;
    width: auto;
    transition: var(--transicion);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.navbar-glass.scrolled .logo-img { height: 44px; }

.navbar-glass .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: var(--fuente-cuerpo);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding: 0.6rem 1rem !important;
    border-radius: var(--radio-sm);
    transition: var(--transicion);
}

.navbar-glass .nav-link:hover,
.navbar-glass .nav-link:focus {
    color: var(--dorado) !important;
    background: rgba(201, 169, 110, 0.1);
}

.navbar-glass .nav-link.active {
    color: var(--dorado) !important;
    background: rgba(201, 169, 110, 0.15);
}

.nav-contacto {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-contacto a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    padding: 0.45rem 0.55rem;
    border-radius: 50%;
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.nav-contacto a:hover {
    color: var(--dorado);
    background: rgba(201, 169, 110, 0.12);
    transform: translateY(-2px);
    border-color: var(--dorado);
}

.navbar-toggler {
    border-color: rgba(201, 169, 110, 0.3) !important;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28201, 169, 110, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================
   HERO
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 85px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../imgs/lpm_hero.jpg') center center / cover no-repeat;
    filter: brightness(0.35) saturate(1.1);
    transform: scale(1.06);
    transition: transform 8s ease-out;
}

.hero-section:hover .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        #010914 0%,
        #5e5656 55%,
        #6e605e 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 2rem;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-family: var(--fuente-titulo);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 1.5rem;
    line-height: 1.12;
    text-shadow: 0 2px 25px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title span {
    color: var(--dorado);
    font-style: italic;
    font-weight: 600;
}

.hero-subtitle {
    font-family: var(--fuente-cuerpo);
    font-size: 1.12rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2.5rem;
    line-height: 1.85;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta { animation: fadeInUp 1s ease-out 0.7s both; }

/* ============================================
   BOTONES
   ============================================ */

.btn-principal {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-hover) 100%);
    color: var(--vin-oscuro) !important;
    font-family: var(--fuente-cuerpo);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: var(--radio);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transicion);
    box-shadow: 0 4px 22px rgba(201, 169, 110, 0.4);
    letter-spacing: 0.3px;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 169, 110, 0.55);
    color: var(--vin-oscuro) !important;
}

.btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--blanco) !important;
    font-family: var(--fuente-cuerpo);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radio);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transicion);
    backdrop-filter: blur(5px);
}

.btn-secundario:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--dorado);
    color: var(--dorado) !important;
    transform: translateY(-3px);
}

/* ============================================
   TARJETAS GLASSMORPHISM
   ============================================ */

.glass-card {
    background: var(--glass-bg-solid);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radio);
    box-shadow: var(--glass-shadow);
    transition: var(--transicion);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(45, 15, 27, 0.18);
    border-color: rgba(201, 169, 110, 0.3);
}

.glass-card-dark {
    background: rgba(45, 15, 27, 0.58);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: var(--radio);
    box-shadow: var(--glass-shadow);
    transition: var(--transicion);
    color: var(--blanco);
}

.glass-card-dark:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 110, 0.32);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECCIONES
   ============================================ */

.section-padding { padding: 5.5rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
    display: inline-block;
    font-family: var(--fuente-cuerpo);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--vin-claro);
    margin-bottom: 1rem;
    padding: 0.4rem 1.2rem;
    background: var(--dorado-claro);
    border-radius: 25px;
    border: 1px solid rgba(201, 169, 110, 0.18);
}

.section-title {
    font-family: var(--fuente-titulo);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--vin-oscuro);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.section-title-blanco { color: var(--blanco); }

.section-subtitle {
    font-family: var(--fuente-cuerpo);
    font-size: 1.05rem;
    color: var(--texto-claro);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

.section-subtitle-blanco { color: rgba(255, 255, 255, 0.65); }

.separador {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--dorado), transparent);
    margin: 1.5rem auto;
    border-radius: 3px;
}

/* ============================================
   SECCION: QUIENES SOMOS
   ============================================ */

.quienes-section {
    background: linear-gradient(135deg, #FAF6F0 0%, #F0EAE0 100%);
    position: relative;
    overflow: hidden;
}

.quienes-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   SECCION: COBERTURA NACIONAL
   ============================================ */

.cobertura-section {
    background: var(--vin-oscuro);
    position: relative;
    overflow: hidden;
}

.cobertura-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================
   SECCION: ANALISIS POLITICO
   ============================================ */

.analisis-section {
    background: linear-gradient(135deg, #FAF6F0 0%, #EDE7DE 100%);
    position: relative;
    overflow: hidden;
}

.analisis-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   IMAGENES
   ============================================ */

.img-contenedor {
    position: relative;
    overflow: hidden;
    border-radius: var(--radio);
    box-shadow: 0 12px 45px rgba(45, 15, 27, 0.18);
}

.img-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-contenedor:hover img { transform: scale(1.06); }

.img-contenedor::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(45, 15, 27, 0.25) 100%);
    pointer-events: none;
    border-radius: var(--radio);
}

.img-destacada {
    border-radius: var(--radio);
    box-shadow: 0 15px 50px rgba(0,0,0,0.35);
    border: 1px solid rgba(201, 169, 110, 0.2);
    transition: var(--transicion);
}

.img-destacada:hover {
    transform: scale(1.02);
    box-shadow: 0 22px 60px rgba(0,0,0,0.45);
    border-color: rgba(201, 169, 110, 0.4);
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

.texto-principal {
    font-family: var(--fuente-cuerpo);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--texto);
    margin-bottom: 1.3rem;
}

.texto-principal-blanco { color: rgba(255, 255, 255, 0.82); }

.texto-secundario {
    font-family: var(--fuente-cuerpo);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--texto-claro);
}

.destacado {
    font-family: var(--fuente-titulo);
    font-size: 1.35rem;
    font-weight: 600;
    font-style: italic;
    color: var(--vin-oscuro);
    border-left: 3px solid var(--dorado);
    padding-left: 1.6rem;
    margin: 2.2rem 0;
    line-height: 1.55;
}

.destacado-blanco {
    color: var(--blanco);
    border-left-color: var(--dorado);
}

/* ============================================
   ICONOS
   ============================================ */

.icono-circulo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0.06) 100%);
    border: 1px solid rgba(201, 169, 110, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--vin-claro);
    margin-bottom: 1.2rem;
    transition: var(--transicion);
}

.glass-card:hover .icono-circulo,
.glass-card-dark:hover .icono-circulo {
    background: var(--dorado);
    color: var(--vin-oscuro);
    transform: scale(1.1);
    border-color: var(--dorado);
}

/* ============================================
   CTA BOX
   ============================================ */

.cta-box {
    background: linear-gradient(135deg, #263147 0%, #2b3f51 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(201, 169, 110, 0.22);
    border-radius: var(--radio);
    padding: 3.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-glass {
    background: #865f54;
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid rgba(201, 169, 110, 0.18);
    padding: 3rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
    max-width: 190px;
    margin-bottom: 1.2rem;
    opacity: 0.92;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicion);
    display: block;
    margin-bottom: 0.55rem;
}

.footer-links a:hover {
    color: var(--dorado);
    padding-left: 5px;
}

.footer-social a {
    color: var(--blanco);
    font-size: 1.25rem;
    margin: 0 0.4rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social a:hover {
    color: var(--dorado);
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--dorado);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--vin-oscuro); }
::-webkit-scrollbar-thumb { background: var(--dorado); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dorado-hover); }

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

@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .section-padding { padding: 4rem 0; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .hero-logo { max-width: 240px; }
    .section-padding { padding: 3.2rem 0; }
    .cta-box { padding: 2.2rem 1.5rem; }
    .destacado { font-size: 1.15rem; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.65rem; }
    .btn-principal, .btn-secundario { padding: 0.75rem 1.6rem; font-size: 0.88rem; }
    .nav-contacto { margin-top: 0.5rem; justify-content: center; }
}
