/* =============================== */
/*      TIPOGRAFÍA GLOBAL          */
/* =============================== */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding-left: 100px;
    padding-right: 100px;
    color: #fff;
}


/* =============================== */
/*      VÍDEO DE FONDO             */
/* =============================== */
.hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);  /*  overlay oscuro real */
    /* backdrop-filter: blur(3px); */
    z-index: 1;
}
/* =============================== */
/*      FOOTER            */
/* =============================== */
footer{
  position: relative;
  z-index: 10;        /* por encima del overlay (que está en 1) */
  background: #fff;   /* blanco real */
  color: #000;
}

footer .carousel{
    
  background: #fff;   /* por si el footer no cubre */
}


/* =============================== */
/*      MENÚ HAMBURGUESA          */
/* =============================== */
.header {
    position: fixed;
    top: 40px;
    left: 60px;
    z-index: 9999;
}

.menu-icon {
    width: 45px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 5px;
    background: #ffffff;
    border-radius: 4px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.menu-icon:hover span {
    opacity: 1;
}


/* =============================== */
/*      SIDEBAR DESPLEGABLE       */
/* =============================== */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    box-shadow: 5px 0 25px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 9998;
    padding-top: 2rem;
}

.sidebar-menu ul {
    padding: 0;
    margin: 0;
}

.sidebar-menu ul li {
    list-style: none;
}

.sidebar-menu ul li a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    color: #222;
    text-decoration: none;
    transition: 0.25s ease;
}

.sidebar-menu ul li a:hover {
    background: #333;
    color: #fff;
    padding-left: 2rem;
}


/* Animación de hamburguesa → X */
.header:hover .sidebar-menu {
    transform: translateX(0);
}

.header:hover .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.header:hover .menu-icon span:nth-child(2) {
    opacity: 0;
}

.header:hover .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


/* =============================== */
/*      SECCIÓN: SERVICIOS        */
/* =============================== */
.servicios {
    position: relative;
    z-index: 5;
    padding: 6rem 6rem 8rem 6rem;
    color: #fff;
}

.titulo-servicios {
    font-family: 'League Spartan', sans-serif;
    font-size: 4rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.intro-servicios p {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 1.4rem;
    color: #eaeaea;
}


/* =============================== */
/*      GRID DE SERVICIOS         */
/* =============================== */
.servicios-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.titulos-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 2rem 0 1rem;
    text-align: center;
}

.titulos-servicios h1 {
    color: #fff;
    font-family: 'League Spartan';
    font-size: 2.4rem;
    margin: 0;
}


/* =============================== */
/*      TARJETAS (CARDS)          */
/* =============================== */
.servicio-card {
    
    /* backdrop-filter: blur(6px); */
    border-radius: 6px;
    padding: 3rem;
    min-height: 360px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

 

.servicio-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e8e8e8;
}

.btn-card {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: 0.3s;
     display: block;
    width: fit-content;
     margin: auto auto 0 auto;   /* <-- Esto lo centra */
}

.btn-card:hover {
    background: #fff;
    color: #000;
}


/* =============================== */
/*      RESPONSIVE                */
/* =============================== */
@media (max-width: 1100px) {
    .servicios {
        padding: 4rem 3rem;
    }
    .titulo-servicios {
        font-size: 3.2rem;
    }
}

@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .servicios {
        padding: 3rem 1.6rem;
    }
    .titulo-servicios {
        font-size: 2.6rem;
    }
    .intro-servicios p {
        font-size: 1.05rem;
    }
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

body{
  padding-left: 0;
  padding-right: 0;
}

/* Mantiene tu margen lateral SOLO para el contenido */
.container{
  padding-left: 100px;
  padding-right: 100px;
}


@media (max-width: 900px){
  .container{
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Footer full width y no afectado por overlay */
footer{
  position: relative;
  z-index: 10;        /* por encima de .hero-overlay (z-index:1) */
  background: #fff;
}

footer .carousel{
  width: 100%;
  background: #fff;
}
