
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reset básico */
body {
    margin: 0;
    font-family: 'Arial', sans-serif; /* Keep Arial as a general fallback, or change if Montserrat is for everything */
    background-color: white;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Navbar - DEFAULT (DESKTOP) STYLES */
.navbar {
    position: fixed;
    top: 0;
    height: 60px; /* This is the target height */
    width: 100%;
    z-index: 1000;
    background-color: #000;
    padding: 10px 40px; /* 10px top/bottom padding means 40px content height */
    max-width: 100vw;
    box-sizing: border-box;
    overflow: visible; /* Crucial for dropdown on mobile */
    /* Remove white-space: nowrap here if you want desktop links to wrap.
       If you want them to scroll horizontally on desktop too, keep it.
       For a typical desktop, you usually want them to fit or line break gracefully. */
    /* overflow-x: auto; /* Typically not needed on desktop */
}

.navbar-content {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0;
    margin-left: 40px;
}

.logos-wrapper {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
    height: 60px;
     margin-left: -65px;
     
}

.logo, .logo_letras {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.8s ease-in-out;
}

.logo img:hover {
    transform: rotate(360deg);
}

.logo_letras img {
    height: 25px; /* más pequeño que el principal */
    width: auto;
    object-fit: contain;
}
/* Nav Links - DEFAULT (DESKTOP) STYLES */
.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    margin-left: auto; /* para que sigan donde están */
    font-family: 'Montserrat', sans-serif;
}

.nav-links li {
    width: auto; /* This might be redundant if flex items auto-size */
}

.nav-links li a {
   display: flex;
    align-items: center;
    height: 100%;
    padding: 8px 16px;
    text-decoration: none;
    color: white;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background-color 0.2s, color 0.3s, border-color 0.3s;
    border: 15px solid transparent; /* define el borde desde ya */
    box-sizing: border-box;
}

.nav-links li a:hover {
    background-color: #fbc800;
    border-color: #fbc800; /* solo cambia el color, no el tamaño */
    color: #000000;
    box-shadow: 0 0 2px #fbc800;
}

/* Hamburger menu - HIDDEN BY DEFAULT (DESKTOP) */
.hamburger-menu {
    display: none; /* Hide on desktop */
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

/* ---------------- MOBILE SPECIFIC NAVBAR STYLES (768px and below) ---------------- */
@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 10px 20px;
    overflow: visible;
  }

  .navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0;
    margin-left: 0;
    position: relative;
  }

  .logos-wrapper {
    position: relative;
    transform: none;
    margin-left: 0;
    padding-left: 0;
    height: auto;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo img {
    height: 30px;
  }

  .logo_letras img {
    height: 15px;
    padding-top: 1px;
  }

  .hamburger-menu {
    display: block;
    order: 2;
    padding: 5px;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0; /* pegar a la derecha */
  width: 230px; /* ancho fijo más pequeño */
  background-color: #000;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 10px 0;
  text-align: right;
}

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 16px;
    display: inline-block;  /* Solo ocupa el ancho del texto + padding */
    width: auto;            /* No ocupar todo el ancho */
    padding: 15px 10px;
  border: none !important;    /* O el que prefieras */
  }

  .nav-links li a:hover {
    background-color: #fbc800;
    color: #000;
    border: 2px solid #fbc800;
  }

  .hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}


/* For even smaller mobile screens (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 10px;
    }
    .logo img {
        height: 25px; /* Adjust further for very small screens */
    }
    .hamburger-menu {
        padding: 3px; /* Slightly less padding for very small screens */
    }
    .nav-links li a {
        font-size: 14px;
        padding: 12px 10px;
    }
}



/* Collage */
.collage-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 480px; /* Default desktop height */
    z-index: 0;
    overflow: hidden;
    margin-bottom: 50px; /* Keep the positive margin */
}
.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop */
    grid-template-rows: repeat(4, 1fr);
    width: 100%;
    height: 100%;
    gap: 2px;
    opacity: 0.40;
}

.collage-item {
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) brightness(80%);
  opacity: 0.4;
  animation: fadeIn 3s ease forwards;
  transition: filter 0.3s ease, opacity 0.8s ease;
}

.collage-item:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.collage-item:nth-child(1),
.collage-item:nth-child(4),
.collage-item:nth-child(13),
.collage-item:nth-child(16) 
{
  opacity: 0.8;
}

.collage-item:nth-child(2),
.collage-item:nth-child(3),
.collage-item:nth-child(5),
.collage-item:nth-child(8),
.collage-item:nth-child(9),
.collage-item:nth-child(12),
.collage-item:nth-child(14),
.collage-item:nth-child(15) 
{
  opacity: 0.6;
}

.collage-item:nth-child(6),
.collage-item:nth-child(7),
.collage-item:nth-child(10),
.collage-item:nth-child(11) 
{
  opacity: 0.3;
}

.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  width: 80%;
  max-width: 1000px;
  height: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.icono-centro {
    z-index: 2; /* Ensure it's above collage items. This is good. */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
margin-top:-15px;
    /* IMPORTANT: Ensure these are not too restrictive */
    max-width: 80%; /* Limits the containing div's size relative to collage-container */
    max-height: 80%; /* Limits the containing div's size relative to collage-container */
    
    /* Ensure it's not hidden by mistake */
    display: block; /* Make sure it's not display: none; from another rule */
    opacity: 1; /* Make sure it's not transparent from another rule */
}

.icono-centro img {
    display: block; /* Removes any extra space around the image */
    max-width: 100%; /* Image will take up to 100% of its parent (.icono-centro) */
    max-height: 100%; /* Image will take up to 100% of its parent (.icono-centro) */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the whole image is visible without cropping */

    /* Ensure the image itself is not hidden */
    visibility: visible;
    opacity: 1;
}


@media (max-width: 768px) {
    .collage-container {
        height: 300px; /* Reduced height on mobile */
        margin-bottom: 30px;
    }

    .collage-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
        width: 100%;
        height: 100%;
    }

      .icono-centro {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        max-width: 70%; /* Adjust the logo container size for mobile */
        max-height: 70%;
    }
    .icono-centro img {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .collage-container {
        height: 250px;
        margin-bottom: 20px;
    }

    .collage-grid {
        grid-template-columns: 1fr; /* Stack items in a single column on very small screens */
        grid-template-rows: repeat(auto-fit, minmax(80px, 1fr));
    }

    .icono-centro {
        max-width: 80%;
        max-height: 80%;
    }
    .icono-centro img {
        max-width: 100%;
        max-height: 100%;
    }
}

.hero-logo {
  position: relative;
  z-index: 1;
}

/* Hero */
.centered-hero {
  background-color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.centered-hero .hero-logo {
  height: 480px;
  margin-bottom: 130px;
}

@media (max-width: 768px) {
    .centered-hero {
        padding: 30px 15px; /* Reduce padding */
    }

    .centered-hero .hero-logo {
        height: 300px; /* Smaller height for the hero logo */
        margin-bottom: 80px; /* Adjust margin */
    }
}

@media (max-width: 480px) {
    .centered-hero .hero-logo {
        height: 200px;
        margin-bottom: 50px;
    }
}

/* Título de servicios */
.titulo-servicio-wrapper {
  width: 100%;
  background-color: #000;
  padding: 30px 0;
  text-align: center;
  
}

.servicios-section {
    padding: 0;
    margin: 0;
}

.titulo-servicio {
  color: #f5f5f5;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 0 2px white;
  font-family: 'Montserrat', sans-serif;
}

/* ========= NUEVO CONTENEDOR ========= */
.carousel-y-dots {
  width: 100%;
  background-color: #000;
  padding-bottom: 40px;
  box-sizing: border-box;
  margin-top: 0;
  padding-top: 0;
}

/* Carrusel */
.carousel-container {
    overflow: hidden; /* Crucial: Hides slides outside the current view */
    position: relative; /* Needed for positioning arrows relative to it, if they are its children */
    width: 100%; /* Ensure it takes full width */
    height: 400px; /* Example desktop height for the carousel viewport */
    margin: 0;
    padding: 0;
}

.slider-container {
  overflow: hidden;
  width: 100vw;
  position: relative;
}

.carousel { /* Your .carousel div might not need many styles beyond what's inherited */
    /* If you were using this for flex or grid, might need adjustment.
       For now, assume it's mostly a wrapper. */
    margin: 0;
    padding: 0;
}

.slider-container { /* This wraps your .slides div */
    width: 100%;
    height: 100%; /* Make it fill the carousel-container height */
    overflow: hidden; /* Ensure anything within this isn't overflowing *itself* before .slides */
    position: relative; /* Important for .slides if it's not the root transformed element */
    margin: 0;
    padding: 0;
}

.slides { /* This is the element that gets the transform: translateX() */
    display: flex; /* Arranges all slides in a row */
    width: fit-content; /* This will make the div naturally wide enough for all slides */
                         /* Or, if you want it to be explicit: width: calc(100% * var(--total-slides)); */
    height: 100%;
    transition: transform 0.5s ease-in-out; /* Smooth transition for movement */
    margin: 0; /* No margin on the slides wrapper */
    padding: 0; /* No padding on the slides wrapper */
}

.slide {
  flex: 0 0 100vw; /* cada slide ocupa 100% del viewport ancho */
  height: 400px; /* altura fija */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0; /* aseguramos que no haya márgenes */
  padding: 0; /* ni padding */
}

.slide-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(1, 0.8, 0, 0.6);
  padding: 15px 80px;
  color: white;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  z-index: 5;
  box-sizing: border-box;
}
.slide-text {
  max-width: none !important;
  margin: 0 !important;
}

/* Tablets */
@media (max-width: 1024px) {
  .slide-text {
    padding: 15px 60px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .slide-text {
    padding: 15px 20px;
    font-size: 0.8rem;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .slide-text {
    padding: 10px 15px;
  }
}

.slide-text h2 {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
  
}

.slide-text p {
  margin: 5px;
  font-size: 0.8rem;
  line-height: 1.4;
  text-shadow: 20 10 10px rgba(0, 0, 0, 0.9);
  background-color: transparent;
  width: 100%;
}

/* Responsive para slide-text */

/* Flechas del carrusel */
.arrow-container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-color: #000;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.arrow-container:hover {
  opacity: 1;
}

.arrow-container.left {
  left: 0;
}

.arrow-container.right {
  right: 0;
}

.btn-arrow {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

.btn-arrow:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 12px #000;
}

/* Dots */
.dots-fondo {
  margin-top:0px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background-color: #000;
  padding: 10px 0;
}

.dots-wrapper {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #fbc800;
  border: 1px solid #000;
}

/* Flechas móviles (a los lados de los dots) - ocultas en desktop */
.btn-arrow-mobile {
  display: none;
  font-size: 1rem;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border-radius: 100%;
  border: none;
  padding: 2px 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-arrow-mobile:hover {
  background-color: #fbc800;
  color: black;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  /* Ocultar flechas desktop */
  .arrow-container {
    display: none;
  }


  /* Mostrar flechas móviles (debes agregar estos botones en HTML) */
  .btn-arrow-mobile {
    font-size: 1rem;
  background: #000000;
  color: #fff;
  border-radius: 50%;
  padding: 1px; /* <-- más pequeño */
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  .btn-arrow-mobile:hover {
    background: #fbc800;
    transform: scale(0.9);
    color: #000;
   
  }

  .carousel-y-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .carousel-container {
    height: 450px;
  }

  .slide {
    height: 450px;
  }

  .slide-text {
    padding: 15px;
    max-width: 90%;
  }

  .slide-text h2 {
    font-size: 1.5em;
    margin-bottom: 8px;
  }

  .slide-text p {
    font-size: 0.9em;
  }

  /* Contenedor para flechas móviles y dots */
  .arrows-and-dots {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 5px;
  }

  .dots-fondo {
    padding: 0;
    margin: 0;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .slide-text {
    padding: 10px;
    max-width: 95%;
  }

  .slide-text h2 {
    font-size: 1.2em;
  }

  .slide-text p {
    font-size: 0.8em;
  }

  .carousel-container {
    height: 450px;
  }
}

.contacto-contenedor {
  display: flex;
  min-height: 100vh;
  background-color: #fff;
}

.contacto-logo {
  width: 65%;
  background-color: #fff;
  display: flex;
  align-items: center;   /* Centra verticalmente */
  justify-content: center; /* Centra horizontalmente */
  padding: 20px;
  box-sizing: border-box;
  min-height: 100vh; /* Asegura que ocupe toda la altura visible */
}

.logo-img {
  max-width: 80%;
  max-height: 250px;
  height: auto;
  object-fit: contain;
}



/* Formulario reducido al 35% */
.formulario {
  width: 35%;
  background-color: #000;
  color: #fff;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.formulario-titulo {
  font-size: 24px;
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}

.formulario .field {
  margin-bottom: 16px;
}

.formulario .field label {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: bold;
}

.formulario .field input,
.formulario textarea {
  display: block;
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
}

.formulario input[type="submit"] {
  display: inline-block;
  padding: 8px 30px;
  font-size: 14px;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.formulario input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
}

.logo-img {
  max-width: 100%;
  max-height: 550px;
  height: auto;
  object-fit: contain;
}

.logo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px; /* o el que uses */
}

.social-btn {
  width: 50px;
  height: 50px;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  position: relative;
  top: -30px;

}

.social-btn:hover {
  background-color: #fbc800;
  transform: scale(1.1);
   color: #000;
}

.logo-area, /* contenedor del logo y sus iconos */
.formulario .redes-sociales /* contenedor iconos dentro del form */
{
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn1 {
  width: 70px;
  height: 70px;
  font-size: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  position: relative;
  top: 30px;
}
.social-btn1:hover {
  background-color: #fbc800;
  transform: scale(1.1);
  color: #000;
}

@media (max-width: 768px) {
    .contacto-contenedor {
        flex-direction: column;
    }

    .contacto-logo {
        /* Reduce padding around the logo and its social media buttons */
        padding: 40px 20px; /* Reduced from 20px (all sides) or specific values */
        /* Reduce the minimum height significantly on mobile */
        min-height: auto; /* Allow height to shrink to content */
        height: auto; /* Ensure it's not fixed if it was */
        /* Add a bottom margin to push it slightly closer to the form */
        margin-bottom: 20px; /* Adjust as needed */
    }

    .contacto-logo,
    .formulario {
        width: 100%;
        padding: 20px;
    }

    .formulario-titulo {
        font-size: 20px;
    }

    .logo-img {
        max-height: 180px;
        margin-top: 20px; /* Adjust maximum height for the logo */
    }

    .social-btn {
        width: 40px; /* Smaller social buttons for the logo area */
        height: 40px;
        font-size: 20px;
        top: 0px; 
        margin-top: 20px;/* Adjust position if needed */
    }

    .social-btn1 {
        width: 50px; /* Smaller social buttons for the form area */
        height: 50px;
        font-size: 28px;
        top: -10px; /* Adjust position if needed */
    }
}

@media (max-width: 768px) {
    

    /* Ensure the logo itself isn't too tall, already have max-height */
    .logo-img {
        max-height: 180px; /* Slightly reduce max-height further if needed */
    }

    /* Adjust the top position of the social-btn if it seems too high relative to logo */
    .social-btn {
        top: 0px; /* Reset or reduce negative top to bring them closer to the logo */
        margin-top: 20px; /* Add some top margin for spacing from logo */
    }
}

.info-empresa {
  width: 100%;
  background-color: #000;
  color: #000;
  padding: 80px 20px;
  box-sizing: border-box;
}

.info-contenedor {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.info-imagen {
  flex: 1 1 50%;
  min-width: 300px;
  height: auto;
}

.info-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-texto {
  flex: 1 1 50%;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
}

.info-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.sobre-nosotros {
  padding: 60px 20px 30px 20px; /* ← bajamos el padding-bottom */
  margin: 0;                   /* ← eliminamos márgenes extra */
}

@media (max-width: 768px) {
    .info-contenedor {
        flex-direction: column;
    }

    .info-imagen, .info-texto {
        flex: 1 1 100%;
    }

    .info-texto {
        padding: 30px 20px;
    }

    .info-texto h2 {
        font-size: 1.8rem; /* Smaller heading */
    }

    .info-texto p {
        font-size: 1rem; /* Smaller paragraph */
    }
}

@media (max-width: 480px) {
    .info-texto {
        padding: 20px 15px;
    }

    .info-texto h2 {
        font-size: 1.5rem;
    }

    .info-texto p {
        font-size: 0.9rem;
    }
}

.footer-marcas {
  background-color: #000;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.footer-contenedor {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contenedor h3 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 2px #888;
}

.marcas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.marcas-grid img {
  height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.marcas-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Existing media query for brands is good */
@media (max-width: 768px) {
    .footer-contenedor h3 {
        font-size: 1.5rem; /* Smaller heading */
        margin-bottom: 30px;
    }

    .marcas-grid {
        gap: 20px;
    }

    .marcas-grid img {
        height: 45px; /* Slightly smaller logos */
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .footer-contenedor h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .marcas-grid {
        gap: 15px;
    }

    .marcas-grid img {
        height: 40px;
        max-width: 80px;
    }
}
.sobre-nosotros {
  background-color: #000;
  color: #fff;
  padding: 30px 20px;
  margin: 0;
}

.sobre-nosotros-contenedor {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-nosotros-imagen img {
  max-width: 380px;
  width: 90%;
  height: auto;
  box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
}

.sobre-nosotros-texto {
  max-width: 600px;
  font-family: 'Montserrat', sans-serif;
}

.sobre-nosotros-texto h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  
}
 
.sobre-nosotros-texto p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Aseguramos que no haya espacio entre esta sección y el footer */
footer, .footer-marcas {
  margin-top: 0;
}

@media (max-width: 768px) {
    .sobre-nosotros-contenedor {
        flex-direction: column;
        text-align: center; /* Center text when stacked */
    }

    .sobre-nosotros-imagen img {
        max-width: 80%; /* Adjust image width */
        margin-bottom: 20px; /* Add some space below image */
    }

    .sobre-nosotros-texto h2 {
        font-size: 2rem; /* Smaller heading */
    }

    .sobre-nosotros-texto p {
        font-size: 1rem; /* Smaller paragraph */
    }
}

@media (max-width: 480px) {
    .sobre-nosotros-imagen img {
        max-width: 90%;
    }

    .sobre-nosotros-texto h2 {
        font-size: 1.7rem;
    }

    .sobre-nosotros-texto p {
        font-size: 0.95rem;
    }
}

.footer-derechos{
  font-size: 10px;
  margin-top: 50px;
}

/* ... (tu CSS existente) ... */

/* NUEVOS ESTILOS PARA EL LIGHTBOX */
.lightbox-modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo para cubrir toda la pantalla */
    z-index: 2000; /* Asegura que esté por encima de todo lo demás */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite desplazamiento si la imagen es muy grande */
    background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semi-transparente */
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh; /* Ocupa hasta el 90% del alto del viewport */
    object-fit: contain; /* Asegura que la imagen completa sea visible */
    border: 3px solid #fbc90000; /* Borde amarillo para resaltar */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001; /* Asegura que el botón esté por encima de la imagen */
}

.close-btn:hover,
.close-btn:focus {
    color: #0000004b;
    text-decoration: none;
    cursor: pointer;
}

/* Animación para la imagen (opcional) */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-modal.active .lightbox-content {
    animation: zoomIn 0.3s forwards;
}

/* Media Queries para responsividad del lightbox */
@media (max-width: 768px) {
    .close-btn {
        font-size: 30px;
        top: 15px;
        right: 25px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .close-btn {
        font-size: 25px;
        top: 10px;
        right: 15px;
    }
    .lightbox-content {
        max-width: 98%;
        max-height: 80vh;
    }
}