@import url('https://fonts.googleapis.com/css2?family=Playfair+Display: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 {
    --negro: #000000;
    --negro-suave: #0a0a0a;
    --gris-oscuro: #111111;
    --gris-card: #141414;
    --gris-borde: #2d2d2d;
    --gris-medio: #666666;
    --gris-claro: #999999;
    --blanco-hueso: #e8e6e3;
    --blanco-puro: #f0eeeb;
    --dorado: #b8a07a;
    --dorado-oscuro: #8b7355;
    --dorado-brillo: #c9b896;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--negro-suave);
    color: var(--blanco-hueso);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

a:hover {
    color: var(--dorado-brillo);
}

.navbar {
    background-color: rgba(10, 10, 10, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gris-borde);
    padding: 0.75rem 0;
    transition: all 0.4s ease;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.navbar-brand:hover img {
    filter: brightness(1.1);
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris-claro) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 1px;
    background-color: var(--dorado);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--blanco-hueso) !important;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.nav-link i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(60%) contrast(1.1);
    transform: scale(1.05);
    transition: transform 8s ease;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 50%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(184,160,122,0.15));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--blanco-puro);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero .subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--dorado);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero .lead {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gris-claro);
    max-width: 700px;
    line-height: 1.8;
}

.hero .lead strong {
    color: var(--blanco-hueso);
    font-weight: 600;
}

.linea-decorativa {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--dorado), transparent);
    margin: 1.5rem 0;
}

.linea-decorativa-centro {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
    margin: 1.5rem auto;
}

.cta-box {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--gris-borde);
    border-left: 3px solid var(--dorado);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.cta-box p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--gris-claro);
}

.cta-box a {
    color: var(--dorado);
    font-weight: 500;
    border-bottom: 1px solid var(--dorado-oscuro);
    padding-bottom: 2px;
}

.cta-box a:hover {
    color: var(--dorado-brillo);
    border-bottom-color: var(--dorado-brillo);
}

.seccion-contenido {
    padding: 5rem 0;
    position: relative;
}

.seccion-contenido:nth-child(odd) {
    background-color: var(--negro-suave);
}

.seccion-contenido:nth-child(even) {
    background-color: var(--gris-oscuro);
}

.seccion-img-wrapper {
    position: relative;
    overflow: hidden;
}

.seccion-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.seccion-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.05) brightness(0.9);
    transition: all 0.6s ease;
}

.seccion-img-wrapper:hover img {
    filter: grayscale(20%) contrast(1.1) brightness(1);
    transform: scale(1.03);
}

.seccion-numero {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seccion-numero::after {
    content: '';
    flex: 1;
    max-width: 40px;
    height: 1px;
    background-color: var(--gris-borde);
}

.seccion-contenido h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--blanco-puro);
    margin-bottom: 1.5rem;
}

.seccion-contenido p {
    color: var(--gris-claro);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.seccion-contenido p strong {
    color: var(--blanco-hueso);
    font-weight: 600;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.icono-dorado {
    color: var(--dorado);
    font-size: 1.2rem;
}

.footer-cta {
    background-color: var(--gris-oscuro);
    border-top: 1px solid var(--gris-borde);
    padding: 3rem 0;
    text-align: center;
}

.footer-cta h3 {
    font-size: 1.5rem;
    color: var(--blanco-puro);
    margin-bottom: 1rem;
}

.footer-cta p {
    color: var(--gris-claro);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-cta a {
    color: var(--dorado);
    font-weight: 500;
}

.footer-cta a:hover {
    color: var(--dorado-brillo);
}

.footer-copy {
    background-color: var(--negro);
    border-top: 1px solid var(--gris-borde);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-copy p {
    color: var(--gris-medio);
    font-size: 0.8rem;
    margin: 0;
    font-style: italic;
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .seccion-contenido {
        padding: 3rem 0;
    }
    
    .seccion-img-wrapper {
        margin-bottom: 2rem;
        max-height: 300px;
    }
    
    .cta-box {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem !important;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gris-borde);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gris-medio);
}
