/* --- Variables y Reset --- */
:root {
    --blanco: #ffffff;
    --negro: #111111;
    --dorado: #b8860b;
    --dorado-oscuro: #8a6508;
    --gris-claro: #f4f4f4;
    --texto-secundario: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    color: var(--negro);
    background-color: var(--blanco);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--fuente-titulos);
    font-weight: 600;
}

/* --- Navegación --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    height: 35px; /* Ajusta según tu logo */
    object-fit: contain;
}

.nav-link {
    text-decoration: none;
    color: var(--negro);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease, all 0.3s ease;
}

.nav-link:hover {
    color: var(--dorado);
}

.nav-link.highlight {
    border-bottom: 2px solid var(--dorado);
    padding-bottom: 2px;
}

/* --- Menú Móvil --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--negro);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: left 0.4s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--negro);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

/* --- Hero Section Mejorado --- */
.hero {
    height: 100svh; /* svh es perfecto para móviles */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(to bottom, #fdfdfd, #f4f4f4);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--texto-secundario);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Botones Mejorados --- */
.btn-primary {
    display: inline-block;
    background-color: var(--negro);
    color: var(--blanco);
    text-decoration: none;
    padding: 1.2rem 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid var(--negro);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--negro);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* --- Trust Section Mejorado --- */
.trust-section {
    padding: 6rem 5%;
    background-color: var(--blanco);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--negro);
}

.trust-item p {
    color: var(--texto-secundario);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Botón Flotante Móvil --- */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--negro);
    color: var(--blanco);
    text-align: center;
    padding: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 998;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

/* --- Animaciones --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Footer Mejorado --- */
.footer {
    text-align: center;
    padding: 3rem;
    background-color: var(--gris-claro);
    color: var(--texto-secundario);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Responsive (Móviles) --- */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-center {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Activamos el botón flotante en móvil */
    .floating-cta {
        display: block;
    }

    /* Hacemos espacio al final para que el botón no tape texto */
    body {
        padding-bottom: 60px; 
    }
}