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

/* =============================================
   POLÍTICA AL DESCUBIERTO - Narrative Feature Design
   ============================================= */

:root {
    --azul-oscuro: #06050a;
    --azul-medio: #7a4593;
    --azul-profundo: #06050a;
    --gris-carbon: #2d3436;
    --gris-medio: #636e72;
    --gris-claro: #b2bec3;
    --blanco-hueso: #f8f9fa;
    --blanco-puro: #ffffff;
    --acento-dorado: #b7b7b5;
    --acento-dorado-claro: #7a4593;
    --rojo-granate: #8b2332;
    --sombra-suave: rgba(10, 22, 40, 0.08);
    --sombra-media: rgba(10, 22, 40, 0.15);
    --sombra-profunda: #7a4593;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--azul-oscuro);
    background-color: var(--blanco-puro);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =============================================
   TIPOGRAFÍA NARRATIVA
   ============================================= */

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* =============================================
   NAVEGACIÓN FIJA - VERTICAL LATERAL
   ============================================= */

.navbar-pad {
    position: fixed;
    top: 0;
    left: 0;
    width: 72px;
    height: 100vh;
    background: var(--azul-oscuro);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.navbar-pad.expanded {
    width: 260px;
}

.nav-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem;
    width: 100%;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blanco-puro);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    letter-spacing: 0.02em;
}

.navbar-pad.expanded .nav-logo-text {
    opacity: 1;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    list-style: none;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--acento-dorado);
    background: rgba(201, 162, 39, 0.08);
    border-left-color: var(--acento-dorado);
}

.nav-links a i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.nav-link-label {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-pad.expanded .nav-link-label {
    opacity: 1;
}

.nav-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 0.5rem;
}

.nav-social a {
    color: rgba(255,255,255,0.45);
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.5rem;
}

.nav-social a:hover {
    color: var(--acento-dorado);
    transform: scale(1.15);
}

.nav-toggle {
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--acento-dorado);
    border: none;
    border-radius: 50%;
    color: var(--azul-oscuro);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.4);
    transition: transform 0.3s ease;
    z-index: 10;
}

.nav-toggle:hover {
    transform: translateY(-50%) scale(1.1);
}

/* =============================================
   LAYOUT PRINCIPAL
   ============================================= */

.main-wrapper {
    margin-left: 72px;
    width: calc(100% - 72px);
}

.container-pad {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =============================================
   SECCIÓN HERO - INMERSIVA
   ============================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--azul-oscuro);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.97) 0%,
        rgba(10, 22, 40, 0.88) 40%,
        rgba(13, 31, 60, 0.75) 100%
    );
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../imagenes/pad_nacional.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

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

.hero-overtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--acento-dorado);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--blanco-puro);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--acento-dorado-claro);
    font-weight: 500;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--acento-dorado);
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.btn-pad {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s ease;
}

.btn-primary-pad {
    background: var(--acento-dorado);
    color: var(--azul-oscuro);
    border-color: var(--acento-dorado);
}

.btn-primary-pad:hover {
    background: transparent;
    color: var(--acento-dorado);
}

.btn-outline-pad {
    background: transparent;
    color: var(--blanco-puro);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-pad:hover {
    border-color: var(--acento-dorado);
    color: var(--acento-dorado);
    background: rgba(201, 162, 39, 0.05);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}

.hero-scroll i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

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

.section-narrative {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

.section-narrative:nth-child(even) {
    background: var(--blanco-hueso);
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--acento-dorado);
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--azul-oscuro);
    line-height: 1.15;
    margin-bottom: 2rem;
}

.section-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--azul-medio);
}

.section-body {
    font-size: 1.05rem;
    color: var(--gris-carbon);
    line-height: 1.9;
    max-width: 720px;
}

.section-body p {
    margin-bottom: 1.8rem;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-cta {
    margin-top: 2.5rem;
}

/* =============================================
   IMÁGENES NARRATIVAS
   ============================================= */

.image-narrative {
    position: relative;
    overflow: hidden;
    background: var(--azul-oscuro);
}

.image-narrative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0.9;
}

.image-narrative:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.image-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SEPARADORES VISUALES
   ============================================= */

.ornament {
    width: 40px;
    height: 2px;
    background: var(--acento-dorado);
    margin: 2.5rem 0;
}

.ornament-center {
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   FEATURE BLOCKS
   ============================================= */

.feature-block {
    padding: 2.5rem;
    background: var(--blanco-puro);
    border-left: 3px solid var(--acento-dorado);
    box-shadow: 0 4px 30px var(--sombra-suave);
    margin-top: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-block:hover {
    box-shadow: 0 8px 50px var(--sombra-media);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--acento-dorado);
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--gris-medio);
    line-height: 1.7;
}

/* =============================================
   CITA DESTACADA
   ============================================= */

.quote-block {
    padding: 3rem 3.5rem;
    background: var(--azul-oscuro);
    color: var(--blanco-puro);
    position: relative;
    margin: 3rem 0;
}

.quote-block::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--acento-dorado);
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    position: relative;
    z-index: 1;
}

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

.site-footer {
    background: var(--azul-oscuro);
    padding: 6rem 0 2.5rem;
    color: rgba(255, 255, 255, 0.65);
    border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanco-puro);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 320px;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--acento-dorado);
    margin-bottom: 1.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--acento-dorado);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--blanco-puro);
    padding-left: 4px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: var(--acento-dorado);
    border-color: var(--acento-dorado);
    color: var(--azul-oscuro);
    transform: translateY(-2px);
}

.footer-cta {
    display: inline-flex !important;
    margin-bottom: 1.25rem;
}

.footer-email-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email-link i {
    color: var(--acento-dorado);
    font-size: 0.85rem;
}

.footer-email-link:hover {
    color: var(--acento-dorado-claro);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 3rem 0 2rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

/* =============================================
   BOTÓN MÓVIL
   ============================================= */

.mobile-nav-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    background: var(--azul-oscuro);
    color: #fff;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

@media (max-width: 991px) {
    .navbar-pad {
        width: 60px;
    }
    .navbar-pad.expanded {
        width: 220px;
    }
    .main-wrapper {
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    .container-pad {
        width: 92%;
        padding: 0 1rem;
    }
    .section-narrative {
        padding: 4.5rem 0;
    }
}

@media (max-width: 576px) {
    .navbar-pad {
        width: 0;
        transform: translateX(-100%);
    }
    .navbar-pad.mobile-open {
        width: 260px;
        transform: translateX(0);
    }
    .main-wrapper {
        margin-left: 0;
        width: 100%;
    }
    .container-pad {
        width: 95%;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    .btn-pad {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .site-footer {
        padding: 4rem 0 2rem;
    }
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    .footer-tagline {
        max-width: 100%;
    }
    .footer-heading {
        margin-bottom: 1.2rem;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-cta {
        width: 100%;
        justify-content: center !important;
    }
}
