estilos 
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background-image:url("ICONO/INIVIO.mp4");
    background-size:cover;
    background-position:center;
    height:100vh;
}

/* Encabezado */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:30px 60px;
}

.logo{
    font-size:50px;
    font-weight:bold;
    letter-spacing:10px;
}

nav{
    display:flex;
    align-items:center;
}

nav a{
    color:black;
    text-decoration:none;
    margin-left:35px;
    font-size:25px;
}

nav a:hover{
    color:#00f1a9;
}

/* Botón */

.boton{
    background:black;
    color:rgb(247, 246, 246);
    padding:15px 15px;
    border-radius:10px;
}

.boton:hover{
    background:#f1ecec;
}

/* Sección principal */

.principal{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    height:75vh;
    text-align:center;
}

.principal h1{
    font-size:80px;
    font-weight:300;
}

.principal p{
    margin-top:35px;
    font-size:28px;
}

.logo img{
    height: 140px;
    width: auto;
}
#video-fondo{
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}
.nosotros{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.texto{
    width: 60%;
    background: rgba(255,255,255,.85);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    
}
.nosotros{
    
    display:flex;
    justify-content:center;
    padding: 20px 20px;
}

.texto{
    width:70%;
    max-width:900px;
    background:rgba(255,255,255,.9);
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    text-align:center;
}

.texto h1{
    font-size:42px;
    margin-bottom:25px;
}

.texto p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:20px;
}
.idiomas{
    display:flex;
    gap:15px;
}

.idiomas img{
    width:35px;
    cursor:pointer;
    transition:.3s;
}

.idiomas img:hover{
    transform:scale(1.20);
}


.mapa{
    margin-top:30px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}

.mapa iframe{
    width:100%;
    height:450px;
    border:none;
}

 .box {
    background-color: #fffefe;
    border: 2px solid #f7f9fb;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 4px 12px #fdfbfb;
}

.box h2 {
    color: #050505;
    margin-top: 0;
}

.box p {
    color: #333;
    line-height: 1.45;
}
/* Aplica esto en el CSS general de todas tus páginas */
body {
    margin: 0;                /* Quita los márgenes por defecto del navegador */
    padding: 30px;            /* <--- ESTO CREA EL MARCO BLANCO EN LOS 4 LADOS */
    box-sizing: border-box;   /* Asegura que el padding no aumente el ancho total */
    background-color: #f4f4f4; /* El color de fondo del sitio (gris claro o blanco) */
}

/* Si tienes un contenedor principal (donde están el logo y el menú) */
.contenedor-principal { /* Cámbialo por el nombre de tu clase */
    max-width: 1400px;   /* Opcional: limita el ancho máximo en pantallas muy grandes */
    margin: 0 auto;      /* Centra el contenido horizontalmente dentro del marco */
    background-color: white; /* El fondo blanco de la página */
}

/* RESET BÁSICO Y MARGEN UNIFORME (EL MARCO BLANCO) */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 30px 30px 0 30px; /* Marco uniforme arriba, izq, der. Abajo 0 para que el footer llegue al borde */
    background-color: #f4f4f4;
    font-family: 'Montserrat', sans-serif;
}

/* --- MENÚ DE NAVEGACIÓN --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px; /* Espacio entre menú y contenido */
    background-color: #ffffff; /* Fondo blanco del menú */
}

.idiomas {
    display: flex;
    justify-content: flex-end; /* Alinea banderas a la derecha */
    gap: 10px;
    padding-bottom: 10px; /* El espacio que pediste entre banderas y logo */
    background-color: #ffffff;
}

.idiomas img {
    width: 45px;
    height: auto;
    cursor: pointer;
}

.logo img {
    height: 80px; /* Ajusta la altura del logo */
    width: auto;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

nav a.boton {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

/* --- CONTENIDO PRINCIPAL --- */
main {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Sombra suave opcional */
    margin-bottom: 20px;
}

/* --- PÁGINA NOSOTROS --- */
.nosotros .texto h1, .nosotros .texto h2 {
    margin-top: 0;
    color: #1c1a5e;
}
.nosotros .texto p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* --- PÁGINA SERVICIOS (GRID) --- */
.box {
    text-align: center;
    margin-bottom: 30px;
}
.box h1 {
    margin-top: 0;
    color: #1c1a5e;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-box {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #ccc;
    border-radius: 4px;
}

.project-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.project-box:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.project-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    padding: 20px;
}

.project-content h2 {
    margin: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        flex-wrap: wrap;
        margin-top: 15px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .project-box {
        height: 250px;
    }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-2217 {
    padding: var(--sectionPadding);
    background-color: #FDFAF8;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column; 
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbsr-2217 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: %;
    max-width: 36.625rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #sbsr-2217 .cs-text {
    margin-bottom: 1.5rem;
  }
  #sbsr-2217 .cs-list {
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 24px - 32px */
    gap: clamp(1.5rem, 3vw, 2rem);
  }
  #sbsr-2217 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
  }
  #sbsr-2217 .cs-icon-wrapper {
    /* 60px - 80px */
    width: clamp(3.75rem, 7vw, 5rem);
    height: clamp(3.75rem, 7vw, 5rem);
    border: 1px solid #bababa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }
  #sbsr-2217 .cs-icon {
    width: 2rem;
    height: auto;
    display: block;
  }
  #sbsr-2217 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: var(--headerColor);
  }
  #sbsr-2217 .cs-li-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.5em;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #sbsr-2217 .cs-image-group {
    /* scales the whole group based on the view width size and stop when that vales equals .74em, resets at desktop */
    font-size: min(2.32vw, .74em);
    width: 39.375em;
    height: 40.9375em;
    display: block;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-image-group::before {
    content: "";
    width: 22.375em;
    height: auto;
    background: var(--secondary);
    opacity: 0.2;
    display: block;
    position: absolute;
    top: 9em;
    bottom: 11.125em;
    left: 5.5em;
  }
  #sbsr-2217 .cs-picture {
    position: absolute;
  }
  #sbsr-2217 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #sbsr-2217 .cs-picture1 {
    width: 19.0625em;
    height: auto;
    border: 4px solid #FFFFFF;
    top: 0;
    bottom: 17.5625em;
    left: 0;
  }
  #sbsr-2217 .cs-picture2 {
    width: 25.8125em;
    height: auto;
    border: 4px solid #FFFFFF;
    top: 16.9375em;
    right: 0;
    bottom: 0;
  }
  #sbsr-2217 .cs-picture3 {
    width: 13.625em;
    height: 9.6875em;
    top: 5.25em;
    right: 4.6875em;
  }
  #sbsr-2217 .cs-graphic {
    /* 131px - 255px */
    width: clamp(5.8175rem, 15vw, 15.9375rem);
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  #sbsr-2217 .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    padding: 0 1.5rem;
    background-color: var(--primary);
    color: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #sbsr-2217 .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #sbsr-2217 .cs-button-solid:hover:before {
    width: 100%;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #sbsr-2217 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  #sbsr-2217 .cs-content {
    width: 47%;
    align-self: center;
  }
  #sbsr-2217 .cs-li {
    align-items: center;
  }
  #sbsr-2217 .cs-image-group {
    font-size: min(1.2vw, 1em);
    height: auto;
    flex: none;
    order: 2;
  }
}
/*-- -------------------------- -->
<---       Why Choose Us        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #why-choose-2058 {
    background-color: #f5fcfb;
    position: relative;
    z-index: 1;
  }
  #why-choose-2058 .cs-container {
    width: 100%;
    max-width: 120rem;
    margin: auto;
    display: grid;
    grid-auto-flow: row;
  }
  #why-choose-2058 .cs-flex1,
  #why-choose-2058 .cs-flex2 {
    /* breaks up the container so its children can be children of the cs-container and arrange themselves with the other children of the cs-container */
    display: contents;
    position: relative;
    z-index: 1;
  }
  #why-choose-2058 .cs-content {
    width: 100%;
    max-width: 43.75rem;
    padding: var(--sectionPadding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
  }
  #why-choose-2058 .cs-text {
    margin: 0 0 2rem;
  }
  #why-choose-2058 .cs-link {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    width: max-content;
    color: var(--secondary);
    display: inline-block;
  }
  #why-choose-2058 .cs-small-picture {
    width: 100%;
    /* 388px - 420px */
    height: 24.25rem;
    display: block;
    position: relative;
  }
  #why-choose-2058 .cs-small-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  #why-choose-2058 .cs-services {
    margin: 0;
    /* 32px - 100px top & bottom*/
    /* 16px - 60px left & right */
    padding: clamp(2rem, 6vw, 6.25rem) clamp(1rem, 3vw, 3.75rem);
    background-color: lch(89.85% 32.72 99.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  #why-choose-2058 .cs-item {
    list-style: none;
  }
  #why-choose-2058 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }
  #why-choose-2058 .cs-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 0 1rem;
    color: var(--bodyTextColorWhite);
  }
  #why-choose-2058 .cs-video-wrapper {
    width: 100%;
    height: 95vw;
    max-height: 21.25rem;
    display: block;
    grid-row: 4;
    position: relative;
    z-index: 1;
  }
  #why-choose-2058 .cs-video-wrapper:hover {
    cursor: pointer;
  }
  #why-choose-2058 .cs-video-wrapper:hover .cs-play {
    transform: translate(-50%, -50%) scale(1.2);
  }
  #why-choose-2058 .cs-video-wrapper video,
  #why-choose-2058 .cs-video-wrapper .cs-picture {
    width: 100%;
    height: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #why-choose-2058 .cs-video-wrapper video img,
  #why-choose-2058 .cs-video-wrapper .cs-picture img {
    width: 100%;
    height: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #why-choose-2058 .cs-play {
    /* 80px - 120px */
    width: clamp(5rem, 10vw, 7.5rem);
    height: clamp(5rem, 10vw, 7.5rem);
    background-color: rgba(84, 203, 146, 0.2);
    pointer-events: none;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, opacity 0.3s;
    backdrop-filter: blur(8px);
  }
  #why-choose-2058 .cs-play.cs-hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) !important;
  }
  #why-choose-2058 .cs-icon {
    width: 1.25rem;
    height: auto;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #why-choose-2058 {
    padding: var(--sectionPadding);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  #why-choose-2058 .cs-container {
    grid-template-columns: repeat(12, 1fr);
    

}
  #why-choose-2058 .cs-content {
    /* 48px - 100px */
    padding-top: clamp(3rem, 6vw, 6.25rem);
    /* 60px - 80px */
    padding-bottom: clamp(3.75rem, 5vw, 5rem);
    grid-column: span 8;
    grid-row: 1 / 1;
  }
  #why-choose-2058 .cs-small-picture {
    height: 100%;
    grid-column: span 4;
    grid-row: 2 / 2;
  }
  #why-choose-2058 .cs-services {
    justify-content: center;
    grid-column: span 4;
    grid-row: 2 / 2;
  }
  #why-choose-2058 .cs-video-wrapper {
    height: 100%;
    max-height: none;
    grid-column: span 4;
    grid-row: span 2;
  }
}
/* Large Desktop - 1920px */
@media only screen and (min-width: 120rem) {
  #why-choose-2058 .cs-container {
    max-width: 50rem;
    display: block;
  }
  #why-choose-2058 .cs-content {
    width: 100%;
    max-width: 54.1875rem;
    padding-left: 0;
    padding-right: 0;
    flex: none;
  }
  #why-choose-2058 .cs-flex2 {
    width: 10%;
    display: flex;
    max-width: 40.625rem;
    position: relative;
    z-index: 1;
  }
  #why-choose-2058 .cs-small-picture {
    position: absolute;
    height: 100%;
    width: 36vw;
    right: 100%;
    top: 0;
  }
  #why-choose-2058 .cs-flex1 {
    width: 100%;
    max-width: 54.1875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  #why-choose-2058 .cs-video-wrapper {
    position: absolute;
    height: 100%;
    left: 100%;
    top: 0;
    width: 43vw;
  }
}
                                
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: white;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;
}
header{
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}

header{
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}
header{
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
}
<div class="cs-video-wrapper">
    <video autoplay muted loop playsinline width="100%">
        <source src="video/LANCHA.mp4" type="video/mp4">
    </video>
</div>
body{
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}
/*  BASE DEL MENÚ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

/* OCULTAR EL CHECKBOX */
#menu-toggle {
    display: none;
}
.menu-label {
    display: none;
}

/* --- RESPONSIVE PARA CELULAR --- */
@media (max-width: 900px) {
    
    /*  COLUMNA */
    header {
        flex-direction: column;
        align-items: flex-start; /* Alinea todo a la izquierda */
        position: relative;
    }

    .logo {
        width: 100%;
    }

    /* HAMBURGUESA EN LA ESQUINA DERECHA */
    .menu-label {
        display: block;
        position: absolute;
        top: 40px;
        right: 310px;
        font-size: 35px;
        cursor: pointer;
        z-index: 1000;
        user-select: none;
    }

    /* EL MENÚ*/
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        padding: 20px 0;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }

    /* EL MENÚ SE MUESTRA */
    #menu-toggle:checked + .menu-label + nav {
        display: flex;
    }

    /* ESTILOS CELULAR */
    nav a {
        padding: 15px 20px;
        font-size: 1.2rem;
        text-decoration: none;
        color: #000;
        border-bottom: 1px solid #f0f0f0;
    }
    nav a:last-child {
        border-bottom: none;
    }
    
    nav a.boton {
        background-color: black;
        color: white;
        text-align: center;
        border-radius: 5px;
        margin: 10px 20px;
        padding: 10px;
    }
}
/* --- DESBORDE EN EL CELULAR --- */
@media (max-width: 900px) {
    .texto p, .texto h1, .texto h2, .texto h3 {
        word-break: break-word; /* Esto obliga a las palabras largas a bajar de línea */
        overflow-wrap: break-word;
        max-width: 100%;        /* Asegura que no se salga de la pantalla */
        padding: 0 10px;        /* Un pequeño margen para que no toque los bordes */
    }
}
/* --- PARA EL CELULAR --- */
@media (max-width: 900px) {

    /* Quitamos los bordes redondeados y la sombra exagerada en el celular */
    .texto, .nosotros, main {
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Hacemos que los textos NO se rompan en pedazos */
    .texto p, .texto h1, .texto h2 {
        word-break: normal !important; /* Quitamos la rotura forzada */
        overflow-wrap: break-word;     /* Solo rompemos si es absolutamente necesario */
        white-space: normal !important;
    }

    /* Aseguramos que el contenedor principal ocupe todo el ancho */
    main {
        padding: 0 !important;
    }
}
/* ESTILO DEL HEADER (EL MENÚ DE ARRIBA) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: #ffffff; /* Es MUY importante que tenga fondo blanco */
    
    /* --- ESTAS 2 LÍNEAS HACEN QUE SE QUEDE PEGADO ARRIBA --- */
    position: sticky; 
    top: 0;
    /* ------------------------------------------------------- */
    
    z-index: 1000; /* Para que siempre esté encima del resto del contenido */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Una sombrita suave para que se vea que está flotando */
}
/* En tu estilos.css */
.logo {
    padding-left: 149px; /* Esto mueve el logo 20 píxeles a la derecha */
    /* También puedes usar margin-left: 20px; */
}

/* Agrega o modifica esto en tu estilos.css */
.logo img {
    width: 270px;     /* O 200px. A mayor número, más grande el logo */
    height: auto;     /* Esto hace que el alto se ajuste automáticamente sin deformarse */
    display: block;
    max-width: 100%;
}
/* --- CARRUSEL CSS RÁPIDO (MEJORADO) --- */
.carrusel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background-color: #f4f4f4;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.carrusel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: moverCarrusel 3s linear infinite; /* 10 segundos es rápido */
}

.carrusel-item {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes moverCarrusel {
    /* Comienza en la posición 0 */
    0% { transform: translateX(0); }
    /* Se mueve a la izquierda hasta que la primera imagen sale de la pantalla */
    100% { transform: translateX(calc(-300px * 5 - 20px * 5)); } /* Ajusta según cuántas imágenes tengas */
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .carrusel-item {
        width: 200px;
        height: 200px;
    }
    @keyframes moverCarrusel {
        100% { transform: translateX(calc(-200px * 5 - 20px * 5)); }
    }
}

/* --- BOTÓN DE FACEBOOK --- */
.btn-facebook {
    display: inline-flex;
    align-items: center;
    background-color: #1877f2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn-facebook:hover {
    background-color: #155db1; /* Un azul un poco más oscuro al pasar el mouse */
}

/* El icono dentro del botón */
.btn-facebook img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: white;
    border-radius: 3px;
    padding: 2px;
}/* --- RESPONSIVE PARA CELULAR --- */
@media (max-width: 900px) {
    header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
        flex-wrap: wrap !important;
        position: relative !important;
    }

    .logo {
        width: auto !important;
        padding-left: 0 !important;
    }
    .logo img {
        width: 180px !important; /* Se achica un poco para el celular */
        height: auto !important;
    }

    .menu-label {
        display: block !important;
        position: static !important;
        font-size: 30px !important;
        cursor: pointer !important;
        color: #1c1a5e !important;
    }

    nav {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background-color: #ffffff !important;
        padding: 15px 0 !important;
        margin-top: 15px !important;
        border-top: 1px solid #eee !important;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05) !important;
    }

    #menu-toggle:checked + .menu-label + nav {
        display: flex !important;
    }

    nav a {
        padding: 12px 0 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid #f0f0f0 !important;
        text-decoration: none !important;
        color: #000 !important;
    }

    nav a.boton {
        width: auto !important;
        padding: 10px 30px !important;
        margin-top: 10px !important;
        border-bottom: none !important;
        background-color: black !important;
        color: white !important;
        border-radius: 5px !important;
    }

    .texto, .nosotros, main {
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* --- CORRECCIÓN PARA QUE LA IMAGEN SE ESTIRE COMO EL VIDEO --- */
.cs-video-wrapper {
    width: 100%;
    height: 100%; /* Ocupa toda la altura del contenedor */
    position: relative;
    overflow: hidden; /* Evita que la imagen se salga */
    border-radius: 10px;
}

/* La clase especial para la imagen */
.imagen-estirada {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ESTO ES MÁGICO: Estira la imagen sin deformarla */
    object-position: center;
    display: block;
}