:root {
    --vino: #8b1e3f;
    --verde: #0b7a5c;
    --dorado: #f6bd16;
    --crema: #fff8e7;
    --blanco: #ffffff;
    --texto: #392f2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Arial, sans-serif;
    background: var(--crema);
    color: var(--texto);
}

a {
    text-decoration: none;
}

/* PORTADA */

.hero {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(80, 10, 35, 0.75), rgba(0, 0, 0, 0.15)),
        url("img/fotogrupal.jpeg");

    background-size: cover;
    background-position: 70% 15%;
    background-repeat: no-repeat;
}

/* MENÚ */

.navbar {
    width: 100%;
    padding: 18px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    z-index: 1000;

    background: linear-gradient(90deg, var(--vino), #b22d53);
    border-bottom: 3px solid var(--dorado);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar h2 {
    color: var(--dorado);
}

.navbar ul {
    display: flex;
    gap: 12px;
    list-style: none;
}

.navbar a {
    color: white;
    padding: 9px 14px;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    background: var(--dorado);
    color: var(--vino);
}

/* CONTENIDO PRINCIPAL */

.hero-content {
    min-height: 100vh;
    padding: 130px 8% 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-content h1 {
    max-width: 850px;
    color: white;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 25px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    max-width: 700px;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 35px;
    background: var(--dorado);
    color: var(--vino);
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(246, 189, 22, 0.35);
}

.btn:hover {
    transform: translateY(-4px);
    background: #ffd84d;
}

/* SECCIONES */

.section {
    padding: 90px 8%;
    text-align: center;
    background: var(--crema);
}

.section:nth-of-type(even),
.dark {
    background: linear-gradient(135deg, #e3f5ec, #fff3d7);
}

.section h2 {
    color: var(--vino);
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 12px auto;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--verde), var(--dorado), var(--vino));
}

.section p {
    max-width: 800px;
    margin: auto;
    color: #65564d;
}

/* SERVICIOS */

.cards {
    max-width: 1200px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    padding: 35px 25px;
    background: white;
    border-radius: 18px;
    border-top: 5px solid var(--dorado);
    box-shadow: 0 12px 30px rgba(80, 40, 20, 0.12);
    transition: 0.3s;
}

.card:nth-child(2) {
    border-top-color: var(--verde);
}

.card:nth-child(3) {
    border-top-color: var(--vino);
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: var(--vino);
    margin-bottom: 12px;
}

/* GALERÍA */

.gallery {
    max-width: 1200px;
    margin: 35px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
    border: 4px solid white;
    box-shadow: 0 12px 28px rgba(80, 20, 40, 0.18);
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.03);
    border-color: var(--dorado);
}

/* VIDEO */

.video-container {
    max-width: 900px;
    margin: 35px auto 0;
    padding: 10px;
    background: white;
    border: 3px solid var(--dorado);
    border-radius: 18px;
}

.video-container video,
.video-container iframe {
    width: 100%;
    min-height: 450px;
    border: none;
    border-radius: 12px;
}

/* CONTACTO */

#contacto {
    background: linear-gradient(135deg, var(--vino), #e05e48);
    color: white;
}

#contacto h2,
#contacto p {
    color: white;
}

/* WHATSAPP */

.whatsapp,
.whatsapp-btn,
.whatsapp-button {
    width: 65px;
    height: 65px;

    position: fixed;
    right: 25px;
    bottom: 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #25d366;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 1200;
}

.whatsapp img,
.whatsapp-btn img,
.whatsapp-button img {
    width: 38px;
}

/* CELULAR */

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        flex-direction: column;
        gap: 12px;
        padding: 15px 4%;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .navbar a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }

    .hero {
        background-position: 65% top;
    }

    .hero-content {
        padding: 210px 6% 70px;
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }

    .video-container video,
    .video-container iframe {
        min-height: 240px;
    }
}