html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
}

h1, h2, h3 {
  font-weight: 700;
}

:root {
  --blue: #1ea4d7;
  --orange: #f28c1f;
  --text: #222;
}

* { box-sizing: border-box; }
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background: #ffffff;
  color: var(--text);
  padding-top: 140px; 
}

/* HEADER GENERAL */
.header {
  width: 100%;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* LOGO */
.logo-img {
  height: 200px;
  width: auto;
}

header nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* NAVBAR */

.navbar {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  font-size: 18px;
}

.navbar-brand img,
.logo-img {
  height: 155px !important; /* Ajustá entre 38–48 */
  width: auto;
}

#quienes-somos-top,
#confian-top,
#servicios-top {
  position: relative;
  top: -100px; /* Ajustá este valor para que aterrice EXACTO */
  height: 0;
}

.nav-link {
  font-weight: 600;
  color: #222 !important;
  margin-left: 20px;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: var(--blue) !important;
}
.logo {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.logo img {
  width: 290px;
  height: auto;
}

/* TITULAR */

.hero {
  background-image: url("assets/Gemini_Generated_Image_82olao82olao82ol.png");
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/Gemini_Generated_Image_82olao82olao82ol.png");
  background-size: cover;
  background-position: center;
}

.white-diagonal {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 250px;
  height: 250px;
  z-index: 4;
}

.hero-text {
  position: absolute;
  right: 40px;
  top: 120px;
  z-index: 5;
  text-align: right;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
  margin: 0;
}

.hero-text h2 {
  font-size: 28px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-top: 10px;
}

/* Banda naranja */
.orange-band {
  background: var(--orange);
  padding: 60px 40px;
  color: #fff;
  margin-top: 0;
  clip-path: polygon(
    0 0,
    100% 0%,
    100% 100%,
    0 100%
  );
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  text-align: start;
  font-family: "Montserrat", sans-serif;
}

/* Contenedor centrado */
.orange-content {
  max-width: 550px;
  margin: 0 auto;
  text-align: start;
}

/* Título centrado */
.orange-content h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* LISTA DE SERVICIOS */
.servicios-lista {
  list-style: none;  /* Quita viñetas */
  padding: 0;
  margin: 0;
}

.servicios-lista li {
  display: flex;          /* Alinea icono + texto en línea */
  align-items: center;
  margin-bottom: 14px;
  text-align: start;
  line-height: 1.4;
}

.servicios-lista li .icon {
  margin-right: 12px;     /* Espacio entre icono y texto */
  font-size: 20px;
  min-width: 26px;        /* Alineación perfecta vertical */
}

/* Párrafo extra sin ícono */
.orange-content p.extra {
  text-align: justify;
  margin-top: 18px;
}

/* BANDA AZUL REDISEÑADA */
.blue-band {
  background: var(--blue);
  padding: 60px 40px;
  color: #fff;
  margin-top: 0;
  display: flex;
  justify-content: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  
  /* diagonal inferior */
  clip-path: polygon(50, 100% 0, 100% 90%, 0 100%);
}

/* Contenido centrado */
.blue-content {
  max-width: 500px;
  text-align: start justify;
  padding: 20px;
}

/* Título principal */
.blue-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 18px 0;
  text-align: center;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Subrayado decorativo del título */
.blue-content h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #fff;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

/* Resaltar frases importantes */
.blue-content p strong {
  color: #d0eaff; /* azul más claro */
}

/* Iconos o bullets sutiles */
.blue-content p::before {
  content: "✔";
  color: #fff;
  font-weight: bold;
  margin-right: 8px;
}

/* SECCIÓN CONFIAN EN NOSOTROS */

.confia {
  background: #f5f9fc;  
  padding: 60px 40px;
  margin-top: 50px;
  text-align: start;
  clip-path: polygon(
    0 0,
    100% 5%,
    100% 100%,
    0 95%
  );
}

.contactanos{
  text-align: center;
}

.confia h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* LISTA EN DOS COLUMNAS */
.lista-dos-columnas ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
  columns: 2;
  column-gap: 40px;
}

.lista-dos-columnas li {
  position: relative;
  margin-bottom: 12px;
  font-size: 18px;
  color: #222;
  text-align: left;
}

/* ICONO */
.lista-dos-columnas li::before {
  content: "✔";
  color: var(--blue);
  font-weight: bold;
  margin-right: 8px;
}

/* RECTÁNGULO CON TEXTO JUSTIFICADO */
.rectangulo {
  background: #ffffff;                 /* fondo blanco */
  padding: 25px 30px;
  margin-top: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
  border-radius: 12px;                 /* bordes suaves */
  box-shadow: 0 4px 18px rgba(0,0,0,0.08); /* sombra elegante */
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* TEXTOS*/

.info {
  max-width: 700px;       /* limita el ancho del texto para mejor lectura */
  margin: 0 auto;         /* centra la sección horizontalmente */
  padding: 40px 20px;     /* espacio interno */
  text-align:start justify;    /* justifica el texto */
  font-size: 18px;
  color: #333;            /* color de texto, ajustable */
}

.info img{

  width: 60px;
  height: 60px;

}

.site{
 text-align: center;
 font-size: 20px;
}

.info p {

  margin-bottom: 20px;    /* separa los párrafos */

}

/* ESTILO DEL BOTÓN DE WHATSAPP MEJORADO */
.whatsapp-btn {
  position: fixed;      /* siempre visible al hacer scroll */
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn img {
  width: 100px;         /* tamaño del botón */
  height: 100px;
  display: block;
  border-radius: 50%;   /* botón redondeado */
  box-shadow: 0 6px 15px rgba(0,0,0,0.3); /* sombra elegante */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* EFECTO HOVER */
.whatsapp-btn:hover img {
  transform: scale(1.1);   /* pequeño zoom al pasar el cursor */
  box-shadow: 0 10px 25px rgba(0,0,0,0.35); /* sombra más intensa */
}

.whatsapp-btn img {
  width: 100px;   /* mismo tamaño que tu imagen del footer */
  height:100px;
}

/* FOOTER */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: center;
  background-color: #1ea4d7;
  margin-top: 100px;
  color: white;
}

.footer a{

  color: white;
  text-decoration: underline;

}

/* Enlace correo */
.footer .footer-contacto a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 20px;
}


/* SOLO EL ICONO */
.footer-icon {
  width: 50px;   /* ← achicá solo este */
  height: auto;
}

/* SOLO EL SELLO */
.footer-sello {
  margin-top: -90px;
  width:400px;  /* ← el sello mantiene su tamaño */
  height:250px;
}

/* ================= CARRUSEL ================= */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  background-color: var(--orange); /* fondo de la sección */
}

.carousel-item {
  position: relative;
  text-align: center;
}

.carousel-img {
  width: 100%;
  height: 550px;         /* altura fija */
  object-fit: contain;    /* asegura que toda la imagen se vea */
  padding: 20px;
  display: block;
  margin: 0 auto;
}

.carousel-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.6); /* fondo semitransparente */
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.carousel-item:hover .carousel-overlay {
  opacity: 1;
}

/* Botones de control del carrusel */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 10px;
}

/* Ajuste responsive */
@media (max-width: 768px) {
  .carousel-img {
    height: 350px; /* reduce altura en móviles */
    padding: 10px;
  }

  .carousel-overlay {
    font-size: 16px;
    padding: 8px 15px;
  }
}

/* Iconos dentro de orange-content */
.orange-content i {
  color: #fff; /* contraste */
  margin-right: 12px;
  font-size: 20px;
  vertical-align: middle;
}


/* =======================  RESPONSIVE GLOBAL  ======================= */

/* 📱 Ajustes generales para pantallas de hasta 768px */
@media (max-width: 768px) {

  body {
   padding-top: 140px; 
   text-align: justify;        /* mantiene justificado */
   text-justify: inter-word;   /* ajusta el espacio entre palabras */
   hyphens: auto;              /* permite cortar palabras con guión */
   overflow-wrap: break-word;  /* rompe palabras largas si es necesario */
   word-break: break-word;     /* soporte adicional */
   font-family: "Montserrat", sans-serif;
  }

  .logo img {
    width: 200px;
  }

  /* HERO */
  .hero {
    height: 420px;
  }

  .hero-text {
    right: 20px;
    top: 80px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  /* Banda naranja */

  .orange-band,
  .orange-content p {
    text-align: start;        /* mantiene justificado */
    text-justify: inter-word;   /* ajusta el espacio entre palabras */
    hyphens: auto;              /* permite cortar palabras con guión */
    overflow-wrap: break-word;  /* rompe palabras largas si es necesario */
    word-break: break-word;     /* soporte adicional */
  }

  /* Título */
  .orange-content h3 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  /* Bloques de servicio */
  .servicio-bloque {
    margin-bottom: 18px;
  }

  .servicio-bloque strong {
    font-size: 17px;
  }

  .servicio-bloque p {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Mensaje final */
  .mensaje-final {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 25px;
    text-align: justify;
  }

  /* BANDA AZUL */
  .blue-band {
    padding: 40px 20px;
    text-align: start;        /* mantiene justificado */
    text-justify: inter-word;   /* ajusta el espacio entre palabras */
    hyphens: auto;              /* permite cortar palabras con guión */
    overflow-wrap: break-word;  /* rompe palabras largas si es necesario */
    word-break: break-word;     /* soporte adicional */
  }

  .blue-content {
    padding: 10px;
    max-width: 100%;
  }

  .blue-content h3 {
    font-size: 22px;
  }

  .blue-content p {
    font-size: 15px;
  }

  /* SECCIÓN CONFÍA */
  .confia {
    padding: 40px 20px;
  }

  .lista-dos-columnas ul {
    columns: 1; /* una sola columna en móviles */
    text-align: center;
  }

  /* RECTÁNGULO */
  .rectangulo {

    text-align: start;        /* mantiene justificado */
    text-justify: inter-word;   /* ajusta el espacio entre palabras */
    hyphens: auto;              /* permite cortar palabras con guión */
    overflow-wrap: break-word;  /* rompe palabras largas si es necesario */
    word-break: break-word;     /* soporte adicional */
    
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-sello {
    max-width: 100%;
    height: auto;
    margin-top: 0;
  }

  /* WHATSAPP */
  .whatsapp-btn img {
    width: 70px;
    height: 70px;
  }

  /* LOGO NAV */
  .logo-img {
    height: 160px;
  }
}

/* 📱 Celulares muy chicos (menos de 480px) */

@media (max-width: 480px) {

  body {
   padding-top: 140px; 
   text-align: justify;        /* mantiene justificado */
   font-family: "Montserrat", sans-serif;
  }

  /* Banda naranja */
  .orange-band {
    background: var(--orange);
    padding: 60px 40px;
    color: #fff;
    margin-top: 0;
    clip-path: polygon(
      0 0,
      100% 0%,
      100% 100%,
      0 100%
    );
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    text-align: start;
    font-family: "Montserrat", sans-serif;
  }

  .orange-content p {
    text-align: start;        /* mantiene justificado */
  }

  .orange-band strong{

    text-align: start;
    
  }
  .hero {
    height: 380px;
  }

  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-text h2 {
    font-size: 18px;
  }

  .carousel-img {
    height: 280px;
  }

  .footer-sello {
    width: 200px;
  }
}

/* Ajuste responsive */
@media (max-width: 768px) {
  .blue-band {
    padding: 40px 20px;
    text-align: start;        /* mantiene justificado */
    text-justify: inter-word;   /* ajusta el espacio entre palabras */
    hyphens: auto;              /* permite cortar palabras con guión */
    overflow-wrap: break-word;  /* rompe palabras largas si es necesario */
    word-break: break-word;     /* soporte adicional */
  }

  .blue-content h3 {
    font-size: 22px;
  }

  .blue-content p {
    font-size: 16px;
  }
}