

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


:root {
    --Color-primario: #15b7c9;
    --Color-secundario: #27d0ea;
    --Color-texto: #666777;
    --Color-fondo: #ffffff;
    --Altura-navbar: 80px;
}


body{
	line-height: 1.5;
	font-family: 'Poppins', sans-serif;
  background-color: var(--Color-fondo);
}
*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}


/* ============================================
                  NAVBAR GENERAL
============================================ */

.navbar {
  background-color: var(--Color-fondo);
  height: 80px;
  padding: 0.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.navbar-brand {
  font-weight: 500;
  color: var(--Color-secundario);
  font-size: 24px;
  transition: 0.3s color;
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.nav-link {
  color: #666777;
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

/* ============================================
               LOGO
============================================ */

.logo-navbar {
  max-height: 50px;
  margin-left: 40px;
}

/* ============================================
               BOTÓN "CONTACTANOS"
============================================ */

.login-button {
  background-color: var(--Color-primario);
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s background-color;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.login-button:hover {
  background-color: var(--Color-secundario);
}

/* ============================================
              BOTÓN WHATSAPP
============================================ */

.whatsapp-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.whatsapp-icon i {
  font-size: 18px;
  color: #fff;
}

.whatsapp-icon:hover {
  background-color: #1ebe5b !important;
}

/* ============================================
              RESPONSIVE - TABLET & MOBILE
============================================ */

@media (max-width: 768px) {

    .navbar {
    height: 60px; /* más pequeña en celulares */
    
  }
  /* Logo más pequeño */
  .logo-navbar {
    max-height: 35px;
    margin-left: 0;
  }

  /* Ajusta botón hamburguesa a la derecha */
  .navbar-toggler {
    margin-left: auto;
  }

  /* Oculta botón "CONTACTANOS" en desktop */
  .login-button.d-none.d-lg-block {
    display: none !important;
  }

  /* Muestra botón "CONTACTANOS" en móvil dentro del offcanvas */
  .offcanvas-body .login-button.d-lg-none {
    display: block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  /* WhatsApp más pequeño en móvil si lo haces visible luego */
  .whatsapp-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* ============================================
             RESPONSIVE - DESKTOP
============================================ */

@media (min-width: 769px) {
  /* WhatsApp y Contactanos alineados a la derecha */
  .d-lg-flex {
    margin-left: auto;
  }
}


/* ==================================
     WHATSAPP FLOTANTE EN MÓVILES
================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 24px;
  padding: 12px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}



/* === SOLUCIÓN DESBORDAMIENTO Y NAV MÁS PEQUEÑO EN MÓVIL === */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Ajuste del navbar en móviles */
@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .logo-navbar {
    margin-left: 0; /* evita que se desborde */
  }

  .navbar-toggler {
    margin-right: 0;
  }

  .offcanvas {
    max-width: 100vw;
  }

  .carousel-inner {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/*

=================================================================

                            DESIGN SLIDER

=================================================================

*/
.slider {
    width: 100%;
    height: 470px;
    margin-top: 80px; 
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: left 0.5s ease, transform 0.3s ease;
    cursor: grab;
}

.slider .list.dragging {
    cursor: grabbing;
}

.slider .list img {
    width: 100vw; 
    height: 100%;  
    object-fit: cover;
    pointer-events: none; /* evita que las imágenes interfieran con el drag */
    user-select: none;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff88;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slider .buttons button:hover {
    background-color: #ffffffcc;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: width 0.3s;
}

.slider .dots li.active {
    width: 30px;
}

@media screen and (max-width: 768px) {
    .slider {
        height: 400px;
    }
}


/*

=================================================================

                    DESING SOBRE NOSOTROS

=================================================================

*/
.sobre-nosotros {
  background: var(--Color-fondo);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.contenedor {
  max-width: 1100px; /* o el ancho que uses */
  margin: 0 auto;
  padding: 0 1rem;
}

.titulo-seccion {
  font-size: 2rem;
  color: hsl(0, 0%, 15%);
  font-family: "Poppins", sans-serif;
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.titulo-seccion::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--Color-primario);
  margin: 0.5rem auto 0;
}

.contenido-sobre-nosotros {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row-reverse; /* imágenes a la izquierda, texto a la derecha */
}


.texto-sobre-nosotros {
  max-width: 500px;
  font-size: 1rem;
  color: #757575;
  line-height: 1.7;
  margin-top: -5px;
}

.imagenes-sobre-nosotros {
  position: relative;
  width: 500px;
  height: 470px;
}

.imagenes-sobre-nosotros .box {
  position: absolute;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.imagenes-sobre-nosotros .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Posiciones y tamaños de cada imagen: */

.imagenes-sobre-nosotros .box:nth-child(1) {
  width: 220px;
  height: 280px;
  top: 0;
  left: -20px;
}

.imagenes-sobre-nosotros .box:nth-child(2) {
  width: 140px;
  height: 170px;
  top: 0;
  left: 210px;
}

.imagenes-sobre-nosotros .box:nth-child(3) {
  width: 150px;
  height: 170px;
  top: 290px;
  left: 50px;
}

.imagenes-sobre-nosotros .box:nth-child(4) {
  width: 220px;
  height: 280px;
  top: 180px;
  left: 210px;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
  .contenido-sobre-nosotros {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .imagenes-sobre-nosotros {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .imagenes-sobre-nosotros .box {
    width: 90%;
    aspect-ratio: 3/4;
    height: auto;
  }

  .imagenes-sobre-nosotros .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}




/*

=================================================================

                    DESING SOLICITA INFORMACION 

=================================================================

*/
/* Fondo con imagen */
.contactanos {
  background: url('/assets/img/informacion.png') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  display: flex;
  justify-content: flex-end;
  
  min-height: 500px; /* Ocupa toda la altura de la pantalla */
}

.contactanos .wrapper {
  background: rgb(255, 255, 255);
  padding: 30px;
  width: 500px;
  margin-right: 5%;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  left: 500px;

}

/* Título del formulario */
.form-title {
  text-align: center;
  font-size: 1.8rem;
  color: #0b8acf;
  margin-bottom: 0.5rem;
}

/* Fila de campos */
.input-row {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.input-row .input-field {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.input-field.full-width {
  flex: 1 1 100%;
}


.input-field input,
.input-field select {
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

.input-field label {
  font-size: 13px;
  margin-top: 5px;
  color: #555;
}

/* Ajuste para campos únicos (como proyecto) */
.input-row .input-field:only-child {
  flex: 1 1 100%;
}

/* Checkbox */
.input-checks {
  font-size: 13px;
  color: #444;
  margin-bottom: 15px;
}

.input-checks label {
  display: block;
  margin-bottom: 5px;
}

/* Botón */
.form-boton {
  text-align: center;
}

.form-boton button {
  background-color: var(--Color-primario);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 1.0s ease;
  font-weight: bold;
}

.form-boton button:hover {
  background-color: var(--Color-secundario);
}

/* Responsive */
@media (max-width: 768px) {
  .contactanos {
    justify-content: center;
  }

  .contactanos .wrapper {
    width: 90%;
    margin: 0 auto;
  }

  .input-row {
    flex-direction: column;
  }

  .input-field {
    flex: 1 1 100%;
  }
}



.select-proyecto {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.select-proyecto:focus {
  border-color: #0066d3;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  outline: none;
}



/*

=================================================================

                    DESING NUESTROS CLIENTES 

=================================================================

*/

/* === SECCIÓN NUESTROS CLIENTES === */
.clientes {
  text-align: center;
  margin-top: 4rem;
}

.clientes__titulo {
  font-size: 2rem;
  color: hsl(0, 0%, 15%);
  font-family: "Poppins", sans-serif;
  display: inline-block;
  position: relative;
}

.clientes__titulo::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--Color-primario); 
  margin: 0.5rem auto 0;
  border-radius: 2px;
}



:root {
  --first-color: hsl(209, 59%, 28%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --body-color: hsl(0, 0%, 95%);
  --container-color: hsl(0, 0%, 100%);
  --body-font: "Poppins", sans-serif;
  --h2-font-size: 1.25rem;
  --small-font-size: .813rem;
}

@media screen and (min-width: 1120px) {
  :root {
    --h2-font-size: 1.3rem;
    --small-font-size: .880rem;
  }
}

.clientes{
  min-height: 500px; /* Ocupa toda la altura de la pantalla */
}


.container-clientes {
    
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding-block: 5rem;
}

.card__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}


.card__article {
  position: relative;
  overflow: hidden;
}

.card__img {
  width: 328px;
  border-radius: 1.5rem;
}

.card__data {
  width: 290px;
  background-color: var(--container-color);
  padding: 1rem 1.3rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

.card__description {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
  
}

.card__title {
  font-size: var(--h2-font-size);
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: .75rem;
}

.card__button {
  text-decoration: none;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--Color-primario); 
}

.card__button:hover {
  text-decoration: none;
}

.card__article:hover .card__data {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity .3s;
}

.card__article:hover {
  animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
  animation: remove-data 1s forwards;
}

@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .card__data {
    width: 260px;
    padding: 0.5rem;
  }
}

@media screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}

@media screen and (min-width: 1120px) {
  .card__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .card__img {
    width: 348px;
  }
  .card__data {
    width: 316px;
    padding-inline: 2.5rem;
  }
}



/*

=================================================================

                    DESING SOBRE REFIERE Y GANA
=================================================================

*/

.bloque-refiere {
  background-image: url('/assets/img/refiere_gana.png'); /* cambia según tu imagen */
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 500px;

}

.caja-refiere {
  
  background-color: #fff;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  max-width: 420px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.titulo-refiere {
  font-size: 1.8rem;
  color: #0b8acf;
  margin-bottom: 0.5rem;
}

.subtitulo-refiere {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b8acf;
  margin-bottom: 1.5rem;
}

.lista-refiere {
  list-style: none;
  padding: 0;
  margin-bottom: 1.8rem;
}

.lista-refiere li {
  display: flex;
  align-items: flex-start;
  color: #3f3f3f;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.lista-refiere i {
  color: #0b8acf;
  margin-right: 10px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.boton-refiere {
  display: inline-block;
  background-color: var(--Color-primario);
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-refiere i {
  margin-left: 8px;
}

.boton-refiere:hover {
  background-color: var(--Color-secundario);
}


/*

=================================================================

                            DESING FOOTER

=================================================================

*/

.footer {
    background: linear-gradient(to right, #1a1c20, #2c3e50);
    color: #ffffff;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right,var(--Color-primario), #2ec1cc);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--Color-primario), #2ec1cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about {
    color: #a4b5c6;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a4b5c6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
    color: #fff;
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    padding: 12px 15px;
    border-radius: 25px;
    border: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    padding-right: 50px;
}

.footer-newsletter input::placeholder {
    color: #a4b5c6;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #3498db;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #2980b9;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #a4b5c6;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: #a4b5c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--Color-primario);
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 40px;
    }
}
