:root {
  --white: #ffffff;
  --ink: #0b1f3a;
  --ink-soft: #5b6b85;
  --blue: #1878F3;
  --blue-dark: #0c62d0;
  --blue-tint: #eff5ff;
  --blue-tint-2: #e3edfe;
  --yellow: #ffd700;
  --yellow-dark: #ffd700;
  --red: #DA0D15;
  --green: #25D366; /* Exclusivo para el botón flotante de WhatsApp */
  --radius: 16px;
  --maxw: 1180px;
}

/* Base Utility Colors */
.color-blue {
  color: var(--blue);
  font-weight: 700;
}

.color-yellow {
  color: #ffd700;
  font-weight: 800;
}

.color-red {
  color: var(--red);
  font-weight: 700;
}

.hero-highlight-yellow {
  color: var(--yellow);
  text-shadow: 0 0 16px rgba(253, 228, 1, 0.6);
  font-weight: 700;
}

.hero-highlight-red {
  color: #ff3b44;
  text-shadow: 0 0 16px rgba(218, 13, 21, 0.5);
  font-weight: 700;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* Montserrat Regular */
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* Montserrat Bold */
  letter-spacing: -0.015em;
  color: var(--blue);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}

.eyebrow-blue {
  color: var(--blue);
}
.eyebrow-blue::before {
  background: var(--blue);
}

.eyebrow-yellow {
  color: #ffd700;
}
.eyebrow-yellow::before {
  background: var(--yellow);
}

.eyebrow-red {
  color: var(--red);
}
.eyebrow-red::before {
  background: var(--red);
}

section {
  padding: 96px 0;
  background: var(--white);
  position: relative;
}

@media (max-width:720px) {
  section {
    padding: 64px 0;
  }
}

/* Header & Nav Bar - Blanco con Contenido Azul */
header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1000px;
  z-index: 100;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(11, 31, 58, 0.15);
  border: 1.5px solid rgba(24, 119, 242, 0.2);
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
  top: 8px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -10px rgba(11, 31, 58, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  transition: padding .4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .nav {
  padding: 6px 20px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 15px;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-socials a:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  transition: color .2s, transform .2s;
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--blue);
  transition: width .25s ease;
  border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}

header .btn-primary {
  padding: 8px 18px;
  font-size: 13px;
  background: var(--blue);
  color: #ffffff;
  border: 1.5px solid var(--blue);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.25);
}

header .btn-primary:hover {
  background: var(--blue-dark);
  color: #ffffff;
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.4);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(24, 119, 242, 0.65);
  border: none;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(24, 119, 242, 0.8);
}

.btn-ghost {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-weight: 600;
}

.btn-ghost:hover {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(24, 119, 242, 0.45);
}

.menu-toggle {
  display: none;
}

@media (max-width:860px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 15px 35px rgba(11, 31, 58, 0.2);
    border: 1.5px solid rgba(24, 119, 242, 0.25);
    flex-direction: column;
    align-items: flex-start;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transform-origin: top center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--blue);
  }

  header .btn-primary {
    width: 100%;
    text-align: center;
    color: #ffffff !important;
    background: var(--blue) !important;
  }

  header .btn-primary:hover {
    color: #ffffff !important;
    background: var(--blue-dark) !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Hero Section (Blue background with particle canvas) */
.hero {
  position: relative;
  margin-top: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding-top: 140px;
  padding-bottom: 110px;
  overflow: hidden;
  background: linear-gradient(135deg, #093474 0%, #1878F3 60%, #0c57bd 100%);
}

.hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 24px;
}

.hero-brand-logo {
  height: 290px;
  max-width: 90%;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.hero-brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 4.8vw, 54px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.3;
  margin: 0 auto 18px;
  color: #ffffff;
  max-width: 660px;
  font-weight: 700;
  text-align: center;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.65;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .btn-primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.25);
  border: none;
}

.hero .btn-primary:hover {
  background: #ffd700;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(255, 215, 0, 0.5);
}

.hero .btn-ghost {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.hero .btn-ghost:hover {
  border-color: #ffffff;
  color: var(--blue);
  background: #ffffff;
}

/* Trust Bar (Bordes cuadrados 4px) */
.trust-bar {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.trust-bar-inner {
  background: #ffffff;
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: 0 12px 36px -12px rgba(11, 31, 58, 0.12);
  border: 1px solid rgba(11, 31, 58, 0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.trust-bar-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0% 25%, #ffd700 25% 50%, var(--red) 50% 75%, var(--blue) 75% 100%);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-item:hover {
  transform: translateY(-2px);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Item 1: Azul */
.trust-item:nth-child(1) .trust-icon { background: var(--blue-tint); color: var(--blue); }
.trust-item:nth-child(1) .counter-value { color: var(--blue); }
.trust-item:nth-child(1):hover .trust-icon { background: var(--blue); color: #ffffff; }

/* Item 2: Amarillo */
.trust-item:nth-child(2) .trust-icon { background: #fffde6; color: #ffd700; }
.trust-item:nth-child(2) .counter-value { color: #ffd700; }
.trust-item:nth-child(2):hover .trust-icon { background: #ffd700; color: #0b1f3a; }

/* Item 3: Rojo */
.trust-item:nth-child(3) .trust-icon { background: #fdeaea; color: var(--red); }
.trust-item:nth-child(3) .counter-value { color: var(--red); }
.trust-item:nth-child(3):hover .trust-icon { background: var(--red); color: #ffffff; }

/* Item 4: Azul */
.trust-item:nth-child(4) .trust-icon { background: var(--blue-tint); color: var(--blue); }
.trust-item:nth-child(4) .counter-value { color: var(--blue); }
.trust-item:nth-child(4):hover .trust-icon { background: var(--blue); color: #ffffff; }

.counter-value {
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.1;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}

.trust-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.trust-content p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.25;
}

@media (max-width: 860px) {
  .trust-bar {
    margin-top: -30px;
  }

  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 20px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Nosotros Section - Fondo Blanco */
.nosotros-section {
  position: relative;
  z-index: 1;
  background: #ffffff;
  color: var(--ink);
  padding: 96px 0;
  overflow: hidden;
}

.nosotros-section::before,
.nosotros-section::after {
  display: none;
}

.nosotros-section .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.nosotros-left,
.nosotros-right {
  min-width: 0;
  width: 100%;
}

.nosotros-section h2 {
  color: var(--blue);
}

.nosotros-section p {
  color: var(--ink-soft);
  line-height: 1.7;
  text-align: left;
}

.nosotros-text {
  text-align: left;
}

.nosotros-section .eyebrow-blue {
  color: var(--blue);
}

.nosotros-section .eyebrow-blue::before {
  background: var(--blue);
}

/* Lista de Valores */
.valores-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.valores-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eff5ff;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(24, 119, 242, 0.2);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.valores-list li:hover {
  transform: translateX(6px);
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.25);
}

.valores-list li:hover i {
  color: #ffd700;
}

.valores-list li i {
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}

.nosotros-video-wrapper {
  margin-top: 24px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.15);
  border: 2px solid rgba(24, 119, 242, 0.15);
  background: #000000;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-video-wrapper:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 38px rgba(24, 119, 242, 0.25);
}

.nosotros-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reviews-box-right {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 119, 242, 0.15);
}

.reviews-head-sm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.reviews-ticker-viewport-h {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.reviews-ticker-h {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollReviewsH 24s linear infinite;
}

.reviews-ticker-h:hover {
  animation-play-state: paused;
}

@keyframes scrollReviewsH {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card-h {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card-h:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.25);
  background: #ffffff;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-g-icon {
  font-size: 16px;
  color: var(--blue);
}

.review-stars {
  color: #ffc107;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.review-text {
  font-size: 13.5px !important;
  color: var(--ink) !important;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.35;
}

.review-author {
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 700;
}

.stat-row {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--radius);
  flex: 1;
  min-width: 200px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.stat:hover {
  transform: translateY(-2px);
}

.stat-blue {
  background: #eff5ff;
  border-left: 4px solid var(--blue);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.08);
}

.stat-blue .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-blue b {
  color: var(--blue);
}

.stat b {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  display: block;
}

.stat span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Cómo lo hacemos (Steps - Azul muy clarito #eff5ff) */
.how {
  position: relative;
  z-index: 2;
  background: #eff5ff;
}

.how .eyebrow {
  color: #0b1f3a;
  font-weight: 800;
}

.how .eyebrow::before {
  background: var(--blue);
}

.how h2 {
  color: #0b1f3a;
}

.how-title {
  font-size: clamp(20px, 3.2vw, 36px);
  color: var(--blue);
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

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

.step {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 10px 28px -8px rgba(11, 31, 58, 0.08);
  border: 1px solid rgba(11, 31, 58, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1), background .3s ease;
}

.step .num {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.num-blue { color: var(--blue); }
.num-yellow { color: #ffd700; }
.num-red { color: var(--red); }

/* Bordes superiores e iconos - Todas las tarjetas azules */
.step {
  border-top: 4px solid var(--blue) !important;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  border-left: 1px solid rgba(24, 119, 242, 0.2);
  border-right: 1px solid rgba(24, 119, 242, 0.2);
  border-bottom: 1px solid rgba(24, 119, 242, 0.2);
}
.step .step-title i { color: var(--blue) !important; }
.step:hover { background: #f4f8ff !important; box-shadow: 0 18px 40px -10px rgba(24, 119, 242, 0.22) !important; transform: translateY(-4px); }

.step h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-title i {
  font-size: 18px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Perfil Selector - Tu camino (Total White Background) */
#camino {
  background: #ffffff;
}

.profile-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.profile-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.profile-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  border: 2px solid rgba(24, 119, 242, 0.3) !important;
  color: var(--blue) !important;
  cursor: pointer;
  transition: all .25s ease;
}

.profile-tab:hover {
  background: var(--blue-tint) !important;
  border-color: var(--blue) !important;
  transform: translateY(-1px);
}

.profile-tab.active {
  background: var(--blue) !important;
  color: #ffffff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4) !important;
}

.profile-panel {
  display: none;
  background: #ffffff;
  border-radius: 20px;
  padding: 44px;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  box-shadow: 0 16px 40px -10px rgba(11, 31, 58, 0.1);
}

.panel-nomada, .panel-pensionado, .panel-inversionista, .panel-estudiante, .panel-conyuge, .panel-residente {
  border: 2px solid rgba(24, 119, 242, 0.25);
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

.profile-panel.active {
  display: grid;
  animation: fadeSlideUp .5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width:860px) {
  .profile-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

.profile-panel h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--ink);
}

.profile-panel p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.profile-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
  transition: all 0.25s ease;
}

.profile-wa-btn:hover {
  background: var(--blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.45);
}

.badge-blue {
  background: rgba(24, 119, 242, 0.12);
  color: var(--blue);
  border: 1px solid rgba(24, 119, 242, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.badge-yellow {
  background: rgba(253, 228, 1, 0.25);
  color: #ffd700;
  border: 1px solid rgba(253, 228, 1, 0.5);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.badge-red {
  background: rgba(218, 13, 21, 0.12);
  color: var(--red);
  border: 1px solid rgba(218, 13, 21, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.profile-quote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 22px;
  padding: 20px 24px;
  border-radius: 14px;
  line-height: 1.4;
}

.quote-blue {
  background: #eff5ff;
  border-left: 4px solid var(--blue);
  color: var(--blue);
}

.quote-yellow {
  background: #fffde6;
  border-left: 4px solid var(--yellow);
  color: #ffd700;
}

.quote-red {
  background: #fdeaea;
  border-left: 4px solid var(--red);
  color: var(--red);
}

/* Rediseño Elegante, Sobrio y Didáctico - Centro de Soluciones (#servicios) */
.solutions-matrix-section {
  padding: 96px 0;
  background: #eff5ff;
}

.solutions-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.solutions-main-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

.solutions-intro {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.6;
}

.solution-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.04);
}

.filter-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.solution-card {
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  border: 2px solid rgba(24, 119, 242, 0.25);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.08);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(24, 119, 242, 0.2);
  border-color: var(--blue);
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(24, 119, 242, 0.12) !important;
  color: var(--blue) !important;
}

.solution-icon.vi,
.solution-icon.mi,
.solution-icon.re,
.solution-icon.fbi,
.solution-icon.po,
.solution-icon.co,
.solution-icon.gd,
.solution-icon.tr { background: rgba(24, 119, 242, 0.12) !important; color: var(--blue) !important; }

.solution-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solution-badge.badge-blue { background: rgba(24, 119, 242, 0.1); color: var(--blue); }
.solution-badge.badge-gold { background: rgba(255, 215, 0, 0.22); color: #8a6d00; }
.solution-badge.badge-red { background: rgba(218, 13, 21, 0.1); color: var(--red); }

.solution-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.solution-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.solution-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 31, 58, 0.07);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}

.solution-card-footer i {
  transition: transform 0.25s ease;
}

.solution-card:hover .solution-card-footer i {
  transform: translateX(4px);
}

@media (max-width:960px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .services-illustration {
    display: none;
  }

  .services-content {
    order: 1;
  }
}

@media (max-width:620px) {
  .services-compact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Rediseño Footer con Estilo Hero (Fondo Azul + Partículas Canvas + Texto Blanco) */
.site-footer {
  background: linear-gradient(135deg, #093474 0%, #1878F3 60%, #0c57bd 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  border-top: none;
}

.site-footer .footer-main,
.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-top-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
  position: relative;
  z-index: 2;
}

.footer-main {
  padding: 72px 24px 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.7fr 1.1fr;
  gap: 40px;
  align-items: start;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  max-width: 100%;
}

.footer-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 800;
  color: #ffffff;
  white-space: normal;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  word-break: break-word;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.02em;
}

.footer-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffd700;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.footer-contact-list i {
  color: #ffd700;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-map-frame {
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.15);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-credit a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.25s ease;
}

.footer-credit a:hover {
  opacity: 0.8;
}

/* WhatsApp flotante - ÚNICO ELEMENTO CON VERDE (#25D366) */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  animation: wa-pulse 2.6s ease-in-out infinite;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  }

  50% {
    box-shadow: 0 14px 34px -4px rgba(37, 211, 102, 0.9);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* Animaciones de Carga */
.load-fade {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp .8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.load-fade:nth-child(1) {
  animation-delay: .1s;
}

.load-fade:nth-child(2) {
  animation-delay: .2s;
}

.load-fade:nth-child(3) {
  animation-delay: .3s;
}

.load-fade:nth-child(4) {
  animation-delay: .4s;
}

.load-fade:nth-child(5) {
  animation-delay: .5s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion:reduce) {

  [data-reveal],
  .load-fade {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .wa-float {
    animation: none;
  }
}

/* ==========================================================================
   OPTIMIZACIÓN VISTA MÓVIL (Scroll de a una sección/bloque ordenado)
   ========================================================================== */

@media (max-width: 768px) {
  html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }

  section,
  .hero,
  .trust-bar,
  .nosotros-section,
  .how,
  #camino,
  .solutions-matrix-section,
  .site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  /* Header & Navigation en Móvil */
  header {
    width: calc(100% - 24px);
    top: 8px;
  }

  .nav {
    padding: 6px 16px;
  }

  /* Hero Section en Móvil */
  .hero {
    padding: 100px 16px 40px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-brand-logo {
    height: clamp(160px, 38vw, 230px);
  }

  .hero-brand-title {
    font-size: clamp(18px, 5.2vw, 34px);
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* Trust Bar */
  .trust-bar {
    margin-top: -15px;
    padding: 0 16px;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 20px;
  }

  /* Secciones Generales en Móvil */
  section {
    padding: 56px 0;
  }

  /* Section Trayectoria (#nosotros) */
  .nosotros-section {
    padding: 60px 0;
  }

  .nosotros-section .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nosotros-left,
  .nosotros-right {
    scroll-snap-align: start;
  }

  .nosotros-section p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .valores-list li {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* Cómo lo hacemos (#proceso) */
  .how {
    padding: 60px 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step {
    padding: 22px 20px;
    scroll-snap-align: start;
  }

  /* Tu camino (#camino) */
  .profile-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 24px 16px 24px;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .profile-tabs::-webkit-scrollbar {
    display: none;
  }

  .profile-tab {
    flex-shrink: 0;
    font-size: 13.5px;
    padding: 10px 20px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .profile-panel {
    padding: 24px 20px;
  }

  /* Centro de soluciones (#servicios) */
  .solution-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 6px 24px 16px 24px;
    margin-left: -24px;
    margin-right: -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .solution-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    font-size: 13px;
    padding: 9px 18px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .solution-card {
    scroll-snap-align: start;
    padding: 20px;
  }

  /* Footer en Móvil */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-main {
    padding: 48px 16px 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE TRADUCCIÓN A INGLÉS / ESPAÑOL
   ========================================================================== */
.lang-float {
  position: fixed;
  bottom: 96px;
  right: 26px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 10px 24px -6px rgba(24, 119, 242, 0.6);
  border: 2px solid #ffffff;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s ease, box-shadow .3s ease;
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif;
}

.lang-float:hover {
  background: var(--blue-dark);
  color: #ffffff;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(24, 119, 242, 0.85);
}

.lang-float i {
  font-size: 16px;
  line-height: 1;
}

.lang-float span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 768px) {
  .lang-float {
    bottom: 84px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* ==========================================================================
   PÁGINA DE POLÍTICA DE TRATAMIENTO DE DATOS PERSONALES
   ========================================================================== */
.policy-hero {
  background: linear-gradient(135deg, #093474 0%, #1878F3 60%, #0c57bd 100%);
  color: #ffffff;
  padding: 120px 0 60px;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(22px, 3.5vw, 36px);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.policy-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.policy-back-btn {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.policy-back-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.policy-content {
  padding: 60px 0 96px;
  background: #ffffff;
}

.policy-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid rgba(24, 119, 242, 0.18);
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  padding: 44px;
  max-width: 960px;
  margin: 0 auto;
}

.policy-info-box {
  background: #eff5ff;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.policy-info-box p {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: var(--ink);
}

.policy-info-box p:last-child {
  margin-bottom: 0;
}

.policy-section-item {
  margin-bottom: 32px;
}

.policy-section-item h2 {
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 14px;
  border-bottom: 1.5px solid rgba(24, 119, 242, 0.15);
  padding-bottom: 8px;
}

.policy-section-item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-section-item ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}

.policy-section-item ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.policy-section-item ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--blue);
  font-weight: bold;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 24px 18px;
  }
}

