/* ============================================================
   ARCANA CONSULTORES — main.css
   ============================================================ */

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---- Utilidades globales ---------------------------------- */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #111111;
  text-align: center;
}

.section-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #27C1E6 0%, #1B3F8F 100%);
  margin: 16px auto 48px;
  border-radius: 2px;
  animation: dividerGrow 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep al hacer hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-15deg);
  opacity: 0;
  transition: none;
}
.btn:hover::before {
  animation: shimmer 0.5s ease forwards;
  opacity: 1;
}

.btn--primary {
  background: #1B3F8F;
  color: #fff;
  border-color: #1B3F8F;
  box-shadow: 0 2px 12px rgba(27,63,143,0.30);
}
.btn--primary:hover {
  background: #0E2A6D;
  border-color: #0E2A6D;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: #1B3F8F;
  border-color: #1B3F8F;
  color: #fff;
}

.btn--green {
  background: #1B3F8F;
  color: #fff;
  border-color: #1B3F8F;
}
.btn--green:hover {
  background: #243C8C;
  border-color: #243C8C;
}

.btn--cta {
  background: #1B3F8F;
  color: #fff;
  border-color: #1B3F8F;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(27,63,143,0.35);
}
.btn--cta:hover {
  background: #0E2A6D;
  border-color: #0E2A6D;
  color: #fff;
}

/* ---- Keyframes -------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  from { transform: translateX(-100%) skewX(-15deg); }
  to   { transform: translateX(250%) skewX(-15deg); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dividerGrow {
  from { width: 0; opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Reveal animation ------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal lateral */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1) 0.15s,
              transform 0.75s cubic-bezier(0.22,1,0.36,1) 0.15s;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal escala (zoom suave) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.90);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Reveal blur (desenfoque + subida) */
.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
              filter  0.85s cubic-bezier(0.22,1,0.36,1),
              transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Helpers de delay (compatibles con cualquier variante) */
.reveal-d1 { transition-delay: 0.10s !important; }
.reveal-d2 { transition-delay: 0.20s !important; }
.reveal-d3 { transition-delay: 0.30s !important; }
.reveal-d4 { transition-delay: 0.40s !important; }
.reveal-d5 { transition-delay: 0.50s !important; }

/* Stagger para grids de cards */
.why__grid    .why-card:nth-child(1)   { transition-delay: 0s; }
.why__grid    .why-card:nth-child(2)   { transition-delay: 0.10s; }
.why__grid    .why-card:nth-child(3)   { transition-delay: 0.20s; }
.why__grid    .why-card:nth-child(4)   { transition-delay: 0.30s; }

.services__grid .service-card:nth-child(1) { transition-delay: 0s; }
.services__grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services__grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services__grid .service-card:nth-child(4) { transition-delay: 0.08s; }
.services__grid .service-card:nth-child(5) { transition-delay: 0.16s; }
.services__grid .service-card:nth-child(6) { transition-delay: 0.24s; }
.services__grid .service-card:nth-child(7) { transition-delay: 0.16s; }

.cases__grid  .case-card:nth-child(1)  { transition-delay: 0s; }
.cases__grid  .case-card:nth-child(2)  { transition-delay: 0.1s; }
.cases__grid  .case-card:nth-child(3)  { transition-delay: 0.2s; }

/* Stagger stats (fix: clase real es staff__stats-inner) */
.staff__stats-inner .staff-stat:nth-child(1) { transition-delay: 0s; }
.staff__stats-inner .staff-stat:nth-child(2) { transition-delay: 0.10s; }
.staff__stats-inner .staff-stat:nth-child(3) { transition-delay: 0.20s; }
.staff__stats-inner .staff-stat:nth-child(4) { transition-delay: 0.30s; }
.staff__stats-inner .staff-stat:nth-child(5) { transition-delay: 0.40s; }

/* Stagger columnas de servicios */
.srvc-col--left  .srvc-item:nth-child(1) { transition-delay: 0s; }
.srvc-col--left  .srvc-item:nth-child(2) { transition-delay: 0.12s; }
.srvc-col--left  .srvc-item:nth-child(3) { transition-delay: 0.24s; }
.srvc-col--right .srvc-item:nth-child(1) { transition-delay: 0s; }
.srvc-col--right .srvc-item:nth-child(2) { transition-delay: 0.12s; }
.srvc-col--right .srvc-item:nth-child(3) { transition-delay: 0.24s; }
.srvc-col--right .srvc-item:nth-child(4) { transition-delay: 0.36s; }


/* ============================================================
   HEADER / NAVBAR
============================================================ */
/* ============================================================
   HEADER / NAVBAR
============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Topbar */

.topbar {
  background: #08193D;
  height: 36px;
  display: flex;
  align-items: center;
}

.topbar__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__left {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__link {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}

.topbar__link:hover {
  color: #27C1E6;
}

/* Navbar */

.navbar {
  background: transparent;
  height: 90px;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled .navbar {
  background: rgba(14,42,109,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

.navbar__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  height: 100%;

  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 80px;
}

/* Menu */

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* Links */

.navbar__link {

  padding: 10px 14px;

  font-size: 14px;
  font-weight: 500;

  color: rgba(255,255,255,0.85);

  position: relative;

  transition: color .25s ease;
}

/* Hover line */

.navbar__link::after {

  content: "";

  position: absolute;

  left: 14px;
  right: 14px;
  bottom: -6px;

  height: 2px;

  background: linear-gradient(
    90deg,
    #27C1E6,
    #1B3F8F
  );

  transform: scaleX(0);
  transform-origin: left;

  transition: transform .3s ease;
}

.navbar__link:hover::after {
  transform: scaleX(1);
}

.navbar__link:hover {
  color: #ffffff;
}

.navbar__link--active {
  font-weight: 600;
  color: #ffffff;
}



/* Dropdown */

.navbar__item--dropdown {
  position: relative;
}

.navbar__dropdown {

  position: absolute;

  top: calc(100% + 8px);
  left: 0;

  background: #fff;

  border-radius: 8px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);

  min-width: 200px;

  padding: 8px 0;

  z-index: 100;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: all .25s ease;
}

.navbar__item--dropdown:hover .navbar__dropdown {

  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* Dropdown links */

.navbar__dropdown-link {

  display: block;

  padding: 10px 20px;

  font-size: 14px;

  color: #333;

  transition: all .2s ease;
}

.navbar__dropdown-link:hover {

  color: #27C1E6;

  background: rgba(39,193,230,0.05);

  padding-left: 24px;
}

/* CTA */

.navbar__cta {

  background: #1B3F8F;

  color: #fff;

  padding: 10px 20px;

  border-radius: 4px;

  font-weight: 700;

  font-size: 14px;

  margin-left: 10px;

  transition: background .2s, box-shadow .2s;

  box-shadow: 0 2px 12px rgba(27,63,143,0.35);
}

.navbar__cta:hover {
  background: #0E2A6D;
  box-shadow: 0 4px 20px rgba(27,63,143,0.50);
}

/* Hamburger */

.navbar__hamburger {

  display: none;

  background: none;
  border: none;

  font-size: 22px;

  cursor: pointer;

  margin-left: auto;
}

/* Mobile */

.navbar__menu.is-open {

  display: flex;
  flex-direction: column;

  position: absolute;

  top: 90px;
  left: 0;

  width: 100%;

  background: #0E2A6D;

  border-top: 1px solid rgba(255,255,255,0.15);

  padding: 16px 0;

  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

.navbar__menu.is-open .navbar__link {

  width: 100%;
  padding: 12px 24px;

  color: rgba(255,255,255,0.85);
}

.navbar__menu.is-open .navbar__dropdown {

  position: static;

  opacity: 1;
  visibility: visible;

  transform: none;

  box-shadow: none;

  background: rgba(0,0,0,0.20);
}

.navbar__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333333;
  transition: color 0.2s;
}
.navbar__dropdown-link:hover {
  color: #27C1E6;
}

/* CTA button */
.navbar__cta {
  flex-shrink: 0;
  background: #1B3F8F;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(27,63,143,0.35);
}
.navbar__cta:hover {
  background: #0E2A6D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(27,63,143,0.50);
}

/* Botón Ingresar (intranet) */
.navbar__login {
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  margin-left: 8px;
}
.navbar__login:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: auto;
}

/* Mobile menu open */
.navbar__menu.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 90px; /* navbar 90 */
  left: 0;
  width: 100%;
  background: #0E2A6D;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 0 24px;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}

.navbar__menu.is-open .navbar__item--dropdown .navbar__dropdown {
  position: static;
  box-shadow: none;
  background: rgba(0,0,0,0.20);
  border-radius: 0;
  padding: 0;
}
.navbar__menu.is-open .navbar__dropdown-link {
  color: rgba(255,255,255,0.70);
  padding-left: 36px;
}
.navbar__menu.is-open .navbar__dropdown-link:hover {
  color: #ffffff;
}
.navbar__menu.is-open .navbar__item--dropdown .navbar__dropdown {
  display: block;
}
.navbar__menu.is-open .navbar__link {
  width: 100%;
  padding: 12px 24px;
  border-radius: 0;
  color: rgba(255,255,255,0.85);
}

/* Mobile actions: ocultos en desktop */
.navbar__mobile-actions {
  display: none;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: -90px;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(39,193,230,0.08) 0%, transparent 55%),
    linear-gradient(135deg,
      rgba(14, 42, 109,  0.72) 0%,
      rgba(27, 63, 143,  0.62) 40%,
      rgba(44, 79, 163,  0.55) 75%,
      rgba(36, 60, 140,  0.65) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 48px 110px;
  gap: 48px;
  flex: 1;
}

.hero__text {
  flex: 1;
  min-width: 0;
  animation: heroFadeUp 0.7s ease 0.1s both;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 58px;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 24px;
  animation: heroFadeUp 0.7s ease 0.25s both;
}

.hero__title--accent {
  background: linear-gradient(90deg, #5ED3F3 0%, #27C1E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__cursor-blink {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: #27C1E6;
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: heroCursorBlink 0.85s step-start infinite;
}
@keyframes heroCursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero__subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: heroFadeUp 0.7s ease 0.40s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.7s ease 0.52s both;
}

.btn--hero-primary {
  background: #1B3F8F;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: 0 4px 18px rgba(27,63,143,0.40);
}
.btn--hero-primary:hover {
  background: #0E2A6D;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27,63,143,0.55);
}

.btn--hero-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn--hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

@keyframes monitorFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.hero__visual {
  flex: 0 0 560px;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeUp 0.8s ease 0.35s both;
  transition: transform 0.25s ease-out;
  will-change: transform;
  margin-right: -80px;
}

.hero__actions--bottom {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 48px 72px;
  animation: heroFadeUp 0.7s ease 0.60s both;
}

.hero__svg {
  animation: monitorFloat 4s ease-in-out infinite;
  will-change: transform;
}

.hero__img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.35)) drop-shadow(0 0 40px rgba(39,193,230,0.15));
  transition: filter 0.4s ease;
}
.hero__visual:hover .hero__img {
  filter: drop-shadow(0 28px 72px rgba(0,0,0,0.45)) drop-shadow(0 0 60px rgba(39,193,230,0.30));
}

.hero__wave {
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 100%;
  height: 174px;
  z-index: 5;
  overflow: hidden;
}

/* Cada capa de ola: SVG doble ancho, animación CSS linear → sin reset visible */
.wave-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation: waveScroll linear infinite;
}
.wave-track svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-track--3 { animation-duration: 20s; }
.wave-track--2 { animation-duration: 14s; }
.wave-track--1 { animation-duration: 10s; }

@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero__stats {
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 100%;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 11px 24px;
}
.hero__stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,42,109,0.42);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(39,193,230,0.2);
  border-bottom: 1px solid rgba(39,193,230,0.2);
}

.hero__stat {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
}

.hero__stat-sep {
  color: rgba(39,193,230,0.55);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

/* ---- Wave floating badges --------------------------------- */
.hero__wave-badges {
  position: absolute;
  bottom: 88px;
  left: 0;
  width: 100%;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  pointer-events: none;
}

.hero__wave-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(14, 42, 109, 0.75);
  border: 1px solid rgba(46, 204, 113, 0.30);
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.hero__wave-badge i {
  color: #27C1E6;
  font-size: 10px;
}

.hero__wave-badge:nth-child(1) { animation: badgeFloat 4.2s ease-in-out infinite; }
.hero__wave-badge:nth-child(2) { animation: badgeFloat 4.2s ease-in-out 0.7s infinite; }
.hero__wave-badge:nth-child(3) { animation: badgeFloat 4.2s ease-in-out 1.4s infinite; }

/* ---- New keyframes ---------------------------------------- */

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}


/* ============================================================
   CONSULTORÍA Y SERVICIOS
============================================================ */
.consult {
  background: #fff;
  padding: 90px 0;
}

.consult__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Texto intro de la sección */
.consult__intro-text {
  text-align: center;
  color: #555;
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Animación de entrada para las cards */
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Grid de cards de industrias */
.consult__industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.consult__ind-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 32px 26px 28px;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  animation: cardFadeUp 0.55s ease forwards;
  animation-delay: var(--card-delay, 0ms);
  transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s;
}

/* Línea de color animada en la parte inferior */
.consult__ind-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  border-radius: 2px;
  transition: width 0.4s ease, left 0.4s ease;
}
.consult__ind-card:nth-child(odd)::after  { background: linear-gradient(90deg, #1B3F8F, #5ED3F3); }
.consult__ind-card:nth-child(even)::after { background: linear-gradient(90deg, #27C1E6, #5ED3F3); }

.consult__ind-card:hover::after {
  width: 100%;
  left: 0;
}

.consult__ind-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: translateY(-6px) scale(1.02);
  border-color: transparent;
}

/* Ícono */
.consult__ind-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.consult__ind-card:hover .consult__ind-icon {
  transform: rotate(-6deg) scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.consult__ind-icon--red   { background: linear-gradient(135deg, #27C1E6, #1FAFD1); }
.consult__ind-icon--green { background: linear-gradient(135deg, #1B3F8F, #243C8C); }

.consult__ind-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.3;
  transition: color 0.25s;
}
.consult__ind-card:nth-child(odd):hover h3  { color: #243C8C; }
.consult__ind-card:nth-child(even):hover h3 { color: #1FAFD1; }

.consult__ind-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
  margin: 0;
  transition: color 0.25s;
}
.consult__ind-card:hover p { color: #555; }

/* Columna */
.consult__col {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
}
.consult__col:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Header de columna */
.consult__col-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.consult__col-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.consult__col-icon--red   { background: linear-gradient(135deg, #27C1E6, #1FAFD1); }
.consult__col-icon--green { background: linear-gradient(135deg, #1B3F8F, #243C8C); }

.consult__col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #111;
  margin: 0;
}

.consult__col-sub {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* Lista de ítems */
.consult__list {
  padding: 8px 0;
}

.consult__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 28px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s;
}
.consult__item:last-child {
  border-bottom: none;
}
.consult__item:hover {
  background: #fafafa;
}

.consult__item-icon {
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.consult__item-icon--red   { color: #27C1E6; }
.consult__item-icon--green { color: #1B3F8F; }

.consult__item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.consult__item strong {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}
.consult__item span {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

.consult__item--more {
  background: #fafafa;
}

/* Footer CTA */
.consult__footer {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   ¿POR QUÉ ARCANA?
============================================================ */
/* ── WHY ARCANA — imagen de fondo con parallax + grain animado ── */
.why {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background-image: url('../img/slider/Tecnolog%C3%ADa.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Overlay oscuro semitransparente */
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.82);
  z-index: 0;
}

/* Overlay de grain/ruido animado pixelado */
.why__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.12s steps(1) infinite;
  mix-blend-mode: overlay;
}
@keyframes grainShift {
  0%   { background-position:   0px   0px; }
  10%  { background-position: -40px -20px; }
  20%  { background-position:  30px  10px; }
  30%  { background-position: -20px  40px; }
  40%  { background-position:  50px -30px; }
  50%  { background-position: -10px  20px; }
  60%  { background-position:  20px -50px; }
  70%  { background-position: -50px  30px; }
  80%  { background-position:  10px  50px; }
  90%  { background-position: -30px -10px; }
  100% { background-position:   0px   0px; }
}

/* Orbs de color encima del grain para darle profundidad */
.why__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}
.why__orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(39,193,230,0.22) 0%, transparent 70%);
  top: -80px; left: -80px;
  animation: orbDrift1 14s ease-in-out infinite alternate;
}
.why__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(27,63,143,0.18) 0%, transparent 70%);
  bottom: -60px; right: -60px;
  animation: orbDrift2 17s ease-in-out infinite alternate;
}
.why__orb--3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(88,130,255,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbDrift3 11s ease-in-out infinite alternate;
}
@keyframes orbDrift1 { from { transform: translate(0,0); } to { transform: translate(70px, 50px); } }
@keyframes orbDrift2 { from { transform: translate(0,0); } to { transform: translate(-50px,-70px); } }
@keyframes orbDrift3 { from { transform: translate(-50%,-50%) scale(1); } to { transform: translate(-50%,-50%) scale(1.25); } }

.why__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* Cabecera centrada */
.why__header {
  text-align: center;
  margin-bottom: 56px;
}

.why__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #27C1E6;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(39,193,230,0.12);
  border: 1px solid rgba(39,193,230,0.25);
  padding: 4px 14px;
  border-radius: 20px;
}

.why__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #f0f4ff;
  line-height: 1.15;
  margin-bottom: 4px;
}

.why__divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #27C1E6, #1B3F8F);
  border-radius: 2px;
  margin: 18px auto 20px;
}

.why__subtitle {
  font-size: 15px;
  color: rgba(200,210,230,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid 3 columnas */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards glassmorphism */
.why-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px 28px 32px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  transition-delay: var(--wc-delay, 0ms);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39,193,230,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(39,193,230,0.08);
}

/* Glow interior al hover */
.why-card__glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(39,193,230,0.12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.why-card:nth-child(2) .why-card__glow { background: radial-gradient(circle at 50% 0%, rgba(27,63,143,0.14) 0%, transparent 65%); }
.why-card:nth-child(3) .why-card__glow { background: radial-gradient(circle at 50% 0%, rgba(88,130,255,0.12) 0%, transparent 65%); }
.why-card:hover .why-card__glow { opacity: 1; }

/* Línea inferior coloreada */
.why-card__line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #27C1E6, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:nth-child(2) .why-card__line { background: linear-gradient(90deg, #1B3F8F, transparent); }
.why-card:nth-child(3) .why-card__line { background: linear-gradient(90deg, #27C1E6, transparent); }
.why-card:hover .why-card__line { transform: scaleX(1); }

.why-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #27C1E6, #1FAFD1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(39,193,230,0.35);
}
.why-card:nth-child(2) .why-card__icon {
  background: linear-gradient(135deg, #1B3F8F, #243C8C);
  box-shadow: 0 8px 24px rgba(27,63,143,0.35);
}
.why-card:nth-child(3) .why-card__icon {
  background: linear-gradient(135deg, #1B3F8F, #243C8C);
  box-shadow: 0 8px 24px rgba(88,130,255,0.35);
}

.why-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #f0f4ff;
  margin-bottom: 10px;
}

.why-card__desc {
  font-size: 13.5px;
  color: rgba(190,205,230,0.72);
  line-height: 1.7;
}


/* ============================================================
   STAFF & PROFESIONALES
============================================================ */
.staff {
  background: #ffffff;
}

/* Parte superior — descripción centrada */
.staff__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 24px 72px;
  text-align: center;
}

/* Franja estadísticas — imagen oscura de fondo */
.staff__stats-banner {
  position: relative;
  background-image: url('../img/slider/slider_img_02.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.staff__stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.84);
}

.staff__stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Descripción */
.staff__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #1B3F8F;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.staff__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 4px;
}

.staff__divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #27C1E6, #1B3F8F);
  border-radius: 2px;
  margin: 20px auto 24px;
}

.staff__text {
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.staff__btn {
  margin-top: 8px;
}


.staff-stat {
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.staff-stat:hover {
  border-color: #27C1E6;
  transform: translateY(-3px);
}
.staff-stat:nth-child(even):hover {
  border-color: #1B3F8F;
}

.staff-stat__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.staff-stat__icon--red   { background: linear-gradient(135deg, #27C1E6, #1FAFD1); }
.staff-stat__icon--green { background: linear-gradient(135deg, #1B3F8F, #243C8C); }

.staff-stat__number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: #fff;
}

.staff-stat__label {
  font-size: 13px;
  font-weight: 500;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ============================================================
   STATS
============================================================ */
.stats {
  background: #F2F4F8;
  padding: 80px 0;
}

.stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stats__number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 54px;
  color: #27C1E6;
  line-height: 1;
}

/* Stats alternas en verde */
.stats__item:nth-child(even) .stats__number {
  color: #1B3F8F;
}

.stats__label {
  font-size: 15px;
  color: #fff;
  line-height: 1.4;
}


/* ============================================================
   SERVICIOS
============================================================ */
/* ============================================================
   NUESTROS SERVICIOS — layout 3 columnas (izq · imagen · der)
============================================================ */
.services {
  background: #fff;
  padding: 90px 0;
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.services__intro {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

/* Grid 3 columnas */
.srvc-grid {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 0 48px;
  align-items: center;
}

/* Columnas izquierda / derecha */
.srvc-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Cada servicio */
.srvc-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  cursor: default;
}
.srvc-item:last-child { border-bottom: none; }
.srvc-item:hover { background: #fafafa; }

/* Columna izquierda: texto e ícono invertidos (ícono a la derecha del texto, alineado al centro) */
.srvc-col--left .srvc-item {
  flex-direction: row-reverse;
  text-align: right;
}

/* Ícono circular */
.srvc-item__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.srvc-item:hover .srvc-item__icon-wrap { transform: scale(1.1); }

.srvc-item__icon-wrap--blue   { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.srvc-item__icon-wrap--teal   { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.srvc-item__icon-wrap--amber  { background: linear-gradient(135deg, #b45309, #fbbf24); }
.srvc-item__icon-wrap--cyan   { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.srvc-item__icon-wrap--purple { background: linear-gradient(135deg, #5b21b6, #c084fc); }
.srvc-item__icon-wrap--red    { background: linear-gradient(135deg, #27C1E6, #8FE7FF); }
.srvc-item__icon-wrap--green  { background: linear-gradient(135deg, #1B3F8F, #8FE7FF); }
.srvc-item__icon-wrap--gray   { background: linear-gradient(135deg, #374151, #9ca3af); }

/* Texto */
.srvc-item__body { flex: 1; }

.srvc-item__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #111;
  margin-bottom: 5px;
}

.srvc-item__desc {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0 0 8px;
}
.srvc-item__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #1B3F8F;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.srvc-item:hover .srvc-item__link {
  opacity: 1;
  transform: translateX(0);
}
.srvc-item__link:hover { color: #27C1E6; }

/* Servicios destacados */
.srvc-item--highlight-red { background: #F2F4F8; }
.srvc-item--highlight-red:hover { background: #EAF2FF; }
.srvc-item--highlight-red .srvc-item__title { color: #27C1E6; }

.srvc-item--highlight-green { background: #F2F4F8; }
.srvc-item--highlight-green:hover { background: #EAF2FF; }
.srvc-item--highlight-green .srvc-item__title { color: #1B3F8F; }

/* Imagen central */
.srvc-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.srvc-center__img {
  max-width: 100%;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.12));
}

/* ---- Diagrama de flujo central ---- */
.flow-diagram {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}

.flow-svg {
  width: 100%;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,0.10));
}

.flow-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.flow-line--green { stroke: #1B3F8F; }
.flow-line--red   { stroke: #27C1E6; }

.flow-node {
  opacity: 0;
}

.flow-hint {
  animation: flowHintPulse 2s ease-in-out infinite;
}

@keyframes flowHintPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Botón CTA centrado debajo del grid */
.srvc-cta {
  text-align: center;
  margin-top: 52px;
}


/* ============================================================
   TECNOLOGÍAS & HERRAMIENTAS
============================================================ */
.tools {
  position: relative;
  background-image: url('../img/slider/slider_img_01.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 90px 0;
}
.tools::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  z-index: 0;
}
.tools__inner,
.tools-carousel,
.tools .section-title,
.tools .tools__subtitle {
  position: relative;
  z-index: 1;
}
.tools .section-title { color: #ffffff; }
.tools .tools__subtitle { color: #aaaaaa; }

.tools__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tools__subtitle {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin-top: -24px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tools-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc__viewport {
  overflow: hidden;
  flex: 1;
}

.tc__track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tc__item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 22px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.tc__item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-4px);
  border-color: rgba(39,193,230,0.3);
}

.tc__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.tc__icon--red    { background: linear-gradient(135deg, #27C1E6, #1FAFD1); }
.tc__icon--green  { background: linear-gradient(135deg, #1B3F8F, #243C8C); }
.tc__icon--blue   { background: linear-gradient(135deg, #1565C0, #0D47A1); }
.tc__icon--amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }
.tc__icon--cyan   { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.tc__icon--purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.tc__icon--gray   { background: linear-gradient(135deg, #9E9E9E, #757575); }

.tc__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.tc__name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.3;
}

/* Flechas del carrusel de tools */
.tc__arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tc__arrow:hover {
  background: #27C1E6;
  border-color: #27C1E6;
  color: #fff;
}
.tc__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Dots del carrusel de tools */
.tc__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.tc__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.35s;
}
.tc__dot--active {
  background: #27C1E6;
  width: 24px;
}


/* ============================================================
   PARTNERS
============================================================ */
.partners {
  background: #fff;
  padding: 60px 0;
}

.partners__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.partners__heading {
  text-align: center;
  font-size: 14px;
  color: #999999;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.partners__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partners__logo {
  height: 50px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s;
}
.partners__logo:hover {
  filter: grayscale(0%) opacity(1);
}


/* ============================================================
   CASOS DE USO
============================================================ */
.cases {
  background: #ffffff;
  padding: 90px 0;
  border-top: 1px solid #f0f0f0;
}

.cases__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 28px;
  border: 1px solid #eeeeee;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  border-color: #ddd;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.case-card--green { border-left: 4px solid #1B3F8F; }
.case-card--red   { border-left: 4px solid #27C1E6; }
.case-card--navy  { border-left: 4px solid #333333; }

.case-card__badge {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.case-card__badge--green { background: #D9E1F2; color: #1B3F8F; }
.case-card__badge--red   { background: #D9E1F2; color: #27C1E6; }
.case-card__badge--navy  { background: #f0f0f0; color: #333333; }

.case-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #111111;
  margin-bottom: 10px;
}

.case-card__desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-card__result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1B3F8F;
}

.case-card__result-icon {
  font-size: 16px;
  flex-shrink: 0;
}


/* ============================================================
   BANNER CTA
============================================================ */
.cta-banner {
  background: #ffffff;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e8e8e8;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #111111;
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 17px;
  color: #555555;
  max-width: 500px;
  margin: 0 auto 36px;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0E2A6D;
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr;
  gap: 48px;
}

/* Columna marca — alineada a la izquierda */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  height: 150px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}
.footer__social-link:hover {
  background: #5ED3F3;
  border-color: #5ED3F3;
  color: #0E2A6D;
  transform: translateY(-2px);
}
.footer__social-link[aria-label="LinkedIn"]:hover {
  background: #27C1E6;
  border-color: #27C1E6;
  color: #fff;
}

.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__col-divider {
  width: 24px;
  height: 2px;
  background: #5ED3F3;
  margin-bottom: 16px;
}

.footer__links--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__link:hover {
  color: #5ED3F3;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer__contact-icon {
  color: #5ED3F3;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 40px 24px 24px;
}

.footer__copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .srvc-grid {
    grid-template-columns: 1fr 200px 1fr;
    gap: 0 24px;
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff__stats-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    padding: 120px 32px 110px;
    text-align: center;
  }
  .hero__text  { order: 1; }
  .hero__visual {
    order: 2;
    flex: 0 0 auto;
    max-width: 380px;
    width: 100%;
  }
  .hero__eyebrow { text-align: center; }
  .hero__title   { font-size: 44px; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions--bottom { padding: 0 32px 60px; }
}

@media (max-width: 768px) {
  /* Topbar */
  .topbar__left {
    display: none;
  }
  .topbar__right {
    gap: 14px;
    width: 100%;
    justify-content: center;
  }

  /* Navbar */
  .navbar {
    height: 70px;
  }
  .navbar__logo img {
    height: 58px;
  }
  .navbar__menu.is-open {
    top: 70px;
  }
  .hero {
    margin-top: -70px;
  }
  .navbar__menu {
    display: none;
  }
  .navbar__cta--desktop,
  .navbar__login--desktop {
    display: none;
  }
  .navbar__hamburger {
    display: block;
  }
  .navbar__menu.is-open .navbar__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 16px 24px 8px;
    border-top: 1px solid rgba(255,255,255,0.10);
    margin-top: 8px;
  }
  .navbar__cta--mobile {
    display: block;
    text-align: center;
    background: #27C1E6;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
  }
  .navbar__cta--mobile:hover {
    background: #1FAFD1;
    color: #fff;
  }
  .navbar__login--mobile {
    display: block;
    text-align: center;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.85);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
  }
  .navbar__login--mobile:hover {
    background: rgba(255,255,255,0.10);
    border-color: #fff;
    color: #fff;
  }

  /* Footer logo */
  .footer__logo {
    height: 90px;
  }

  /* Hero responsive */
  .hero__inner {
    flex-direction: column;
    padding: 120px 24px 110px;
    text-align: center;
  }
  .hero__text { order: 1; }
  .hero__visual {
    order: 2;
    flex: 0 0 auto;
    max-width: 320px;
    width: 100%;
  }
  .hero__eyebrow { text-align: center; }
  .hero__title   { font-size: 38px; }
  .hero__subtitle { max-width: 100%; font-size: 16px; }
  .hero__actions--bottom {
    padding: 0 24px 56px;
    flex-direction: column;
    align-items: center;
  }
  .btn--hero-primary,
  .btn--hero-outline {
    width: 100%;
    text-align: center;
  }
  .hero__stats { bottom: 60px; }
  .hero__wave-badges { display: none; }

  /* Secciones */
  .section-title {
    font-size: 28px;
  }
  .consult__industries {
    grid-template-columns: 1fr 1fr;
  }
  .staff__title {
    font-size: 28px;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .why__title {
    font-size: 28px;
  }
  .stats__inner {
    grid-template-columns: 1fr 1fr;
  }
  .srvc-grid {
    grid-template-columns: 1fr;
  }
  .srvc-center { display: none; }
  .srvc-col--left .srvc-item {
    flex-direction: row;
    text-align: left;
  }
  .cases__grid {
    grid-template-columns: 1fr;
  }
  .cta-banner__title {
    font-size: 28px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .consult__industries {
    grid-template-columns: 1fr;
  }
  .navbar {
    height: 62px;
  }
  .navbar__logo img {
    height: 48px;
  }
  .navbar__menu.is-open {
    top: 62px;
  }
  .hero {
    margin-top: -62px;
  }
  .footer__logo {
    height: 72px;
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stats__number {
    font-size: 40px;
  }
  .hero__stats {
    flex-direction: column;
    gap: 4px;
  }
  .hero__stat-sep {
    display: none;
  }
}

/* ── Tech Card Modal ── */
.tech-card-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.tech-card-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}
.tech-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
}
.tech-card-backdrop.is-open .tech-card {
  transform: translateY(0) scale(1);
}
.tech-card__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.tech-card__close:hover { color: #27C1E6; }
.tech-card__logo-wrap img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.tech-card__logo-wrap .tc__icon {
  width: 64px;
  height: 64px;
  font-size: 28px;
}
.tech-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #0E1A4D;
  margin: 0;
}
.tech-card__desc {
  font-size: 14px;
  color: #555;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.tech-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  background: #0E2A6D;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.tech-card__link:hover { background: #1B3F8F; color: #fff; }

/* ============================================================
   SLOGAN GLOBAL — "De confusión a comprensión"
============================================================ */
.arc-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(94,211,243,0.35);
  border-radius: 30px;
  background: rgba(39,193,230,0.08);
}
.arc-slogan__arrow {
  color: #5ED3F3;
  font-size: 15px;
  font-weight: 900;
}
/* En footer (fondo oscuro, sin borde pill) */
.footer__slogan {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  margin-bottom: 0;
}
.footer__slogan span {
  color: #5ED3F3;
}
/* Pegar al final de styles/main.css */

.navbar__logo img {
  height: 130px;   /* desktop — sube o baja este número a gusto */
}

@media (max-width: 768px) {
  .navbar__logo img {
    height: 72px;  /* tablet/móvil */
  }
}

@media (max-width: 480px) {
  .navbar__logo img {
    height: 58px;  /* móvil pequeño */
  }
}
