/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #F4F4F6;
    color: #2e3233;
    line-height: 1.6;
}

/* Header (cargado vía includes) */
header {
    background-color: #2f9cb3;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav a {
    color: #F4F4F6;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #A9C9D6;
    color: #2e3233;
}

/* CTA */
.cta {
    background-color: #A9C9D6;
    text-align: center;
    padding: 4rem 2rem;
}

.cta h1 {
    color: #2e3233;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.boton-cta {
    background-color: #2f9cb3;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.boton-cta:hover {
    background-color: #646778;
}

/* Servicios */
.servicios-home {
    padding: 3rem 2rem;
    background-color: #F4F4F6;
    text-align: center;
}

.servicios-home h2 {
    margin-bottom: 2rem;
    color: #2e3233;
}

.galeria-servicios {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.servicio {
    width: 250px;
}

.servicio img {
    width: 100%;
    border-radius: 8px;
}

.servicio p {
    margin-top: 0.5rem;
    color: #646778;
}

/* Quiénes Somos */
.quienes-somos {
    padding: 3rem 2rem;
    background-color: #A9C9D6;
    text-align: center;
}

.quienes-somos h2 {
    margin-bottom: 1rem;
    color: #2e3233;
}

/* Catálogo */
.catalogo-home {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #F4F4F6;
}

.catalogo-home h2 {
    margin-bottom: 2rem;
}

.galeria-catalogo {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.galeria-catalogo img {
    width: 200px;
    border-radius: 8px;
}

.boton-ver-mas {
    display: inline-block;
    background-color: #695841;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
}

.boton-ver-mas:hover {
    background-color: #2e3233;
}

/* Formulario de contacto */
.contacto-home {
    padding: 3rem 2rem;
    background-color: #A9C9D6;
    text-align: center;
}

.contacto-home h2 {
    margin-bottom: 1rem;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input, form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

form button {
    background-color: #2f9cb3;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #646778;
}

/* Footer */
footer {
    background-color: #2e3233;
    color: #F4F4F6;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}


/* Carrusel llamado a la accion  */

/* Tipografías personalizadas */
@font-face {
    font-family: 'Orbitron';
    src: url('../fuentes/Orbitron-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fuentes/Outfit-Bold.ttf') format('truetype');
    font-weight: bold;
}

/* Contenedor del carrusel */
.carrusel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

/* Para móviles */
@media (max-width: 768px) {
    .carrusel-container {
        aspect-ratio: auto;
        height: calc(100vh - 60px);
    }
}

/* Slides */
.carrusel-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease;
}

.carrusel-slide.active {
    display: block;
    opacity: 1;
}

/* Imagen dentro del slide */
.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Texto sobre el carrusel */
.carrusel-texto {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    font-family: 'Outfit', sans-serif;
}

.carrusel-texto h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    font-size: 28px;
}

.carrusel-texto p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Botones */
.carrusel-botones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.carrusel-botones a {
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s ease;
    color: #fff;
}

.btn-presupuesto {
    background-color: #00c851;
}

.btn-presupuesto:hover {
    background-color: #007e33;
}

.btn-leer-mas {
    background-color: #33b5e5;
}

.btn-leer-mas:hover {
    background-color: #0099cc;
}

/* Indicadores */
.indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicador {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.indicador.active {
    background-color: #fff;
}

/* Responsividad del texto */
@media (max-width: 768px) {
    .carrusel-texto {
        top: 35%;
        padding: 15px;
    }

    .carrusel-texto h2 {
        font-size: 20px;
    }

    .carrusel-texto p {
        font-size: 14px;
    }

    .carrusel-botones a {
        font-size: 13px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .carrusel-texto {
        top: 40%;
        padding: 10px;
    }

    .carrusel-texto h2 {
        font-size: 18px;
    }

    .carrusel-texto p {
        font-size: 13px;
    }

    .carrusel-botones {
        flex-direction: column;
        gap: 10px;
    }
}
/* Carrusel llamado a la accion  */



/* Servicios  */
.servicios {
    padding: 60px 20px;
    background-color: #F4F4F6;
    text-align: center;
  }
  
  .titulo-servicios {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2e3233;
  }
  
  .servicios-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .servicios-items {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .servicio-item {
    background-color: #2e3233;
    color: #F4F4F6;
    border-radius: 15px;
    padding: 30px 25px;
    width: calc(25% - 20px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .servicio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(105, 88, 65, 0.4);
  }
  
  /* Iconos lucide */
  .servicio-icono svg {
    width: 50px;
    height: 50px;
    stroke: #2f9cb3; /* color del trazo del ícono */
    stroke-width: 2;
    margin-bottom: 20px;
  }
  
  .servicio-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .servicio-item p {
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 15px;
    color: #F4F4F6;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .servicio-item {
      width: calc(45% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .titulo-servicios {
      font-size: 28px;
    }
  
    .servicio-item {
      width: 100%;
    }
  
    .servicio-item h3 {
      font-size: 18px;
    }
  
    .servicio-item p {
      font-size: 14px;
    }
  }
  
  .servicios-items {
    display: flex;
    flex-wrap: nowrap; /* Fuerza los 4 en fila */
    gap: 30px;
    justify-content: center;
  }
  
  .servicio-item {
    width: 100%;
    max-width: 260px;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .servicios-items {
      flex-wrap: wrap; /* Permite 2x2 */
    }
  
    .servicio-item {
      width: calc(45% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .servicio-item {
      width: 100%;
    }
  }
  
  .servicio-icono {
    width: 70px;
    height: 70px;
    color: #2f9cb3;
    margin-bottom: 20px;
  }
  





  .separador {
    background-color: #2f9cb3;
    height: 60px;
    width: 100%;
  }
  



  /* QUIENES SOMOS */

  .quienes-somos {
    background-color: #2f9cb3;
    padding: 80px 20px;
  }
  
  .qs-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .qs-imagen {
    flex: 1 1 550px;
    text-align: center;
  }
  
  .qs-imagen img {
    width: 100%;
    max-width: 1400px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  
  .qs-texto {
    flex: 1 1 500px;
    color: #ffffff;
  }
  
  .qs-texto h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: #ffffff;
  }
  
  .qs-texto p {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
  }
  


  /* CATALOGO */

  .catalogo {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .titulo-catalogo {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    color: #2e3233;
    margin-bottom: 50px;
  }
  
  .catalogo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Posiciones específicas para lograr la estructura */
  .item1 {
    grid-column: 1;
    grid-row: 1;
  }
  .item2 {
    grid-column: 1;
    grid-row: 2;
  }
  .item3 {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .item4 {
    grid-column: 3;
    grid-row: 1;
  }
  .item5 {
    grid-column: 3;
    grid-row: 2;
  }
  
  .catalogo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }
  
  .catalogo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
  }
  
  .catalogo-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 156, 179, 0.7);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .catalogo-item:hover img {
    filter: grayscale(80%);
  }
  
  .catalogo-item:hover .overlay {
    opacity: 1;
  }
  
/* CATALOGO version movil */
@media (max-width: 768px) {
  .catalogo-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .catalogo-grid > div {
    height: 250px;
  }

  .catalogo-item img {
    object-fit: contain;
  }

 
}



/* CONTACTO */

.contacto {
  background-color: #A9C9D6;
  padding: 80px 20px;
}

.contacto-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contacto h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  color: #2e3233;
  margin-bottom: 40px;
}

.contacto form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacto input,
.contacto textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
}

.contacto button {
  background-color: #2f9cb3;
  color: white;
  border: none;
  padding: 15px;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contacto button:hover {
  background-color: #267a91;
}


html {
  font-size: 16px;
}

body {
  width: 100%;
  overflow-x: hidden;
}
