body {
  background: black;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.title {
  font-family: 'Space Grotesk', sans-serif;
}


a:hover,
a:focus,
a:active,
.form-control:focus,
.form-control:active,
.form-control:hover,
button:hover,
button:active,
button:focus,
.btn:hover,
.btn:active,
.btn:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

section {
  padding: 40px 0;
}

/* RESET BOOTSTRAP BUTTONS */

.btn-primary,
.btn-outline-light {
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-border-color: transparent;
  --bs-btn-color: inherit;
  --bs-btn-hover-color: inherit;
  --bs-btn-active-color: inherit;
  background-image: none;
  box-shadow: none;
}

.btn-primary:hover,
.btn-outline-light:hover,
.btn-primary:focus,
.btn-outline-light:focus,
.btn-primary:active,
.btn-outline-light:active {
  background: transparent;
  box-shadow: none;
}

.btn-primary,
.btn-outline-light {
  position: relative;
  overflow: hidden;
  z-index: 1;

  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;

  transition: color 0.3s;
}

/* ================= PRIMARY ================= */

.btn-primary {
  background: #5af0b8;
  color: #000;
  border: none;
}

.btn-primary::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #0b2819;
  z-index: -1;
  transition: height 0.3s ease;
}

.btn-primary:hover::before {
  height: 100%;
}

.btn-primary:hover {
  color: #fff;
}

/* ================= OUTLINE ================= */

.btn-outline-light {
  background: transparent;
  border: 1px solid #5af0b8;
  color: #5af0b8;
}

.btn-outline-light::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #5af0b8;
  z-index: -1;
  transition: height 0.3s ease;
}

.btn-outline-light:hover::before {
  height: 100%;
}

.btn-outline-light:hover {
  color: #000;
}

/**********************
Ws botón redondo con tooltip ws-tooltip
***********************/
#chat-ws-redondo.ws.tooltip {
  position: fixed;
  bottom: 13px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  cursor: pointer;
  display: block;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
  box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
  z-index: 999;
  background: #1bff90;
  padding: 8px 4px;
  opacity: 1;
}

#chat-ws-redondo.ws.tooltip img {
  padding-left: 0px;
  padding-top: 0px;
  width: 100%;
}

#chat-ws-redondo.ws.tooltip i {
  font-size: 44px;
  color: #0b2819;
}

.ws.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1bff90;
  color: #0b2819;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.ws.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1bff90 transparent transparent transparent;
}

.ws.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ================= BANNER STATS ================= */

.banner-stats {
  padding: 80px 0;
  background-color: #000;
  position: relative;

  /* GRID */
  background-image:
    linear-gradient(#09110c 1px, transparent 1px),
    linear-gradient(90deg, #09110c 1px, transparent 1px);
  background-size: 60px 60px;
}

/* CONTENEDOR */

.stats-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: left;
}

/* ITEM */

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* NUMERO */

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #1bff90;
  font-family: 'Space Grotesk', sans-serif;
}

/* TEXTO */

.stat-label {
  font-size: 14px;
  color: #fff;
  margin-top: 5px;
  letter-spacing: 0.05em;
}

/* ================= SERVICES ================= */

.service-box {
  position: relative;
  padding: 40px 30px;
  border: 1px solid rgba(27,255,144,0.27);  
  transition: 0.3s;
  height: 100%;
}

/* NUMERO */

.service-number {
  font-size: 42px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  margin-bottom: 20px;
  transition: 0.3s;
  font-family: 'Space Grotesk', sans-serif;
}

/* TITULO */

.service-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* TEXTO */

.service-box p {
  font-size: 14px;
  color: #aaa;
}

/* BOTON VER MAS (SIEMPRE VISIBLE) */

.service-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #1bff90;
  text-decoration: none;
  position: relative;
  border: 1px solid #0c4a2c;
    padding: 4px 15px;
}

.service-more:hover {
  text-decoration: none;
  color: #1bff90;
  border: 1px solid #1bff90;
}

/* HOVER GENERAL */

.service-box:hover {
  border-color: #1bff90;
  transform: translateY(-5px);
}

/* NUMERO EN HOVER */

.service-box:hover .service-number {
  color: #1bff90;
}

/* RESPONSIVE */

@media (max-width:768px) {
  .service-box {
    padding: 30px 20px;
  }
}

html::-webkit-scrollbar { width: 0.5rem; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: #1bff90; border-radius: 5rem; }


.titulo-tag {
    font-size: 12px;
    letter-spacing: 0.25em;
    color: #5af0b8;
    margin-bottom: 20px;
    display: block;
    position: relative;
    padding-left: 42px;
    text-transform: uppercase;
}

.titulo-tag::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #5af0b8;
    position: absolute;
    top: 50%;
    left: 0;
}

.titulo h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
}

.titulo-content h1 span {
  color: #5af0b8;
}

/* HEADER NUMERO + CODE */

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.service-code {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #1bff90;
  font-family: 'Space Grotesk', sans-serif;
}

.service-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-more:hover i {
  transform: translateX(6px);
}

/* Empresa */

.empresa {
    background-image: url(../imagenes/dots-bg.png);
    background-size: auto;
    background-position: right top;
    background-attachment: fixed;
    position: relative;
    background-repeat: no-repeat;
    background-color: #070707;
}

@media (max-width : 768px) {
  .empresa {
    background-attachment: scroll;    
  }

}

/* ================= CASOS DE EXITO ================= */

.casos-exito {
  padding: 100px 0;
}

/* BOX */

.testimonio-box {
  position: relative;
  padding: 40px 30px;
  border: 1px solid rgba(255,255,255,0.05);
  height: 100%;
  transition: 0.3s;
  width: 100%;
  height: auto; 
  min-height: 350px;
  border-radius: 25px;
}

.testimonio-box img { 
  width: 100%;
}

/* CHECK */

.testimonio-check {
  font-size: 82px;
  color: rgba(27,255,144,0.15);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  transition: 0.3s;
  line-height: 1;
}

/* TEXTO */

.testimonio-text {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

/* LINEA */

.testimonio-line {
  width: 32px;
  height: 2px;
  background: #1bff90;
  margin: 25px 0;
  position: absolute;
    bottom: 50px;
}

/* AUTOR */

.testimonio-author strong {
  display: block;
  color: #fff;
  font-weight: 500;
}

.testimonio-author span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #5af0b8;
  margin-top: 5px;
  text-transform: uppercase;
}

.testimonio-author {
  position: absolute;
    bottom: 16px;
}

/* HOVER */

.testimonio-box:hover {
  border-color: #1bff90;
  transform: translateY(-5px);
}

.testimonio-box:hover .testimonio-check {
  color: #1bff90;
}

/* RESPONSIVE */

@media (max-width:768px) {
  .testimonio-box {
    padding: 30px 20px;
  }
}

/* ================= CAROUSEL ================= */

.testimonios-carousel {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  width: 100%;
}

/* TRACK */

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

/* ITEMS */

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
}

/* tablet */
@media (min-width: 576px) {
  .carousel-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* desktop */
@media (min-width: 992px) {
  .carousel-item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #1bff90;
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.2);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

/* FIX conflicto Bootstrap carousel */

.testimonios-carousel .carousel-item {
  display: flex !important;
  float: none !important;
  margin-right: 0 !important;
  position: relative;
  width: auto;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
}

/* contacto */

.contacto {
    background-image: url(../imagenes/dots-bg.png);
    background-size: auto;
    background-position: left bottom;
    background-attachment: fixed;
    position: relative;
    background-repeat: no-repeat;
    background-color: #070707;
}

@media (max-width : 768px) {
  .contacto {
    background-attachment: scroll;    
  }
}

/* ================= CONTACT FORM STYLE ================= */

.get_in_touch_contents p {
  color: #999;
  font-size: 14px;
  margin-bottom: 25px;
}

/* inputs */

.contact-form .form-control {
  background: #0d0d0d !important;
  border: 1px solid rgba(34,255,136,0.12) !important;
  color: #666 !important;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  box-shadow: none;
  transition: 0.2s;
  border-radius: 0;
}

/* placeholder */

.contact-form .form-control::placeholder {
  color: #666;
  opacity: 1;
}


/* focus */

.contact-form .form-control:focus {
  border-color: #5af0b8 !important;
  background: #0d0d0d !important;
  color: #fff;

}

/* textarea */

.contact-form textarea.form-control {
  resize: none;
  border-radius: 0;
}

/* spacing */

.contact-form .form-group {
  margin-bottom: 16px;
}

/* error messages */

.contact-form .help-block {
  color: #5af0b8;
  font-size: 12px;
  margin-top: 5px;
}

/* texto inferior */

.contact-form .text-muted {
  color: #666 !important;
  font-size: 12px;
}

/* botón */

.btn-send {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #070707;
  background: #5af0b8;
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
  margin-top: 10px;
  border-radius: 0;
  margin-bottom: 10px;
}

.btn-send:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* grid fixes (por bootstrap viejo) */

.no-margin {
  margin-left: 0;
  margin-right: 0;
}

/* inputs en columnas */

@media (max-width: 991px) {
  .contact-form .col-lg-6 {
    width: 100%;
  }
}

/* ================= SELECT CUSTOM FIX ================= */

.contact-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #666;
  background-color: #0d0d0d !important;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;

  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 14px !important;

  padding-right: 45px !important;
  cursor: pointer;
}

/* ocultar flecha nativa */

.contact-form select::-ms-expand {
  display: none;
}

.contact-form select.form-control {
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control,
.contact-form textarea.form-control {
  background: #0d0d0d;
  color: #f0f0f0;
}

.contact-form select.form-control {
  background: #0d0d0d;
  color: white;
}

.contact-form .form-control::placeholder {
  color: #666;
}

.contact-form .form-control:focus,
.contact-form .form-control:active {
  background: #0d0d0d;
  color: #f0f0f0;
  box-shadow: none;
}

/* 🔥 AUTOFILL FIX */
.contact-form .form-control:-webkit-autofill,
.contact-form .form-control:-webkit-autofill:hover,
.contact-form .form-control:-webkit-autofill:focus,
.contact-form .form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0d0d0d inset;
  -webkit-text-fill-color: #f0f0f0;
  transition: background-color 5000s ease-in-out 0s;
}

/* SELECT también */
.contact-form select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0d0d0d inset;
  -webkit-text-fill-color: #f0f0f0;
}

.help-block.with-errors {
  color: #5af0b8;
  margin-top: 5px;
  }
  
  .alert-success {
  color: #fff;
  background-color: transparent;
  border-color: #f1f0f5;
  }
.alert-dismissable .close, .alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0px;
    color: white;
    font-weight: 300;
    background: black;
    border: 0;
}
  .alert {
    position: relative;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 0px solid transparent;
    border-radius: 0px;
}
  
  .text-muted {
  color: #5af0b8;
  }
  .history-text p.text-muted {
  color: #5af0b8;
  }
  .messages {background: black; color: white;}

  .alert-danger {
    color: black;
    background-color: #f1f0f5;
    border-color: #f1f0f5;
}

/**********************
Footer
***********************/


#footer {
  background: black;
  color: #fff;
  padding: 40px 0 0 0;
}

#footer .container-fluid {
  padding-left: 4%;
  padding-right: 4%;
}

.footer-col {
  margin-bottom: 30px;
  padding-right: 30px;
}

.footer-logo {
  max-width: 264px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: .8;
}

.footer-title {
  position: relative;
  font-size: 18px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.footer-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  height: 18px;
  border-left: 1px solid #fff;
}

.footer-contacto {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacto li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-contacto i {
  width: 20px;
  text-align: center;
  color: #1bff90;
}

.footer-redes {
  display: flex;
  gap: 12px;
}

.footer-redes a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1bff90;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: .3s;
}

.footer-redes a:hover {
  transform: translateY(-4px);
}


.copyright {
  width: 100%;
  background: #000;
  padding: 12px 0;
  margin-top: 20px;
}

.copyright p {
  font-size: 11px;
  color: #fff;
}

.copyright a {
  color: #fff;
  text-decoration: none;
}


@media(max-width:991px) {

  .footer-col {
    text-align: center;
  }

  .footer-title {
    padding-left: 0;
  }

  .footer-title:before {
    display: none;
  }

  .footer-contacto li {
    justify-content: center;
  }

  .footer-redes {
    justify-content: center;
  }

  .contacto .footer-contacto li {
    justify-content: flex-start;
        text-align: left;
  }

}