:root {
    --negro: #08090B;
    --beige: #FFF3E4;
    --vino: #380E12;
    --gris-oscuro: #2a2a2a;
    --amarillo: #f1c27d;
    --acento-hover: #b18c3a;
}

body {
    margin: 0;
    background: var(--negro);
    font-family: 'Poppins', sans-serif;
}

section {
    padding: 50px 10%;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--vino);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* LOGO */

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: white;
    letter-spacing: 2px;
}

/* MENU DESKTOP */

.menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #d4af37;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* BOTÓN MÓVIL */
.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* MENU MÓVIL */
.menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0b0b12;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
    z-index: 9999;
    text-align: center;
}

.menu-mobile.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-mobile a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.menu-mobile .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: white;
}


.hero {
    height: 350px;
    background-image: url("../img/banner.jpg");
    /* captura del video */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.17), rgba(0, 0, 0, 0.5));
}

.hero_content {
    position: relative;
    z-index: 2;
}

.hero_content h1 {
    font-size: 55px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero_content p {
    font-size: 22px;
}

.hero_line {
    width: 80px;
    height: 3px;
    background: #d4af37;
    margin: 20px auto;
}

.hero_sub {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero_btn {
    padding: 12px 30px;
    background: #d4af37;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    transition: 0.3s;
}

.hero_btn:hover {
    background: #b8962e;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.about {
    padding: 90px 10%;
    background-color: var(--beige);
}

.about_container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about_texto {
    flex: 1;
}

.about_texto h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about_texto p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about_imagen {
    flex: 1;
}

.about_imagen img {
    width: 80%;
    border-radius: 10px;
}

.titulo_servicio {
    position: relative;
    font-size: 28px;
}

.clave {
    font-size: 40px;
    color: #0b0b12;
    padding-left: 20px;
}

/* #servicios {
    padding: 80px 10%;
    background: transparent;
    display: flex;
    justify-content: center;
}

.cnt_tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    padding: 0 20px;
}

.tarjeta_servicios {
    background: #fdfdfd;
    border: 1px solid #0f0f0f;
    padding: 50px 30px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    width: 250px;
}


    .tarjeta_servicios::before {
        content: "";
        width: 60px;
        height: 1px;
        background: #000;
        margin: 0 auto 30px;
    }

    .tarjeta_servicios:hover {
        background: #2b2b2b;
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }

        .tarjeta_servicios:hover h2,
        .tarjeta_servicios:hover p {
            color: #ffffff;
        }


        .tarjeta_servicios:hover::before {
            content: "";
            width: 60px;
            height: 1px;
            background: white;
            margin: 0 auto 30px;
        }

    .tarjeta_servicios h2 {
        font-family: var(--font-title, 'Playfair Display', serif);
        font-size: 1.6rem;
        margin-bottom: 20px;
        color: #000;
        letter-spacing: 1px;
    }


    .tarjeta_servicios p {
        font-family: var(--font-text, 'Cormorant Garamond', serif);
        font-size: 1.1rem;
        color: #444;
        line-height: 1.6;
        margin-bottom: 40px;
    }


    .tarjeta_servicios a {
        align-self: center;
        padding: 12px 30px;
        border: 1px solid #000;
        text-decoration: none;
        color: #000;
        font-family: var(--font-text, serif);
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }


        .tarjeta_servicios a:hover {
            background: #000;
            color: #fff;
        } */

.servicios {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 80px 8%;
    background: #0f0f0f;
    /* fondo oscuro jazz */
}

/* tarjeta */
.card-servicio {
    display: flex;
    align-items: center;
    border-radius: 25px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* alternar */
.card-servicio.reverse {
    flex-direction: row-reverse;
}

/* imagen */
.img-box {
    width: 50%;
    height: 300px;
    position: relative;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay oscuro elegante */
.img-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.2));
}

/* contenido */
.contenido {
    width: 50%;
    padding: 40px;
    color: #f5f5f5;
}

.contenido h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--amarillo);
    /* dorado jazz */
}

.contenido p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contenido a {
    color: #f1c27d;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

/* hover elegante */
.card-servicio:hover {
    transform: scale(1.02);
    transition: 0.3s;
}


.btn {
    display: inline-block;
    padding: 10px 15px;
    background: #d89ca4;
    color: white;
    border-radius: 10px;
    text-decoration: none;
}

/*******************/
.galeria {
    padding: 80px 10%;
    background-color: var(--beige)
}

.titulo_galeria {
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--vino);
}

.galeria_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.galeria_card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.4s;
}

.galeria_card img:hover {
    transform: scale(1.05);
}

.galeria_card p {
    margin-top: 10px;
    font-size: 16px;
}

.footer {
    background-color: var(--vino);
    padding: 80px 10% 30px;

    color: #e7e7ec;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.footer h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.footer h4 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 1px;
}

.footer p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #bbb;
}

.footer-links a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #d4af37;
    transform: translateX(5px);
}

.footer-whatsapp {
    display: inline-block;
    margin-top: 10px;
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.footer-whatsapp:hover {
    background: #1ebe5d;
}

.footer-copy {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    text-align: center;
    font-size: 14px;
    color: #777;
}


.video-section {
    padding: 80px 10%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* proporción 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.media-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 clave para que se vea bien */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {


   .video-container iframe {
        width: 300px;
        left: -10%;
        position: absolute;
        height: 250px;
    }

    .card-servicio {
        flex-direction: column;
    }

    .card-servicio.reverse {
        flex-direction: column;
    }

    .img-box,
    .contenido {
        width: 100%;
    }

    .img-box {
        height: 220px;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-mobile a {
        color: var(--amarillo);
        font-size: 20pt;
        text-decoration: none;
    }

    .tarjeta_servicios {
        width: auto;
    }

    .galeria_grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .hero_content h1 {
        font-size: 32px;
    }

    .hero_content p {
        font-size: 18px;
    }

    .hero_sub {
        font-size: 16px;
    }

    .hero {
        height: 280px;
    }

    .about_container {
        flex-direction: column;
        text-align: center;
    }

    .about_texto p {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 15px;
        text-align: left;
    }

    .about_imagen img {
        width: 100%;
    }

    section {
        padding: 40px 20px;
    }


    #servicios {
        padding: 80px 10%;
        background: transparent;
        display: inline;
    }

}