:root {
  --ink: #071622;
  --navy: #0b2639;
  --navy-2: #10364d;
  --cyan: #00e4e8;
  --cyan-2: #28c8d5;
  --white: #fff;
  --muted: #647583;
  --line: #dce7ec;
  --light: #f4f8fa;
  --shadow: 0 24px 70px rgba(3, 31, 45, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
}
a {
  text-decoration: none;
}
.topbar {
  height: 36px;
  background: #03101a;
  color: #a9bbc5;
  font-size: 0.78rem;
  position: relative;
  z-index: 1031;
}
.topbar .container {
  height: 100%;
}
.topbar-left {
  display: flex;
  gap: 24px;
}
.topbar a,
.topbar span {
  color: inherit;
}
.topbar i {
  color: var(--cyan);
  margin-right: 6px;
}
.main-navbar {
  top: 36px;
  padding: 14px 0;
  transition: 0.3s;
  background: linear-gradient(
    180deg,
    rgba(3, 16, 26, 0.9),
    rgba(3, 16, 26, 0.15)
  );
}
.main-navbar.scrolled {
  top: 0;
  background: rgba(3, 16, 26, 0.96);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}
.navbar-brand img {
  width: 215px;
  height: auto;
}
.navbar-nav {
  gap: 4px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem !important;
}
.nav-link:hover {
  color: var(--cyan) !important;
}
.btn {
  border-radius: 7px;
  font-weight: 700;
  padding: 0.78rem 1.25rem;
}
.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #03202b;
  box-shadow: 0 12px 30px rgba(0, 228, 232, 0.22);
}
.btn-primary:hover {
  background: #2af2f3;
  border-color: #2af2f3;
  color: #03202b;
  transform: translateY(-2px);
}
.btn-nav {
  padding: 0.65rem 1rem;
}
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 25%, #164f68 0, transparent 38%),
    linear-gradient(125deg, #03101a 0%, #082638 55%, #0b3347 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to right, #000, transparent);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.23;
}
.hero-glow-one {
  width: 450px;
  height: 450px;
  background: var(--cyan);
  right: -120px;
  top: 10%;
}
.hero-glow-two {
  width: 300px;
  height: 300px;
  background: #1185ff;
  left: 30%;
  bottom: -180px;
}
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--cyan);
}
.hero h1 {
  font-size: clamp(3rem, 6.2vw, 6.15rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 25px 0;
}
.hero h1 strong {
  color: var(--cyan);
  font-weight: 700;
}
.hero-copy > p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #c0d1da;
  max-width: 720px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 42px;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
}
.hero-trust {
  display: flex;
  gap: 42px;
}
.hero-trust div {
  display: flex;
  flex-direction: column;
}
.hero-trust strong {
  font-size: 1.65rem;
  color: #fff;
}
.hero-trust span {
  font-size: 0.78rem;
  color: #8ea6b3;
}
.hero-visual {
  position: relative;
  height: 540px;
}
.visual-orbit {
  position: absolute;
  border: 1px solid rgba(0, 228, 232, 0.2);
  border-radius: 50%;
}
.orbit-one {
  width: 480px;
  height: 480px;
  top: 25px;
  left: 10px;
}
.orbit-two {
  width: 350px;
  height: 350px;
  top: 90px;
  left: 75px;
}
.dashboard-card {
  position: absolute;
  background: rgba(7, 26, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}
.dashboard-main {
  width: 340px;
  top: 115px;
  left: 75px;
  border-radius: 18px;
  padding: 28px;
}
.card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.dashboard-main h3 {
  font-size: 1.55rem;
  margin: 10px 0 24px;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  color: #c1d3dc;
  font-size: 0.82rem;
  margin-top: 18px;
}
.progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}
.progress div {
  background: linear-gradient(90deg, var(--cyan), #56a7ff);
  height: 100%;
  border-radius: 10px;
}
.floating-card {
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #d8f7f8;
  font-size: 0.82rem;
  font-weight: 700;
}
.floating-card i {
  font-size: 1.2rem;
  color: var(--cyan);
}
.card-a {
  top: 50px;
  right: 0;
  animation: float 5s ease-in-out infinite;
}
.card-b {
  bottom: 70px;
  left: 0;
  animation: float 6s ease-in-out infinite 1s;
}
.card-c {
  right: -15px;
  bottom: 135px;
  animation: float 4.5s ease-in-out infinite 0.5s;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #8ea6b3;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-indicator span {
  width: 40px;
  height: 1px;
  background: var(--cyan);
}
.section {
  padding: 110px 0;
}
.section h2,
.cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 25px;
}
.about {
  background: #fff;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
}
.about p {
  color: var(--muted);
  line-height: 1.8;
  text-align: justify;
}
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.about-points i {
  color: var(--cyan-2);
  font-size: 1.15rem;
}
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.principles-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f6fafb);
}
.principles-grid .wide {
  grid-column: 1/-1;
  background: var(--ink);
  color: #fff;
}
.principles-grid span {
  color: var(--cyan);
  font-weight: 800;
}
.principles-grid h3 {
  font-size: 1.4rem;
  margin: 30px 0 12px;
}
.principles-grid p {
  font-size: 0.92rem;
  margin: 0;
}
.principles-grid .wide p {
  color: #b9cbd4;
}
.services {
  background: var(--light);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.section-heading p {
  color: var(--muted);
  line-height: 1.8;
  text-align: justify;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 310px;
  background: #fff;
  border: 1px solid #e2ebef;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 228, 232, 0.08);
  right: -60px;
  top: -60px;
  transition: 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 228, 232, 0.5);
}
.service-card:hover:before {
  transform: scale(1.6);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-number {
  font-size: 0.76rem;
  color: #90a3ad;
  font-weight: 800;
}
.service-top i {
  font-size: 1.7rem;
  color: var(--cyan-2);
}
.service-card h3 {
  font-size: 1.2rem;
  margin: 38px 0 16px;
}
.service-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}
.service-card a {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}
.service-card a i {
  color: var(--cyan-2);
  margin-left: 6px;
}
.sectors {
  background: var(--ink);
  color: #fff;
}
.sectors-intro {
  top: 130px;
}
.sectors-intro p {
  color: #a8bbc5;
  line-height: 1.8;
  margin-bottom: 30px;
}
.sector-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.sector-item {
  display: grid;
  grid-template-columns: 45px 60px 1fr;
  gap: 18px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.sector-item > span {
  font-size: 0.7rem;
  color: #6c8795;
}
.sector-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 228, 232, 0.08);
  color: var(--cyan);
  font-size: 1.25rem;
}
.sector-item h3 {
  font-size: 1.15rem;
  margin: 0 0 7px;
}
.sector-item p {
  color: #93aab5;
  font-size: 0.88rem;
  margin: 0;
}
.section-heading-centered {
  max-width: 760px;
  margin: 0 auto 70px;
}
.section-heading-centered p {
  color: var(--muted);
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-line:before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line);
}
.process-step {
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.process-step > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cyan-2);
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  color: var(--ink);
  font-weight: 800;
  position: relative;
  z-index: 2;
}
.process-step h3 {
  font-size: 1.25rem;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.cta-band {
  padding: 35px 0 0;
}
.cta-inner {
  background: linear-gradient(125deg, #0a293b, #123f56);
  border-radius: 22px;
  padding: 55px 65px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.cta-inner:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(90px);
  opacity: 0.16;
  right: -100px;
}
.cta-inner h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  max-width: 800px;
  margin-bottom: 0;
}
.cta-inner .btn {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.contact {
  background: #fff;
}
.contact > div > .row {
  align-items: start;
}
.contact p {
  color: var(--muted);
  line-height: 1.8;
}
.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}
.contact-details > a,
.contact-details > div {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.contact-details i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8fbfc;
  color: #057f89;
}
.contact-details small,
.contact-details strong {
  display: block;
}
.contact-details small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-bottom: 3px;
}
.contact-details strong {
  font-size: 0.86rem;
}
.contact-form {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
}
.contact-form label {
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-control,
.form-select {
  border: 1px solid #d4e1e7;
  background: #fff;
  border-radius: 8px;
  min-height: 52px;
  padding: 0.8rem 1rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--cyan-2);
  box-shadow: 0 0 0 0.2rem rgba(0, 200, 213, 0.12);
}
.contact-form small {
  color: var(--muted);
  max-width: 360px;
}
.site-footer {
  background: #03101a;
  color: #9eb2bc;
  padding: 80px 0 0;
}
.footer-logo {
  width: 220px;
  margin-bottom: 22px;
}
.site-footer p {
  font-size: 0.86rem;
  line-height: 1.7;
}
.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}
.site-footer a {
  display: block;
  color: #9eb2bc;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.site-footer a:hover {
  color: var(--cyan);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  margin-top: 55px;
  font-size: 0.78rem;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  z-index: 1050;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.22s;
}
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .topbar {
    display: none;
  }
  .main-navbar {
    top: 0;
    background: rgba(3, 16, 26, 0.95);
  }
  .navbar-brand img {
    width: 185px;
  }
  .navbar-collapse {
    background: #061824;
    padding: 18px;
    border-radius: 12px;
    margin-top: 10px;
  }
  .hero-copy {
    text-align: center;
    padding-top: 100px;
  }
  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .section {
    padding: 85px 0;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sectors-intro {
    position: static !important;
  }
  .process-line {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .process-line:before {
    display: none;
  }
  .cta-inner {
    padding: 45px;
    flex-direction: column;
    align-items: flex-start;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-trust {
    gap: 20px;
  }
  .hero-trust strong {
    font-size: 1.35rem;
  }
  .hero-trust span {
    font-size: 0.67rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 260px;
  }
  .principles-grid,
  .about-points,
  .process-line {
    grid-template-columns: 1fr;
  }
  .principles-grid .wide {
    grid-column: auto;
  }
  .sector-item {
    grid-template-columns: 35px 48px 1fr;
  }
  .sector-icon {
    width: 42px;
    height: 42px;
  }
  .contact-form {
    padding: 24px;
  }
  .cta-inner {
    padding: 35px 25px;
  }
  .section {
    padding: 70px 0;
  }
  .scroll-indicator {
    display: none;
  }
}

/* ==============================
   AJUSTES VISUALES V2
   Mayor claridad, contraste y presencia de marca
============================== */
:root {
  --navy-soft: #12384d;
  --cyan-soft: #dffbfc;
  --section-blue: #eef8fb;
  --section-gray: #f7fafc;
}

/* Navegación clara para que el logotipo conserve todos sus detalles */
.main-navbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(7, 22, 34, 0.08);
  border-bottom: 1px solid rgba(11, 38, 57, 0.08);
}
.main-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(7, 22, 34, 0.12);
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 22, 34, 0.08);
}
.navbar-brand img {
  width: 225px;
  filter: none;
}
.nav-link {
  color: #17364a !important;
}
.nav-link:hover,
.nav-link:focus {
  color: #009ea8 !important;
}
.navbar-toggler {
  border-color: rgba(7, 22, 34, 0.18);
}

/* Hero ligeramente más luminoso */
.hero {
  background:
    radial-gradient(circle at 76% 24%, #28728b 0, transparent 38%),
    linear-gradient(125deg, #071a28 0%, #0d3448 54%, #16556c 100%);
}
.hero-copy > p {
  color: #d8e8ee;
}
.dashboard-card {
  background: rgba(12, 45, 61, 0.78);
}

/* Alternancia de fondos para distinguir claramente cada bloque */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}
.services {
  background: linear-gradient(180deg, #edf8fb 0%, #f8fcfd 100%);
}
.service-card {
  border-color: #d5e7ed;
  box-shadow: 0 10px 28px rgba(13, 52, 72, 0.055);
}
.service-card:nth-child(even) {
  background: #faffff;
}

/* Sectores en versión clara, conservando carácter tecnológico */
.sectors {
  background: linear-gradient(135deg, #e9f7fa 0%, #f8fcfd 48%, #eef4f7 100%);
  color: var(--ink);
  position: relative;
}
.sectors:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 22, 34, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 22, 34, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.sectors .container {
  position: relative;
}
.sectors-intro p {
  color: var(--muted);
}
.sector-list {
  border-top: 1px solid #cfdee4;
}
.sector-item {
  border-bottom: 1px solid #d5e3e8;
}
.sector-item > span {
  color: #8aa0aa;
}
.sector-icon {
  background: #dff8fa;
  color: #008e98;
  box-shadow: inset 0 0 0 1px rgba(0, 158, 168, 0.12);
}
.sector-item p {
  color: #667b86;
}
.sectors .btn-light {
  background: #0d3448;
  border-color: #0d3448;
  color: #fff;
}
.sectors .btn-light:hover {
  background: #12516a;
  border-color: #12516a;
  color: #fff;
}

.process {
  background: #fff;
}
.process-step {
  padding-top: 12px;
}
.process-step > span {
  box-shadow: 0 10px 25px rgba(0, 158, 168, 0.1);
}

.contact {
  background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
}
.contact-form {
  background: #fff;
  box-shadow: 0 20px 55px rgba(7, 22, 34, 0.08);
}

@media (max-width: 991px) {
  .main-navbar {
    background: #fff;
  }
  .navbar-collapse {
    background: #fff;
    border: 1px solid #dce7ec;
    box-shadow: 0 18px 45px rgba(7, 22, 34, 0.12);
  }
  .navbar-brand img {
    width: 190px;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    padding: 6px 10px;
  }
  .navbar-brand img {
    width: 165px;
  }
}

/* ==============================
   VERSION 3 - ENFOQUE FISCAL
============================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: linear-gradient(125deg, #061722 0%, #0a3043 52%, #0e5367 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition:
    opacity 1.15s ease,
    visibility 1.15s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}
.hero-slide .container {
  z-index: 3;
}
.hero-slide .hero-copy {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s ease 0.25s,
    transform 0.85s ease 0.25s;
}
.hero-slide.active .hero-copy {
  opacity: 1;
  transform: none;
}
.hero-title,
.hero h1 {
  font-size: clamp(3rem, 5.3vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.hero-title strong,
.hero h1 strong {
  color: var(--cyan);
}
.hero-media-wrap {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media {
  width: 96%;
  max-width: 590px;
  border-radius: 32px;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.25));
  opacity: 0.96;
}
.compact-visual {
  position: absolute;
  inset: 0;
  min-height: auto;
}
.compact-visual .dashboard-main {
  width: 310px;
  left: 58px;
  top: 210px;
  padding: 28px;
  transform: scale(0.92);
}
.compact-visual .card-a {
  right: 10px;
  top: 105px;
}
.compact-visual .card-b {
  left: 0;
  bottom: 58px;
}
.compact-visual .card-c {
  right: -6px;
  bottom: 110px;
}
.mini-floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(5, 33, 46, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  animation: floatCard 4.8s ease-in-out infinite;
}
.mini-floating i {
  color: var(--cyan);
  font-size: 1.3rem;
}
.mini-one {
  top: 130px;
  right: -12px;
}
.mini-two {
  bottom: 115px;
  left: -10px;
  animation-delay: 1s;
}
.hero-controls {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  padding: 0;
  transition: 0.35s;
}
.hero-dot.active {
  width: 72px;
  background: var(--cyan);
}
.fiscal-banner-section {
  padding: 28px 0 88px;
  background: linear-gradient(180deg, #f7fbfc, #fff);
}
.fiscal-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  background: #fff;
  border: 1px solid #d9eaee;
  border-radius: 28px;
  padding: 46px;
  box-shadow: 0 24px 70px rgba(11, 59, 83, 0.1);
  overflow: hidden;
}
.fiscal-banner-copy h2 {
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  max-width: 700px;
}
.fiscal-banner-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 650px;
}
.fiscal-banner img {
  width: 100%;
  border-radius: 24px;
}
.services .section-heading h2 {
  max-width: 760px;
}
.service-card:first-child {
  background: linear-gradient(155deg, #0b3d56, #0d6372);
  color: #fff;
  border-color: transparent;
}
.service-card:first-child p {
  color: #c9e4e8;
}
.service-card:first-child h3,
.service-card:first-child a {
  color: #fff;
}
.service-card:first-child .service-details summary {
  color: #ffff;
}
.service-card:first-child .service-details ul {
  color: #ffff;
}
.service-card:first-child .service-number {
  color: #fff;
}
.service-card:first-child .service-top i {
  color: #fff;
}
.advisor-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.advisor-message {
  position: absolute;
  right: 86px;
  bottom: 19px;
  width: max-content;
  max-width: 220px;
  background: #fff;
  color: #0b3d56;
  padding: 12px 17px;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(7, 22, 34, 0.18);
  opacity: 0;
  transform: translateX(12px) scale(0.96);
  pointer-events: none;
  transition: 0.3s;
}
.advisor-button {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 18px 45px rgba(7, 22, 34, 0.28);
  transition: 0.3s;
}
.advisor-button:hover {
  transform: translateY(-4px);
  color: inherit;
}
.advisor-float:hover .advisor-message {
  opacity: 1;
  transform: none;
}
.advisor-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #dff9fb;
  display: block;
}
.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.advisor-status {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #28d567;
  border: 3px solid #fff;
}
.advisor-whatsapp {
  position: absolute;
  right: -3px;
  bottom: -4px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  border: 1px solid #fff;
}
@media (max-width: 991px) {
  .hero-slider {
    min-height: 760px;
  }
  .hero-slide {
    position: absolute;
  }
  .hero-slide .row {
    min-height: 760px !important;
  }
  .hero-title,
  .hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }
  .fiscal-banner {
    grid-template-columns: 1fr;
    padding: 34px;
  }
  .fiscal-banner img {
    max-height: 360px;
    object-fit: cover;
  }
  .hero-controls {
    bottom: 22px;
  }
}
@media (max-width: 575px) {
  .hero-slider {
    min-height: 700px;
  }
  .hero-slide .row {
    min-height: 700px !important;
  }
  .hero-title,
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-trust {
    gap: 15px;
    flex-wrap: wrap;
  }
  .fiscal-banner {
    padding: 25px;
    border-radius: 20px;
  }
  .advisor-float {
    right: 15px;
    bottom: 15px;
  }
  .advisor-button {
    width: 68px;
    height: 68px;
  }
  .advisor-photo {
    width: 58px;
    height: 58px;
  }
  .advisor-message {
    right: 74px;
    bottom: 14px;
    font-size: 0.78rem;
  }
}

/* ==============================
   VERSION 4 - HEADER COMPACTO Y HERO CON FONDO
============================== */
:root {
  --header-bg: #eaf4f8;
  --header-border: #d2e5ec;
  --financial-blue: #0f2942;
  --financial-blue-2: #163b5b;
}
.main-navbar {
  top: 36px;
  min-height: 100px;
  padding: 7px 0;
  background: rgba(234, 244, 248, 0.97);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 28px rgba(15, 41, 66, 0.1);
  backdrop-filter: blur(14px);
}
.main-navbar.scrolled {
  top: 0;
  min-height: 70px;
  padding: 5px 0;
  background: rgba(234, 244, 248, 0.98);
  box-shadow: 0 10px 32px rgba(15, 41, 66, 0.13);
}
.navbar-brand {
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.navbar-brand img {
  width: 220px;
  max-height: 90px;
  object-fit: contain;
}
.nav-link {
  color: var(--financial-blue) !important;
  padding: 0.55rem 0.82rem !important;
}
.nav-link:hover,
.nav-link:focus {
  color: #008f9b !important;
}
.btn-nav {
  padding: 0.62rem 1rem;
}

.hero-slider {
  min-height: 780px;
  background: #071b2b;
}
.hero-slide {
  isolation: isolate;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-slide[data-slide="0"] {
  background-image: url("../img/hero-fiscal-1.webp");
}
.hero-slide[data-slide="1"] {
  background-image: url("../img/hero-fiscal-2.webp");
}
.hero-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(4, 18, 30, 0.96) 0%,
    rgba(7, 34, 52, 0.92) 39%,
    rgba(8, 43, 61, 0.6) 64%,
    rgba(8, 45, 61, 0.3) 100%
  );
}
.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(1, 12, 20, 0.28),
    transparent 28%,
    rgba(1, 12, 20, 0.3)
  );
}
.hero-grid {
  z-index: 3;
  opacity: 0.5;
  pointer-events: none;
}
.hero-slide.active {
  animation: none;
  background-size: cover;
  background-position: center;
}
.hero-slide .container {
  position: relative;
  z-index: 4;
}
.hero-slide .row {
  min-height: 780px !important;
  padding-top: 90px !important;
}
.hero-copy {
  max-width: 770px;
}
.hero-title,
.hero h1 {
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.28);
}
.hero-copy > p {
  max-width: 680px;
  color: #d7e5eb;
}
.hero-media {
  display: none;
}
.hero-media-wrap {
  min-height: 610px;
}
.compact-visual {
  inset: 0;
  display: block;
}
.compact-visual .dashboard-main {
  top: 190px;
  left: 35px;
  background: rgba(6, 32, 47, 0.84);
}
.compact-visual .card-a {
  top: 92px;
  right: 0;
}
.compact-visual .card-b {
  bottom: 80px;
  left: 5px;
}
.compact-visual .card-c {
  bottom: 125px;
  right: -10px;
}
.mini-one {
  top: 190px;
  right: 10px;
}
.mini-two {
  bottom: 155px;
  left: 10px;
}
.dashboard-card,
.mini-floating {
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.18);
}
.hero-controls {
  bottom: 30px;
}

.fiscal-banner {
  min-height: 420px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 43, 0.97) 0%,
      rgba(12, 52, 73, 0.91) 48%,
      rgba(12, 52, 73, 0.3) 100%
    ),
    url("../img/banner-fiscal.webp") center right/cover no-repeat;
  border: 0;
  color: #fff;
  padding: 55px 58px;
}
.fiscal-banner-copy {
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.fiscal-banner-copy p {
  color: #cfe0e7;
}
.fiscal-banner > img {
  display: none;
}

@media (max-width: 991px) {
  .main-navbar {
    top: 0;
    min-height: 68px;
    padding: 5px 0;
  }
  .navbar-brand img {
    width: 170px;
    max-height: 54px;
  }
  .navbar-collapse {
    background: #f4fafc;
    border-color: #d2e5ec;
    margin-top: 8px;
  }
  .hero-slider,
  .hero-slide .row {
    min-height: 760px !important;
  }
  .hero-slide .row {
    padding-top: 105px !important;
  }
  .hero-slide:before {
    background: linear-gradient(
      90deg,
      rgba(4, 18, 30, 0.96),
      rgba(7, 34, 52, 0.8)
    );
  }
  .hero-slide.active {
    animation: none;
    background-size: cover;
  }
  .fiscal-banner {
    min-height: 390px;
    padding: 42px 36px;
    background-position: center;
  }
}
@media (max-width: 575px) {
  .main-navbar {
    min-height: 100px;
  }
  .navbar-brand img {
    width: 180px;
    max-height: 100px;
  }
  .hero-slider,
  .hero-slide .row {
    min-height: 720px !important;
  }
  .hero-slide .row {
    padding-top: 90px !important;
  }
  .hero-title,
  .hero h1 {
    font-size: 2.65rem;
  }
  .fiscal-banner {
    padding: 34px 25px;
    min-height: 430px;
  }
}

/* V5: contenido institucional recuperado del sitio original */
.institutional-section {
  background: #f5f8fa;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(15, 41, 66, 0.09);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 41, 66, 0.06);
}
.value-card i {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(17, 215, 242, 0.12);
  color: #008f9b;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}
.value-card h3 {
  font-size: 1rem;
  margin: 0;
}
.commitment-panel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(15, 41, 66, 0.1);
  border-radius: 22px;
  overflow: hidden;
}
.commitment-panel > div {
  background: #fff;
  padding: 2rem;
}
.commitment-panel i {
  color: #05b8c8;
  font-size: 1.7rem;
}
.commitment-panel h3 {
  font-size: 1.15rem;
  margin: 0.75rem 0;
}
.commitment-panel p {
  margin: 0;
  color: #637283;
  font-size: 0.94rem;
}
.service-audience {
  padding: 2rem 0 0;
  background: #fff;
}
.service-audience-inner {
  border: 1px solid rgba(15, 41, 66, 0.1);
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(135deg, #f7fbfc, #eef8fa);
}
.service-audience-inner h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.audience-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.audience-items span {
  background: #fff;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 22px rgba(15, 41, 66, 0.06);
}
.audience-items i {
  color: #00aebc;
  margin-right: 0.45rem;
}
.service-details {
  margin: 1rem 0 1.2rem;
  border-top: 1px solid rgba(15, 41, 66, 0.1);
  border-bottom: 1px solid rgba(15, 41, 66, 0.1);
  padding: 0.8rem 0;
}
.service-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0f2942;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.service-details summary::-webkit-details-marker {
  display: none;
}
.service-details[open] summary i {
  transform: rotate(45deg);
}
.service-details summary i {
  transition: transform 0.25s ease;
}
.service-details ul {
  margin: 1rem 0 0.25rem;
  padding-left: 1.2rem;
  color: #5f6f7f;
  font-size: 0.88rem;
}
.service-details li {
  margin-bottom: 0.45rem;
}
.hero-slide,
.hero-slide.active {
  animation: none !important;
  transition:
    opacity 1.1s ease,
    visibility 1.1s ease !important;
  background-size: cover !important;
  transform: none !important;
}
@media (max-width: 991.98px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .commitment-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-audience-inner {
    padding: 1.4rem;
  }
}

/* ==============================
   FOOTER V5.1
   Tarjeta de marca, mejor contraste y contacto visual
============================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #03111c 0%, #061d2a 55%, #073142 100%);
  color: #a9bec8;
  padding: 78px 0 0;
}

.site-footer .container {
  z-index: 2;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.footer-glow-one {
  width: 420px;
  height: 420px;
  top: -250px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(17, 215, 242, 0.13),
    transparent 68%
  );
}

.footer-glow-two {
  width: 320px;
  height: 320px;
  left: -180px;
  bottom: -190px;
  background: radial-gradient(
    circle,
    rgba(17, 215, 242, 0.08),
    transparent 70%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) 0.7fr 0.85fr minmax(270px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.footer-brand-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(17, 215, 242, 0.16);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(11, 42, 59, 0.92),
    rgba(7, 31, 45, 0.9)
  );
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.footer-logo-box {
  width: 100%;
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 17px 20px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: #f4fafc;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(11, 38, 57, 0.04);
}

.footer-logo {
  width: min(235px, 100%);
  max-height: 78px;
  object-fit: contain;
  margin: 0;
}

.footer-brand-label {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-brand-copy {
  max-width: 510px;
  margin-bottom: 20px;
  color: #bad0d9;
}

.footer-specialties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-specialties span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d9e8ed;
  font-size: 0.79rem;
}

.footer-specialties i {
  color: var(--cyan);
  font-size: 1rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.site-footer .footer-socials a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  color: #dff7fa;
  border: 1px solid rgba(17, 215, 242, 0.2);
  background: rgba(17, 215, 242, 0.07);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.site-footer .footer-socials a:hover {
  transform: translateY(-3px);
  color: #03111c;
  background: var(--cyan);
}

.footer-column {
  padding-top: 14px;
}

.site-footer .footer-column h5 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 0.98rem;
}

.footer-heading-line {
  width: 35px;
  height: 2px;
  display: block;
  margin-bottom: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), rgba(17, 215, 242, 0));
}

.site-footer .footer-column > a:not(.footer-contact-item) {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 11px;
  color: #a9bec8;
  font-size: 0.84rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.site-footer .footer-column > a:not(.footer-contact-item) i {
  color: rgba(17, 215, 242, 0.7);
  font-size: 0.68rem;
}

.site-footer .footer-column > a:not(.footer-contact-item):hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact-column {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
  color: #c3d5dc;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-contact-item small {
  display: block;
  margin-bottom: 2px;
  color: #718f9d;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  border: 1px solid rgba(17, 215, 242, 0.18);
  background: rgba(17, 215, 242, 0.07);
}

.site-footer .footer-contact-item:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  padding: 23px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #7994a0;
  font-size: 0.76rem;
}

.footer-bottom-message {
  color: #9fb6c0;
}

@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.7fr 0.85fr;
  }

  .footer-contact-column {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    padding-left: 0;
    border-left: 0;
  }

  .footer-contact-column h5,
  .footer-contact-column .footer-heading-line {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 55px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .footer-brand-card,
  .footer-contact-column {
    grid-column: 1 / -1;
  }

  .footer-contact-column {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-card,
  .footer-contact-column {
    grid-column: auto;
  }

  .footer-brand-card {
    padding: 20px;
  }

  .footer-logo-box {
    justify-content: center;
  }

  .footer-column {
    padding-top: 0;
  }
}

/* ==============================
   HEADER MOBILE V5.6
   Control de scroll móvil mediante JavaScript sin reducir logo ni menú
============================== */
@media (max-width: 991.98px) {
  .main-navbar,
  .main-navbar.scrolled,
  .main-navbar.mobile-has-scroll {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #eaf4f8 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    transition:
      top 0.25s ease,
      box-shadow 0.25s ease,
      background-color 0.25s ease !important;
  }

  .main-navbar.mobile-has-scroll {
    box-shadow: 0 8px 24px rgba(15, 41, 66, 0.14) !important;
  }

  .main-navbar > .container,
  .main-navbar.scrolled > .container,
  .main-navbar.mobile-has-scroll > .container {
    width: 100% !important;
    height: 80px !important;
    min-height: 80px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }

  .main-navbar .navbar-brand,
  .main-navbar.scrolled .navbar-brand,
  .main-navbar.mobile-has-scroll .navbar-brand {
    height: 74px !important;
    min-height: 74px !important;
    max-width: calc(100% - 58px) !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .main-navbar .navbar-brand img,
  .main-navbar.scrolled .navbar-brand img,
  .main-navbar.mobile-has-scroll .navbar-brand img {
    display: block !important;
    width: 175px !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 56px !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
    transition:
      width 0.25s ease,
      max-height 0.25s ease !important;
  }

  .main-navbar .navbar-toggler,
  .main-navbar.scrolled .navbar-toggler,
  .main-navbar.mobile-has-scroll .navbar-toggler {
    margin: 0 0 0 auto !important;
    padding: 5px 8px !important;
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  .main-navbar .navbar-collapse {
    position: absolute !important;
    top: 74px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    margin-top: 0 !important;
    max-height: calc(100dvh - 82px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 575.98px) {
  .main-navbar,
  .main-navbar.scrolled,
  .main-navbar.mobile-has-scroll,
  .main-navbar > .container,
  .main-navbar.scrolled > .container,
  .main-navbar.mobile-has-scroll > .container {
    height: 68px !important;
    min-height: 68px !important;
  }

  .main-navbar > .container,
  .main-navbar.scrolled > .container,
  .main-navbar.mobile-has-scroll > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .main-navbar .navbar-brand,
  .main-navbar.scrolled .navbar-brand,
  .main-navbar.mobile-has-scroll .navbar-brand {
    height: 68px !important;
    min-height: 68px !important;
    padding: 7px 0 !important;
  }

  .main-navbar .navbar-brand img {
    width: 180px !important;
    max-height: 52px !important;
  }

  .main-navbar .navbar-collapse {
    top: 68px !important;
    left: 8px !important;
    right: 8px !important;
    max-height: calc(100dvh - 76px) !important;
  }
}

/* =========================================
   POR QUÉ MB
========================================= */

.why-mb-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(38, 175, 212, 0.08),
      transparent 28%
    ),
    #f6f9fb;
}

.why-mb-section::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(38, 175, 212, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.why-mb-section::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(38, 175, 212, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

/* Tarjeta principal */

.why-mb-featured {
  position: relative;
  height: 100%;
  min-height: 590px;
  padding: 42px 36px;
  border-radius: 28px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(
    155deg,
    rgba(14, 45, 62, 0.98),
    rgba(7, 22, 34, 1)
  );
  box-shadow: 0 24px 60px rgba(7, 22, 34, 0.2);
}

.why-mb-featured::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(38, 175, 212, 0.12);
}

.why-mb-featured::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.025);
}

.why-mb-featured-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.45) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000);
}

.why-mb-featured-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.why-mb-since {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: #bfeaf5;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-mb-years {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.why-mb-years strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: #ffffff;
}

.why-mb-years span {
  margin-top: 15px;
  color: #56c8e6;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.why-mb-featured h3 {
  max-width: 330px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.why-mb-featured p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.why-mb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.why-mb-link i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #26afd4;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.why-mb-link:hover {
  color: #ffffff;
}

.why-mb-link:hover i {
  transform: translate(4px, -4px);
  background: #56c8e6;
}

/* Cuadrícula de diferenciadores */

.why-mb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: 100%;
}

.why-mb-card {
  display: flex;
  gap: 20px;
  min-height: 132px;
  padding: 25px;
  border: 1px solid rgba(7, 22, 34, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 22, 34, 0.055);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.why-mb-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 175, 212, 0.35);
  box-shadow: 0 20px 45px rgba(7, 22, 34, 0.1);
}

.why-mb-icon {
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(38, 175, 212, 0.11);
  color: #168eb0;
  font-size: 1.35rem;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.why-mb-card:hover .why-mb-icon {
  color: #ffffff;
  background: #168eb0;
  transform: rotate(-5deg);
}

.why-mb-card h3 {
  margin-bottom: 8px;
  color: #071622;
  font-size: 1.04rem;
  line-height: 1.35;
}

.why-mb-card p {
  margin: 0;
  color: #64727c;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Franja inferior */

.why-mb-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(7, 22, 34, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 22, 34, 0.055);
}

.why-mb-bottom-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: #071622;
  font-size: 1.35rem;
}

.why-mb-bottom span {
  display: block;
  margin-bottom: 4px;
  color: #071622;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.why-mb-bottom p {
  margin: 0;
  color: #64727c;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 991.98px) {
  .why-mb-featured {
    min-height: auto;
  }

  .why-mb-featured-content {
    min-height: 470px;
  }
}

@media (max-width: 767.98px) {
  .why-mb-grid {
    grid-template-columns: 1fr;
  }

  .why-mb-featured {
    padding: 34px 26px;
    border-radius: 22px;
  }

  .why-mb-featured-content {
    min-height: 430px;
  }

  .why-mb-years strong {
    font-size: 6.5rem;
  }

  .why-mb-bottom {
    grid-template-columns: auto 1fr;
  }

  .why-mb-bottom .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .why-mb-card {
    align-items: flex-start;
    padding: 22px 20px;
  }

  .why-mb-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .why-mb-bottom {
    padding: 22px 20px;
  }
}

/* =========================================
   NÚMEROS QUE GENERAN CONFIANZA
========================================= */

.trust-counter-section {
  position: relative;
  z-index: 5;
  padding: 0 0 30px;
  background: #f6f9fb;
}

.trust-counter-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(7, 22, 34, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(7, 22, 34, 0.1);
}

/* Línea superior decorativa */

.trust-counter-grid::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #071622,
    #168eb0,
    #56c8e6,
    #168eb0,
    #071622
  );
}

/* Elemento individual */

.trust-counter-item {
  position: relative;
  min-width: 0;
  padding: 38px 28px 34px;
  text-align: center;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.trust-counter-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 32px;
  width: 1px;
  background: rgba(7, 22, 34, 0.09);
}

.trust-counter-item:hover {
  z-index: 2;
  background: #f8fbfc;
}

/* Ícono */

.trust-counter-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 16px;
  color: #168eb0;
  background: rgba(38, 175, 212, 0.11);
  font-size: 1.4rem;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.trust-counter-item:hover .trust-counter-icon {
  color: #ffffff;
  background: #168eb0;
  transform: translateY(-4px);
}

/* Número */

.trust-counter-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 74px;
  margin-bottom: 12px;
  color: #071622;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

.counter-number {
  display: inline-block;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.counter-prefix,
.counter-suffix {
  color: #168eb0;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  font-weight: 700;
}

.counter-prefix {
  margin-right: 3px;
}

.counter-suffix {
  margin-left: 3px;
}

.trust-counter-date {
  gap: 7px;
}

.counter-small-text {
  color: #168eb0;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Textos */

.trust-counter-item h2 {
  margin-bottom: 10px;
  color: #071622;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.trust-counter-item p {
  max-width: 240px;
  margin: 0 auto;
  color: #64727c;
  font-size: 0.87rem;
  line-height: 1.65;
}

/* Responsive */

@media (max-width: 991.98px) {
  .trust-counter-section {
    padding-top: 28px;
  }

  .trust-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-counter-item:nth-child(2)::after {
    display: none;
  }

  .trust-counter-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 22, 34, 0.09);
  }
}

@media (max-width: 575.98px) {
  .trust-counter-section {
    padding-top: 20px;
  }

  .trust-counter-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .trust-counter-item {
    padding: 30px 24px;
  }

  .trust-counter-item:not(:last-child) {
    border-bottom: 1px solid rgba(7, 22, 34, 0.09);
  }

  .trust-counter-item:not(:last-child)::after {
    display: none;
  }

  .trust-counter-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 22, 34, 0.09);
  }

  .trust-counter-number {
    min-height: auto;
  }

  .counter-number {
    font-size: 3.25rem;
  }

  .trust-counter-item p {
    max-width: 290px;
  }
}

/* =========================================
   SELECTOR DE IDIOMA
========================================= */

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher,
.mobile-language-switcher {
  position: relative;
}

.language-switcher-btn,
.mobile-language-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 7px 11px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.language-switcher-btn:hover,
.language-switcher-btn:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.language-switcher-btn::after,
.mobile-language-btn::after {
  margin-left: 1px;
}

.language-menu {
  min-width: 165px;
  margin-top: 9px !important;
  padding: 8px;
  border: 1px solid rgba(7, 22, 34, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(7, 22, 34, 0.16);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  color: #223846;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 10px;
}

.language-option:hover,
.language-option:focus,
.language-option.active {
  background: rgba(22, 142, 176, 0.11);
  color: #0c7998;
}

.language-code {
  display: inline-grid;
  place-items: center;
  min-width: 29px;
  height: 25px;
  border-radius: 7px;
  background: #eaf4f8;
  color: #0c7998;
  font-size: 0.72rem;
  font-weight: 800;
}

.google-translate-container,
.goog-te-banner-frame,
.skiptranslate iframe,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

.mobile-language-btn {
  width: 54px;
  height: 40px;
  padding: 0 8px;
  border-color: rgba(15, 41, 66, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: #0f2942;
}

.mobile-language-btn:hover,
.mobile-language-btn:focus {
  border-color: rgba(22, 142, 176, 0.4);
  background: #ffffff;
  color: #0c7998;
}

@media (max-width: 991.98px) {
  .mobile-language-switcher {
    margin-left: auto;
    margin-right: 8px;
  }

  .main-navbar .navbar-toggler,
  .main-navbar.scrolled .navbar-toggler,
  .main-navbar.mobile-has-scroll .navbar-toggler {
    margin-left: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .mobile-language-btn {
    width: 50px;
    height: 38px;
    font-size: 0.72rem;
  }

  .mobile-language-switcher {
    margin-right: 6px;
  }
}
