:root {
  /* Paleta revitalizada: aqua protagonista */
  --bg: #f7fbfa;           /* blanco con tinte aqua sutilísimo */
  --bg-alt: #e8f4f2;       /* aqua muy suave */
  --bg-warm: #f0f7f5;      /* intermedio */
  --ink: #0f2e2c;          /* solo para detalles: texto principal o bordes */
  --ink-soft: #2d4a47;     /* texto secundario */
  --aqua-deep: #0d5956;    /* verde aqua oscuro - uso puntual */
  --aqua: #128a84;         /* aqua medio vibrante */
  --aqua-bright: #1fb8b0;  /* aqua brillante - PROTAGONISTA */
  --aqua-vivid: #14d9cf;   /* aqua chispa - acentos */
  --aqua-light: #a8e8e3;   /* aqua claro */
  --aqua-wash: #d4ede9;    /* lavado suave */
  --accent: #ffd93d;       /* amarillo cálido - acento puntual */
  --accent-warm: #ff8a5c;  /* coral - acento cálido */
  --line: #c8dedb;
  
  /* Grises con tinte frío sutil */
  --gray-900: #1a2524;     /* casi negro - para bloques oscuros */
  --gray-800: #2a3836;     /* gris oscuro - bloques grandes */
  --gray-700: #3d4b49;     /* gris medio oscuro */
  --gray-600: #5c6b68;     /* gris medio */
  --gray-500: #8a9997;     /* gris neutro */
  --gray-400: #b5c2bf;     /* gris claro */
  --gray-300: #d5dddb;     /* gris muy claro */
  --gray-200: #e8ecea;     /* fondo sutil */
  --gray-100: #f2f5f4;     /* fondo casi blanco */
  
  --f-display: 'Montserrat', sans-serif;
  --f-alt: 'Montserrat Alternates', sans-serif;
  --f-body: 'Montserrat', sans-serif;
  --f-mono: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

/* ================== TEXTURA SUAVE ================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
  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.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url('../../fonts/montserrat-v31-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100;
  src: url('../../fonts/montserrat-v31-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url('../../fonts/montserrat-v31-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 200;
  src: url('../../fonts/montserrat-v31-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../../fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300;
  src: url('../../fonts/montserrat-v31-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('../../fonts/montserrat-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../../fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: url('../../fonts/montserrat-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../../fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 600;
  src: url('../../fonts/montserrat-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../../fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  src: url('../../fonts/montserrat-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../../fonts/montserrat-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 800;
  src: url('../../fonts/montserrat-v31-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('../../fonts/montserrat-v31-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  src: url('../../fonts/montserrat-v31-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 100;
  src: url('../../fonts/montserrat-alternates-v18-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 100;
  src: url('../../fonts/montserrat-alternates-v18-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 200;
  src: url('../../fonts/montserrat-alternates-v18-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 200;
  src: url('../../fonts/montserrat-alternates-v18-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 300;
  src: url('../../fonts/montserrat-alternates-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 300;
  src: url('../../fonts/montserrat-alternates-v18-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/montserrat-alternates-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 400;
  src: url('../../fonts/montserrat-alternates-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 500;
  src: url('../../fonts/montserrat-alternates-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 500;
  src: url('../../fonts/montserrat-alternates-v18-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 600;
  src: url('../../fonts/montserrat-alternates-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 600;
  src: url('../../fonts/montserrat-alternates-v18-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 700;
  src: url('../../fonts/montserrat-alternates-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 700;
  src: url('../../fonts/montserrat-alternates-v18-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 800;
  src: url('../../fonts/montserrat-alternates-v18-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 800;
  src: url('../../fonts/montserrat-alternates-v18-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 900;
  src: url('../../fonts/montserrat-alternates-v18-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-alternates-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 900;
  src: url('../../fonts/montserrat-alternates-v18-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Popup container - can be anything you want */
.popup {
  position: fixed;
  z-index: 99;
  display: none;
  padding: 2px;
  top: 20%;
  right: 5%;
}
.popuptext {
  position: relative;
  padding: 10px;
  border-left: 0px;
  padding: 15px;
  margin: 0px;
  display: table-cell;
}
.icon_message_success {
  position: relative;
  padding: 10px;
  border-radius: 0px;
  border: solid 1px #84b856;
  color: white;
  display: table-cell;
  vertical-align: middle;
  background: #84b856;
  border-right: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.icon_message_danger {
  position: relative;
  padding: 10px;
  padding-top: 13px;
  border-radius: 0px;
  border: solid 1px #721c24;
  color: white;
  display: table-cell;
  vertical-align: middle;
  background: #721c24;
  border-right: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.success {
  background: #dff0d8;
  color: #3c763d;
}
.danger {
  color: #721c24;
  background-color: #f8d7da;
  border: solid 1px #721c24;
}
.info {
  color: #2179c1; 
  background: #dee9f2;
}

/* ================== NAV ================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(247, 251, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
nav .logo {
	filter: brightness(0) invert(1);
}
nav.scrolled .logo {
	filter: initial;
}
/* ================== NAV DROPDOWN ================== */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  padding: 6px 0;
}

.nav.scrolled .nav-dropdown-toggle {
  color: var(--ink-soft);
}

.nav-dropdown-toggle:hover {
  color: var(--aqua-vivid);
}

.nav.scrolled .nav-dropdown-toggle:hover {
  color: var(--aqua-deep);
}

.nav-dropdown-arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* MENU */

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;

  width: 320px;

  background: rgba(15, 46, 44, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;

  padding: 12px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  box-shadow:
    0 24px 48px -20px rgba(0,0,0,0.45);

  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ITEMS */

.nav-dropdown-item {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.dropdown-title {
  display: block;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.dropdown-desc {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-400);
}

.logo {
  font-family: var(--f-alt);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--bg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.nav.scrolled .logo { color: var(--aqua-deep); }
.logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--aqua-vivid);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(20, 217, 207, 0.7);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 217, 207, 0.7); }
  50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 8px rgba(20, 217, 207, 0); }
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  letter-spacing: 0;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--aqua-bright);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--aqua-vivid); }
.nav.scrolled .nav-links a:hover { color: var(--aqua-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--aqua-bright);
  color: var(--gray-900) !important;
  padding: 11px 20px !important;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--aqua-bright) !important;
  color: var(--gray-900) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(31, 184, 176, 0.6);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transition: 0.3s;
}
.nav.scrolled .burger span { background: var(--aqua-deep); }

/* ================== HERO BANNER ================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gray-900);
  text-align: center;
}

/* Gradiente mesh de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(31, 184, 176, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(20, 217, 207, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(13, 89, 86, 0.35), transparent 55%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 232, 227, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 232, 227, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 30%, transparent 75%);
}

/* Diagrama de nodos como decoración de fondo */
.hero-bg-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-nodes svg { width: 100%; height: 100%; }
.hero-bg-line {
  stroke: var(--aqua-bright);
  stroke-width: 1;
  fill: none;
  opacity: 0.4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2.5s 0.8s forwards;
}
.hero-bg-dot {
  fill: var(--aqua-vivid);
  animation: nodePulse 3s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--aqua-vivid);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.1s forwards;
  padding: 9px 18px;
  background: rgba(31, 184, 176, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(31, 184, 176, 0.3);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--aqua-vivid);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bg);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.25s forwards;
}
.hero h1 em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-vivid);
  letter-spacing: -0.03em;
}
.hero h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--aqua-bright);
  font-style: normal;
  font-weight: 900;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 0.6s 0.5s forwards;
}
.hero-sub strong {
  font-weight: 700;
  color: var(--bg);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.6s 0.7s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 32px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0;
}
.btn-primary {
  background: var(--aqua-bright);
  color: var(--gray-900);
}
.btn-primary:hover {
  background: var(--aqua-vivid);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(31, 184, 176, 0.6);
}
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--bg);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  background: var(--bg);
  color: var(--gray-900);
  border-color: var(--bg);
}

.hero-footnote {
  margin-top: 28px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--gray-400);
  opacity: 0;
  animation: fadeInUp 0.6s 0.9s forwards;
  letter-spacing: 0.02em;
}

/* Barra de confianza inferior del hero */
.hero-trust {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s 1.1s forwards;
  margin-bottom: 60px;
}
.hero-trust-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-trust-logos {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust-logo {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 17px;
  color: var(--gray-400);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.hero-trust-logo:hover { color: var(--aqua-light); }

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes nodePulse {
  0%, 100% { r: 4; opacity: 1; }
  50% { r: 7; opacity: 0.5; }
}
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ================== TICKER ================== */
.ticker-section {
  background: var(--bg);
  padding: 48px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.ticker-caption {
  text-align: center;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 28px;
}
.ticker {
  overflow: hidden;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 56px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 22px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.ticker-item:hover { color: var(--aqua-deep); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================== SECTION COMÚN ================== */
.section {
  padding: 120px 32px;
  position: relative;
  z-index: 2;
}
.section-container {
  max-width: 1400px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--aqua-wash);
  border-radius: 999px;
  border: 1px solid var(--aqua-light);
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--aqua-bright);
  border-radius: 50%;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--aqua-deep);
}
.section-title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-bright);
}

/* ================== PROBLEM ================== */
.problem {
  background: var(--gray-900);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.18), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.problem::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 217, 207, 0.1), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.problem .section-label { 
  color: var(--aqua-vivid); 
  background: rgba(31, 184, 176, 0.12);
  border-color: rgba(31, 184, 176, 0.3);
}
.problem .section-label::before { background: var(--aqua-vivid); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.problem-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--bg);
}
.problem-title em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--aqua-vivid);
  font-weight: 300;
}
.problem-checks {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.problem-check {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-start;
  transition: padding 0.3s;
}
.problem-check:last-child { border-bottom: none; }
.problem-check:hover { padding-left: 12px; }
.problem-check-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--aqua-vivid);
  flex-shrink: 0;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.problem-check-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-400);
  font-weight: 400;
}
.problem-check-text strong {
  color: var(--bg);
  font-weight: 700;
}

/* ================== SOLUCIONES ================== */
.solutions {
  background: var(--bg);
}
.solutions .section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.solutions-intro {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 420px;
  font-weight: 400;
}

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

.sol-card {
  padding: 40px;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sol-card:hover {
  transform: translateY(-6px);
  border-color: var(--aqua-bright);
  box-shadow: 0 24px 48px -20px rgba(31, 184, 176, 0.25);
}
.sol-card.featured {
  grid-column: span 7;
  background: var(--gray-900);
  color: var(--bg);
  border: none;
}
.sol-card.featured::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.25), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.sol-card.featured:hover {
  box-shadow: 0 24px 48px -16px rgba(26, 37, 36, 0.4);
}
.sol-card.medium {
  grid-column: span 5;
  background: var(--aqua-wash);
  border-color: var(--aqua-light);
}
.sol-card.small {
  grid-column: span 4;
  background: var(--bg-alt);
  border-color: var(--aqua-light);
}
.sol-card.wide {
  grid-column: span 8;
  background: var(--bg);
  border: 1.5px solid var(--aqua-bright);
}

.sol-number {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--aqua);
  margin-bottom: 80px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.sol-card.featured .sol-number { color: var(--aqua-vivid); }

.sol-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--aqua-deep);
  position: relative;
  z-index: 2;
}
.sol-card.featured .sol-title { color: var(--bg); }
.sol-card.featured .sol-title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-vivid);
}

.sol-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}
.sol-card.featured .sol-desc { color: var(--gray-300); }

.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.sol-tag {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  padding: 7px 14px;
  border: 1.5px solid var(--aqua-light);
  border-radius: 999px;
  color: var(--aqua);
  background: var(--bg);
  letter-spacing: 0.02em;
}
.sol-card.featured .sol-tag {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.05);
}

.sol-badge {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--aqua-deep);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
}

/* ================== CASE STUDY ================== */
.case {
  background: linear-gradient(180deg, var(--aqua-wash) 0%, var(--bg-alt) 100%);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.case::before {
  content: '';
  position: absolute;
  top: 20%; right: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.15), transparent 60%);
  border-radius: 50%;
  filter: blur(50px);
}
.case-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.case-quote {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--aqua-deep);
  position: relative;
  padding-left: 32px;
  border-left: 4px solid var(--aqua-bright);
}
.case-quote em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--aqua-bright);
  font-weight: 300;
}
.case-author {
  margin-top: 24px;
  padding-left: 32px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--aqua);
  line-height: 1.6;
}
.case-author strong {
  color: var(--aqua-deep);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.metric {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: 20px;
  border: 1.5px solid var(--aqua-light);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.metric:hover {
  transform: translateY(-4px);
  border-color: var(--aqua-bright);
  box-shadow: 0 16px 32px -16px rgba(31, 184, 176, 0.3);
}
.metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 4px;
  background: var(--aqua-bright);
  border-radius: 0 0 4px 0;
}
.metric-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--aqua-deep);
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}
.metric-num em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.55em;
  color: var(--aqua-bright);
  margin-left: 2px;
}
.metric-label {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-weight: 500;
}

/* ================== PROCESO ================== */
.process {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: 50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.08), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
}
.process-steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.step {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: all 0.3s;
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(31, 184, 176, 0.08), transparent);
  transition: width 0.3s;
  z-index: -1;
}
.step:hover {
  padding-left: 24px;
}
.step:hover::before {
  width: 100%;
}
.step:hover .step-arrow {
  transform: translateX(8px);
  opacity: 1;
}
.step-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--aqua-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--aqua-deep);
}
.step-title em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--aqua-bright);
  font-weight: 300;
}
.step-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 480px;
  font-weight: 400;
}
.step-arrow {
  position: absolute;
  right: 0;
  top: 50px;
  opacity: 0.4;
  transition: all 0.3s;
  color: var(--aqua-bright);
  font-size: 20px;
  font-weight: 700;
}

/* ================== CLIENTES ================== */
.clients {
  padding: 80px 32px;
  background: var(--gray-900);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.clients::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.15), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
}
.clients-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.clients-label {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--aqua-vivid);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}
.client img{
	width: 100%;
	max-width: 150px;
}
.client:hover {
  background: var(--aqua-bright);
  color: var(--gray-900);
}

.clients-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 52px;
  color: var(--aqua-vivid);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ================== FAQ ================== */
/* ================== FAQ ================== */
.faq-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
  transition: border-color 0.3s;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item.open { border-top-color: var(--aqua-bright); }
.faq-item.open + .faq-item { border-top-color: var(--aqua-bright); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--aqua-deep);
  text-align: left;
  letter-spacing: -0.015em;
  gap: 24px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--aqua-bright); }
.faq-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--aqua-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--aqua-deep);
  transition: background 0.3s;
}
.faq-icon::before {
  width: 12px; height: 2px;
  border-radius: 2px;
}
.faq-icon::after {
  width: 2px; height: 12px;
  border-radius: 2px;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--aqua-bright);
  border-color: var(--aqua-bright);
}
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--bg);
}
.faq-item.open .faq-icon::after {
  transform: scaleY(0);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 0 28px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
  font-weight: 400;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ================== CTA FINAL ================== */
.cta {
  background: var(--gray-900);
  color: var(--bg);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.22), transparent 55%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20, 217, 207, 0.15), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
}
.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--bg);
}
.cta-title em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--aqua-vivid);
  font-weight: 300;
}
.cta-sub {
  font-size: 19px;
  color: var(--gray-400);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}
.cta-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-accent {
  background: var(--aqua-bright);
  color: var(--gray-900);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--aqua-vivid);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(31, 184, 176, 0.5);
}
.btn-outline-light {
  background: transparent;
  color: var(--bg);
  border: 1.5px solid var(--gray-600);
}
.btn-outline-light:hover {
  background: var(--bg);
  color: var(--gray-900);
  border-color: var(--bg);
}
.cta-note {
  margin-top: 32px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--gray-500);
  opacity: 0.9;
}

/* ================== FOOTER ================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 72px 32px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: var(--bg);
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--gray-400);
  max-width: 340px;
}
.footer-col h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--aqua-vivid);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--gray-500);
}

/* ================== REVEAL ON SCROLL ================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 56px;
    position: relative;
}
.flow-step {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    align-items: start;
    position: relative;
    transition: all 0.3s;
}
.flow-step:hover {
    padding-left: 16px;
}
.flow-num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--aqua-light);
    transition: color 0.3s;
}
.flow-step:hover .flow-num {
    color: var(--aqua-bright);
}
.flow-step:last-child {
    border-bottom: 1px solid var(--line);
}
.flow-body {
    max-width: 600px;
}
.flow-title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 10px;
}
.flow-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.flow-body {
    max-width: 600px;
}
.flow-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.flow-tag {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--aqua-wash);
    color: var(--aqua);
    white-space: nowrap;
}

.origin {
    background: var(--gray-900);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.origin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
    z-index: 2;
}
.origin-text strong {
    color: var(--bg);
    font-weight: 700;
}
.origin .section-label {
    color: var(--aqua-vivid);
    background: rgba(31, 184, 176, 0.12);
    border-color: rgba(31, 184, 176, 0.3);
}
.origin .section-title {
    color: var(--bg);
}
.origin .section-label {
    color: var(--aqua-vivid);
    background: rgba(31, 184, 176, 0.12);
    border-color: rgba(31, 184, 176, 0.3);
}
.origin-step {
    position: relative;
    padding-top: 28px;
}
.origin-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}
.origin-step::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--aqua-bright);
}
.origin-label {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--aqua-vivid);
    margin-bottom: 14px;
}
.origin-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-400);
}
.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.report-card {
    padding: 28px 24px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: var(--bg);
    transition: all 0.3s;
}
.report-card:hover {
    transform: translateY(-4px);
    border-color: var(--aqua-bright);
    box-shadow: 0 18px 36px -18px rgba(31, 184, 176, 0.2);
}
.report-name {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.report-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
}


/* ================== MOBILE ================== */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links { 
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s, padding 0.4s;
    border-bottom: 1px solid transparent;
  }
  .nav-links.open {
    max-height: 400px;
    padding: 20px 20px 28px;
    border-bottom-color: var(--line);
  }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { 
    width: 100%; 
    text-align: center;
    margin-top: 12px;
    padding: 14px 18px !important;
  }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  
  .hero {
    padding: 120px 20px 0;
    min-height: 100vh;
  }
  .hero-trust {
    flex-direction: column;
    gap: 24px;
    margin-top: 56px;
    margin-bottom: 48px;
  }
  .hero-trust-logos { gap: 20px 28px; }
  .hero-trust-logo { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .btn { justify-content: center; }
  
  .section { padding: 80px 20px; }
  
  .problem-grid,
  .solutions .section-header,
  .case-grid,
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card.featured,
  .sol-card.medium,
  .sol-card.small,
  .sol-card.wide { grid-column: span 1; min-height: 260px; }
  .sol-card { padding: 28px; }
  .sol-number { margin-bottom: 40px; }
  
  .case { padding: 80px 20px; }
  .case-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .metric { padding: 24px 20px; }
  
  .step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .step-arrow { display: none; }
  .step:hover { padding-left: 0; }
  
  .faq-question { font-size: 18px; padding: 22px 0; }
  
  .cta { padding: 80px 20px; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .origin-grid {
    grid-template-columns: 1fr 1fr;
  }
    .flow-step {
        grid-template-columns: 56px 1fr;
        gap: 20px;
    }
    .flow-tags {
        flex-direction: row;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        align-items: flex-start;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .origin-grid {grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Selection */
::selection {
  background: var(--aqua-vivid);
  color: var(--aqua-deep);
}

/* ================== QUIÉN ES ITIVOS ================== */
.about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 20%; right: -8%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.08), transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-statement {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.about-statement em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-bright);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-text p strong {
  color: var(--gray-900);
  font-weight: 700;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.about-pill {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--aqua-wash);
  border: 1.5px solid var(--aqua-light);
  color: var(--aqua);
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua-bright);
}

/* Mini-stats de trayectoria */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.about-stat {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.3s;
}
.about-stat:hover { background: var(--bg-alt); }
.about-stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--aqua-bright);
  margin-bottom: 12px;
}
.about-stat-label {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ================== PROCESO 3 PASOS ================== */
.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}
.pcard {
  padding: 40px 32px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: var(--aqua-bright);
  box-shadow: 0 24px 48px -20px rgba(31, 184, 176, 0.25);
}
.pcard-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--aqua-light);
  margin-bottom: 24px;
  transition: color 0.3s;
}
.pcard:hover .pcard-num { color: var(--aqua-bright); }
.pcard-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.pcard-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pcard-arrow {
  position: absolute;
  top: 44px; right: 32px;
  font-size: 22px;
  color: var(--aqua-light);
  font-weight: 700;
  transition: all 0.3s;
}
.pcard:hover .pcard-arrow {
  color: var(--aqua-bright);
  transform: translateX(4px);
}

/* ================== CARRUSEL CLIENTES ================== */
.logos {
  padding: 80px 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 48px;
}
.logos-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.logos-track {
  display: flex;
  gap: 80px;
  align-items: center;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--gray-500);
  white-space: nowrap;
  transition: color 0.3s;
  flex-shrink: 0;
}
.logo-item:hover { color: var(--aqua-deep); }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================== FORMULARIO ================== */
.contact {
  background: var(--gray-900);
  color: var(--bg);
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -20%; left: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(31, 184, 176, 0.2), transparent 55%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.contact-info .section-label {
  color: var(--aqua-vivid);
  background: rgba(31, 184, 176, 0.12);
  border-color: rgba(31, 184, 176, 0.3);
}
.contact-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--bg);
  margin-bottom: 24px;
}
.contact-title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-vivid);
}
.contact-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 420px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-detail:hover { color: var(--aqua-vivid); }
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--bg);
  font-family: var(--f-body);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--aqua-bright);
  background: rgba(255, 255, 255, 0.09);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a9997' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option { background: var(--gray-900); color: var(--bg); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--aqua-bright);
  color: var(--gray-900);
  border: none;
  border-radius: 12px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--aqua-vivid);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(31, 184, 176, 0.5);
}
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}
.hub-features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.commerce-simplicity-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
}
.hub-flujo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.partners-systems-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr); 
  margin-top: 48px;
}
.partners-process-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr); 
    margin-top: 48px;
}
.modules {
    background: var(--gray-900);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.modules .section-label {
    color: var(--aqua-vivid);
    background: rgba(31, 184, 176, 0.12);
    border-color: rgba(31, 184, 176, 0.3);
}
.modules .section-title {
    color: var(--bg);
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}
.module-chip {
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s;
}
.module-chip-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--bg);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.module-chip-desc {
    font-family: var(--f-body);
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.45;
}
.pricing {
    background: var(--bg-alt);
}
.price-card {
    max-width: 640px;
    margin: 48px auto 0;
    background: var(--gray-900);
    color: var(--bg);
    border-radius: 28px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.price-label {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--aqua-vivid);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.price-num {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(48px, 7vw, 76px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--bg);
    position: relative;
    z-index: 2;
}
.price-num span {
    font-size: 0.4em;
    color: var(--gray-400);
    font-weight: 600;
}
.price-sub {
    font-size: 15px;
    color: var(--gray-400);
    margin-top: 16px;
    position: relative;
    z-index: 2;
}
.price-sub strong {
    color: var(--aqua-vivid);
    font-weight: 700;
}
.price-cta {
    margin-top: 32px;
    position: relative;
    z-index: 2;
}
.modules-grid-hub {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.modules-intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-400);
    max-width: 520px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}
.hub-reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.commerce-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
}
.commerce-modules-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr); 
  margin-top: 48px;
}
.hub-fit-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr); 
  margin-top: 48px;
}
.hub-fit-grid .sol-card {
  min-height: initial;
}
.hub-session p{
  margin-bottom: 50px;
}
.sol-card a {
  text-decoration: none;
}
/* HERO DE PRODUCTO (distinto al home: más compacto, con breadcrumb y mockup) */
.phero {
  position: relative;
  padding: 150px 32px 90px;
  overflow: hidden;
  background: var(--gray-900);
  color: var(--bg);
}
.phero::before {
  content: '';
  position: absolute;
  inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 10%, rgba(31, 184, 176, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(13, 89, 86, 0.4), transparent 55%);
}
.phero::after {
  content: '';
  position: absolute;
  inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 232, 227, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 232, 227, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 80%);
}
.phero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.1s forwards;
}
.breadcrumb a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--aqua-vivid); }
.breadcrumb .sep { color: var(--gray-600); }
.breadcrumb .current { color: var(--aqua-vivid); }

/* Badge de producto */
.phero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--aqua-vivid);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(31, 184, 176, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(31, 184, 176, 0.3);
  opacity: 0;
  animation: fadeInUp 0.6s 0.2s forwards;
}

.phero-logo {
  font-family: var(--f-alt);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--bg);
  opacity: 0;
  animation: fadeInUp 0.7s 0.3s forwards;
}
.phero-logo .i { color: var(--aqua-bright); }

.phero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-300);
  margin-bottom: 24px;
  max-width: 520px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.4s forwards;
}
.phero h1 em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  color: var(--aqua-vivid);
}

.phero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 460px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.7s 0.5s forwards;
}
.phero-sub strong { color: var(--bg); font-weight: 600; }

.phero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s 0.6s forwards;
}

/* Mockup visual del hero de producto */
.phero-visual {
  position: relative;
  opacity: 0;
  animation: fadeIn 1s 0.6s forwards;
}
.phero-visual img {
    max-width: 650px;
    width: 100%;
    position: relative;
    border-radius: 24px;
    border: solid 10px #0c0004;
    overflow: hidden;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
}
.phero-logo img{
    filter: brightness(0) invert(1);
    max-width: 230px;
}
.versus {
    background: var(--aqua-wash);
}
.versus-card {
    background: var(--bg);
    border: 1.5px solid var(--aqua-light);
    border-radius: 28px;
    padding: 56px;
    max-width: 900px;
    margin: 48px auto 0;
    text-align: center;
    position: relative;
}
.versus-quote {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}
.versus-quote em {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 300;
    color: var(--aqua-bright);
}
.versus-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.versus-tag {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gray-900);
    color: var(--bg);
}
.mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-url {
  margin-left: 12px;
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--gray-500);
}
.mockup-body { padding: 22px; }
.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 10px;
}
.mockup-row-info { display: flex; flex-direction: column; gap: 4px; }
.mockup-row-name { font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--gray-300); }
.mockup-row-sub { font-family: var(--f-body); font-size: 11px; color: var(--gray-500); }
.mockup-tag {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}
.mockup-tag.green { background: rgba(31,184,176,0.18); color: var(--aqua-vivid); }
.mockup-tag.amber { background: rgba(255,217,61,0.15); color: var(--accent); }
.mockup-stock {
  font-family: var(--f-alt);
  font-weight: 700;
  font-size: 14px;
  color: var(--bg);
}
.mockup-float {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--aqua-bright);
  color: var(--gray-900);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 20px 40px -16px rgba(31,184,176,0.6);
  animation: floatBob 4s ease-in-out infinite;
}
.mockup-float-num { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.mockup-float-label { font-family: var(--f-body); font-weight: 600; font-size: 11px; margin-top: 2px; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sección "para quién" - perfiles */
.profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.profile-card {
  padding: 32px 26px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.profile-card:hover {
  transform: translateY(-5px);
  border-color: var(--aqua-bright);
  box-shadow: 0 20px 40px -20px rgba(31,184,176,0.25);
}
.profile-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--aqua-wash);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.profile-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.profile-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Capacidades unificadas */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.cap-card {
  padding: 32px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--aqua-bright);
  box-shadow: 0 20px 40px -20px rgba(31,184,176,0.2);
}
.cap-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--aqua-bright);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.cap-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.cap-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
    /*
    .phero-visual {
        max-width: 340px;
        order: -1;
        margin: 0 auto;
    }
    */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-cards { grid-template-columns: 1fr; gap: 16px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .logo-item { font-size: 22px; }
  .logos-track { gap: 48px; }

  .hub-features-grid, .hub-flujo-grid, .hub-reports-grid, .commerce-features-grid, .commerce-modules-grid,
  .partners-systems-grid, .partners-process-grid, .solutions-grid-home { 
    grid-template-columns: 1fr; 
  }
  body[page="home"] .hero-eyebrow {
    display: none;
  }
}
/* MOBILE */

@media (max-width: 900px) {

    .phero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink-soft);
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;

    opacity: 1;
    visibility: visible;
    transform: none;

    padding: 10px 0 0;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .dropdown-title {
    color: var(--aqua-deep);
  }

  .dropdown-desc {
    color: var(--gray-600);
  }

    .phero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        justify-content: center;
    }
    .profiles {
        grid-template-columns: 1fr 1fr;
    }
    .caps-grid {
        grid-template-columns: 1fr;
    }
    .modules-grid {
        grid-template-columns: 1fr 1fr;
    }
}