:root {
    --dorado: #c9a24d;
    --oscuro: #0f1720;
    --rojo: #b30000;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--oscuro);
    color: #ffffff;
}

/* ================= HEADER ================= */
.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 8px 60px;
}

.logo-wrapper {
    margin-left: 80px;
}

.logo {
    height: 150px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.header-spacer {
    width: 180px;
}

/* ================= MENÚ ================= */
.menu-centro {
    display: flex;
    justify-content: center;
    gap: 55px;
}

.menu-centro a {
    color: var(--dorado);
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 6px;
}

.menu-centro a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--dorado);
    transition: width 0.3s ease;
}

.menu-centro a:hover::after,
.menu-centro a.activo::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}

.hero-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
    max-width: 1100px;
}

.hero-texto h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dorado);
    margin-bottom: 25px;
}

.hero-divider {
    width: 90px;
    height: 2px;
    background-color: var(--dorado);
    margin: 0 auto 30px auto;
}

.hero-texto p {
    font-size: 24px;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 45px;
    font-weight: 300;
}

.btn-principal {
    padding: 16px 40px;
    border: 1px solid var(--dorado);
    color: var(--dorado);
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    background-color: var(--dorado);
    color: black;
}

/* ================= BOTONES FLOTANTES ================= */
.btn-float {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 999;
}

.btn-float img {
    width: 32px;
    height: 32px;
}

.llamada { left: 25px; }
.whatsapp { right: 25px; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ================= NOSOTROS ================= */
.nosotros-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 120px;
    align-items: center;
}

.nosotros-texto {
    max-width: 600px;
}

.nosotros-texto h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--dorado);
    margin-bottom: 20px;
}

.section-divider {
    width: 70px;
    height: 2px;
    background-color: var(--dorado);
    margin-bottom: 30px;
}

.nosotros-texto p {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
    margin-bottom: 22px;
    text-align: justify;
}

.nosotros-imagen img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

/* ================= SERVICIOS ================= */
.servicios-section {
    padding: 120px 100px;
}

.servicios-section h1 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    color: var(--dorado);
    margin-bottom: 70px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.servicio-card {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.servicio-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.25));
}

.servicio-card:hover {
    transform: translateY(-10px);
}

.servicio-icono {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.servicio-icono img {
    width: 26px;
}

.servicio-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-info h3 {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.servicio-info span {
    font-size: 26px;
    color: white;
}

/* ================= CONTACTO ================= */
.contacto-section {
    background-color: var(--oscuro);
    padding: 100px 120px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    max-width: 1200px;
    margin: auto;
}

.contacto-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 20px;
}

.contacto-col p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contacto-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding-bottom: 3px;
    font-size: 14px;
}

.contacto-lista {
    list-style: none;
}

.contacto-lista li {
    font-size: 15px;
    margin-bottom: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .video-bg {
        display: none;
    }

    .header-bar {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .logo-wrapper {
        margin-left: 0;
    }

    .header-spacer {
        display: none;
    }

    .menu-centro {
        gap: 25px;
        flex-wrap: wrap;
    }

    .hero-texto h1 {
        font-size: 38px;
    }

    .hero-texto p {
        font-size: 18px;
    }

    .nosotros-section,
    .servicios-section,
    .contacto-section {
        padding: 80px 30px;
    }

    .nosotros-section,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nosotros-imagen img {
        height: auto;
    }
}
