/**
 * main.css — estilos consolidados para index.html
 * (Bootstrap grid + carousel esenciales, tema Intellihome, responsivo)
 *
 * Tipografía: system stack (sin @font-face ni peticiones a Google Fonts).
 */

/* -------------------------------------------------------------------------
   Base (reemplazo ligero de reboot + tema)
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  --c-white: #ffffff;
  --c-black: #000000;
  --c-gray: #f2f2f2;
  --c-blue: #0f98f8;
  --c-blue-dark: #00356a;
}

body {
  margin: 0;
  color: var(--c-black);
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.80857;
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  font-weight: normal;
  position: relative;
  padding: 0 0 10px 0;
  line-height: normal;
  color: var(--c-black);
  margin: 0;
}

h1 {
  font-size: 24px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 13px;
}

a {
  color: var(--c-black);
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: var(--c-black);
}

img {
  max-width: 100%;
  height: auto;
}

ul,
li,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}

button {
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}

:focus {
  outline: 0;
}

/* -------------------------------------------------------------------------
   Bootstrap grid (solo lo usado en index.html)
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .offset-md-1 {
    margin-left: 8.333333%;
  }
  .offset-md-2 {
    margin-left: 16.666667%;
  }
}

@media (min-width: 992px) {
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

/* -------------------------------------------------------------------------
   Bootstrap carousel (solo transición y estructura; controles se sobreescriben)
   ------------------------------------------------------------------------- */
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  align-items: center;
  width: 100%;
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  perspective: 1000px;
}

@media screen and (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active {
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: var(--c-white);
  text-align: center;
  opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: var(--c-white);
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  position: relative;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators li::before,
.carousel-indicators li::after {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 10px;
  content: "";
}

.carousel-indicators li::before {
  top: -10px;
}

.carousel-indicators li::after {
  bottom: -10px;
}

.carousel-indicators .active {
  background-color: var(--c-white);
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--c-white);
  text-align: center;
}

/* -------------------------------------------------------------------------
   Preloader
   ------------------------------------------------------------------------- */
.loader_bg {
  position: fixed;
  z-index: 9999999;
  background: var(--c-white);
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader_bg.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.loader-logo {
  width: min(220px, 60vw);
  height: auto;
}

.loader-spinner {
  width: min(280px, 72vw);
  height: auto;
}

@media (max-width: 575px) {
  .loader {
    gap: 10px;
  }

  .loader-logo {
    width: min(150px, 50vw);
  }

  .loader-spinner {
    width: min(170px, 58vw);
  }
}

/* -------------------------------------------------------------------------
   Sidebar / header
   ------------------------------------------------------------------------- */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.sidepanel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidepanel-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.sidepanel {
  width: 0;
  max-width: min(100vw, 320px);
  position: fixed;
  z-index: 9999;
  height: 100%;
  height: 100dvh;
  top: 0;
  left: 0;
  background-color: var(--c-black);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: width 0.35s ease;
  padding-top: 4.5rem;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
}

.sidepanel.is-open {
  width: min(88vw, 320px);
}

.sidepanel-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem 1.5rem;
}

.sidepanel-nav a {
  min-height: 48px;
  padding: 0.875rem 1rem 0.875rem 1.25rem;
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--c-white);
  display: flex;
  align-items: center;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.sidepanel-nav a:hover,
.sidepanel-nav a:focus {
  color: var(--c-blue);
  background-color: rgba(15, 152, 248, 0.12);
}

.sidepanel .closebtn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  font-family: inherit;
  color: var(--c-white);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.sidepanel .closebtn:hover,
.sidepanel .closebtn:focus {
  color: var(--c-blue);
  background-color: rgba(255, 255, 255, 0.08);
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: transparent;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  border: none;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.openbtn:hover,
.openbtn:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.openbtn img {
  display: block;
  width: 28px;
  height: auto;
}

/* Botón flotante WhatsApp (Font Awesome 4: fa-whatsapp) */
.whatsapp-float {
  position: fixed;
  z-index: 9990;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: var(--c-white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: var(--c-white) !important;
}

.whatsapp-float:active {
  transform: scale(0.96);
}

@media (max-width: 575px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 28px;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
}

.logo {
  padding-top: 12px;
}

.logo img {
  width: 80%;
  height: auto;
}

ul.conat_info li {
  display: inline-block;
  padding: 0 26px;
}

ul.conat_info li a {
  color: var(--c-white);
  display: inline-block;
  font-size: 30px;
}

ul.conat_info li a:hover {
  color: var(--c-white);
}

.right_bottun {
  float: right;
  display: flex;
  flex-wrap: wrap;
}

.header {
  width: 100%;
  padding: 30px 30px;
  background: transparent;
  position: absolute;
  z-index: 999;
}

/* -------------------------------------------------------------------------
   Banner / carousel tema
   ------------------------------------------------------------------------- */
.banner_main {
  background: url(../images/banner.webp);
  padding: 220px 0 0;
  background-size: auto 78%;
  background-repeat: no-repeat;
  min-height: 1150px;
  background-position: right top;
}

.text-bg {
  margin-top: 12px;
  text-align: left;
  float: right;
  max-width: 430px;
  width: 100%;
}

.text-bg .hero-title {
  color: var(--c-blue);
  font-size: 38px;
  line-height: 46px;
  padding-bottom: 18px;
  font-weight: bold;
}

.text-bg span {
  color: var(--c-black);
  font-weight: 500;
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 30px;
  display: block;
}

.ban_track {
  margin-top: 8px;
}

.banner_slide {
  padding: 0 44px;
}

.ban_track figure {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ban_track figure img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  display: block;
}

.transfot {
  text-align: left;
}

.transfot span {
  color: var(--c-white);
  font-size: 17px;
}

#banner1 .carousel-caption {
  position: inherit;
  padding: 0;
}

#banner1 {
  --carousel-control-top: clamp(140px, 24vh, 220px);
  --carousel-control-gap: 58px;
}

#banner1 .carousel-indicators {
  display: none;
}

#banner1 .carousel-control-prev,
#banner1 .carousel-control-next {
  width: 45px;
  height: 45px;
  background: transparent;
  opacity: 1;
  font-size: 30px;
  color: var(--c-white);
  border-radius: 40px;
  border: var(--c-white) solid 2px;
}

#banner1 .carousel-control-prev:hover,
#banner1 .carousel-control-next:hover,
#banner1 .carousel-control-prev:focus,
#banner1 .carousel-control-next:focus {
  background: var(--c-black);
  color: var(--c-white);
}

#banner1 a.carousel-control-prev {
  position: absolute;
  left: inherit;
  top: var(--carousel-control-top);
  right: 16px;
}

#banner1 a.carousel-control-next {
  position: absolute;
  right: 16px;
  top: calc(var(--carousel-control-top) + var(--carousel-control-gap));
  bottom: auto;
}

/* -------------------------------------------------------------------------
   Títulos / utilidades
   ------------------------------------------------------------------------- */
.titlepage h2 {
  font-size: 50px;
  color: var(--c-blue);
  line-height: 45px;
  font-weight: bold;
  padding: 0;
}

.d_flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.read_more {
  font-size: 15px;
  background-color: transparent;
  color: var(--c-black) !important;
  padding: 13px 0;
  width: 100%;
  max-width: 198px;
  font-weight: 500;
  position: relative;
  display: block;
  line-height: 1.2;
}

.read_more::before {
  position: absolute;
  content: "";
  border-right: var(--c-black) solid 80px;
  width: 200px;
  height: 1px;
  line-height: 1px;
}

.read_more.cta span {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0.12em;
  color: var(--c-black) !important;
}

.read_more.cta:hover span,
.read_more.cta:focus span {
  color: var(--c-black) !important;
  text-shadow: none;
}

.future-mobile-cta {
  display: none;
}

.contact-man {
  width: 80%;
  height: auto;
}

/* -------------------------------------------------------------------------
   About
   ------------------------------------------------------------------------- */
.about {
  background-color: var(--c-white);
  margin-top: -160px;
}

.about .row.d_flex {
  align-items: stretch;
}

.about .about_right figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.about .about_right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  align-items: center;
  padding-top: 88px;
}

.about .about_right .about_piece {
  width: 100%;
}

.about .about_right figure img {
  width: 100%;
  max-width: 288px;
  height: auto;
  object-fit: contain;
}

.about-mobile-inline {
  display: none;
  margin: 12px 0 18px;
}

.about-mobile-inline img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  display: block;
}

.about .titlepage p {
  padding: 30px 0;
  color: var(--c-black);
  font-size: 17px;
  line-height: 32px;
  font-weight: 400;
  display: inline-block;
}

/* -------------------------------------------------------------------------
   Videos (testimonial)
   ------------------------------------------------------------------------- */
.testimonial {
  padding: 90px 0;
  background-color: var(--c-blue);
  border-radius: 50px;
}

.testimonial .titlepage {
  text-align: center;
  padding-bottom: 60px;
}

.testimonial .titlepage h2 {
  color: var(--c-white);
}

.con_bg .container .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}

.con_bg iframe {
  width: min(100%, 560px);
  border: 0;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  justify-self: center;
}

@media (max-width: 767px) {
  .con_bg .container .row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Servicios
   ------------------------------------------------------------------------- */
.service {
  background-color: var(--c-gray);
  margin-top: 80px;
  padding: 90px 0;
}

.service .titlepage {
  text-align: center;
  padding-bottom: 30px;
}

.service .titlepage p {
  color: var(--c-black);
  font-size: 17px;
  line-height: 30px;
  padding-top: 20px;
}

.service_main {
  display: flex;
  flex-wrap: wrap;
}

.service_box {
  text-align: center;
  width: 16.3%;
  margin-top: 30px !important;
}

.service_box i {
  width: 181px;
  display: block;
  height: 181px;
  border-radius: 200px;
}

.service_box i img {
  text-align: center;
  padding-top: 33%;
}

.service_box h4 {
  color: var(--c-black);
  font-size: 17px;
  margin-top: 25px;
  padding: 0;
  font-weight: 500;
}

.service_box h4:hover {
  color: var(--c-blue);
}

.blu_colo i {
  background-color: var(--c-blue);
}

.yell_colo i {
  background-color: var(--c-blue);
}

.yelldark_colo {
  margin: 0 50px;
}

.yelldark_colo i {
  background-color: var(--c-blue);
}

.service .service-question {
  font-size: 28px;
  color: var(--c-blue);
  font-weight: 600;
  line-height: 1.3;
  padding-bottom: 0;
}

/* -------------------------------------------------------------------------
   Evidencias
   ------------------------------------------------------------------------- */
.evidencias {
  padding: 90px 0;
  background-color: var(--c-blue);
  border-radius: 50px;
  margin-top: 80px;
}

.evidencias .titlepage {
  text-align: center;
  padding-bottom: 44px;
}

.evidencias .titlepage h2 {
  color: var(--c-white);
}

.evidencias-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.evidencias figure {
  margin: 0;
}

.evidencias img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .evidencias-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .evidencias-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Choose
   ------------------------------------------------------------------------- */
.choose {
  background-color: var(--c-white);
  padding-top: 90px;
}

.choose .titlepage {
  text-align: center;
  padding-bottom: 60px;
}

.choose_box i {
  float: left;
  padding-right: 20px;
}

.choose_box h3 {
  padding-top: 46px;
  color: var(--c-black);
  font-weight: bold;
  font-size: 30px;
  line-height: 30px;
}

.choose_box p {
  display: inline-block;
  color: var(--c-black);
  font-size: 17px;
  line-height: 30px;
  padding: 10px 0 70px;
}

.choose_box::after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--c-gray);
  margin-top: 90px;
  padding-top: 90px;
  text-align: center;
}

ul.location_icon {
  padding-top: 12px;
}

ul.location_icon li {
  font-size: 21px;
  line-height: 30px;
  color: var(--c-black);
  text-align: left;
  padding-bottom: 35px;
  float: left;
  display: flex;
  align-items: center;
}

ul.location_icon li a {
  font-size: 40px;
  color: var(--c-blue);
  line-height: 40px;
  padding-right: 16px;
  float: left;
}

ul.location_icon li a:hover {
  color: var(--c-black);
}

.map {
  margin-right: -50px;
}

.map figure {
  margin: 0;
}

.map figure img {
  width: 100%;
}

.copyright {
  background-color: var(--c-blue);
  margin-top: 70px;
  padding: 20px 0;
}

.copyright p {
  color: var(--c-white);
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  padding-top: 0;
  font-weight: normal;
  padding-right: 0 !important;
}

.copyright a {
  color: var(--c-white);
}

.copyright a:hover {
  color: var(--c-black);
}

.footer .row::after,
ul.location_icon::after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------------------------------------------------------------
   CTA (boton.css, sin reset global de enlaces)
   ------------------------------------------------------------------------- */
a.cta {
  position: relative;
  margin: auto;
  padding: 19px 22px;
  transition: all 0.2s ease;
  display: inline-block;
  color: var(--c-blue-dark);
}

a.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 999px;
  background: var(--c-blue-dark);
  width: 56px;
  height: 56px;
  opacity: 0.3;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

a.cta span {
  position: relative;
  font-size: 16px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--c-white);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--c-black);
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

a.cta:hover::before {
  transform: translateX(24px) scale(1.08);
  opacity: 0;
}

a.cta:hover svg {
  transform: translateX(0);
}

a.cta:hover span,
a.cta:focus span {
  color: var(--c-white);
  text-shadow: 0 0 8px rgba(0, 53, 106, 0.35);
}

.service a.cta span,
.service a.cta:hover span,
.service a.cta:focus span {
  color: var(--c-black) !important;
  text-shadow: none;
}

a.cta:active {
  transform: scale(0.96);
}

/* -------------------------------------------------------------------------
   Responsive (purged: solo reglas que aplican a index.html)
   ------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1342px) {
  .map {
    margin-right: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .banner_slide {
    padding: 0 80px 0 0;
  }
  .transfot span {
    font-size: 15px;
  }
  .banner_main {
    background-size: auto 64%;
    padding: 180px 0 0;
  }
  .text-bg .hero-title {
    font-size: 30px;
    line-height: 38px;
  }
  .about {
    margin-top: -340px;
  }
  .yelldark_colo {
    margin: 0 30px;
  }
  .titlepage h2 {
    font-size: 48px;
  }
  .map {
    margin-right: 0;
  }
  ul.location_icon li {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .text-bg .hero-title {
    font-size: 43px;
    padding-bottom: 20px;
    line-height: 44px;
  }
  .banner_main {
    padding: 152px 0 0;
    background-color: var(--c-gray) !important;
    background-image: none;
    min-height: 919px;
  }
  .about {
    margin-top: 90px;
  }
  .titlepage h2 {
    font-size: 37px;
  }
  .service_box {
    width: 13.3%;
  }
  .service_box i {
    width: 120px;
    height: 120px;
  }
  .service_box h4 {
    font-size: 12px;
  }
  .choose_box h3 {
    font-size: 20px;
  }
  ul.location_icon li {
    font-size: 12px;
    line-height: 20px;
  }
  .map {
    margin-right: 0;
  }
  .banner_slide {
    padding: 0 80px 0 0;
  }

  .ban_track figure img {
    max-width: 360px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .banner_main {
    padding: 152px 0 90px;
    background-color: var(--c-gray) !important;
    background-image: none;
  }
  .banner_slide {
    padding: 0 80px 0 0;
  }
  .text-bg {
    max-width: none;
  }
  .transfot {
    padding-top: 30px;
  }
  .about {
    margin-top: 90px;
  }
  .text-bg .hero-title {
    font-size: 48px;
    line-height: 51px;
  }
  .service_box {
    width: 25%;
  }
  .service_box i {
    width: 156px;
    height: 156px;
  }
  .map {
    margin-right: 0;
    margin-top: 30px;
  }
  .choose_box {
    margin-bottom: 30px;
  }
  .titlepage h2 {
    font-size: 31px;
  }

  .ban_track figure img {
    max-width: 320px;
  }
}

@media (max-width: 575px) {
  .header {
    padding: 30px 0 15px;
  }
  .logo {
    float: left;
    margin-top: 0 !important;
  }
  .banner_main {
    padding: 152px 0 90px;
    background-color: var(--c-gray) !important;
    background-image: none;
  }
  .banner_slide {
    padding: 0 50px 0 0;
  }
  .text-bg {
    max-width: none;
    margin-top: 0;
  }
  .transfot {
    padding-top: 30px;
  }
  .about {
    margin-top: 90px;
  }
  .text-bg .hero-title {
    font-size: 36px;
    line-height: 51px;
  }
  .titlepage h2 {
    font-size: 27px;
    line-height: 30px;
  }
  .service_main {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 18px 12px;
    justify-items: center;
    align-items: start;
  }
  .service_box {
    width: 100%;
    max-width: 180px;
    margin-top: 0 !important;
  }
  .service_box i {
    margin: 0 auto;
  }
  .choose_box h3 {
    font-size: 16px;
  }
  .map {
    margin-right: 0;
    margin-top: 30px;
  }
  .choose_box {
    margin-bottom: 30px;
  }
  .right_bottun {
    margin-top: -40px;
  }
  ul.location_icon li {
    font-size: 18px;
  }
  .d_none {
    display: none;
  }
  .yelldark_colo {
    margin: 0 12px;
  }

  .ban_track {
    margin-top: 20px;
  }

  .ban_track figure img {
    max-width: 260px;
  }
}

@media (min-width: 768px) {
  .service .service_main {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 220px));
    justify-content: center;
    gap: 28px 42px;
  }

  .service .service_box {
    width: 100% !important;
    max-width: 220px;
    margin-top: 0 !important;
  }

  .service .service_box i {
    margin: 0 auto;
  }

  .service .yelldark_colo {
    margin: 0 !important;
  }
}

@media (max-width: 991px) {
  #footer .row {
    margin-left: 0;
    margin-right: 0;
  }

  #footer .col-md-4,
  #footer .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #footer ul.location_icon {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 6px;
  }

  #footer ul.location_icon li {
    float: none !important;
    width: 100%;
    padding-bottom: 10px;
  }

  #footer .contact-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 10px;
    align-items: start;
    line-height: 1.35;
  }

  #footer .contact-item a {
    float: none;
    width: 44px;
    height: 44px;
    padding-right: 0;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #footer .contact-text {
    font-size: 16px;
  }

  #footer .map {
    margin-right: 0;
    margin-top: 10px;
  }
}

@media (orientation: portrait) and (max-width: 991px) {
  #footer .footer {
    margin-top: 32px;
    padding-top: 38px;
  }

  #footer ul.location_icon {
    padding-top: 4px;
  }

  #footer .contact-item {
    float: none;
    width: 100%;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 10px;
    align-items: start;
    padding-bottom: 18px;
    line-height: 1.35;
  }

  #footer .contact-item a {
    float: none;
    width: 44px;
    height: 44px;
    padding-right: 0;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #footer .contact-text {
    font-size: 15px;
  }

  #footer .map {
    margin-right: 0;
    margin-top: 12px;
  }

  #footer .map figure img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 12px;
    display: block;
  }

  .choose .choose-grid-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .choose .choose-grid-row > [class*="col-"] {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  .choose .choose_box i {
    float: none;
    display: block;
    margin: 0 auto 8px;
    padding-right: 0;
  }

  .choose .choose_box h3 {
    padding-top: 0;
    text-align: center;
  }

  .choose .choose_box p {
    text-align: center;
    padding: 8px 0 14px;
    line-height: 1.4;
  }

  .about .about_right {
    display: none;
  }

  #about .row.d_flex > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-mobile-inline {
    display: block;
  }

  .about-mobile-inline img {
    margin: 0 auto;
  }

  .banner_main {
    min-height: auto !important;
    height: auto;
    padding-bottom: 24px;
  }

  #banner1 .carousel-inner,
  #banner1 .carousel-item,
  #banner1 .carousel-caption {
    height: auto;
    min-height: 0;
  }

  body > header,
  body > section,
  body > #about,
  body > #videos,
  body > #servicios,
  body > .choose,
  body > footer {
    border: 1px solid var(--c-white);
    border-radius: 10px;
    width: calc(100% - 12px);
    margin-top: 6px;
    margin-right: 6px;
    margin-left: 6px;
    margin-bottom: 0;
    overflow: hidden;
  }

  .header {
    background: var(--c-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .openbtn {
    background-color: transparent;
  }

  .openbtn:hover,
  .openbtn:focus {
    background-color: var(--c-gray);
  }

  .openbtn img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(100%) saturate(2378%) hue-rotate(177deg) brightness(101%) contrast(95%);
  }

  .logo img {
    width: 40%;
    max-width: 280px;
    min-width: 150px;
    height: auto;
  }

  .text-bg .hero-title {
    font-size: 29px;
    line-height: 41px;
  }

  .titlepage h2 {
    font-size: 22px;
    line-height: 24px;
  }

  .service .service-question {
    font-size: 22px;
  }

  .transfot span,
  .text-bg span,
  .service .titlepage p,
  .about .titlepage p,
  .choose_box p,
  ul.location_icon li,
  .copyright p {
    font-size: 80%;
    line-height: 1.5;
  }

  .choose_box h3 {
    font-size: 80%;
    line-height: 1.35;
  }

  ul.conat_info li a {
    font-size: 24px;
    color: var(--c-blue);
  }

  ul.conat_info li a:hover {
    color: var(--c-blue-dark);
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  #banner1 .carousel-control-prev,
  #banner1 .carousel-control-next {
    width: 29px;
    height: 29px;
    font-size: 19px;
    color: var(--c-black);
    border-color: var(--c-black);
    background: var(--c-white);
  }

  #banner1 .carousel-control-prev:hover,
  #banner1 .carousel-control-next:hover,
  #banner1 .carousel-control-prev:focus,
  #banner1 .carousel-control-next:focus {
    color: var(--c-black);
    background: var(--c-gray);
  }

  .text-bg span,
  .transfot span,
  .read_more,
  #banner1 a.cta span,
  #banner1 a.cta:hover span,
  #banner1 a.cta:focus span {
    color: var(--c-black) !important;
    text-shadow: none;
  }

  .text-bg .hero-title {
    color: var(--c-blue) !important;
  }

  .ban_track figure img,
  .about .about_right figure img,
  .map figure img {
    width: 80%;
    margin: 0 auto;
  }

  .contact-man {
    width: 50%;
  }

  .service_box i {
    transform: scale(0.8);
    transform-origin: center;
  }

  .future-talk,
  .future-contact-link {
    display: none;
  }

  .future-mobile-cta {
    display: inline-block;
    margin-top: 8px;
  }
}
