/* --- CONFIGURACIÓN DE DISEÑO BASE & SISTEMA DE DISEÑO --- */
:root {
    --clr-bg: #FBFBFA;
    --clr-surface: #FFFFFF;
    --clr-text-main: #1C1A17;
    --clr-text-muted: #66625D;
    --clr-accent: #2C2A27;
    --clr-accent-light: #EBEAE6;
    
    --ff-serif: 'Cormorant Garamond', serif;
    --ff-sans: 'Inter', sans-serif;
    
    --max-width: 1300px;
    --header-height: 100px; /* Altura perfecta equilibrada para tu logo */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* --- HEADER & NAVEGACIÓN --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 9999 !important;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(251, 251, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 80px; 
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- HERO SECTION BLINDADA --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    color: #FFFFFF;
    background-color: #1C1A17;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1 !important;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2 !important;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10 !important;
    max-width: 650px;
    margin-left: calc((100vw - var(--max-width)) / 2 + 40px);
    color: #FFFFFF !important;
}

@media (max-width: 1400px) {
    .hero-content { margin-left: 40px; }
}

/* --- FOOTER LAYOUT --- */
.main-footer {
    background-color: var(--clr-accent);
    color: #EBEAE6;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 40px;
    font-size: 0.85rem;
    color: #999590;
}