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

:root {
    --vinotinto: #7A1525;
    --vinotinto-deep: #5A0A18;
    --vinotinto-light: #9E2D3E;
    --oro: #C9965C;
    --oro-light: #DDBB8F;
    --cream: #F5EDE4;
    --cream-dark: #E8DCD0;
    --dark: #2C0A10;
    --dark-alt: #4A1520;
    --text-body: #3D2A2E;
    --text-muted: #7A6560;
    --glass: rgba(44, 10, 16, 0.75);
    --glass-light: rgba(245, 237, 228, 0.85);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-body);
    background-color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: var(--vinotinto);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--oro);
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 72px;
    height: 100vh;
    background: var(--dark);
    border-right: 1px solid rgba(201, 150, 92, 0.15);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
}

.side-nav-brand {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
}

.side-nav-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.side-nav-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 237, 228, 0.45);
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.side-nav-item:hover {
    color: var(--oro);
    background: rgba(201, 150, 92, 0.1);
}

.side-nav-item.active {
    color: var(--oro);
    background: rgba(201, 150, 92, 0.15);
}

.side-nav-tooltip {
    position: absolute;
    left: 60px;
    background: var(--vinotinto-deep);
    color: var(--cream);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    border: 1px solid rgba(201, 150, 92, 0.2);
    pointer-events: none;
}

.side-nav-item:hover .side-nav-tooltip {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

.side-nav-spacer {
    flex: 1;
}

.side-nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.main-content {
    margin-left: 72px;
}

.hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-cinematic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--dark) 0%, rgba(44,10,16,0.7) 35%, rgba(44,10,16,0.2) 70%, transparent 100%);
    z-index: 1;
}

.hero-cinematic-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5vw 8vh;
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--oro);
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: var(--oro);
}

.hero-cinematic-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 6.5rem);
    color: var(--cream);
    line-height: 1.0;
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.hero-cinematic-title em {
    color: var(--oro);
    font-style: italic;
}

.hero-cinematic-text {
    font-size: 1.15rem;
    color: rgba(245, 237, 228, 0.8);
    max-width: 650px;
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.hero-cinematic-text strong {
    color: var(--oro-light);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-fuerza {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-fuerza::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-fuerza:hover::before {
    transform: translateX(100%);
}

.btn-oro {
    background: var(--oro);
    color: var(--dark);
}

.btn-oro:hover {
    background: var(--oro-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 150, 92, 0.3);
}

.btn-outline-cream {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(245, 237, 228, 0.3);
}

.btn-outline-cream:hover {
    border-color: var(--oro);
    color: var(--oro);
    background: rgba(201, 150, 92, 0.05);
}

.hero-scroll-indicator {
    position: absolute;
    right: 5vw;
    bottom: 8vh;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--oro);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    animation: bounce 2s ease infinite;
}

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

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

.invite-floating {
    background: linear-gradient(90deg, var(--vinotinto-deep) 0%, var(--vinotinto) 100%);
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid rgba(201, 150, 92, 0.2);
    border-bottom: 1px solid rgba(201, 150, 92, 0.2);
}

.invite-floating p {
    color: var(--cream);
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.invite-floating a {
    color: var(--oro);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.invite-floating a:hover {
    color: var(--oro-light);
}

.section-magazine {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.section-magazine-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-magazine-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) saturate(0.6);
    transition: transform 8s ease, filter 0.5s ease;
}

.section-magazine:hover .section-magazine-bg img {
    transform: scale(1.05);
    filter: brightness(0.3) saturate(0.7);
}

.section-magazine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(44,10,16,0.92) 0%, rgba(44,10,16,0.75) 45%, rgba(44,10,16,0.4) 100%);
    z-index: 1;
}

.section-magazine-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 8vh 5vw;
}

.magazine-number {
    position: absolute;
    top: 4vh;
    right: 3vw;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(8rem, 15vw, 14rem);
    color: rgba(201, 150, 92, 0.06);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.magazine-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--oro);
    margin-bottom: 1.5rem;
}

.magazine-tag::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--oro);
}

.magazine-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.magazine-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--oro-light);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.magazine-text {
    font-size: 1.05rem;
    color: rgba(245, 237, 228, 0.82);
    line-height: 1.9;
    max-width: 600px;
}

.magazine-text strong {
    color: var(--oro-light);
    font-weight: 600;
}

.magazine-available {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(201, 150, 92, 0.12);
    border-left: 3px solid var(--oro);
    font-size: 0.88rem;
    color: rgba(245, 237, 228, 0.7);
    line-height: 1.7;
    font-style: italic;
}

.magazine-available strong {
    color: var(--oro);
    font-style: normal;
}

.section-manifesto {
    background: var(--cream);
    position: relative;
    padding: 10vh 0;
    overflow: hidden;
}

.section-manifesto::before {
    content: 'FP';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 30vw;
    color: rgba(122, 21, 37, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.manifesto-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.manifesto-inner h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.manifesto-inner h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--oro);
    margin: 1.5rem auto 0;
}

.manifesto-inner p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 2;
}

.manifesto-inner strong {
    color: var(--vinotinto);
}

.footer-fuerza {
    background: var(--dark);
    padding: 5rem 4vw 2rem;
    border-top: 1px solid rgba(201, 150, 92, 0.15);
    position: relative;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 18vw;
    color: rgba(245, 237, 228, 0.015);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.footer-logo-img {
    width: 70px;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.footer-title span {
    color: var(--oro);
}

.footer-desc {
    color: rgba(245, 237, 228, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: var(--oro);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: rgba(245, 237, 228, 0.55);
    padding: 0.3rem 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--oro);
    padding-left: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 21, 37, 0.4);
    color: var(--cream);
    border: 1px solid rgba(201, 150, 92, 0.2);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--oro);
    color: var(--dark);
    border-color: var(--oro);
    transform: translateY(-3px);
}

.footer-email {
    color: rgba(245, 237, 228, 0.6);
    font-size: 0.9rem;
}

.footer-email a {
    color: var(--oro-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 237, 228, 0.06);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(245, 237, 228, 0.35);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .side-nav {
        width: 100%;
        height: 60px;
        flex-direction: row;
        bottom: 0;
        top: auto;
        border-right: none;
        border-top: 1px solid rgba(201, 150, 92, 0.15);
        padding: 0 1rem;
        justify-content: space-around;
    }
    .side-nav-brand {
        display: none;
    }
    .side-nav-spacer {
        display: none;
    }
    .side-nav-bottom {
        flex-direction: row;
    }
    .side-nav-item {
        margin-bottom: 0;
    }
    .side-nav-tooltip {
        display: none;
    }
    .main-content {
        margin-left: 0;
        margin-bottom: 60px;
    }
    .hero-cinematic-content {
        padding: 0 5vw 10vh;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .section-magazine-content {
        padding: 8vh 5vw;
    }
}

@media (max-width: 576px) {
    .hero-cinematic-title {
        font-size: 2.5rem;
    }
    .hero-cinematic {
        min-height: 600px;
    }
    .magazine-title {
        font-size: 1.8rem;
    }
    .invite-floating {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .btn-fuerza {
        padding: 0.8rem 1.5rem;
        font-size: 0.75rem;
    }
}

::selection {
    background: var(--vinotinto);
    color: var(--cream);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--vinotinto);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vinotinto-deep);
}
