:root {
  --ink: #0b1020;
  --ink-2: #121a33;
  --ink-3: #1b2547;
  --text: #0f172a;
  --muted: #51607a;
  --muted-2: #7c8aa6;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --surface-3: #e8eef9;
  --accent: #20e3c2;
  --accent-2: #4f7dff;
  --accent-3: #ffb256;
  --line: rgba(15, 23, 42, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 6px 18px rgba(11, 16, 32, 0.08);
  --shadow: 0 18px 40px rgba(11, 16, 32, 0.14);
  --shadow-lg: 0 30px 80px rgba(11, 16, 32, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --header-height: 84px;
  --focus: rgba(79, 125, 255, 0.42);
  --content-max: 72ch;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.68;
  background: #f5f8ff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1200px 620px at 6% -12%, rgba(79, 125, 255, 0.2), transparent 60%),
    radial-gradient(960px 740px at 94% 8%, rgba(32, 227, 194, 0.2), transparent 62%),
    linear-gradient(180deg, #f6f9ff 0%, #eef3fb 40%, #f7faff 100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.24;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 3vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.95rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

p {
  margin-bottom: 1.35rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: var(--content-max);
  text-wrap: pretty;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

::selection {
  background: rgba(79, 125, 255, 0.26);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(12, 19, 39, 0.08);
  transition: background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 16px 36px rgba(12, 19, 39, 0.1);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.site-header .brand img:last-child {
  filter: grayscale(100%) brightness(0.35) contrast(1.1);
  opacity: 0.9;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  font-weight: 650;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  padding: 0.2rem 0;
  opacity: 0.88;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  opacity: 1;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-utils {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.lang-switch .lang-option {
  color: var(--ink-2);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.lang-switch .lang-option.is-active,
html[lang="es"] .lang-switch [data-lang="es"],
html[lang="en"] .lang-switch [data-lang="en"] {
  color: var(--ink);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line);
}

.lang-switch .lang-divider {
  opacity: 0.35;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  gap: 0.5rem;
  color: #0c1328;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 22px rgba(32, 227, 194, 0.25);
  letter-spacing: 0.01em;
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 30px rgba(79, 125, 255, 0.32);
}

.btn.ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.04);
}

.btn.secondary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 30px rgba(11, 16, 32, 0.2);
}

.hero .btn.ghost,
.page-hero .btn.ghost,
.section-dark .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn.ghost:hover,
.page-hero .btn.ghost:hover,
.section-dark .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn.small {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}

/* Eyebrow */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 1rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  padding: 6.7rem 0 5.2rem;
  background: radial-gradient(1200px 600px at 15% 15%, rgba(79, 125, 255, 0.2), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(32, 227, 194, 0.25), transparent 62%),
    linear-gradient(135deg, #0b1020 0%, #121a33 40%, #0b1020 100%);
  color: #f6f8ff;
  overflow: hidden;
}

.hero--home {
  padding-top: 2rem;
}

.hero--single .hero-grid {
  grid-template-columns: 1fr;
  align-items: flex-start;
}

.hero--single .hero-copy {
  max-width: 720px;
}

.hero--security::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(360px 240px at 85% 25%, rgba(79, 125, 255, 0.18), transparent 70%),
    radial-gradient(420px 300px at 80% 80%, rgba(32, 227, 194, 0.18), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 32px);
  opacity: 0.6;
  pointer-events: none;
}

.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(360px 240px at 85% 25%, rgba(79, 125, 255, 0.18), transparent 70%),
    radial-gradient(420px 300px at 80% 80%, rgba(32, 227, 194, 0.18), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 32px);
  opacity: 0.6;
  pointer-events: none;
}

.hero--bg-half {
  position: relative;
  overflow: hidden;
}

.hero--bg-half::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11, 16, 32, 1) 0%, rgba(11, 16, 32, 1) 50%, rgba(11, 16, 32, 0) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.hero--bg-half .hero-grid {
  position: relative;
  z-index: 1;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(420px 420px at 80% 40%, rgba(255, 178, 86, 0.18), transparent 60%),
    radial-gradient(320px 320px at 15% 70%, rgba(32, 227, 194, 0.14), transparent 55%);
  opacity: 0.8;
}

.hero-grid,
.page-hero .split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-copy .lead,
.page-hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.65rem;
  max-width: 62ch;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.hero-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-list li::before {
  content: "";
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  flex-shrink: 0;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(32, 227, 194, 0.7);
}

.hero-list strong {
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.stat {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
  font-family: "Outfit", sans-serif;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-media img,
.hero-media .media-card,
.page-hero .media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-media {
  display: grid;
  gap: 1.5rem;
}

.hero-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  color: #e6ecff;
}

.hero-card h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.hero-card li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Globe Background */
.hero--globe {
  min-height: clamp(520px, 80vh, 720px);
}

.hero--globe .hero-grid {
  grid-template-columns: 1fr;
  pointer-events: none;
}

.hero--globe .hero-grid a,
.hero--globe .hero-grid button {
  pointer-events: auto;
}

.hero--globe .globe-shell {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  border: none;
}

.hero--globe .globe-shell::before {
  opacity: 0.25;
}

.hero--globe .globe-shell::after {
  opacity: 0.75;
}

.hero--globe .globe-overlay {
  left: auto;
  right: 28px;
  top: auto;
  bottom: 28px;
  max-width: 320px;
}

.hero--globe .globe-label {
  font-size: 0.58rem;
}

.hero--globe .hero-copy {
  max-width: 560px;
  background: rgba(7, 12, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(5, 10, 24, 0.4);
}

/* Globe */
.globe-shell {
  --globe-accent: var(--accent);
  --globe-accent-2: var(--accent-2);
  position: relative;
  height: clamp(320px, 45vw, 520px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(520px 360px at 15% 20%, rgba(79, 125, 255, 0.35), transparent 60%),
    radial-gradient(520px 360px at 85% 75%, rgba(32, 227, 194, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(7, 10, 22, 0.95) 0%, rgba(9, 16, 34, 0.98) 55%, rgba(7, 10, 22, 0.95) 100%);
  box-shadow: var(--shadow-lg);
}

.globe-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 36px);
  opacity: 0.4;
  pointer-events: none;
}

.globe-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.6) 85%);
  pointer-events: none;
}

.globe-stage,
.globe-lines,
.globe-labels {
  position: absolute;
  inset: 0;
}

.globe-stage {
  z-index: 1;
}

.globe-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-lines {
  z-index: 2;
  pointer-events: none;
}

.globe-line {
  stroke: rgba(32, 227, 194, 0.55);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 3 6;
  filter: drop-shadow(0 0 6px rgba(32, 227, 194, 0.8));
  opacity: 0;
}

.globe-labels {
  z-index: 3;
  pointer-events: none;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.08em;
}

.globe-label {
  position: absolute;
  transform: translate(0, -50%);
  font-size: 0.62rem;
  padding: 0.45rem 0.9rem 0.45rem 1.4rem;
  text-transform: uppercase;
  color: rgba(245, 251, 255, 0.92);
  background: rgba(7, 12, 24, 0.75);
  border: 1px solid rgba(32, 227, 194, 0.4);
  box-shadow: 0 0 18px rgba(32, 227, 194, 0.3), inset 0 0 0 1px rgba(79, 125, 255, 0.15);
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.globe-label::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--globe-accent);
  box-shadow: 0 0 10px var(--globe-accent), 0 0 18px rgba(32, 227, 194, 0.8);
  transform: translate(-50%, -50%);
}

.globe-shell[data-globe-label-size="small"] .globe-label {
  font-size: 0.52rem;
  padding: 0.32rem 0.7rem 0.32rem 1.05rem;
  letter-spacing: 0.06em;
}

.globe-shell[data-globe-label-size="small"] .globe-label::before {
  width: 5px;
  height: 5px;
  left: 7px;
}

.globe-overlay {
  position: absolute;
  left: 24px;
  top: 20px;
  z-index: 4;
  display: grid;
  gap: 0.75rem;
  color: #fff;
  max-width: 70%;
}

.globe-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.globe-tag::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--globe-accent), var(--globe-accent-2));
  box-shadow: 0 0 10px rgba(32, 227, 194, 0.6);
}

.globe-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.globe-kpis strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  font-family: "Outfit", sans-serif;
}

.globe-error {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 12, 20, 0.92);
  border: 1px solid rgba(32, 227, 194, 0.4);
  padding: 1rem 1.2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: none;
  text-align: center;
  max-width: 280px;
  z-index: 5;
}

.globe-hint {
  position: absolute;
  right: 1.05rem;
  bottom: 1.05rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(170, 197, 255, 0.45);
  background: rgba(8, 14, 30, 0.7);
  color: rgba(240, 247, 255, 0.92);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(3, 7, 18, 0.45);
  animation: globeHintPulse 2.1s ease-in-out infinite;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

.globe-hint svg {
  width: 18px;
  height: 18px;
  stroke: rgba(170, 217, 255, 0.95);
  stroke-width: 1.8;
  fill: none;
}

.globe-hint span {
  line-height: 1;
  white-space: nowrap;
}

.globe-shell.is-interacted .globe-hint {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes globeHintPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(3, 7, 18, 0.45);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(3, 7, 18, 0.52);
  }
}

/* Sections */
.section {
  padding: clamp(3.2rem, 5.8vw, 4.9rem) 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-dark {
  background: var(--ink-2);
  color: #f6f8ff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin-bottom: 1.2rem;
}

.section-head p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.split-copy h2,
.cta h2 {
  margin-bottom: 1.1rem;
}

/* Long-page rhythm breaks */
.section-break {
  position: relative;
  overflow: hidden;
}

.section-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(360px 240px at 85% 25%, rgba(79, 125, 255, 0.18), transparent 70%),
    radial-gradient(420px 300px at 80% 80%, rgba(32, 227, 194, 0.18), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 32px);
  opacity: 0.42;
  pointer-events: none;
}

.section-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(420px 420px at 80% 40%, rgba(255, 178, 86, 0.16), transparent 60%),
    radial-gradient(320px 320px at 15% 70%, rgba(32, 227, 194, 0.12), transparent 55%);
  opacity: 0.52;
  pointer-events: none;
}

.section-break > .container {
  position: relative;
  z-index: 1;
}

.section-break--light {
  background:
    radial-gradient(520px 300px at 8% 10%, rgba(79, 125, 255, 0.1), transparent 62%),
    radial-gradient(520px 320px at 92% 85%, rgba(32, 227, 194, 0.1), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
}

.section-break--light::before {
  background-image:
    radial-gradient(380px 250px at 86% 24%, rgba(79, 125, 255, 0.24), transparent 70%),
    radial-gradient(440px 320px at 78% 82%, rgba(32, 227, 194, 0.2), transparent 70%),
    repeating-linear-gradient(120deg, rgba(15, 23, 42, 0.07), rgba(15, 23, 42, 0.07) 1px, transparent 1px, transparent 30px);
  opacity: 0.62;
}

.section-break--light::after {
  background-image:
    radial-gradient(460px 420px at 82% 38%, rgba(255, 178, 86, 0.22), transparent 60%),
    radial-gradient(360px 340px at 16% 74%, rgba(79, 125, 255, 0.16), transparent 55%);
  opacity: 0.62;
}

.section-break--dark {
  background:
    radial-gradient(560px 340px at 10% 12%, rgba(79, 125, 255, 0.26), transparent 62%),
    radial-gradient(560px 340px at 90% 82%, rgba(32, 227, 194, 0.22), transparent 62%),
    linear-gradient(135deg, #0a1022 0%, #111c3b 52%, #0a1022 100%);
  color: #eef3ff;
}

.section-break--dark::before {
  background-image:
    radial-gradient(360px 240px at 85% 25%, rgba(102, 141, 255, 0.28), transparent 70%),
    radial-gradient(420px 300px at 80% 80%, rgba(54, 235, 208, 0.22), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 32px);
  opacity: 0.36;
}

.section-break--dark::after {
  opacity: 0.44;
}

.section-break--dark h2,
.section-break--dark h3 {
  color: #fff;
}

.section-break--dark p {
  color: rgba(236, 243, 255, 0.78);
}

.statement-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(79, 125, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 2.1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}

.section-break--dark .statement-card {
  background: rgba(9, 14, 30, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-pill {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(79, 125, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.proof-pill strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.35rem;
}

.proof-pill p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section-break--dark .proof-pill {
  background: rgba(8, 14, 30, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-break--dark .proof-pill strong {
  color: #d9e6ff;
}

.section-break--dark .proof-pill p {
  color: rgba(236, 243, 255, 0.8);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.card,
.info-card,
.integration-panel,
.timeline-step,
.testimonial-card,
.form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(251, 253, 255, 1) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.11);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before,
.info-card::before,
.integration-panel::before,
.timeline-step::before,
.testimonial-card::before,
.form-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 125, 255, 0.32), rgba(32, 227, 194, 0.32));
  opacity: 0.75;
}

.card:hover,
.info-card:hover,
.integration-panel:hover,
.timeline-step:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(79, 125, 255, 0.24);
}

.card p,
.info-card p,
.integration-panel p {
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card-link {
  color: var(--accent-2);
  font-weight: 700;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.card-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* Bento */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.bento-item {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}

.bento-item.large {
  grid-column: span 2;
}

/* Split Layout */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-plain {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Media Fade */
.media-fade {
  position: relative;
  padding: 16px 32px 16px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(79, 125, 255, 0.18), rgba(79, 125, 255, 0) 70%);
}

.media-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(280px 220px at 10% 20%, rgba(32, 227, 194, 0.12), transparent 60%);
  pointer-events: none;
}

.media-fade img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 10px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
}

/* Checklist */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  width: 14px;
  min-width: 14px;
  height: 14px;
  min-height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(32, 227, 194, 0.35);
}

/* Stats / Proof */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2rem;
  margin: 1.75rem 0 2.2rem;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Diagram */
.diagram {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.diagram-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
}

.diagram-step::after {
  content: "→";
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-2);
  font-weight: 700;
}

.diagram-step:last-child::after {
  content: "";
}

/* Integration */
.integration-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.integration-panel h3 {
  margin-bottom: 0.6rem;
}

.integration-panel span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.timeline-step {
  display: grid;
  gap: 0.4rem;
  border-left: 3px solid var(--accent-2);
}

.timeline-step strong {
  color: var(--ink);
}

/* Gantt */
.gantt {
  margin-top: 2rem;
  padding: 2rem 2.2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(320px 220px at 10% 15%, rgba(79, 125, 255, 0.25), transparent 60%),
    radial-gradient(300px 240px at 85% 75%, rgba(32, 227, 194, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(9, 14, 30, 0.98) 0%, rgba(13, 21, 44, 0.98) 55%, rgba(9, 14, 30, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(6, 10, 26, 0.35);
  color: #eef3ff;
  position: relative;
  overflow: hidden;
}

.gantt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 36px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 36px);
  opacity: 0.2;
  pointer-events: none;
}

.gantt-scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.gantt-scale span {
  text-align: right;
}

.gantt-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 0 1.2rem;
}

.gantt-row + .gantt-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gantt-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.gantt-info p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.gantt-info {
  max-width: 100%;
}

.gantt-duration {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #08111f;
  font-weight: 700;
}

.gantt-track {
  position: relative;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  width: 100%;
}

.gantt-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: 0.35;
}

.gantt-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(var(--start) * 1%);
  width: calc(var(--span) * 1%);
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bar-start), var(--bar-end));
  box-shadow: 0 0 18px rgba(32, 227, 194, 0.35);
}

.gantt-bar::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.gantt-bar--1 {
  --bar-start: #4f7dff;
  --bar-end: #20e3c2;
}

.gantt-bar--2 {
  --bar-start: #20e3c2;
  --bar-end: #4fe3ff;
}

.gantt-bar--3 {
  --bar-start: #ffb256;
  --bar-end: #ff7b6a;
}

.gantt-bar--4 {
  --bar-start: #6c7cff;
  --bar-end: #9c6bff;
}

/* Showcase */
.system-showcase {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(132deg, #091126 0%, #0f1a38 54%, #081025 100%);
}

.system-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 360px at 8% 10%, rgba(79, 125, 255, 0.25), transparent 62%),
    radial-gradient(560px 360px at 92% 82%, rgba(32, 227, 194, 0.2), transparent 62%);
  opacity: 0.72;
  pointer-events: none;
}

.system-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.18;
  pointer-events: none;
}

.carousel-bleed {
  position: relative;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  width: min(1720px, calc(100vw - 14px));
  padding: 0 clamp(0.45rem, 2vw, 1.2rem);
}

.carousel-bleed::before {
  content: none;
}

.carousel-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(0.7rem, 2.1vw, 1.5rem);
  padding: clamp(0.9rem, 1.8vw, 1.1rem) clamp(0.85rem, 2.5vw, 1.55rem) clamp(1.1rem, 2.4vw, 1.45rem);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 170, 255, 0.58) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 9px;
}

.carousel-track::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(129, 164, 255, 0.86), rgba(86, 242, 214, 0.82));
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 clamp(260px, 31vw, 540px);
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(156, 184, 255, 0.18);
  background: linear-gradient(180deg, #121d3a 0%, #0d1630 100%);
  box-shadow: 0 8px 18px rgba(2, 6, 18, 0.24);
  cursor: zoom-in;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out), filter 0.25s var(--ease-out);
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.carousel-item:nth-child(odd) {
  margin-top: 0.2rem;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #111d3a 0%, #0f1832 100%);
}

.carousel-item:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(175, 199, 255, 0.36);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  filter: saturate(1.03);
}

.carousel-item:focus-visible {
  outline: 3px solid rgba(142, 183, 255, 0.76);
  outline-offset: 3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 200;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1280px);
  max-height: 86vh;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  padding: 1rem;
  z-index: 1;
}

.lightbox-inner img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th,
.table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.table th {
  background: var(--surface-3);
  color: var(--ink);
}

.table tr:last-child td {
  border-bottom: none;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-top: 1.85rem;
}

.testimonial-card {
  background: rgba(11, 16, 32, 0.9);
  color: #f6f8ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: grayscale(100%) brightness(1.15);
  opacity: 0.85;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.75);
}

.testimonial-card strong {
  color: #fff;
}

.testimonial-card span {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Logo Row */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.logo-row img {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.logo-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-row--full {
  display: block;
}

.logo-row--full img {
  width: 100%;
  height: auto;
  filter: none;
  opacity: 1;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(79, 125, 255, 0.12), rgba(32, 227, 194, 0.14));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cta-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cta-card li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
}

.cta-card li::before {
  content: "";
  width: 8px;
  min-width: 8px;
  height: 8px;
  min-height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-3);
}

/* Info Grid & Forms */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card form {
  display: grid;
  gap: 1rem;
}

.form-card label {
  font-weight: 600;
  color: var(--ink-2);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-honeypot {
  display: none !important;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-status.is-success {
  color: #0f7b42;
}

.form-status.is-error {
  color: #b42318;
}

.form-card button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* Footer */
.site-footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2.5rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-cta {
  font-weight: 700;
  color: #fff;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(12, 19, 39, 0.2);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(12, 19, 39, 0.12);
}

.mobile-menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(9, 13, 27, 0.96);
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 90;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu .lang-switch {
  display: inline-flex;
  margin: 1.5rem auto 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}

.mobile-menu .lang-switch .lang-option {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.mobile-menu .lang-switch .lang-option.is-active,
html[lang="es"] .mobile-menu .lang-switch [data-lang="es"],
html[lang="en"] .mobile-menu .lang-switch [data-lang="en"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.mobile-menu .lang-switch .lang-divider {
  color: rgba(255, 255, 255, 0.6);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2rem;
  color: #fff;
}

.mobile-nav-links a {
  color: #fff;
  font-size: 1.05rem;
}

.no-scroll {
  overflow: hidden;
}

/* CTA Dock */
.cta-dock {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 80;
}

.cta-dock a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.cta-dock a.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .header-grid {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.6rem;
  }

  .brand img {
    height: 30px;
  }

  .brand-divider {
    height: 18px;
  }

  .site-nav {
    display: none;
  }

  .header-utils {
    margin-left: auto;
  }

  .lang-switch {
    display: inline-flex;
    margin-left: 0;
    flex-shrink: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: static;
    margin-left: 0.5rem;
    flex-shrink: 0;
    background: var(--ink);
    border: none;
  }

  .mobile-menu-toggle .bar {
    background: #fff;
  }

  .mobile-menu .lang-switch {
    display: inline-flex;
  }

  .cta-dock {
    display: none;
  }

  .hero--globe {
    min-height: auto;
    padding: 6rem 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hero--globe .hero-grid {
    pointer-events: auto;
    order: 1;
  }

  .hero--globe .globe-shell {
    position: relative;
    inset: auto;
    height: clamp(680px, 150vw, 920px);
    width: min(92%, var(--max-width));
    max-width: 620px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-lg);
    touch-action: pan-y;
    order: 2;
  }

  .hero--globe .globe-stage canvas {
    touch-action: pan-y;
  }

  .hero--bg-half::before {
    background-image:
      radial-gradient(360px 240px at 85% 25%, rgba(79, 125, 255, 0.18), transparent 70%),
      radial-gradient(420px 300px at 80% 80%, rgba(32, 227, 194, 0.18), transparent 70%),
      repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 32px);
    background-size: auto;
    background-position: center;
    opacity: 0.6;
  }

  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-grid,
  .page-hero .split,
  .split,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item.large {
    grid-column: span 1;
  }

  .diagram {
    grid-template-columns: 1fr;
  }

  .diagram-step::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -1.4rem;
    transform: translateX(50%);
  }

  .media-fade {
    padding: 14px 20px 14px 14px;
  }

  .carousel-bleed {
    width: min(1720px, calc(100vw - 10px));
    padding: 0 clamp(0.25rem, 1.4vw, 0.7rem);
  }

  .carousel-item {
    flex-basis: clamp(220px, 48vw, 420px);
  }

  .gantt-row {
    grid-template-columns: 1fr;
  }

  .cta-dock {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero {
    padding: 5.2rem 0 3.35rem;
  }

  .brand img {
    height: 26px;
  }

  .brand-divider {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .globe-shell {
    height: 340px;
  }

  .hero--home .globe-shell {
    height: clamp(480px, 120vw, 620px);
  }

  .globe-overlay {
    left: 16px;
    top: 16px;
    max-width: 85%;
  }

  .globe-hint {
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    padding: 0.4rem 0.65rem;
  }

  .globe-hint svg {
    width: 16px;
    height: 16px;
  }

  .hero--globe .hero-copy {
    padding: 2rem;
  }

  .gantt {
    padding: 1.6rem;
  }

  .gantt-scale {
    font-size: 0.55rem;
    letter-spacing: 0.18em;
  }

  .gantt-track {
    height: 18px;
  }

  .media-fade {
    padding: 12px 16px 12px 12px;
  }

  .media-fade img {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0) 100%);
  }

  .carousel-bleed {
    width: calc(100vw - 8px);
    padding: 0 0.15rem;
  }

  .carousel-track {
    padding: 0.75rem 0.65rem 1.1rem;
  }

  .carousel-item {
    flex-basis: 82vw;
    margin-top: 0;
  }

  .lightbox-inner {
    padding: 0.7rem;
  }

  .lightbox-close {
    width: 32px;
    height: 32px;
  }

  .cta-dock {
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
