/* Estilos generales */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}
/* Estilos para el header */
.header-degradado {
    width: 100%;
    height: 3vh;
    background: linear-gradient(to right, 
        #dd391d 0%, 
        #ff752f 50%, 
        #dd391d 100%
    );
    background-size: 100% 5vh; 
    background-repeat: no-repeat;
    background-position: top;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
  width: 90%;
  max-width: 1200px;
  height: 14vh;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: #ff752f;
  padding: 1vh 2vw;
  box-shadow: 0 0.5vh 1.25vh rgba(0, 0, 0, 0.1);
}

/* Corrige el nombre de la clase */
.contenedor-nombre-logo {
  display: flex;
  align-items: center;
  gap: 0.1rem; /* Puedes aumentar si necesitas más espacio */
}

/* Logo */
.logo-img {
  width: 4.8rem;
  height: auto;
  border-radius: 4rem;
  object-fit: cover;
}

.nombre {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dd391d;
}

/* Navegación */
.nav {
    display: flex;
    gap: 1.5vw; /* Espacio entre enlaces proporcional al ancho de la pantalla */
    flex-wrap: wrap; /* Permite que los enlaces se ajusten en pantallas pequeñas */
}

/* Estilo de los enlaces */
.nav-link {
    color: #dd391d;
    text-decoration: none;
    font-size: 1rem; /* Relativo al root (ok) */
    padding: 0.5em 1em; /* Espaciado proporcional al tamaño del texto */
    border-radius: 0.5em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: #e9dcd5;
    color: #029386;
}
.btn-accion {
    text-decoration: none;
}
@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        align-items: flex-end;
    }

    .nav-link {
        margin-top: 2vh; 
    }
}

/* Contenedor principal  NUESTROS servicios*/
.ventana {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: none;
    margin: 5vh auto 5vw auto;
    padding: 2vh 2vw;
    background-color: #f5f5f5;
    border-radius: 1rem;
    box-shadow: 0 0.5vh 1.5vh rgba(0, 0, 0, 0.2);
}

/* Contenedor de la imagen */
.imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* Contenedor del texto NUESTROS SERVICIOS */
.contenido {
    flex: 1;
    padding-left: 4vw;
}

/* Subtítulo */
.subtitulo-1 {
    font-size: 2.5rem;
    margin-bottom: 0.3vh;
    color: #ff752f;
}

/* Título principal */
.titulo-se {
    font-size: 3.5rem;
    font-weight: bold;
    color: #dd391d;
    margin-top: 0;
}
/*Busca por CATEGORIA*/  
.ventana-degrade {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40vh;
    width: 90%;
    margin: 1vh auto 3vw auto;
    border-radius: 2rem;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #fff);
    color: white;
    padding: 4vh;
}

/* Subtítulo */
.subtituloh3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 3vh;
    color: #ff752f;
}

.titulo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2vh;
    margin-top: 1vh;
}

/* Contenedor de productos  CUADROS SERVICIOS*/
.productos {
    display: flex;
    gap: 1.3vw;
    margin-top: 1vh;
    padding: 0;
    justify-content: center;
}

/* Estilos de cada producto */
.producto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1a3d6d;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    border: 0.15rem solid #ff752f;
    border-radius: 1.5rem;
    padding: 2vw 0.8vw 3vh 0.8vh;
    box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Efecto al pasar el cursor */
.producto:hover {
    transform: scale(1.05);
}

/* Imagen del producto */
.producto img {
    width: 12vw;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin-bottom: 1.5vh;
    border: none;
    box-shadow: none;
}

/* Botones de los productos */
.boton-producto {
    background-color: #ffffff;
    color: #1a3d6d;
    border: none;
    padding: 0.6vh 1.5vw;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.3vh 0.8vh rgba(0, 0, 0, 0.2);
}
  
/* Título principal  SERVICIOS: */
.seccion-productos {
    width: 80%;
    margin: 5px auto; /* Centrado vertical y horizontal */
    padding: 20px;
    box-sizing: border-box;
  }
  
  .titulo-principal {
    font-size: 2.5rem;
    text-align: left;
    color: #dd391d;
    margin-bottom: 10px;
  }

/* Contenedor de imágenes  CIRCULOS PRINCIPALES*/
.contenedor-gato {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 4vh auto;
  flex-wrap: wrap;
}

.seccion-gato {
  text-align: center;
  width: 200px;
  position: relative;
}

.imagen-gato {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imagen-gato img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #ff752f;
  transition: transform 0.3s ease;
}

.imagen-gato:hover img {
  transform: scale(0.9) translateY(-10px);
  border: 4px solid #dd391d;
}

.lista-gato {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.imagen-gato:hover .lista-gato {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lista-gato li {
  background-color: #f9f9f9;
  margin: 0.3rem 0;
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.titulo-gato {
  background-color: #dd391d;
  color: white;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: bold;
}

/* Contenedor CIRC. VERTICALES */
.contenedor-lista {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    width: 55%;
    margin: 5vh auto;
}

.item {
    display: flex;
    align-items: center;
    gap: 1.5vw;
}

.icono-vertical img {
    width: 8vw;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 0.25rem solid #ff752f;
    object-fit: cover;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.icono-vertical:hover img {
    transform: scale(1.1);
    border-color: #dd391d;
}

.flecha {
    font-size: 1.8rem;
    color: #444;
    align-self: center;
}

.texto {
    background: #dd391d;
    color: white;
    padding: 1vh 1.5vw;
    border-radius: 2rem;
    font-size: 1rem;
    width: fit-content;
    align-self: center;
}

.nuevo {
    color: #029386;
    font-weight: bold;
    margin-left: 1vw;
}
/*SOMOS OFICIALES DE expertos*/
.contenedor-zorro {
    width: 75%;
    margin: 4vh auto;
    border: 0.15rem solid #dd391d;
    border-radius: 0.6rem;
    padding: 2vh 4vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2vh;
    background: white;
    margin: 4vh auto 4vw auto
}

.texto-leon {
    flex: 1 1 20ch;
}

.texto-leon h2 {
    font-size: 1.3rem;
    color: #dd391d;
    margin: 0;
}

.imagenes-colibri {
    display: flex;
    flex: 1 1 20ch;
    justify-content: center;
    gap: 3vw;
    flex-wrap: wrap;
}

.imagen-geco {
    width: 6vw;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 45%;
    object-fit: cover;
    border: 0.15rem solid #ddd;
}
/* CUADROS INSTALACIIONES DE... */
.contenedor-dividido {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 75%;
    max-width: 75rem; /* ~1200px */
    margin: 4vh auto;
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.1);
}

.contenido-izquierdo {
    flex: 0.6 1 40ch;
    padding: 2rem;
}

.contenido-izquierdo h2 {
    color: #dd391d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contenido-izquierdo ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #333;
    font-size: 1.1rem;
}

.contenido-derecho {
    flex: 1.5 1 30ch;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagen-degradada {
    position: relative;
    width: 100%;
    height: 20rem;
}

.imagen-degradada::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.imagen-degradada img {
    width: 100%;
    height: 20rem;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* CONTRATANOS  manos cerrando trato*/
.ventana-invertida {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 4.5rem auto;
    background-color: #ffffff;
    flex-wrap: wrap; /* Permite adaptarse si hay poco espacio */
}

.imagen-izquierdo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-izquierdo img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    /* Difuminado hacia la derecha */
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.contenido-derecho {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #ffffff;
    padding-left: 20px;
}

.contenido-derecho h3 {
    font-size: 1.8rem;
    color: #dd391d;
    margin: 8px 0;
    transition: transform 0.3s ease-in-out;
}

.contenido-derecho h3:hover {
    transform: scale(1.1);
}

.contenido-derecho p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #dd391d;
}

.btn-accion {
    padding: 10px 20px;
    background-color: #ff752f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-accion:hover {
    transform: scale(1.1);
    background-color: #029386;
}
/* FOOTER */
.footer {
    display: flex;
    align-items: start;
    justify-content: space-between;
    background: linear-gradient(to right, #dd391d 0%, #ff752f 50%, #dd391d 100%);
    color: white;
    padding: 3vh 4vw;
    margin: 0 auto;
    border-radius: 0;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 26vw;
    max-width: 160px;
    height: auto;
    margin-bottom: 1vh;
    border-radius: 1rem;
}

.footer-separador {
    width: 0.3vw;
    background-color: white;
    height: 100%;
    margin: 0 1vw;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1vh;
    text-align: left;
    width: 30%;
    min-width: 200px;
}

.footer-derecha {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    width: 30%;
    min-width: 200px;
}

.footer h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1vh;
}

.footer p {
    font-size: 1rem;
    margin: 0.3vh 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-derecha:hover {
    transform: scale(1.2);
    color: #1a3d6d;
    cursor: pointer;
}

.linea-final {
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
}

.sello-disenadora {
    height: 8vh;
    display: flex;
    align-items: center;
    font-weight: bold;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    background-color: #f9f9f9;
}


.whatsapp-float {
    position: fixed;
    bottom: 3vh;
    right: 3vw;
    z-index: 999;
    width: 7vh;
    height: 7vh;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0.5vh 1vh rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float img {
    width: 3.5vh;
    height: 3.5vh;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
/*RESPONSIVE*/
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 1vh 2vw;
    align-items: flex-start;
    gap: 0.3rem;
  }

  @media (max-width: 768px) {
    .logo-img {
      width: 3.5rem; 
    }
  }
  
  .nav {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between;
    width: 100%;
    gap: 0.3rem;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.3em 0.5em;
  }
}
/*IMG + TITULO PRINCIPAL*/
@media (max-width: 768px) {
    .ventana {
        width: 100%; /* Asegura que se mantenga en 90% */
        max-width: none;
        padding: 2vh 2vw;
        flex-direction: row;
        text-align: center;
    }

    .contenido {
        padding-left: 0;
        margin-top: 2vh;
    }

    .subtitulo-1 {
        font-size: 2rem;
    }

    .titulo-se {
        font-size: 2.4rem;
    }

    .imagen img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ventana {
        width: 100%; /* Se mantiene el 90% en pantallas muy pequeñas */
        max-width: none;
        padding: 2vh 2vw;
    }

    .subtitulo-1 {
        font-size: 1.6rem;
    }

    .titulo-se {
        font-size: 2.2rem;
    }
}
/*BUSCA POR CATEGORIA*/
@media (max-width: 600px) {
    .ventana-degrade {
        width: 90%;
        padding: 2vh;
        height: auto;
    }

    .subtituloh3,
    .titulo {
        font-size: 1rem;
        margin-bottom: 2vh;
    }
}
/*RECUADROS SERVICIOS x categoria*/
@media (max-width: 600px) {
    .productos {
        flex-direction: column;
        align-items: center;
        gap: 3vh;
    }

    .producto {
        width: 80%;
        padding: 2vh 8vw;
    }

    .producto img {
        width: 30vw;
        max-width: 200px;
    }

    .boton-producto {
        font-size: 0.9rem;
        padding: 1vh 2vw;
    }
}
/*CIRCULOS HORIZ. SERVICIOS*/
@media (max-width: 600px) {
  .contenedor-gato {
    justify-content: space-between;
    gap: 0.3rem;
    padding: 2.5rem;
    margin: 0.3rem auto 1rem auto
  }

  .seccion-gato {
    width: 100px;
  }

  .imagen-gato img {
    width: 60px;
    height: 60px;
  }

  .titulo-gato {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    margin-top: 0.5rem;
  }

  .lista-gato li {
    font-size: 0.8rem;
    padding: 0.3rem;
  }
}

/*CIRC. VERTICALES*/
@media (max-width: 600px) {
    .contenedor-lista {
        width: 90%;
    }

    .item {
        flex-direction: row;
        align-items: flex-start;
    }

    .icono-vertical img {
        width: 20vw;
        max-width: 80px;
    }

    .flecha {
        font-size: 1.5rem;
        margin: 0.5vh 0;
    }

    .texto {
        font-size: 0.90rem;
        padding: 1vh 2.5vw;
    }

    .nuevo {
        display: block;
        margin-left: 0;
        margin-top: 0.5vh;
    }
}
/*somos oficiales de marcas*/
@media (max-width: 600px) {
  .contenedor-zorro {
    flex-direction: row;
    padding: 2vh 5vw;
    text-align: center;
    gap: 1vw;
  }

  .imagenes-colibri {
    justify-content: center;
    gap: 2vw;
  }

  .imagen-geco {
    width: 20vw;
    max-width: 80px;
    margin: 0; 
  }

  .texto-leon h2 {
    font-size: 1.1rem;
    margin: 2vh; 
  }
}

/*cuadros instalaciones de, con foto*/
@media (max-width: 768px) {
    .contenedor-dividido {
        flex-direction: column;
        padding: 0.8rem;
    }

    .contenido-izquierdo, .contenido-derecho {
        width: 100%;
        flex: unset;
        padding: 0.3rem;
    }

    .imagen-degradada::before {
        display: none; 
    }

    .contenido-izquierdo h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .contenido-izquierdo ul {
        font-size: 1rem;
    }

    .imagen-degradada img {
        max-height: 250px;
        object-fit: cover;
        border-radius: 0.5rem;
    }
}
/*manos cerrando trato*/
@media (max-width: 768px) {
    .ventana-invertida {
        width: 80%;
        flex-direction: column;
        padding: 10px;
        gap: 20px;
    }

    .imagen-izquierdo img {
        max-height: none;
        width: 80%;
        height: auto;
        border-radius: 10px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .contenido-derecho {
        width: 80%;
        align-items: center;
        padding: 0;
        text-align: center;
    }

    .contenido-derecho h3 {
        font-size: 1.5rem;
    }

    .contenido-derecho p {
        font-size: 1.2rem;
    }

    .btn-accion {
        font-size: 1.1rem;
        padding: 4px 8px;
    }
}