body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #e4e4e4;
    
    color: white;
}

/* NAV */
.header {
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,0.6);
}


.nav {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

nav a {
    margin: 0 10px;
    color: white;
}

/* HERO */

/* BOTONES */
.btn {
    padding: 10px 20px;
    margin: 10px;
}

.yellow {
    background: #f4c430;
    color: black;
}

.blue {
    background: #0f3d91;
}

.red {
    background: #b22234;
}

/* GRID */
.grid {
    display: flex;
    gap: 40px;
}

/* CARDS */
.cards {
    display: flex;
    gap: 20px;
}

.card {
    padding: 30px;
    border-radius: 10px;
}

/* VIDEO */
.video {
    height: 400px;
    background: black;
    display: flex;
    align-items: center;
}

.center {
    text-align: center;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 10px;
    width: 100%;
    z-index: 10;
    background: transparent;
}

.hero {
    height: 100vh;
    background: url('../img/hero.png') center 30%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}

/* subtitulo */
.hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #f4c430;
    display: block;
    margin-bottom: 10px;
}

/* titulo */
.hero-box h1 {
    font-size: 60px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

/* texto */
.hero-box p {
    font-size: 18px;;
    color:#ffffff;
    line-height: 1.5;
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-box {
    padding: 50px 70px;
    max-width: 700px;
    text-align: center;
    align-items: center;
     background:#0000002e;
}

.hero-box h1 {
    font-size: 70px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    line-height: 1;
}
.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    color: #ffffff;
    display: block;
    margin-bottom: 15px;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
    width: 100%;
    max-width: 900px;

    display: flex;
    justify-content: center;
}

.hero-box {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
nav a {
    text-decoration: none;
    border-bottom: none;
}

nav a:hover {
    color: #f4c430;
}



/* ===== SECCIÓN BIO CON VIDEO ===== */
.bio-video {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

/* ===== VIDEO DE FONDO ===== */
.bg-video {
    position: absolute;
    inset: 0;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ===== OVERLAY OSCURO ===== */
.bio-video .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.6)
    );
    z-index: 1;
}

/* ===== GRID ===== */
.bio-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* ===== TEXTO ===== */
.bio-text {
    max-width: 500px;
    margin-right: -30px;
}

.bio-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.bio-text p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 15px;
}

/* firma */
.firma {
    display: inline-block;
    margin-top: 20px;
    color: #f4c430;
    font-weight: bold;
    font-size: 14px;
}

/* ===== IMAGEN ===== */
.bio-img {
    position: relative;
    max-width: 400px;
    margin-left: auto; /* empuja a la derecha */
}

.bio-img img {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top:-89px;
    border-radius: 4px;
}

/* marco decorativo */
.bio-img .frame {
    position: absolute;
    top: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #f4c430;

    background: linear-gradient(
        135deg,
        #0f3c9180,
        #f4c33077,
        #ff001ec0
    );
    z-index: 1;
}

/* ===== ANIMACIÓN SUAVE ===== */
.bio-text,
.bio-img {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-img {
        margin: 40px auto 0;
    }

    .bio-text {
        margin: 0 auto;
    }
}

.bio-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;

    align-items: center;
    justify-content: center;

    max-width: 1200px;
    margin: 0 auto;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-video {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: 0;
}


/* GRID */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* CARD */
.servicio {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background-size: cover;
    background-position: center;

    transition: 0.4s;
}

/* overlay oscuro */
.servicio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%));
}

/* header */
.servicio-header {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* título */
.servicio h3 {
    font-size: 20px;
}

/* contenido oculto */
.servicio-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: 0.4s ease;
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.85);
}

/* activo */
.servicio.active .servicio-content {
    max-height: 140px;
    padding: 20px;
}

/* flecha */
.arrow {
    transition: 0.3s;
}

.servicio.active .arrow {
    transform: rotate(180deg);
}

/* hover pro */
.servicio:hover {
    transform: translateY(-8px);
}

.servicios {
    position: relative;
    padding: 120px 0;

    background: url('../img/servicios.png') center/cover no-repeat;
    background-attachment: fixed;
}
.servicio-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.65) 35%,
        rgba(0,0,0,0.25) 60%,
        rgba(0,0,0,0) 80%
    );
}
.servicios .container {
    position: relative;
    z-index: 2;
}

.titulo-seccion {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}

.servicios-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}
.servicio {
    width: 350px;
    height: 400px; /* CLAVE → cuadrado */

    border-radius: 12px; /* menos redondeado */

    position: relative;
    overflow: hidden;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition: 0.4s;
}

/* Al seleccionar un video */
.music-section {
    position: relative;
    transition: background-color 1s ease; /* Fondo dinámico */
}

.music-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video {
    margin: 10px;
}

#videoContainer {
    display: flex;
    gap: 15px;
}

#videoContainer video {
    cursor: pointer;
}

/* Fondo por cada video */
#video1 {
    background-color: #ffcccc; /* Fondo para el video 1 */
}

#video2 {
    background-color: #ccffcc; /* Fondo para el video 2 */
}

/* ===== SECCIÓN ===== */
.galeria {
    padding: 120px 20px;
    background: #0b0b0f;
    text-align: center;
}

/* título */
.galeria .titulo-seccion {
    margin-bottom: 60px;
}

/* grid */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto;
}

/* item */
.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

/* imagen */
.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 0.4s;
}

/* hover zoom */
.galeria-item:hover img {
    transform: scale(1.1);
}

/* overlay */
.galeria-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.3s;
}

.galeria-item:hover::after {
    opacity: 1;
}

/* ===== SECCIÓN ===== */
.contacto {
    position: relative;
    padding: 120px 20px;
    overflow: hidden;

    background: url('../img/contacto.png') center 10%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* overlay */
.contacto .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

/* GRID */
.contacto-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TEXTO ===== */
.contacto-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.contacto-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.contacto-extra {
    color: #f4c430;
    font-weight: bold;
}

/* ===== FORM ===== */
.contacto-form {
    padding: 40px;
    border-radius: 16px;

    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}

/* inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;

    border: none;
    outline: none;

    border-radius: 10px;

    background: rgba(255,255,255,0.1);
    color: white;
}

/* placeholder */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* botón */
.btn-contacto {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(120deg, #0f3d91, #f4c430, #b22234);
    color: black;

    font-weight: bold;
    cursor: pointer;

    transition: 0.3s;
}

/* hover */
.btn-contacto:hover {
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: #08080b;
    padding: 80px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;

    max-width: 1200px;
    margin: 0 auto;
}

/* TEXTOS */
.footer h3 {
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer p {
    color: rgba(255,255,255,0.6);
}

/* LINKS */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: 0.3s;
    margin-left:-38px;
}

.footer-links a:hover {
    color: #f4c430;
}

/* ===== ICONOS SVG ===== */
.social-icons {
    display: flex;
    gap: 15px;
}

/* botón */
.social-icons a {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    transition: 0.3s;
}

/* svg */
.social-icons svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* hover PRO */
.social-icons a:hover {
    background: linear-gradient(120deg, #0f3d91, #f4c430, #b22234);
    transform: translateY(-5px);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}



@media (max-width: 900px) {

    .hero-box {
        padding: 30px 20px;
        background:#0000002e;
    }

    .hero-box h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 16px;
    }
}
@media (max-width: 900px) {

    .bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bio-img {
        margin: 0 auto;
    }
}
@media (max-width: 900px) {

    .servicios-grid {
        flex-direction: column;
        align-items: center;
    }

    .servicio {
        width: 90%;
    }
}

@media (max-width: 900px) {

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {

    .galeria-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {

    .contacto-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contacto-form {
        margin-top: 30px;
    }
}
@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 900px) {

    /* contenedor */
    .nav {
        padding: 15px 20px;
    }

    /* ocultar menú horizontal */
    .header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;

        background: rgba(0,0,0,0.95);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        transition: 0.3s;
        z-index: 999;
    }

    /* menú activo */
    .header nav.active {
        right: 0;
    }

    /* links */
    .header nav a {
        margin: 15px 0;
        font-size: 22px;
    }

    /* hamburguesa visible */
    .menu-toggle {
        display: flex;
    }

    /* evita que el logo se aplaste */
    .logo {
        font-size: 16px;
    }
}

@media (max-width: 900px) {

    .music-grid {
        display: block; /* rompe el grid solo en mobile */
        text-align: center;
    }

    .music-player iframe {
        width: 100%;
        height: 260px; /* ajusta proporción */
    }

    /* evita desbordes */
    .music-section {
        padding: 60px 15px;
    }
}

@media (max-width: 900px) {

    .menu-toggle {
        display: flex !important; /* 🔥 fuerza visibilidad */
        position: relative;
        z-index: 9999; /* 🔥 clave: que no quede debajo del hero */
    }

    .header nav {
        z-index: 9998;
    }
}

.header {
    z-index: 9999 !important;
}

@media (max-width: 900px) {

    .music-grid {
        display: block !important; /* 🔥 rompe grid solo en mobile */
        max-width: 100%;
    }

    .music-player iframe {
        width: 100%;
        height: 250px !important; /* 🔥 ajusta proporción */
    }

    .music-section {
        padding: 40px 10px;
    }
}
@media (max-width: 900px) {

    /* FORZAR HEADER ENCIMA DE TODO */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 99999;
    }

    /* MOSTRAR HAMBURGUESA */
    .menu-toggle {
        display: flex !important;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 999999;
    }

    /* ASEGURAR QUE SE VEAN LAS RAYAS */
    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: white !important;
        display: block;
        margin: 5px 0;
    }

    /* OCULTAR MENU NORMAL */
    .header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        z-index: 99998;
    }

    /* MENU ACTIVO */
    .header nav.active {
        right: 0;
    }

    .header nav a {
        font-size: 22px;
        margin: 15px 0;
    }
}

@media (max-width: 900px) {

    .music-grid {
        display: block !important;
    }

    .music-player iframe {
        width: 100% !important;
        height: 300px !important;
    }

    .music-section {
        padding: 40px 10px;
    }
}

@media (max-width: 900px) {

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        width: 40px;
        height: 40px;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 999999;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: white !important;
        margin: 4px 0;
        border-radius: 2px;
    }

}

@media (max-width: 900px) {

    .music-grid {
        display: block !important;
        width: 100%;
    }

    .music-player {
        width: 100%;
    }

    .music-player iframe {
        width: 100% !important;
        height: 200px !important;
        border-radius: 10px;
    }

}


/* Estilo del botón de WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background-color: #1f2220;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #cf0303;
}

.music-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

/* FONDO DINÁMICO */
.bg-dinamico {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.bg-img.activo {
    opacity: 1;
}

/* OVERLAY OSCURO */
.music-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* CONTENIDO */
.music-grid {
    position: relative;
    z-index: 2;
}

/* VIDEOS */
#videoContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.video {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.video:hover {
    transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #videoContainer {
        grid-template-columns: 1fr;
    }
}

.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
}

/* hover */
.wa-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

/* animación suave */
.wa-float {
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.music-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

/* FONDO BASE */
.bg-animado {
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(270deg, #fcd116, #003893, #ce1126);
    background-size: 600% 600%;

    animation: gradienteBase 10s ease infinite;
}

/* OVERLAY */
.music-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* CONTENIDO */
.music-grid {
    position: relative;
    z-index: 2;
}

/* VIDEOS */
#videoContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.video {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.video:hover {
    transform: scale(1.03);
}

/* ANIMACIÓN BASE */
@keyframes gradienteBase {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* VARIACIONES POR VIDEO */

/* 1 - MÁS INTENSO */
.bg-style-1 {
    animation: gradienteRapido 5s ease infinite;
}

@keyframes gradienteRapido {
    0% { background-position: 0% }
    50% { background-position: 100% }
    100% { background-position: 0% }
}

/* 2 - EFECTO DESTELLO */
.bg-style-2 {
    animation: gradienteBrillo 3s linear infinite;
}

@keyframes gradienteBrillo {
    0% { filter: brightness(1) }
    50% { filter: brightness(1.4) }
    100% { filter: brightness(1) }
}

/* 3 - EFECTO SUAVE */
.bg-style-3 {
    animation: gradienteSuave 12s ease infinite;
}

@keyframes gradienteSuave {
    0% { background-position: 0% }
    50% { background-position: 50% }
    100% { background-position: 0% }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #videoContainer {
        grid-template-columns: 1fr;
    }
}


.btn-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, #b31217, #e52d27);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

/* hover más elegante */
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Comportamiento normal (desktop) */
.servicio-content {
    display: none;
}

.servicio.active .servicio-content {
    display: block;
}

/* 👇 MÓVIL */
@media (max-width: 768px) {
    .servicio-content {
        display: block !important;
    }

    .arrow {
        display: none; /* opcional: ocultar flecha */
    }
}

@media (max-width: 768px) {

    /* 🔥 DESACTIVAR EFECTO ACORDEÓN */
    .servicio-content {
        max-height: none !important;
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
        transform: none !important;
    }

    /* 🔥 BOTÓN SIEMPRE VISIBLE */
    .btn-whatsapp {
        display: inline-block !important;
        opacity: 1 !important;
    }

    /* 🔥 OCULTAR FLECHA */
    .arrow {
        display: none !important;
    }

    /* 🔥 QUITAR EFECTO CLICK VISUAL */
    .servicio-header {
        pointer-events: none;
    }

    /* 🔥 CENTRAR TODO */
    .servicio {
        text-align: center;
    }

    .servicio-content {
        margin-top: 10px;
    }

}

@media (max-width: 768px) {

    .servicio {
        padding: 40px 20px; /* 🔥 sube todo el bloque */
    }

    .servicio-content {
        margin-bottom: 10px; /* espacio antes del botón */
    }

    .btn-whatsapp {
        margin-top: 12px;
        margin-bottom: 10px; /* 🔥 evita que quede pegado abajo */
    }

}


.arrow {
    transition: transform 0.45s cubic-bezier(.25,.8,.25,1);
}

.arrow {
    display: inline-block;
    margin-top: 5px;
    transform: rotate(0deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.servicio-content {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: 
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(.25,.8,.25,1);
}

/* estado abierto */
.servicio.activo .servicio-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* CONTENIDO SIEMPRE VISIBLE */
.servicio-content {
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
    transform: none !important;
    overflow: visible !important;
    padding: 20px;
}

/* ELIMINAR FLECHA */
.arrow {
    display: none !important;
}

/* EVITAR QUE EL HEADER SEA CLICKEABLE */
.servicio-header {
    pointer-events: none;
}

/* OPCIONAL: MEJOR ESPACIADO */
.servicio {
    padding-bottom: 20px;
}

/* GRID */
.servicios-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch; /* 🔥 clave: misma altura */
}

/* CARD */
.servicio {
    width: 300px;
    min-height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 20px;
}

/* CONTENIDO INTERNO */
.servicio-content {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 200px; /* 🔥 fija altura interna */
}

/* TÍTULO */
.servicio h3 {
    min-height: 25px; /* 🔥 todos alineados */
}

/* TEXTO */
.servicio-content p {
    flex-grow: 1; /* 🔥 ocupa espacio */
    text-align: justify;
    margin-bottom: 15px;
}

/* BOTÓN SIEMPRE ABAJO */
.btn-whatsapp {
    align-self: flex-start; /* o center si quieres centrado */
}

.servicio-texto {
    position: relative;
    z-index: 2;
    color: white;

    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {

    .servicios-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .servicio {
        width: 90%;
        max-width: 400px;
    }

}

@media (max-width: 768px) {
    .servicios {
        background-attachment: scroll; /* 🔥 clave */
        background-position: center center;
        background-size: cover;
         min-height: 100%;
    }
}

@media (max-width: 768px) {
    .contacto {
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
    }
}

@media (max-width: 768px) {

    #videoContainer {
        display: flex;
        flex-direction: column;
        align-items: center; /* 🔥 centra */
        gap: 15px;
    }

    .video {
        width: 95%;
        max-width: 400px;
    }

}

