:root {
    --accent: #3d5a92; /* Azul Domus profesional */
    --dark: #1a1a1a;
    --light: #f8fafc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--light); 
    color: var(--dark);
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    transition: all 0.4s ease;
}

.menu-toggle {
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    color: var(--dark);
}

.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--accent);
    display: flex; flex-direction: column; justify-content: center;
    padding-left: 10%; opacity: 0; visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 9000;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

.nav-links { list-style: none; }
.nav-links a {
    font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--white); text-decoration: none; font-weight: 900;
    display: block; transform: translateY(50px); opacity: 0;
    transition: all 0.5s 0.2s;
}

.nav-overlay.active .nav-links a { transform: translateY(0); opacity: 1; }

body.menu-open .menu-toggle { color: #ffffff !important; }

/* HERO PARALLAX */
.hero { position: relative; height: 100vh; display: flex; overflow: hidden; }
.hero-left {
    flex: 1.2; background: var(--white); display: flex; align-items: center;
    padding: 0 10%; position: relative; z-index: 10;
}

.parallax-bg {
    position: absolute; top: -10%; left: -5%; font-family: 'Playfair Display', serif;
    font-size: 55rem; color: rgba(61, 90, 146, 0.05); /* Color de la 'D' */
    z-index: 1; pointer-events: none; will-change: transform;
}

.hero-content { position: relative; z-index: 20; }
.hero-content span { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; }

h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1; margin: 20px 0; }
h1 i { font-style: italic; font-weight: 400; }

.btn-hero {
    display: inline-block; padding: 18px 35px; background: var(--accent);
    color: #fff; text-decoration: none; font-weight: 700; margin-top: 20px;
    transition: 0.3s;
}

.btn-hero:hover { transform: scale(1.05); background: #2a3f66; }

.hero-right { flex: 0.8; background: var(--dark); position: relative; overflow: hidden; }
.hero-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 130%;
    background-size: cover; background-position: center;
    will-change: transform;
}

.service-card {
    padding: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}
.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

/* FOOTER */
.main-footer { padding: 40px 6%; background: #fff; border-top: 1px solid #eee; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.8rem; color: #64748b; }
.legal-links a { margin-left: 20px; text-decoration: none; color: inherit; }

@media (max-width: 992px) {
    .hero-right { display: none; }
    .hero-left { flex: 1; }
}
