/* ============================================
   Digital-Net — CSS optimizado v2
   Reemplaza: bootstrap.min.css + style.css + mbr-additional.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #232323;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
a:hover { text-decoration: none; }
button { background: transparent; border: none; cursor: pointer; font: inherit; }
strong, b { font-weight: 700; }
ul, ol { list-style: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #39acec !important; outline-offset: 2px; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.row > * { padding: 0 16px; }
.col-12 { width: 100%; }
.col-md-4, .col-md-6, .col-md-10 { width: 100%; }
.col-lg-10, .col-lg-11 { width: 100%; }
@media (min-width: 768px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-6 { width: 50%; }
  .col-md-10 { width: 83.3333%; }
}
@media (min-width: 992px) {
  .col-lg-10 { width: 83.3333%; }
  .col-lg-11 { width: 91.6667%; }
}
.justify-content-center { justify-content: center; }
.align-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 2rem !important; }
.m-auto { margin: auto; }

/* --- Typography --- */
.display-1 { font-family: 'Jost', sans-serif; font-size: 4rem; line-height: 1.1; }
.display-2 { font-family: 'Jost', sans-serif; font-size: 3rem; line-height: 1.1; }
.display-4 { font-family: 'Jost', sans-serif; font-size: 1.1rem; line-height: 1.5; }
.display-5 { font-family: 'Jost', sans-serif; font-size: 2rem; line-height: 1.5; }
.display-7 { font-family: 'Jost', sans-serif; font-size: 1.2rem; line-height: 1.5; }
h1,h2,h3,h4,h5,h6,p,span,a,
.display-1,.display-2,.display-4,.display-5,.display-7 {
  word-break: break-word; font-weight: 400; line-height: 1;
}
@media (max-width: 992px) { .display-1 { font-size: 3.2rem; } }
@media (max-width: 768px) {
  .display-1 { font-size: calc(2.05rem + (4 - 2.05)*((100vw - 20rem)/28)); line-height: calc(1.1*(2.05rem + (4 - 2.05)*((100vw - 20rem)/28))); }
  .display-2 { font-size: calc(1.7rem + (3 - 1.7)*((100vw - 20rem)/28)); line-height: calc(1.3*(1.7rem + (3 - 1.7)*((100vw - 20rem)/28))); }
  .display-4 { font-size: calc(1.035rem + 0.065*((100vw - 20rem)/28)); line-height: calc(1.4*(1.035rem + 0.065*((100vw - 20rem)/28))); }
  .display-5 { font-size: calc(1.35rem + 0.65*((100vw - 20rem)/28)); line-height: calc(1.4*(1.35rem + 0.65*((100vw - 20rem)/28))); }
  .display-7 { font-size: calc(1.07rem + 0.13*((100vw - 20rem)/28)); line-height: calc(1.4*(1.07rem + 0.13*((100vw - 20rem)/28))); }
}

/* --- Colors --- */
.mbr-white { color: #fff; }
.text-black { color: #232323 !important; }
.text-primary { color: #fff !important; }
a.text-primary:hover { color: #ccc !important; }
a, a:hover { color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; border: 1px solid transparent; border-radius: 4px;
  font-weight: 600; font-family: 'Jost', sans-serif;
  white-space: normal; word-break: break-word;
  transition: all 0.2s; cursor: pointer;
}
.btn-secondary, .btn-secondary:active {
  background: #00203b !important; border-color: #00203b !important;
  color: #fff !important; box-shadow: 0 2px 2px rgba(0,0,0,0.2);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #000 !important; border-color: #000 !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.mbr-section-btn { margin: 0 -0.6rem; font-size: 0; }
.mbr-section-btn .btn { margin: 0.6rem; }

/* --- Navbar --- */
.navbar-dropdown { padding: 0 1rem; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.navbar {
  min-height: 60px; transition: all 0.3s;
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.navbar .container { display: flex; flex-wrap: nowrap; margin: auto; }
@media (max-width: 991px) { .navbar .container { flex-wrap: wrap; } }
.navbar-brand {
  min-height: 60px; flex-shrink: 0; align-items: center; display: flex;
  margin-right: 0; padding: 5px 0; transition: all 0.3s; z-index: 1;
}
.navbar-brand .navbar-logo a { outline: none; }
.navbar-brand .navbar-logo img { width: auto; height: 2.5rem; }
.navbar-toggler {
  display: none; width: 31px; height: 20px; cursor: pointer;
  transition: all 0.2s; position: relative; align-self: center; padding: 0;
  background: transparent; border: 1px solid transparent;
}
.navbar-toggler .hamburger span {
  position: absolute; right: 0; width: 30px; height: 2px;
  background-color: #39acec; transition: all 0.2s;
}
.navbar-toggler .hamburger span:nth-child(1) { top: 0; }
.navbar-toggler .hamburger span:nth-child(2) { top: 8px; transition: all 0.15s; }
.navbar-toggler .hamburger span:nth-child(3) { top: 8px; transition: all 0.15s; }
.navbar-toggler .hamburger span:nth-child(4) { top: 16px; }
nav.opened .hamburger span:nth-child(1) { top: 8px; width: 0; opacity: 0; right: 50%; }
nav.opened .hamburger span:nth-child(2) { transform: rotate(45deg); transition: all 0.25s; }
nav.opened .hamburger span:nth-child(3) { transform: rotate(-45deg); transition: all 0.25s; }
nav.opened .hamburger span:nth-child(4) { top: 8px; width: 0; opacity: 0; right: 50%; }
.navbar-collapse {
  flex-basis: 100%; flex-grow: 1; align-items: center;
  display: flex; justify-content: flex-end; z-index: 1;
}
.navbar-nav { display: flex; flex-wrap: wrap; }
.nav-dropdown .link {
  padding: 0 0.3em !important; margin: 0.667em 1em !important;
}
.nav-link { display: flex; align-items: center; justify-content: center; position: relative; font-weight: 700; }
@media (max-width: 991px) {
  .navbar-toggler { display: block; }
  .navbar-collapse { display: none; flex-basis: 100%; max-height: 80vh; overflow: auto; }
  .navbar-collapse.show { display: flex; }
  .navbar-nav { flex-direction: column; width: 100%; }
  .navbar-nav li { margin: auto; }
  .navbar .navbar-logo img { height: 3rem !important; }
  .navbar .navbar-brand { flex-shrink: initial; flex-basis: auto; word-break: break-word; padding-right: 2rem; }
  .navbar .navbar-toggler { flex-basis: auto; }
}
@media (max-width: 767px) {
  .navbar .navbar-brand { width: calc(100% - 31px); }
  .navbar-collapse { max-height: 80vh; }
}

/* --- Section base --- */
section {
  background-color: #fff; position: relative;
  word-wrap: break-word; background-position: 50% 50%;
  background-repeat: no-repeat; background-size: cover;
}

/* --- Hero --- */
.header18 {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 100vh; padding: 3rem 0;
}
.header18::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,80,140,0.25); pointer-events: none; z-index: 1;
}
.hero-bg-img {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; z-index: 0 !important;
}
.header18 .mbr-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.header18 .container, .header18 .row, .header18 .mbr-section-btn { position: relative; z-index: 2; }
/* Hero text override - original uses dark text */
.header18 .mbr-section-title { color: #232323; }
.header18 .mbr-text, .header18 .mbr-section-btn { color: #232323; }
.mbr-text { line-height: 1.7; }
.mbr-section-title { font-style: normal; line-height: 1.3; }
/* --- Features (3 columnas beneficios) --- */
.features15 { padding: 5rem 0 1rem; background: #00203b; }
.features15 .item-wrapper { display: flex; }
@media (max-width: 991px) { .features15 .item-wrapper { margin-bottom: 2rem; } }
.features15 .mbr-iconfont {
  font-size: 2rem; color: #fff !important; fill: #fff;
  padding-right: 1.5rem; flex-shrink: 0;
}
.features15 .card-title { color: #fff; font-size: 1.4rem; }
.features15 .card-text { color: #fff; font-size: 1.2rem; line-height: 1.5; }

/* --- Features "Qué reparamos" --- */
.features25 { background: #232323; }
.features25 .row { justify-content: center; }
.features25 .iconfont-wrapper { margin-bottom: 2rem; }
.features25 .mbr-iconfont {
  display: block; font-size: 5rem;
  color: #39acec !important; fill: #39acec;
}
.features25 .mbr-section-title { color: #fff; }
.features25 .card-title { color: #fff; }
.features25 .card-text { color: #bbb; }
@media (min-width: 1500px) { .features25 .container { max-width: 1400px; } }

/* --- Slider reseñas --- */
.slider01 { padding: 5rem 0; background: #353535; }
.slider01 .content-wrap { margin-bottom: 60px; }
@media (max-width: 992px) { .slider01 .content-wrap { margin-bottom: 30px; } }
.slider01 .title-wrapper { text-align: center; }
.slider01 .title-wrapper .mbr-section-title {
  display: inline-block; width: 100%; margin-bottom: 0; color: #fff; text-align: center;
}
@media (max-width: 1440px) { .slider01 .title-wrapper .mbr-section-title { width: 60%; } }
@media (max-width: 992px) { .slider01 .title-wrapper .mbr-section-title { width: 100%; } }
.embla { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; padding-bottom: 5rem; }
.embla__viewport { overflow: hidden; width: 100%; position: relative; z-index: 1; padding: 0; }
@media (max-width: 768px) { .embla__viewport { padding: 0; } }
.embla__viewport.is-draggable { cursor: grab; }
.embla__viewport.is-dragging { cursor: grabbing; }
.embla__container { display: flex; user-select: none; -webkit-tap-highlight-color: transparent; }
.embla__slide { display: flex; justify-content: center; position: relative; min-width: 320px; max-width: 320px; }
@media (max-width: 768px) { .embla__slide { min-width: 100%; max-width: 100%; margin-left: 1rem !important; margin-right: 1rem !important; } }
.embla__slide .slide-content { width: 100%; }
.embla__slide .slide-content .item-wrapper { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.rating-wrapper { position: relative; z-index: 1; margin-bottom: 10px; }
.rating-wrap { display: inline-flex; align-items: center; gap: 4px; }
.mbr-star { margin-bottom: 0; color: #fcd562; text-align: center; }
.item-text { color: #fafafa; text-align: center; margin-bottom: 10px; }
.person-wrapper { padding-top: 20px; text-align: center; }
.person-wrap { display: inline-flex; align-items: center; gap: 10px; }
.person-wrap .item-img img { display: inline-flex; width: 40px; height: 40px; min-width: 40px; border-radius: 100% !important; object-fit: cover; }
.item-name { color: #bbb; text-align: left; margin-bottom: 5px; }
.embla__button {
  position: absolute; z-index: 1; bottom: 0; width: 50px; height: 50px;
  font-size: 16px; background-color: #232323 !important; color: #fff !important;
  border: none !important; border-radius: 100%; display: flex;
  justify-content: center; align-items: center; transition: all 0.5s; opacity: 1 !important;
}
.embla__button:hover { background-color: #232323 !important; color: #fff !important; }
.embla__button:disabled { opacity: .5 !important; background-color: #232323 !important; color: #fff !important; }
.embla__button--prev { margin-left: -70px; }
.embla__button--prev .mbr-iconfont { margin-right: 4px; }
.embla__button--next { margin-right: -70px; }
.embla__button--next .mbr-iconfont { margin-left: 4px; }
.embla__button--next, .embla__button--prev { display: flex; }

/* --- FAQ --- */
.content17 { padding: 6rem 0; background: #232323; }
.content17 .mbr-section-title { color: #fff; }
.content17 .card { background: transparent; border: none; }
.content17 .card-header { background: transparent; margin-bottom: 0; padding: 1rem 0; border: none; }
.content17 .panel-title {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; cursor: pointer; background: transparent; border: none; padding: 0; text-align: left;
}
.content17 .panel-title-edit { color: #fff; }
.content17 .panel-text { color: #bbb; }
.content17 .panel-body, .content17 .card-header { padding: 1rem 0; }
.content17 .mbr-iconfont { padding-left: 1rem; font-family: 'Moririse2' !important; font-size: 1.4rem !important; color: #fff; }
.panel-collapse { display: none; }
.panel-collapse.show { display: block; }

/* --- Contacto --- */
.contacts2 { padding: 5rem 0; position: relative; background-image: url("assets/images/fondo-1-1600x1067.webp"); background-size: cover; background-position: center; }
.contacts2 .mbr-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contacts2 .mbr-section-head, .contacts2 .row { position: relative; z-index: 1; }
.contacts2 .card { background: transparent; border: none; display: flex; }
.contacts2 .card-wrapper {
  display: flex; margin-bottom: 2rem; border-radius: 4px;
  background: #00203b; overflow: hidden; flex: 1;
  align-items: center;
}
@media (max-width: 991px) { .contacts2 .card-wrapper { padding: 1rem 2rem; } }
@media (min-width: 992px) { .contacts2 .card-wrapper { padding: 2rem 4rem; } }
.contacts2 .image-wrapper { display: flex; align-items: center; }
.contacts2 .mbr-iconfont { font-size: 2rem; padding-right: 1.5rem; color: #39acec !important; fill: #39acec; }
.contacts2 .mbr-section-title { color: #fff; }
.contacts2 .mbr-section-subtitle { color: #fff; }
.contacts2 .card-title { color: #fff; }
.contacts2 p, .contacts2 a { color: #fff; }
.contacts2 .text-wrapper { flex: 1; }

/* --- Mapa --- */
.map2 { padding: 0; background: #232323; }
.map2 .google-map { height: 30rem; position: relative; }
.map2 .google-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Overlay base --- */
.mbr-overlay { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* --- Card base --- */
.card { background: transparent; border: none; }
.card-box { width: 100%; }
.card-wrapper, .item-wrapper { overflow: hidden; }

/* --- Reseñas link --- */
.reviews-link { text-align: center; font-size: 14px; opacity: 0.7; margin-top: 30px; }
.reviews-link a { color: #fff; }

/* --- WhatsApp floating --- */
#chatbutton-wa { position: fixed; bottom: 15px; z-index: 9999; }
#chatbutton-wa.right { right: 15px; }
.floating-wpp-button { width: 65px; height: 65px; cursor: pointer; border-radius: 50%; overflow: hidden; }
.floating-wpp-button-image { line-height: 0; }
.floating-wpp-button-image svg { border-radius: 50%; }
.floating-wpp-popup {
  display: none; position: absolute; bottom: 80px; right: 0;
  width: 320px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25); font-family: 'Jost', sans-serif;
}
#chatbutton-wa:hover .floating-wpp-popup { display: block; }
.floating-wpp-head {
  background: #26d366; color: #fff; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 16px;
}
.floating-wpp-close { cursor: pointer; font-size: 20px; font-weight: 700; color: #fff; background: transparent; border: none; }
.floating-wpp-body { background: #e5ddd5; padding: 16px; }
.floating-wpp-message { background: #fff; border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #333; line-height: 1.4; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.floating-wpp-input-wrap { display: flex; gap: 8px; margin-top: 12px; }
.floating-wpp-input { flex: 1; border: none; border-radius: 20px; padding: 8px 16px; font-size: 14px; font-family: 'Jost', sans-serif; outline: none; }
.floating-wpp-send { width: 40px; height: 40px; border-radius: 50%; background: #26d366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.floating-wpp-send svg { width: 20px; height: 20px; fill: #fff; }

/* --- Icon font base --- */
.mbr-iconfont { font-style: normal; font-weight: normal; line-height: 1; }

/* --- Lazy load inline script compat --- */
img[loading="lazy"] { background: transparent; }

/* --- Scroll to top (hidden by default as in original) --- */
.scrollToTop_wraper { display: none; }

/* --- Body link color override for non-nav context --- */
a[class*="text-"]:not(.nav-link):not(.dropdown-item):not([role]):not(.navbar-caption) {
  position: relative;
}
