@charset "utf-8";
/* CSS Document Optimizado para Responsividad */
:root {
  --color-primary: #e77535;
  --color-secondary: #31364c; /*23364a*/
  --color-white: #ffffff;
  --color-yellow: #fbe325;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Fira Sans', sans-serif;
  font-size: 12pt;
  color: #2b4b60;
  line-height: 2em;
  text-align: center;
  overflow-x: hidden; /* Evita scroll horizontal */
}

h1, h2 {
  font-weight: bold;
}

h3 {
  font-size: 11pt;
  font-weight: 100;
}

h2 {
  color: var(--color-secondary);
}

#container {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

#subcont {
  width: 100%;
  margin-top: 120px;
}

#subcont2 {
  width: 100%;
  margin-top: 140px;
}

#header {
  position: relative;
  width: 100%;
  height: 40px;
  color: #ffffff;
  background-color: var(--color-primary);
}

/*bordes planes*/
.hover-border {
  display: block; /* Necesario para que el borde aplique al contenedor <a> */
  padding: 15px; /* Espacio interno para que el borde no quede pegado al texto */
  transition: all 0.3s ease; /* Transición suave */
  text-decoration: none; /* Opcional: elimina el subrayado del enlace */
  color: inherit; /* Hereda el color del texto (evita cambios al pasar el mouse) */
}

.hover-border:hover {
  border: 4px solid var(--color-primary); /* Borde azul al pasar el mouse (cambia el color a tu preferencia) */
  box-shadow: 0 4px 12px rgba(231, 117, 53, 0.3); /* Sombra opcional para efecto de resaltado */
  border-radius: 8px; /* Bordes redondeados */
}

.borderl {
  box-sizing: border-box;
}

.borderr {
  border-right-color: var(--color-secondary);
  box-sizing: border-box; 
}

.borderb {
  border-bottom-style: solid;
  border-bottom-width: 1px;               
  box-sizing: border-box;
}

.bordert {
  border-top-style: solid;
  border-top-color: var(--color-secondary);
  border-top-width: 1px;          
  box-sizing: border-box;
}

/* CONTENEDORES RESPONSIVE - ELIMINADO min-width */
.inwidth, .inwidth2, .inwidth-block, .inwidth-block2 {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  position: relative;
  height: 100%;
  padding: 0 15px;
}

.inwidth2, .inwidth-block2 {
  padding-left: 40px;
  padding-right: 40px;
}

/* GRIDS - RESPONSIVE */
.w50, .w40, .w33, .w30, .w25, .w20, .w16, .w10, .w14 {
  width: 100%;
  float: none;
}

.tableo {
  height: 100%;
  display: table;
  vertical-align: middle;
}

.tablei {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.pad15 {
  padding: 15px;
}

.pad20 {
  padding: 20px;
}

.center {
  margin: auto;
  position: relative;
}

.wtitle {
  font-size: 50pt;
  text-align: center;
  color: white;
  font-weight: bold;
  line-height: 1em;
}

.rtitle {
  font-size: 50pt;
  text-align: center;
  color: #e04040;
  font-weight: bold;
}

h1 {
  font-size: 30pt;
  text-align: center;
}

a {
  color: inherit; 
  text-decoration: none;
} 

.par {
  text-align: center;
}

/** baner **/
/* Contenedor unido (sin espacio) */
.split-container {
  display: flex;
  width: 100%;
  min-height: 400px;
}

/* Carrusel */
/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 680px; /* Altura fija (ajustable) */
  overflow: hidden;
}

/* Slides */
.carousel-slider {
  width: 100%;
  height: 100%;
  position: absolute;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: var(--color-secondary);
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: auto;
  height: 100%;
  object-fit: cover; /* Cubre el espacio sin deformar */
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 15px;
  z-index: 10;
  border-radius: 50%;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Indicadores */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.indicator.active {
  background: white;
}
/*fin del carrusel*/

.banner-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.banner-content {
  position: absolute;
  top: 80%;
  left: 83%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.banner-image{
  width:100%
}

.banner-button {
  background: #ffffff;
  color:var(--color-secondary);
  font-family: 'Segoe UI', sans-serif;
  border: none;
  padding: 12px 30px;
  font-size: 2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.banner-button:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}

/* Estilos para el formulario PQRS */
#pqrs-container {
  margin-top: 180px; /* Espacio para el menú fijo */
  padding-bottom: 50px;
}

.form_style {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group textarea {
  height: 150px;
}

button[type="submit"] {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #d1662a;
}

.success {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.error ul {
  margin: 0;
  padding-left: 20px;
}

.required {
  color: #e04040;
}

/*gifs */
.gif-flotante {
  width: 100%;
}

.gif-flotantesoporte {
  width: 100%;
  margin: 20px;
}

.wi90 {
  margin: auto;
  width: 90%;
  padding: 40px;
  box-sizing: border-box;
}

.wi90p20 {
  margin: auto;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.wi95p5 {
  margin: auto;
  width: 95%;
  padding: 5px;
  box-sizing: border-box;
}

.button1 {
  width: 150px;
  padding-top: 5px;
  padding-bottom: 5px;
  box-sizing: border-box;
  background-color: var(--color-primary);
  margin: auto;
  color: white;
  margin-top: 20px;
  cursor: pointer;
}

#banner-back {
  padding-top: 50px;
  padding-bottom: 50px;
}

#banner-backw {
  padding-top: 50px;
  padding-bottom: 50px;
}

section {
  padding-top: 40px;
}

.el-tit {
  height: 70px;
  margin: auto;
}

.rimg {
  border-radius: 50%;
}

#footer {
  padding-top: 25px !important;
  font-size: 10pt !important;
  line-height: 1.2em;
  padding-bottom: 25px;
}

.footertit {
  font-size: 12pt;
  font-weight: bold;
  margin-top: 0px;
}

ul, li {
  margin-left: 0px;
  padding-left: 3px;
  font-size: 10pt;
}

.redb {
  border-width: 9px !important;
  border-color: #e04040 !important;
}

#banner {
  position: relative;
  background-image: url(img/banner2.jpg);
  background-position: center;
  width: 100%;
  height: 630px;
  background-size: contain;
  background-repeat: no-repeat;
}

#banner2 {
  position: relative;
  background-position: center;
  background-size: 100%;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
}

.h2in {
  font-size: 30pt;
  font-weight: bold;
}

.h22in {
  color: #e77535;
}

.h22in2 {
  color: var(--color-secondary);
  font-size: 40pt;
  font-weight: bold;
}

.rates {
  font-size: 13pt;
}

.rates_c {
  list-style-type:none;
}

.form-cont {
  margin-bottom: 15px;
}

.form-icon {
  width: 50px;
  float: left;
}

input, textarea {
  font-size: 11pt;
  font-weight: 100;
  color: #616163;
  border-radius: 5px;
  border-style: solid;
  border-width: 1px;
  padding: 5px;
  border-color: #adabab;
  width: 300px;
  font-family: 'Fira Sans', sans-serif;
}

textarea {
  resize: none;
}

.divmsgcont {
  position: fixed;
  z-index: 999999999999;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: #05060678;
  display: none;
}

.msg {
  position: absolute;
  margin: auto;
  width: 400px;
  height: 200px;
  background-color: white;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  border-radius: 5px;
}

.float-wa {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
  border: 2px solid white;
  text-decoration: none;
}

.float-wa:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.float-wa i {
  margin-top: 2px;
}

.hover-border:hover {
  border: 2px solid #e77535;
  box-shadow: 0 4px 12px rgba(231, 117, 53, 0.3);
  border-radius: 8px;
}

.active-border {
  border: 2px solid #e77535 !important;
  box-shadow: 0 4px 12px rgba(231, 117, 53, 0.3) !important;
  border-radius: 8px !important;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {
  #bann {
    height: 400px;
    width: 100%;
  }
  
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  #subcont {
    margin-top: 80px;
  }
  
  #subcont2 {
    margin-top: 100px;
  }
  
  .inwidth, .inwidth2, .inwidth-block, .inwidth-block2, #banner, #banner2 {
    min-width: 0;         
    padding: 0 20px;
  }
  
  #pqrs-container {
    margin-top: 100px;
  }

  .form_style {
    padding: 20px;
    width: 90%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
  }

  button[type="submit"] {
    padding: 15px 30px;
    font-size: 18px;
  }
  
  .tablei {
    line-height: 1;
  }
  
  .rates, .h22in2, h3 {
    font-size: 22pt;
  }
  
  #footer {
    font-size: 14px !important;
    padding: 20px 15px;
  }
  
  #footlogo {
    width: 60%;
  }
  
  #header {
    display: none;
  }
  
  .form-cont {
    text-align: center;
  }
  
  input, textarea {
    font-size: 16px;
    padding: 12px;
    width: 100%;
  }
  
  .button1 {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    max-width: 250px;
  }

  .float-wa {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
  }

  .carousel-container {
    height: 300px;
  }

  .arrow {
    padding: 10px;
    font-size: 18px;
  }

  .wtitle {
    font-size: 36pt;
  }
  
  .rtitle {
    font-size: 36pt;
  }
  
  h1 {
    font-size: 24pt;
  }
  
  .h22in2 {
    font-size: 30pt;
  }

  .banner-button {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .banner-content {
    top: 80%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 90%;
  }
  
  .split-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .carousel-slider, .slide img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
  
  .slider-indicators {
    bottom: 10px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 769px) {
  .w50 { width: 50%; }
  .w40 { width: 40%; }
  .w33 { width: 33.33%; }
  .w30 { width: 30%; }
  .w25 { width: 25%; }
  .w20 { width: 20%; }
  .w16 { width: 16.6666%; }
  .w14 { width: 14%; }
  .w10 { width: 10%; }
  
  .w50, .w40, .w33, .w30, .w25, .w20, .w16, .w10, .w14 {
    float: left;
  }
  
  .carousel-container {
    height: 680px;
  }
  
  .banner-content {
    top: 80%;
    left: 83%;
  }
}