@import url('./tokens.css?v=2026061025');

/* ============ Base overrides for marketing site ============ */
html, body { background: var(--bg); color: var(--text); }
html { overflow-x: hidden; }
body {
  font-size: 14px;
  overflow-x: hidden;
}
body.is-leaving main,
body.is-leaving footer {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
body.page-ready main {
  animation: pageIn 620ms var(--ease) both;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Section */
.section { padding: 80px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

/* Eyebrow */
.eyebrow-lime {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-lime::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orizon-accent);
  display: inline-block;
}
.eyebrow-muted {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

/* Headings */
h1, .h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; color: var(--heading); }
h2, .h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--heading); }
h3, .h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--heading); }
@media (min-width: 768px) {
  h1, .h1 { font-size: 64px; }
  h2, .h2 { font-size: 48px; }
  h3, .h3 { font-size: 20px; }
}
@media (min-width: 1100px) {
  h1, .h1 { font-size: 76px; }
}

p { color: var(--text-soft); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(40px, 3.19vw, 46px);
  padding: 0 clamp(20px, 2.22vw, 28px);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-md) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn[hidden],
.form-actions .btn[hidden] {
  display: none !important;
}
.btn:active { transform: translateY(0.5px); }

.btn-primary {
  background: #0E0929;
  color: #FDFCFF;
}
.btn-primary:hover {
  background: var(--orizon-accent-hover);
  color: #FDFCFF;
}
:root[data-theme="dark"] .btn-primary {
  background: #FDFCFF;
  color: #0E0929;
}
:root[data-theme="dark"] .btn-primary:hover {
  background: #92ACFF;
  color: #FDFCFF;
}
.btn-primary .arrow {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--orizon-accent-ink);
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: -10px;
  transition: transform var(--dur-md) var(--ease);
}
.btn-primary:hover .arrow { transform: translateX(2px); }

.btn-ghost {
  background: #92ACFF;
  color: #FDFCFF;
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--orizon-accent-hover);
  color: #FDFCFF;
}
:root[data-theme="dark"] .btn-ghost {
  background: #92ACFF;
  color: #FDFCFF;
}

.btn-link {
  background: transparent;
  color: var(--text);
  padding: 0;
  border: none;
  font-size: 13px;
}
.btn-link:hover { color: var(--orizon-accent-soft); }

/* ============ Nav / Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-md) var(--ease), background var(--dur-md) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  min-width: 102px;
  min-height: 38px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 112px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
.brand-name {
  display: inline-flex;
  align-items: baseline;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--heading);
  line-height: 1;
}
.brand-dot {
  color: var(--orizon-accent);
  margin-left: 1px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
}
@media (min-width: 1024px) {
  .nav-links {
    position: absolute;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
  }
}
.nav-link {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--dur-md) var(--ease);
  text-transform: none;
  border-radius: 0;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-sales {
  color: var(--orizon-accent);
  font-weight: 600;
}
.nav-sales:hover,
.nav-sales:focus-visible,
.nav-sales.active {
  color: var(--orizon-accent);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--dur-md) var(--ease), transform var(--dur-md) var(--ease), background var(--dur-md) var(--ease), color var(--dur-md) var(--ease);
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--orizon-accent);
  transform: translateY(-1px);
  outline: none;
}
.theme-toggle .sun,
.theme-toggle .moon {
  width: 15px;
  height: 15px;
}
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-portal {
  display: none;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--orizon-accent);
  border-radius: 999px;
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px var(--orizon-accent-alpha-18);
  transition: filter var(--dur-md) var(--ease), transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease);
}
.nav-portal:hover,
.nav-portal:focus-visible,
.nav-portal.active {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px var(--orizon-accent-alpha-8);
  outline: none;
}
@media (min-width: 1024px) {
  .nav-portal {
    display: inline-flex;
  }
}

.language-picker {
  position: relative;
}
.language-native {
  display: none;
}
.language-toggle,
.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--dur-md) var(--ease), transform var(--dur-md) var(--ease), background var(--dur-md) var(--ease);
}
.language-toggle:hover,
.language-toggle:focus-visible,
.language-option:hover,
.language-option:focus-visible {
  border-color: var(--orizon-accent);
  transform: translateY(-1px);
  outline: none;
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: grid;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 15, 15, 0.96);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
.language-menu[hidden] {
  display: none;
}
.language-option {
  width: 38px;
  height: 32px;
  border-radius: 10px;
}
.language-option.active {
  background: rgba(146,172,255, 0.08);
  border-color: rgba(146,172,255, 0.42);
}
.flag-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 16px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.flag-br {
  background: #169b62;
}
.flag-br::before {
  content: "";
  position: absolute;
  inset: 3px 5px;
  background: #ffdf00;
  transform: rotate(45deg);
}
.flag-br::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #002776;
}
.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1.23px, #fff 1.23px 2.46px);
}
.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 8.6px;
  background: #3c3b6e;
}
.flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}
@media (min-width: 1024px) {
  .language-picker {
    margin-left: 0;
  }
}

.nav-cta-mini {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  font-size: 13px;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
}
.nav-cta-mini .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--orizon-accent);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@media (min-width: 1024px) { .nav-cta-mini { display: inline-flex; } }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  align-items: center;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--dur-md) var(--ease), opacity var(--dur-md) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }

.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 860px) {
  .portal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.portal-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}
.portal-card h3 {
  margin-top: 18px;
  font-size: 22px;
}
.portal-card p {
  margin-top: 12px;
  color: var(--text-muted-strong);
  font-size: 14px;
  line-height: 1.65;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-lg) var(--ease);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .nav-link {
  display: block;
  padding: 18px 0;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.mobile-menu .nav-link.active { color: var(--orizon-accent); }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ============ Brand Loader / Page Transitions ============ */
.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 430ms var(--ease), visibility 430ms var(--ease);
}
.brand-loader[hidden] { display: none; }
body.loader-done .brand-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.is-leaving .brand-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.brand-loader-inner {
  width: min(280px, 74vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.brand-loader-wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  animation: brandWordIntro 620ms var(--ease) 180ms both;
}
.brand-loader-wordmark span {
  color: var(--orizon-accent);
  margin-left: 2px;
}
.brand-loader-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.brand-loader-line span {
  display: block;
  height: 100%;
  width: 100%;
  transform: translateX(-100%);
  background: var(--orizon-accent);
  animation: brandLine 950ms var(--ease) both;
}
@keyframes brandMarkIntro {
  from { opacity: 0; transform: translateY(10px) scale(0.92) rotate(-4deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes brandWordIntro {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes brandLine {
  to { transform: translateX(0); }
}
@keyframes brandMarkPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.025); }
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding-top: 120px; } }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow { display: none !important; }
.hero-glow-unused {
  display: none;
}
.hero-glow.left {
  left: 5%;
  top: 380px;
  transform: none;
  width: 300px; height: 400px;
}
.hero-glow.right {
  left: auto;
  right: 5%;
  top: 380px;
  transform: none;
  width: 300px; height: 400px;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 { margin-top: 18px; }
.hero h1 .accent { color: var(--orizon-accent); font-style: italic; font-weight: 400; }
.hero-sub {
  margin-top: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  color: var(--text-muted-strong);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Hero device frame */
.hero-frame {
  margin-top: 64px;
  margin-bottom: 0;
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}
.hero-frame-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.hero-frame-bar .lights { display: flex; gap: 6px; }
.hero-frame-bar .lights span { width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); }
.hero-frame-bar .url {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  margin-top: 60px;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::after {
  content: '+';
  color: var(--orizon-accent);
  font-size: 14px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Section header ============ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}
.section-head .row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-head h2 { max-width: 720px; }
.section-head .lede {
  max-width: 480px;
  color: var(--text-muted-strong);
  font-size: 15px;
  line-height: 1.6;
}
.section-head .center { text-align: center; align-self: center; max-width: 720px; margin: 0 auto; }

/* ============ Service cards ============ */
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: border-color var(--dur-md) var(--ease), background var(--dur-md) var(--ease);
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-elevated);
}
.service-card .num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card .desc { color: var(--text-muted-strong); font-size: 13.5px; line-height: 1.6; min-height: 60px; }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card li {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card li::before {
  content: '+';
  color: var(--orizon-accent);
  font-size: 16px;
  font-weight: 600;
}
.service-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tag {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

/* ============ Portfolio carousel ============ */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 480ms var(--ease);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 auto;
  width: min(720px, 90vw);
}
.portfolio-card {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--dur-md) var(--ease);
}
.portfolio-card:hover { border-color: var(--line-strong); }
.portfolio-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a, #0c0c0c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-thumb-fallback {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.portfolio-info {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.portfolio-info h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}
.portfolio-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}
.portfolio-info .open {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--dur-md) var(--ease);
}
.portfolio-card:hover .open {
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  border-color: var(--orizon-accent);
}

/* Carousel controls */
.carousel-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  border: none;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-md) var(--ease);
}
.carousel-arrow:hover { background: var(--orizon-accent-hover); }
.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
@media (min-width: 1024px) {
  .carousel-arrow.prev { left: 40px; }
  .carousel-arrow.next { right: 40px; }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--dur-md) var(--ease);
}
.carousel-dot.active { background: var(--orizon-accent); width: 22px; }

/* ============ Testimonials ============ */
.testimonials-track {
  display: flex;
  gap: 16px;
  transition: transform 480ms var(--ease);
}
.testimonial {
  flex: 0 0 auto;
  width: min(360px, 85vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--orizon-accent);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  flex: 1;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--orizon-accent);
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: 13px; font-weight: 600; color: #fff; }
.author-meta { font-size: 11px; color: var(--text-muted); }

/* ============ Differentiators (4 large cards) ============ */
.diff-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }

.diff-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color var(--dur-md) var(--ease);
  overflow: hidden;
}
.diff-card:hover { border-color: var(--line-strong); }
.diff-card .num-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.diff-card .num {
  font-size: 18px;
  font-weight: 600;
  color: var(--orizon-accent);
}
.diff-card h3 { font-size: 19px; }
.diff-card p { font-size: 13.5px; color: var(--text-muted-strong); line-height: 1.6; }
.diff-visual {
  aspect-ratio: 16/9;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #161616, #0c0c0c);
  position: relative;
  overflow: hidden;
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }

.faq-block-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.faq-glyph {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orizon-accent);
}
.faq-block h3 { font-size: 22px; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.faq-q .toggle {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-md) var(--ease);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--ease), padding 320ms var(--ease);
  font-size: 13.5px;
  color: var(--text-muted-strong);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding-top: 14px;
}

/* ============ CTA section ============ */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(42px, 11.8vw, 92px);
  line-height: 1;
  overflow-wrap: break-word;
}
.cta h2 .accent { color: var(--orizon-accent); font-style: italic; font-weight: 400; }
@media (min-width: 768px) { .cta h2 { font-size: 92px; } }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 620px) {
  .cta {
    padding-top: 56px;
    padding-bottom: 78px;
  }
  .cta h2 {
    max-width: 340px;
    font-size: clamp(44px, 13vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }
  .cta .lede {
    max-width: 330px;
    margin: 22px auto 0;
    font-size: 17px;
    line-height: 1.45;
  }
  .cta-actions {
    margin-top: 28px;
  }
  .cta .btn {
    width: min(100%, 430px);
    min-height: 64px;
    justify-content: center;
    padding-inline: 20px;
  }
}

/* ============ Diex theme layer ============ */
html {
  background: var(--bg);
}

body {
  background: var(--bg);
}

:root[data-theme="dark"] body {
  background: var(--bg);
}

h1, h2, h3,
.h1, .h2, .h3,
.brand-name,
.portfolio-info h4,
.hero-v2-meta .meta-value,
.metric-card .value,
.case-post-footer-cta h2,
.hero-panel h1,
.top h1 {
  color: var(--heading);
}

.site-header,
.brand-loader,
.mobile-menu,
.marquee,
footer,
.page-hero {
  background-color: var(--bg);
}

.language-toggle,
.language-option,
.hamburger,
.nav-portal,
.theme-toggle {
  flex: 0 0 auto;
}

.language-toggle,
.language-option {
  background: var(--surface);
  color: var(--heading);
}

.language-menu {
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}

.btn-primary {
  border-color: var(--orizon-accent);
}

.btn-primary .arrow {
  background: var(--diex-primary);
  color: var(--diex-secondary);
}

:root[data-theme="dark"] .btn-primary .arrow {
  background: var(--diex-dark);
}

.btn-ghost,
.pill-toggle,
.tag,
.portfolio-card,
.service-card,
.bento-card,
.product-card,
.portal-card,
.aside-card,
.article-block,
.contact-card,
.field,
.metric-card,
.case-post-meta-strip span,
.case-post-cover-caption,
.case-post-footer-cta {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.service-card:hover,
.portfolio-card:hover,
.bento-card:hover,
.product-tile:hover,
.contact-channel:hover {
  background: var(--surface-elevated);
  border-color: var(--line-strong);
}

.product-visual,
.portfolio-thumb,
.hero-frame,
.live-panel,
.phone-mock,
.checkout-visual,
.map-visual,
.ai-visual,
.folio-visual {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 88%, var(--orizon-accent) 12%), var(--surface));
  border-color: var(--line);
}

.hero-min-tag,
.eyebrow-lime,
.product-info .pname,
.article-kicker,
.section-head-v2 .num,
.bento-card .num,
.text-accent,
.accent,
.footer-cols li:hover,
.footer-cols ul li:hover a,
.nav-sales,
.nav-sales:hover,
.nav-sales:focus-visible,
.nav-sales.active {
  color: var(--orizon-accent);
}

.eyebrow-lime::before,
.hero-v2-eyebrow .dot,
.carousel-dot.active,
.metric-card::after,
.brand-loader-line span,
.phone-mock .ph-row.lime,
.hero-mock-block.lime {
  background: var(--orizon-accent);
}

.hero-mock-block.lime,
.ads-card.lime,
.form-actions .btn-primary,
.portfolio-card:hover .open,
.btn-submit,
.nav-portal {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}

.manifesto-logo {
  background: var(--surface);
  border: 1px solid var(--line);
}

.manifesto-logo img {
  width: min(220px, 55vw);
  height: auto;
}

.footer-mark-text {
  color: color-mix(in srgb, var(--heading) 13%, transparent);
}

input,
select,
textarea {
  background: var(--surface-input);
  border-color: var(--line);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orizon-accent);
  box-shadow: 0 0 0 3px var(--orizon-accent-alpha-18);
}

::selection {
  background: var(--orizon-accent-alpha-26);
  color: var(--heading);
}

@media (max-width: 720px) {
  .brand-logo {
    width: 94px;
    max-height: 34px;
  }

  .theme-toggle,
  .language-toggle {
    width: 40px;
    height: 34px;
  }

  .nav-actions {
    gap: 7px;
  }
}

.hero-min-h1,
.hero-v2 h1,
.page-hero h1,
.section-head-v2 h2,
.manifesto-quote,
.ledger-num,
.bf-num,
.pf-copy h3,
.pf-title h3,
.article-block h2,
.aside-card h3,
.contact-card h3,
.case-post-title,
.brand-loader-wordmark {
  color: var(--heading);
}

.hero-min-sub,
.manifesto-quote-humanized,
.ledger-label,
.section-head-v2 .right,
.article-block p,
.aside-meta,
.contact-card p,
.case-post-intro p {
  color: var(--text-soft);
}

.hero-min-h1 .accent,
.section-head-v2 h2 .accent,
.manifesto-quote .accent,
.ledger-num .pct,
.bf-num .accent,
.pf-copy .accent,
.case-post-title .accent {
  color: var(--orizon-accent);
}

/* ============ Footer ============ */
.footer-mark {
  position: relative;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 64px;
  padding: 0 24px;
  pointer-events: none;
}
@media (min-width: 768px) {
  .footer-mark { height: 160px; margin-top: 96px; }
}
.footer-mark-text {
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: #fff;
  opacity: 0.05;
  transform: translateY(32%);
  user-select: none;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}
.footer-channels {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .footer-channels { grid-template-columns: repeat(4, 1fr); } }
.footer-channel {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--dur-md) var(--ease);
}
.footer-channel:last-child { border-right: none; }
.footer-channel:hover { background: var(--surface); }
.footer-channel .label-wrap {
  display: flex; align-items: center; gap: 10px;
}
.footer-channel .label-wrap span:first-child {
  color: var(--orizon-accent);
  font-size: 16px;
}
.footer-channel .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.footer-channel .arr {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur-md) var(--ease);
}
.footer-channel:hover .arr {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
@media (max-width: 767px) {
  .footer-channel { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-channel:last-child { border-bottom: none; }
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 0;
}
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.footer-cols h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin: 0 0 18px 0;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-cols li { font-size: 13.5px; color: var(--text-soft); cursor: pointer; transition: color var(--dur-md) var(--ease); }
.footer-cols li:hover { color: var(--orizon-accent); }
.footer-contact div { font-size: 13.5px; color: var(--text-soft); margin-bottom: 8px; }
.footer-contact strong { color: var(--text-muted); font-weight: 600; }

.footer-base {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ============ Page header (for inner pages) ============ */
.page-hero {
  padding: 80px 0 60px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) { .page-hero { padding: 120px 0 100px 0; } }
.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero h1 { margin-top: 18px; }
.page-hero .lede {
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  font-size: 16px;
  color: var(--text-muted-strong);
  line-height: 1.6;
}
.page-hero h1 .accent { color: var(--orizon-accent); font-style: italic; font-weight: 400; }
@media (max-width: 620px) {
  .page-hero {
    padding: 64px 0 52px;
  }
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.03;
    overflow-wrap: break-word;
  }
  .page-hero .lede {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.48;
  }
}

/* ============ Para Agências specific ============ */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .product-card { grid-template-columns: 1fr 1fr; } }
.product-card.flip { direction: ltr; }
@media (min-width: 900px) { .product-card.flip > .product-info { order: 2; } .product-card.flip > .product-visual { order: 1; } }
.product-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 1100px) { .product-info { padding: 56px; } }
.product-info .pname {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orizon-accent);
}
.product-info h2 { font-size: 32px; line-height: 1.1; }
@media (min-width: 1100px) { .product-info h2 { font-size: 38px; } }
.product-info p { font-size: 14.5px; color: var(--text-muted-strong); line-height: 1.65; }
.product-info ul { list-style: none; padding: 0; margin: 8px 0 0 0; display: flex; flex-direction: column; gap: 10px; }
.product-info li { font-size: 13.5px; color: var(--text-soft); display: flex; gap: 10px; }
.product-info li::before { content: '+'; color: var(--orizon-accent); font-weight: 600; }
.product-visual {
  background: linear-gradient(135deg, #131313, #0a0a0a);
  border-left: 1px solid var(--line);
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 899px) { .product-visual { border-left: none; border-top: 1px solid var(--line); } }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface);
  padding: 32px 24px;
}
.stat .num {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.stat .num .accent { color: var(--orizon-accent); }
.stat .label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ Process steps (Para Agências) ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.step .step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--orizon-accent);
  margin-bottom: 14px;
}
.step h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
}
.step p { font-size: 13px; color: var(--text-muted-strong); line-height: 1.55; margin: 0; }

/* ============ Contact form ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { font-size: 15px; color: var(--text-muted-strong); line-height: 1.65; max-width: 460px; }
.contact-channels { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-channel:last-child { border-bottom: 1px solid var(--line); }
.contact-channel .icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orizon-accent);
  flex-shrink: 0;
}
.contact-channel .info { display: flex; flex-direction: column; }
.contact-channel .info .label { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); }
.contact-channel .info .value { font-size: 14px; color: var(--text); margin-top: 2px; }

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-steps {
  min-height: 520px;
}
.form-progress {
  display: grid;
  grid-template-columns: 34px 1fr 34px 1fr 34px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.progress-step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.progress-step.active,
.progress-step.done {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
.progress-line {
  height: 1px;
  background: var(--line);
}
.form-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-step[hidden] {
  display: none;
}
.form-step h3 {
  font-size: 24px;
  margin: 0;
}
.step-kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orizon-accent);
}
.step-help {
  margin: -6px 0 4px 0;
  color: var(--text-muted-strong);
  font-size: 13.5px;
  line-height: 1.55;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--dur-md) var(--ease);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orizon-accent);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.phone-input {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}
.phone-code-select {
  min-width: 0;
}
@media (max-width: 520px) {
  .phone-input {
    grid-template-columns: 1fr;
  }
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { font-size: 11px; color: var(--danger); }
.confirm-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}
.confirm-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.confirm-row span:first-child {
  color: var(--text-muted);
}
.confirm-row strong {
  color: var(--text);
  text-align: right;
  font-weight: 500;
}
.confirm-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted-strong);
  font-size: 13px;
  line-height: 1.5;
}
.confirm-check input {
  margin-top: 3px;
  accent-color: var(--orizon-accent);
}
.confirm-err {
  font-size: 11px;
  color: var(--danger);
}
.form-success {
  background: rgba(182, 226, 74, 0.06);
  border: 1px solid var(--ok-border);
  color: var(--ok);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.form-actions .btn-ghost {
  margin-right: auto;
}

/* Checkboxes / pills as tag selectors */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-toggle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-md) var(--ease);
  font-family: inherit;
}
.pill-toggle:hover { color: var(--text); border-color: var(--line-strong); }
.pill-toggle.active {
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  border-color: var(--orizon-accent);
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Hero browser mock content ============ */
.hero-mock-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 360px;
  background: var(--bg);
}
@media (max-width: 768px) { .hero-mock-content { grid-template-columns: 1fr; min-height: 240px; } }
.hero-mock-side {
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  background: var(--surface-soft);
}
@media (max-width: 768px) { .hero-mock-side { display: none; } }
.hero-mock-side .item {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 6px;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 2px;
}
.hero-mock-side .item.active {
  background: var(--surface-elevated);
  color: var(--orizon-accent);
}
.hero-mock-side .item::before {
  content: '';
  width: 4px; height: 4px; border-radius: 999px;
  background: currentColor;
}
.hero-mock-main {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}
.hero-mock-row { display: flex; gap: 12px; }
.hero-mock-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  flex: 1;
}
.hero-mock-block.lime { background: var(--orizon-accent); color: var(--orizon-accent-ink); border-color: var(--orizon-accent); }
.hero-mock-block .big-num { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.hero-mock-block .lbl { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.7; margin-top: 8px; }
.hero-mock-chart {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-mock-chart-svg { width: 100%; height: 100%; min-height: 80px; }

/* ============ Phone mock for HubIA / ADS ============ */
.phone-mock {
  width: 200px;
  aspect-ratio: 9/19;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
}
.phone-mock .ph-row {
  background: var(--surface-elevated);
  border-radius: 8px;
  height: 32px;
}
.phone-mock .ph-row.lime { background: var(--orizon-accent); }
.phone-mock .ph-row.tall { height: 60px; }
.phone-mock .ph-spacer { flex: 1; }

/* ============ Utility ============ */
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--orizon-accent); }
.flex-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
  margin: 0;
}

/* ============ V2: editorial hero ============ */
.hero-v2 {
  position: relative;
  padding-top: 56px;
  padding-bottom: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .hero-v2 { padding-top: 80px; padding-bottom: 80px; } }
.hero-v2 .container { position: relative; z-index: 2; }

.hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: end;
}
@media (min-width: 1024px) { .hero-v2-grid { grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: center; } }

.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero-v2-eyebrow .dot {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.hero-v2-eyebrow .text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
}

.hero-v2 h1 {
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
}
@media (min-width: 768px) { .hero-v2 h1 { font-size: 76px; } }
@media (min-width: 1280px) { .hero-v2 h1 { font-size: 96px; } }
.hero-v2 h1 .accent {
  color: var(--orizon-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-v2 h1 .strike {
  text-decoration: line-through;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--orizon-accent);
  color: var(--text-muted);
}
.hero-v2 h1 .underline {
  background-image: linear-gradient(to right, var(--orizon-accent), var(--orizon-accent));
  background-size: 100% 6px;
  background-position: 0 calc(100% - 4px);
  background-repeat: no-repeat;
  padding-bottom: 4px;
}

.hero-v2-sub {
  margin-top: 32px;
  max-width: 520px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.55;
}
.hero-v2-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-v2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-v2-meta .meta-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-v2-meta .meta-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}
.hero-v2-meta .meta-value {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.hero-v2-meta .meta-value .accent { color: var(--orizon-accent); }

/* Right column: live panel */
.live-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.live-panel-head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.live-panel-head .live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orizon-accent);
}
.live-panel-head .live-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--orizon-accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.live-panel-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }

.live-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.live-row:last-child { border-bottom: none; padding-bottom: 0; }
.live-row .l-label {
  font-size: 12.5px;
  color: var(--text-muted);
}
.live-row .l-value {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.live-row .l-value.accent { color: var(--orizon-accent); }

.live-chart {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.live-chart .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Big bg type */
.hero-v2-bg-mark {
  position: absolute;
  inset: auto 0 -80px 0;
  font-size: clamp(160px, 28vw, 380px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  text-align: center;
  z-index: 1;
  user-select: none;
}

/* ============ Manifesto strip ============ */
.manifesto {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.manifesto-compact {
  padding: 56px 0 64px;
}
.manifesto-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}
@media (min-width: 960px) {
  .manifesto-layout {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 170px);
    gap: clamp(36px, 6vw, 80px);
  }
}
.origin-note {
  max-width: 900px;
}
.origin-note .eyebrow-lime {
  margin-bottom: 20px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .manifesto-grid { grid-template-columns: 200px 1fr; gap: 64px; } }
.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  position: sticky;
  top: 100px;
}
.manifesto-quote {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 500;
}
@media (min-width: 768px) { .manifesto-quote { font-size: 38px; } }
@media (min-width: 1100px) { .manifesto-quote { font-size: 44px; } }
.manifesto-quote-humanized {
  max-width: 960px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.34;
}
@media (min-width: 768px) { .manifesto-quote-humanized { font-size: 30px; } }
@media (min-width: 1100px) { .manifesto-quote-humanized { font-size: 34px; } }
.manifesto-quote .accent { color: var(--orizon-accent); }
.manifesto-author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.manifesto-author .avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orizon-accent);
  font-weight: 600;
  font-size: 14px;
}
.manifesto-author .avatar-photo {
  overflow: hidden;
  padding: 0;
  background: var(--surface-elevated);
}
.manifesto-author .avatar-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 38%;
}
.manifesto-author .who { display: flex; flex-direction: column; }
.manifesto-author .name { font-size: 14px; font-weight: 600; color: #fff; }
.manifesto-author .title { font-size: 12px; color: var(--text-muted); }
.manifesto-logo {
  display: none;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.manifesto-logo img {
  width: clamp(118px, 13vw, 168px);
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.72;
}
@media (min-width: 960px) {
  .manifesto-logo {
    display: flex;
  }
}

/* ============ Numbers ledger ============ */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .ledger { grid-template-columns: repeat(4, 1fr); } }
.ledger-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 900px) {
  .ledger-cell { border-bottom: none; }
  .ledger-cell:last-child { border-right: none; }
}
@media (max-width: 899px) {
  .ledger-cell:nth-child(2n) { border-right: none; }
  .ledger-cell:nth-last-child(-n+2) { border-bottom: none; }
}
.ledger-num {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.ledger-num .pct { color: var(--orizon-accent); font-style: italic; font-weight: 400; }
.ledger-label {
  font-size: 12.5px;
  color: var(--text-muted-strong);
  line-height: 1.5;
  margin-top: 8px;
}
@media (max-width: 620px) {
  .ledger {
    grid-template-columns: 1fr;
  }
  .ledger-cell {
    min-width: 0;
    padding: 28px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .ledger-cell:nth-child(2n),
  .ledger-cell:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .ledger-cell:last-child {
    border-bottom: none;
  }
  .ledger-num {
    font-size: clamp(58px, 18vw, 78px);
    letter-spacing: -0.035em;
  }
  .ledger-label {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.45;
  }
}

/* ============ Service lab cards ============ */
.service-lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 820px) {
  .service-lab-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(440px, auto);
  }
  .service-lab-1,
  .service-lab-4 { grid-column: span 7; }
  .service-lab-2,
  .service-lab-3 { grid-column: span 5; }
}
.service-lab-card {
  --lens-x: 50%;
  --lens-y: 46%;
  --flow-duration: 26s;
  position: relative;
  display: flex;
  min-height: 440px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at 24% 12%, rgba(146,172,255,0.08), transparent 28%),
    linear-gradient(180deg, #191919, var(--surface) 58%);
  border: 1px solid var(--line);
  border-radius: 14px;
  isolation: isolate;
  transition: border-color var(--dur-lg) var(--ease), background var(--dur-lg) var(--ease), transform var(--dur-lg) var(--ease), box-shadow var(--dur-lg) var(--ease);
}
.service-lab-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(to top, transparent 4%, #000 50%, #000 100%);
  mask-image: linear-gradient(to top, transparent 4%, #000 50%, #000 100%);
  pointer-events: none;
}
.service-lab-card:hover {
  background: var(--surface-elevated);
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.26);
}
.service-lab-card:focus-visible {
  outline: 2px solid var(--orizon-accent);
  outline-offset: 4px;
}
.service-lab-card > .service-action-visual,
.service-lab-card > .service-checkout-visual,
.service-lab-card > .service-map-visual,
.service-lab-card > .service-ai-visual,
.service-lab-card > .service-scope-visual {
  position: absolute;
  inset: 10px 10px 152px;
  z-index: 1;
  min-height: 0;
  transition: transform var(--dur-lg) var(--ease), filter var(--dur-lg) var(--ease), opacity var(--dur-lg) var(--ease);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 22%, #000 100%);
}
.service-lab-card:hover > .service-action-visual,
.service-lab-card:hover > .service-checkout-visual,
.service-lab-card:hover > .service-map-visual,
.service-lab-card:hover > .service-ai-visual,
.service-lab-card:hover > .service-scope-visual {
  transform: scale(1.035);
  filter: saturate(1.1);
}
.service-lab-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  width: 100%;
  gap: 13px;
  min-height: 190px;
  padding: 54px 24px 22px;
  min-width: 0;
  background: linear-gradient(180deg, rgba(23,23,23,0), rgba(23,23,23,0.90) 32%, var(--surface) 68%);
}
.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.service-card-meta .num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(146,172,255,0.22);
  border-radius: 999px;
  background: rgba(146,172,255,0.07);
  color: var(--orizon-accent);
  letter-spacing: 0;
}
.service-lab-card h3 {
  max-width: 560px;
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.08;
}
.service-lab-card.is-feature h3 { font-size: 30px; }
.service-lab-card .desc {
  flex: 1;
  max-width: 620px;
  color: var(--text-muted-strong);
  font-size: 14px;
  line-height: 1.62;
}
.service-lab-card .footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.service-lab-card .footer-line span:first-child {
  min-width: 0;
}
.service-lab-card .footer-line .arrow {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-md) var(--ease);
}
.service-lab-card:hover .footer-line .arrow {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
.service-action-visual {
  --action-duration: 6.5s;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d0d0d, #080808);
  isolation: isolate;
}
.service-action-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 82%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 82%);
  opacity: 0.62;
}
.service-action-ambient {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -54px;
  z-index: 1;
  width: 190px;
  height: 92px;
  border-radius: 999px;
  background: var(--orizon-accent);
  filter: blur(72px);
  opacity: 0.14;
  transform: translateX(-50%);
}
.service-action-node {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 1px solid var(--orizon-accent-alpha-26);
  border-radius: 999px;
  background: rgba(146,172,255,0.12);
  animation: serviceActionNode var(--action-duration) infinite var(--ease);
}
.service-action-node::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, rgba(146,172,255,0.34), transparent);
}
.service-action-node.node-a { left: 19%; top: 30%; animation-delay: -1.8s; }
.service-action-node.node-b { right: 20%; top: 28%; animation-delay: -3.4s; }
.service-action-node.node-b::after { left: auto; right: 7px; background: linear-gradient(270deg, rgba(146,172,255,0.34), transparent); }
.service-action-node.node-c { left: 23%; bottom: 28%; animation-delay: -4.7s; }
.service-action-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 140px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018));
  box-shadow: 0 14px 38px rgba(0,0,0,0.58), inset 0 1px 0 rgba(255,255,255,0.04);
  animation: serviceActionCta var(--action-duration) infinite cubic-bezier(0.25, 1, 0.3, 1);
}
.service-action-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orizon-accent);
  box-shadow: 0 0 14px rgba(146,172,255,0.50);
}
.service-action-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-action-lines span {
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: rgba(244,246,239,0.28);
}
.service-action-lines span + span {
  width: 36px;
  opacity: 0.62;
}
.service-action-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 140px;
  height: 44px;
  border: 1px solid var(--orizon-accent);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  animation: serviceActionPulse var(--action-duration) infinite cubic-bezier(0.16, 1, 0.3, 1);
}
.service-action-cursor {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  width: 28px;
  height: 28px;
  color: var(--orizon-accent);
  filter: drop-shadow(0 5px 8px rgba(0,0,0,0.72)) drop-shadow(0 0 6px rgba(146,172,255,0.24));
  pointer-events: none;
  transform-origin: top left;
  animation: serviceActionCursor var(--action-duration) infinite cubic-bezier(0.25, 1, 0.3, 1);
}
.service-action-cursor svg {
  display: block;
}
.service-checkout-visual {
  --checkout-duration: 12s;
  --checkout-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --checkout-accent: var(--orizon-accent);
  --checkout-button-width: clamp(146px, 42%, 188px);
  --checkout-button-enter-y: 18px;
  --checkout-button-y: -50%;
  --checkout-cursor-button-y: -8px;
  --checkout-cursor-rest-y: 58px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d0d0d, #080808);
  isolation: isolate;
}
.service-checkout-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, #000 38%, transparent 82%);
  mask-image: radial-gradient(circle at center, #000 38%, transparent 82%);
  opacity: 0.66;
}
.service-checkout-ambient {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -58px;
  z-index: 1;
  width: 240px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(146,172,255,0.72), transparent 70%);
  filter: blur(62px);
  opacity: 0.13;
  transform: translateX(-50%);
  animation: checkoutLight 4s ease-in-out infinite alternate;
}
.service-checkout-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
}
.service-checkout-visual .checkout-product {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(82px, 20%, 104px);
  height: clamp(86px, 42%, 96px);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: 0 12px 32px rgba(0,0,0,0.56);
  backdrop-filter: blur(12px);
  animation: checkoutProduct var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-product-image {
  position: relative;
  width: 100%;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  background:
    radial-gradient(circle at 72% 24%, rgba(146,172,255,0.20), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.025));
}
.service-checkout-visual .checkout-product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  animation: checkoutShimmer 3.2s infinite;
}
.service-checkout-visual .checkout-product-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-checkout-visual .checkout-product-lines span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(244,246,239,0.22);
}
.service-checkout-visual .checkout-form {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(154px, 47%, 220px);
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: checkoutForm var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-field {
  position: relative;
  width: 100%;
  height: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.28);
}
.service-checkout-visual .checkout-field-fill {
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(244,246,239,0.25), rgba(244,246,239,0.48));
}
.service-checkout-visual .checkout-field-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  opacity: 0;
  background: var(--checkout-accent);
  box-shadow: 0 0 8px rgba(146,172,255,0.78);
}
.service-checkout-visual .checkout-fill-1 { animation: checkoutFill1 var(--checkout-duration) infinite ease-out; }
.service-checkout-visual .checkout-fill-1::after { animation: checkoutCaret1 var(--checkout-duration) infinite; }
.service-checkout-visual .checkout-fill-2 { animation: checkoutFill2 var(--checkout-duration) infinite ease-out; }
.service-checkout-visual .checkout-fill-2::after { animation: checkoutCaret2 var(--checkout-duration) infinite; }
.service-checkout-visual .checkout-fill-3 { animation: checkoutFill3 var(--checkout-duration) infinite ease-out; }
.service-checkout-visual .checkout-fill-3::after { animation: checkoutCaret3 var(--checkout-duration) infinite; }
.service-checkout-visual .checkout-button {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 10px 24px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  animation: checkoutButton var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-button-line {
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: rgba(244,246,239,0.32);
  animation: checkoutButtonLine var(--checkout-duration) infinite;
}
.service-checkout-visual .checkout-spinner {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0;
  transform-origin: center;
  animation: checkoutSpinnerFade var(--checkout-duration) infinite, checkoutSpin 0.8s linear infinite;
}
.service-checkout-visual .checkout-spinner circle {
  fill: none;
  stroke: var(--checkout-accent);
  stroke-width: 2.5;
  stroke-dasharray: 60;
  stroke-dashoffset: 20;
  stroke-linecap: round;
}
.service-checkout-visual .checkout-success {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.service-checkout-visual .checkout-success-bg {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.68);
  backdrop-filter: blur(8px);
  animation: checkoutSuccessBg var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-success-content {
  position: relative;
  z-index: 41;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-checkout-visual .checkout-success-circle {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--checkout-accent);
  border-radius: 999px;
  background: rgba(146,172,255,0.08);
  animation: checkoutSuccessCircle var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-success-check {
  width: 36px;
  height: 36px;
  color: var(--checkout-accent);
  filter: drop-shadow(0 0 8px rgba(146,172,255,0.58));
}
.service-checkout-visual .checkout-success-check path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkoutCheckDraw var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-success-line {
  display: block;
  border-radius: 999px;
}
.service-checkout-visual .checkout-success-line-1 {
  width: 100px;
  height: 8px;
  margin-top: 22px;
  background: var(--checkout-accent);
  box-shadow: 0 0 14px rgba(146,172,255,0.36);
  animation: checkoutSuccessText1 var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-success-line-2 {
  width: 60px;
  height: 4px;
  margin-top: 10px;
  background: rgba(244,246,239,0.38);
  animation: checkoutSuccessText2 var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-cursor-stage {
  z-index: 50;
}
.service-checkout-visual .checkout-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  color: var(--checkout-accent);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.80)) drop-shadow(0 0 5px rgba(146,172,255,0.34));
  pointer-events: none;
  transform-origin: 2px 2px;
  animation: checkoutCursor var(--checkout-duration) infinite var(--checkout-ease);
}
.service-checkout-visual .checkout-cursor svg {
  display: block;
}
.service-checkout-visual .checkout-click-ripple {
  position: absolute;
  top: -2px;
  left: -4px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--checkout-accent);
  border-radius: 999px;
  opacity: 0;
  animation: checkoutRipple var(--checkout-duration) infinite ease-out;
}
.service-map-visual {
  --map-duration: 15s;
  --map-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --map-accent: var(--orizon-accent);
  --map-overview-scale: 0.70;
  --map-focus-scale: 0.98;
  --map-overview-y: -10px;
  --map-api-pan-x: 78px;
  --map-api-pan-y: 26px;
  --map-arch-pan-x: 0px;
  --map-arch-pan-y: 54px;
  --map-data-pan-x: -78px;
  --map-data-pan-y: -12px;
  --map-ops-pan-x: 24px;
  --map-ops-pan-y: -52px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d0d0d, #080808);
  isolation: isolate;
}
.service-map-world {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 0;
  height: 0;
  transform-origin: center;
  animation: serviceMapCamera var(--map-duration) infinite var(--map-ease);
  will-change: transform;
}
.service-map-grid {
  position: absolute;
  top: -760px;
  left: -760px;
  width: 1520px;
  height: 1520px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at center, #000 9%, transparent 42%);
  mask-image: radial-gradient(circle at center, #000 9%, transparent 42%);
  pointer-events: none;
}
.service-system-map {
  position: absolute;
  top: -380px;
  left: -380px;
  width: 760px;
  height: 760px;
  overflow: visible;
}
.service-map-line-base line {
  fill: none;
  stroke: rgba(255,255,255,0.09);
  stroke-width: 1.5;
}
.service-map-line-flow line {
  fill: none;
  stroke: var(--map-accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 58;
  opacity: 0.74;
  filter: drop-shadow(0 0 4px rgba(146,172,255,0.34));
  animation: serviceMapFlow 3s linear infinite;
}
.service-map-line-flow .flow-reverse {
  animation-direction: reverse;
  animation-duration: 4s;
}
.service-map-line-flow .flow-fast {
  animation-duration: 2.2s;
}
.service-map-scanner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 1px dashed rgba(146,172,255,0.46);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  animation: serviceMapScanner var(--map-duration) infinite var(--map-ease);
}
.service-map-node {
  position: absolute;
  left: calc(var(--node-x) * 1px);
  top: calc(var(--node-y) * 1px);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background: rgba(5,5,5,0.82);
  box-shadow: 0 8px 18px rgba(0,0,0,0.48);
  color: rgba(244,246,239,0.58);
  backdrop-filter: blur(9px);
  transform: translate(-50%, -50%);
}
.service-map-node span {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(244,246,239,0.22);
}
.service-map-node b {
  color: currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.map-node-system { animation: serviceMapNode1 var(--map-duration) infinite var(--map-ease); }
.map-node-api { animation: serviceMapNode2 var(--map-duration) infinite var(--map-ease); }
.map-node-arch { animation: serviceMapNode3 var(--map-duration) infinite var(--map-ease); }
.map-node-data { animation: serviceMapNode4 var(--map-duration) infinite var(--map-ease); }
.map-node-ops { animation: serviceMapNode5 var(--map-duration) infinite var(--map-ease); }
.map-node-system span { animation: serviceMapDot1 var(--map-duration) infinite var(--map-ease); }
.map-node-api span { animation: serviceMapDot2 var(--map-duration) infinite var(--map-ease); }
.map-node-arch span { animation: serviceMapDot3 var(--map-duration) infinite var(--map-ease); }
.map-node-data span { animation: serviceMapDot4 var(--map-duration) infinite var(--map-ease); }
.map-node-ops span { animation: serviceMapDot5 var(--map-duration) infinite var(--map-ease); }
.service-map-vignette {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: radial-gradient(circle at center, transparent 36%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
}
.service-ai-visual {
  --ai-duration: 8s;
  --ai-accent: var(--orizon-accent);
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #0d0d0d, #080808);
  isolation: isolate;
}
.service-ai-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 82%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 82%);
  opacity: 0.52;
}
.service-ai-map {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}
.service-ai-link-base path,
.service-ai-link-flow path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.service-ai-link-base path {
  stroke: rgba(255,255,255,0.075);
  stroke-width: 1.2;
}
.service-ai-link-flow path {
  stroke: var(--ai-accent);
  stroke-width: 1.2;
  stroke-dasharray: 6 70;
  opacity: 0.48;
  filter: drop-shadow(0 0 3px rgba(146,172,255,0.22));
  animation: serviceAiLink 3.8s linear infinite;
}
.service-ai-link-flow .flow-fast { animation-duration: 3s; }
.service-ai-link-flow .flow-reverse {
  animation-direction: reverse;
  animation-duration: 4.4s;
}
.service-ai-node {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 132px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 999px;
  background: rgba(5,5,5,0.74);
  box-shadow: 0 8px 18px rgba(0,0,0,0.38);
  color: rgba(244,246,239,0.50);
  backdrop-filter: blur(9px);
  transform: translate(-50%, -50%);
}
.service-ai-node span {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(244,246,239,0.22);
}
.service-ai-node b {
  min-width: 0;
  overflow: hidden;
  color: currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.ai-node-lead {
  left: 18%;
  top: 50%;
  animation: serviceAiNodeIn var(--ai-duration) infinite var(--ease);
}
.ai-node-crm {
  left: 82%;
  top: 34%;
  animation: serviceAiNodeOut var(--ai-duration) infinite var(--ease);
}
.ai-node-whatsapp {
  left: 83%;
  top: 50%;
  animation: serviceAiNodeOut var(--ai-duration) infinite var(--ease);
  animation-delay: -5.1s;
}
.ai-node-report {
  left: 82%;
  top: 66%;
  animation: serviceAiNodeOut var(--ai-duration) infinite var(--ease);
  animation-delay: -3.1s;
}
.service-ai-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  width: clamp(94px, 22%, 116px);
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(146,172,255,0.30);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(146,172,255,0.045), rgba(255,255,255,0.018)),
    rgba(5,5,5,0.82);
  box-shadow: 0 0 20px rgba(146,172,255,0.11), 0 14px 34px rgba(0,0,0,0.48);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  animation: serviceAiCore var(--ai-duration) infinite var(--ease);
}
.service-ai-core::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(146,172,255,0.09);
  border-radius: 11px;
  pointer-events: none;
}
.service-ai-core span {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.service-ai-core i {
  position: relative;
  z-index: 1;
  display: block;
  width: 48%;
  height: 3px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244,246,239,0.16);
}
.service-ai-core i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--ai-accent), transparent);
  animation: serviceAiScan 1.8s linear infinite;
}
.service-ai-core small {
  position: relative;
  z-index: 1;
  color: rgba(244,246,239,0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.10em;
  line-height: 1.2;
  text-transform: uppercase;
}
.service-ai-packet {
  position: absolute;
  z-index: 6;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(146,172,255,0.56);
  border-radius: 999px;
  background: rgba(146,172,255,0.78);
  box-shadow: 0 0 10px rgba(146,172,255,0.34);
}
.service-ai-packet.packet-1 {
  animation: serviceAiPacket1 var(--ai-duration) infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.service-ai-packet.packet-2 {
  animation: serviceAiPacket2 var(--ai-duration) infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.service-scope-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(15,15,15,0.96), rgba(15,15,15,0) 22%, rgba(15,15,15,0) 78%, rgba(15,15,15,0.96)),
    var(--bg);
  isolation: isolate;
}
.service-scope-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.22;
}
.service-flow-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  z-index: 2;
}
.service-flow-base {
  opacity: 0.58;
}
.service-flow-focus {
  z-index: 4;
  clip-path: circle(58px at var(--lens-x) var(--lens-y));
}
.service-flow-row {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: serviceFlowLeft var(--flow-duration) linear infinite;
  will-change: transform;
}
.service-flow-row.is-reverse {
  animation-name: serviceFlowRight;
}
.service-flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.86);
  color: var(--text-muted-strong);
  font-size: 11px;
  line-height: 1;
}
.service-flow-chip span {
  width: 11px;
  height: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  position: relative;
}
.service-flow-chip span::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 1px;
  left: 2px;
  top: 4px;
  background: currentColor;
}
.service-flow-focus .service-flow-chip {
  background: #111;
  border-color: var(--orizon-accent-alpha-26);
  color: var(--orizon-accent);
  font-weight: 600;
}
.service-flow-focus .service-flow-chip span {
  border-color: var(--orizon-accent);
  color: var(--orizon-accent);
}
.service-lens {
  position: absolute;
  left: var(--lens-x);
  top: var(--lens-y);
  z-index: 6;
  width: 92px;
  height: 92px;
  pointer-events: none;
  opacity: 0.72;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-md) var(--ease);
}
.service-lens::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(244, 246, 239, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.service-lens::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 8px;
  right: -23px;
  bottom: 9px;
  border-radius: 999px;
  background: rgba(244, 246, 239, 0.82);
  transform: rotate(45deg);
  transform-origin: left center;
}
.service-lens span {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  border-top: 1px solid rgba(255,255,255,0.56);
  transform: rotate(-24deg);
}
.service-lab-card:hover .service-lens,
.service-lab-card:focus-visible .service-lens {
  opacity: 0.98;
}
.service-visual-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 7;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15,15,15,0.82);
  color: var(--text-muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
@keyframes serviceFlowLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@keyframes serviceFlowRight {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}
@keyframes serviceActionCta {
  0%, 5% {
    opacity: 0;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 14px 38px rgba(0,0,0,0.52);
    transform: translate(calc(-50% - 40px), -50%);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  30% {
    border-color: rgba(146,172,255,0.28);
    box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 20px rgba(146,172,255,0.10), inset 0 0 10px rgba(146,172,255,0.045);
    transform: translate(-50%, -50%) scale(1.02);
  }
  36% {
    border-color: var(--orizon-accent);
    box-shadow: 0 0 26px rgba(146,172,255,0.26), inset 0 0 16px rgba(146,172,255,0.09);
    transform: translate(-50%, -50%) scale(0.94, 0.90);
  }
  42% {
    border-color: rgba(146,172,255,0.48);
    box-shadow: 0 0 24px rgba(146,172,255,0.22);
    transform: translate(-50%, -50%) scale(1.04);
  }
  48%, 60% {
    opacity: 1;
    border-color: rgba(146,172,255,0.20);
    box-shadow: 0 0 14px rgba(146,172,255,0.10);
    transform: translate(-50%, -50%) scale(1);
  }
  72%, 100% {
    opacity: 0;
    transform: translate(calc(-50% - 80px), -50%) scale(0.9);
  }
}
@keyframes serviceActionCursor {
  0%, 10% {
    opacity: 0;
    transform: translate(100px, 88px) rotate(15deg);
  }
  20% { opacity: 1; }
  30% { transform: translate(10px, 8px) rotate(0deg); }
  36% { transform: translate(10px, 8px) scale(0.8) rotate(-5deg); }
  42%, 55% { transform: translate(10px, 8px) scale(1) rotate(0deg); }
  70%, 100% {
    opacity: 0;
    transform: translate(118px, -42px) rotate(10deg);
  }
}
@keyframes serviceActionPulse {
  0%, 35% {
    opacity: 0;
    border-width: 2px;
    transform: translate(-50%, -50%) scale(0.85);
  }
  36% {
    opacity: 1;
    border-width: 2px;
    transform: translate(-50%, -50%) scale(0.94);
  }
  55%, 100% {
    opacity: 0;
    border-width: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}
@keyframes serviceActionNode {
  0%, 100% { opacity: 0.24; transform: scale(0.92); }
  42% { opacity: 0.84; transform: scale(1.08); }
}
@keyframes checkoutLight {
  0% { opacity: 0.10; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.17; transform: translateX(-50%) scale(1.08); }
}
@keyframes checkoutShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes checkoutProduct {
  0%, 5% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.92) rotateX(10deg);
  }
  10%, 16% {
    opacity: 1;
    border-color: rgba(255,255,255,0.13);
    box-shadow: 0 12px 32px rgba(0,0,0,0.48);
    transform: translate(-50%, -50%) scale(1) rotateX(0deg);
  }
  18% {
    opacity: 1;
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 15px 40px rgba(0,0,0,0.62);
    transform: translate(-50%, -50%) scale(1.03);
  }
  20% {
    opacity: 1;
    border-color: var(--checkout-accent);
    box-shadow: 0 0 24px rgba(146,172,255,0.25);
    transform: translate(-50%, -50%) scale(0.94);
  }
  24% {
    opacity: 0;
    border-color: rgba(255,255,255,0.06);
    box-shadow: none;
    transform: translate(-50%, -50%) scale(0.82);
  }
  25%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
}
@keyframes checkoutForm {
  0%, 27% {
    opacity: 0;
    transform: translate(-50%, 18px) scale(0.96);
  }
  31%, 58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  62%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }
}
@keyframes checkoutFill1 {
  0%, 33% { width: 0%; }
  40%, 61% { width: 80%; }
  64%, 100% { width: 0%; }
}
@keyframes checkoutCaret1 {
  0%, 32% { opacity: 0; }
  34%, 39% { opacity: 1; }
  41%, 100% { opacity: 0; }
}
@keyframes checkoutFill2 {
  0%, 42% { width: 0%; }
  49%, 61% { width: 55%; }
  64%, 100% { width: 0%; }
}
@keyframes checkoutCaret2 {
  0%, 41% { opacity: 0; }
  43%, 48% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes checkoutFill3 {
  0%, 51% { width: 0%; }
  58%, 61% { width: 90%; }
  64%, 100% { width: 0%; }
}
@keyframes checkoutCaret3 {
  0%, 50% { opacity: 0; }
  52%, 57% { opacity: 1; }
  59%, 100% { opacity: 0; }
}
@keyframes checkoutButton {
  0%, 64% {
    width: var(--checkout-button-width);
    opacity: 0;
    border-color: rgba(255,255,255,0.13);
    transform: translate(-50%, var(--checkout-button-enter-y)) scale(0.9);
  }
  68% {
    width: var(--checkout-button-width);
    opacity: 1;
    border-color: rgba(255,255,255,0.13);
    box-shadow: 0 10px 24px rgba(0,0,0,0.46);
    transform: translate(-50%, var(--checkout-button-y)) scale(1);
  }
  72% {
    width: var(--checkout-button-width);
    border-color: rgba(255,255,255,0.28);
    transform: translate(-50%, var(--checkout-button-y)) scale(1.02);
  }
  74% {
    width: var(--checkout-button-width);
    border-color: var(--checkout-accent);
    box-shadow: 0 0 20px rgba(146,172,255,0.24);
    transform: translate(-50%, var(--checkout-button-y)) scale(0.95);
  }
  78%, 85% {
    width: 44px;
    opacity: 1;
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
    box-shadow: 0 5px 16px rgba(0,0,0,0.36);
    transform: translate(-50%, var(--checkout-button-y)) scale(1);
  }
  88%, 100% {
    width: 44px;
    opacity: 0;
    transform: translate(-50%, var(--checkout-button-y)) scale(0);
  }
}
@keyframes checkoutButtonLine {
  0%, 73% { opacity: 1; }
  76%, 100% { opacity: 0; }
}
@keyframes checkoutSpinnerFade {
  0%, 76% { opacity: 0; transform: scale(0.5); }
  78%, 85% { opacity: 1; transform: scale(1); }
  88%, 100% { opacity: 0; transform: scale(0.5); }
}
@keyframes checkoutSpin {
  to { rotate: 360deg; }
}
@keyframes checkoutSuccessBg {
  0%, 85% { opacity: 0; }
  88%, 96% { opacity: 1; }
  99%, 100% { opacity: 0; }
}
@keyframes checkoutSuccessCircle {
  0%, 86% {
    opacity: 0;
    box-shadow: none;
    transform: scale(0.5);
  }
  89% {
    opacity: 1;
    background: rgba(146,172,255,0.14);
    box-shadow: 0 0 48px rgba(146,172,255,0.42), inset 0 0 18px rgba(146,172,255,0.20);
    transform: scale(1.15);
  }
  92%, 96% {
    opacity: 1;
    background: rgba(146,172,255,0.08);
    box-shadow: 0 0 26px rgba(146,172,255,0.24), inset 0 0 10px rgba(146,172,255,0.12);
    transform: scale(1);
  }
  99%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes checkoutCheckDraw {
  0%, 89% { opacity: 0; stroke-dashoffset: 40; }
  90% { opacity: 1; stroke-dashoffset: 40; }
  93%, 96% { opacity: 1; stroke-dashoffset: 0; }
  99%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes checkoutSuccessText1 {
  0%, 90% { opacity: 0; transform: translateY(15px); }
  93%, 96% { opacity: 1; transform: translateY(0); }
  99%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes checkoutSuccessText2 {
  0%, 91% { opacity: 0; transform: translateY(15px); }
  94%, 96% { opacity: 1; transform: translateY(0); }
  99%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes checkoutCursor {
  0%, 6% { opacity: 0; transform: translate(110px, 100px) rotate(20deg); }
  12% { opacity: 1; transform: translate(14px, -8px) rotate(0deg); }
  20% { opacity: 1; transform: translate(14px, -8px) scale(0.85) rotate(-5deg); }
  23% { transform: translate(34px, 18px) scale(1) rotate(2deg); }
  31% { transform: translate(-70px, -22px) rotate(8deg); }
  40% { transform: translate(50px, -22px) rotate(-4deg); }
  43% { transform: translate(-70px, 2px) rotate(8deg); }
  49% { transform: translate(22px, 2px) rotate(-4deg); }
  52% { transform: translate(-70px, 26px) rotate(8deg); }
  58% { transform: translate(70px, 26px) rotate(-4deg); }
  65% { transform: translate(54px, 60px) rotate(8deg); }
  71% { transform: translate(5px, var(--checkout-cursor-button-y)) rotate(0deg); }
  74% { transform: translate(5px, var(--checkout-cursor-button-y)) scale(0.85) rotate(-5deg); }
  80% { transform: translate(50px, var(--checkout-cursor-rest-y)) scale(1) rotate(12deg); }
  87% { transform: translate(50px, var(--checkout-cursor-rest-y)) rotate(12deg); }
  91%, 96% { opacity: 1; transform: translate(30px, 16px) rotate(4deg); }
  99%, 100% { opacity: 0; transform: translate(150px, 130px) rotate(20deg); }
}
@keyframes checkoutRipple {
  0%, 19.9% { opacity: 0; transform: scale(0.2); }
  20% { opacity: 1; transform: scale(0.2); }
  23% { opacity: 0; border-width: 0; transform: scale(4); }
  73.9% { opacity: 0; transform: scale(0.2); }
  74% { opacity: 1; border-width: 2px; transform: scale(0.2); }
  77%, 100% { opacity: 0; border-width: 0; transform: scale(4); }
}
@keyframes serviceMapFlow {
  from { stroke-dashoffset: 128; }
  to { stroke-dashoffset: 0; }
}
@keyframes serviceMapCamera {
  0%, 4% { transform: scale(var(--map-overview-scale)) translate(0, var(--map-overview-y)); }
  10%, 17% { transform: scale(var(--map-focus-scale)) translate(0, 0); }
  25%, 32% { transform: scale(var(--map-focus-scale)) translate(var(--map-api-pan-x), var(--map-api-pan-y)); }
  40%, 47% { transform: scale(var(--map-focus-scale)) translate(var(--map-arch-pan-x), var(--map-arch-pan-y)); }
  55%, 62% { transform: scale(var(--map-focus-scale)) translate(var(--map-data-pan-x), var(--map-data-pan-y)); }
  70%, 77% { transform: scale(var(--map-focus-scale)) translate(var(--map-ops-pan-x), var(--map-ops-pan-y)); }
  88%, 100% { transform: scale(var(--map-overview-scale)) translate(0, var(--map-overview-y)); }
}
@keyframes serviceMapScanner {
  0%, 5% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  10%, 17% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  21% { opacity: 0; transform: translate(calc(-116px - 50%), calc(-38px - 50%)) scale(0.5); }
  25%, 32% { opacity: 1; transform: translate(calc(-116px - 50%), calc(-38px - 50%)) scale(1); }
  36% { opacity: 0; transform: translate(calc(0px - 50%), calc(-86px - 50%)) scale(0.5); }
  40%, 47% { opacity: 1; transform: translate(calc(0px - 50%), calc(-86px - 50%)) scale(1); }
  51% { opacity: 0; transform: translate(calc(116px - 50%), calc(16px - 50%)) scale(0.5); }
  55%, 62% { opacity: 1; transform: translate(calc(116px - 50%), calc(16px - 50%)) scale(1); }
  66% { opacity: 0; transform: translate(calc(-34px - 50%), calc(78px - 50%)) scale(0.5); }
  70%, 77% { opacity: 1; transform: translate(calc(-34px - 50%), calc(78px - 50%)) scale(1); }
  83%, 100% { opacity: 0; transform: translate(calc(-34px - 50%), calc(78px - 50%)) scale(1.8); }
}
@keyframes serviceMapNode1 {
  0%, 5%, 22%, 100% { border-color: rgba(255,255,255,0.09); box-shadow: 0 8px 18px rgba(0,0,0,0.48); color: rgba(244,246,239,0.58); }
  10%, 17% { border-color: var(--map-accent); box-shadow: 0 0 24px rgba(146,172,255,0.28), 0 8px 18px rgba(0,0,0,0.48); color: #fff; }
}
@keyframes serviceMapNode2 {
  0%, 20%, 37%, 100% { border-color: rgba(255,255,255,0.09); box-shadow: 0 8px 18px rgba(0,0,0,0.48); color: rgba(244,246,239,0.58); }
  25%, 32% { border-color: var(--map-accent); box-shadow: 0 0 24px rgba(146,172,255,0.28), 0 8px 18px rgba(0,0,0,0.48); color: #fff; }
}
@keyframes serviceMapNode3 {
  0%, 35%, 52%, 100% { border-color: rgba(255,255,255,0.09); box-shadow: 0 8px 18px rgba(0,0,0,0.48); color: rgba(244,246,239,0.58); }
  40%, 47% { border-color: var(--map-accent); box-shadow: 0 0 24px rgba(146,172,255,0.28), 0 8px 18px rgba(0,0,0,0.48); color: #fff; }
}
@keyframes serviceMapNode4 {
  0%, 50%, 67%, 100% { border-color: rgba(255,255,255,0.09); box-shadow: 0 8px 18px rgba(0,0,0,0.48); color: rgba(244,246,239,0.58); }
  55%, 62% { border-color: var(--map-accent); box-shadow: 0 0 24px rgba(146,172,255,0.28), 0 8px 18px rgba(0,0,0,0.48); color: #fff; }
}
@keyframes serviceMapNode5 {
  0%, 65%, 82%, 100% { border-color: rgba(255,255,255,0.09); box-shadow: 0 8px 18px rgba(0,0,0,0.48); color: rgba(244,246,239,0.58); }
  70%, 77% { border-color: var(--map-accent); box-shadow: 0 0 24px rgba(146,172,255,0.28), 0 8px 18px rgba(0,0,0,0.48); color: #fff; }
}
@keyframes serviceMapDot1 {
  10%, 17% { background: var(--map-accent); box-shadow: 0 0 8px rgba(146,172,255,0.80); }
}
@keyframes serviceMapDot2 {
  25%, 32% { background: var(--map-accent); box-shadow: 0 0 8px rgba(146,172,255,0.80); }
}
@keyframes serviceMapDot3 {
  40%, 47% { background: var(--map-accent); box-shadow: 0 0 8px rgba(146,172,255,0.80); }
}
@keyframes serviceMapDot4 {
  55%, 62% { background: var(--map-accent); box-shadow: 0 0 8px rgba(146,172,255,0.80); }
}
@keyframes serviceMapDot5 {
  70%, 77% { background: var(--map-accent); box-shadow: 0 0 8px rgba(146,172,255,0.80); }
}
@keyframes serviceAiLink {
  from { stroke-dashoffset: 130; }
  to { stroke-dashoffset: 0; }
}
@keyframes serviceAiNodeIn {
  0%, 18%, 100% { border-color: rgba(255,255,255,0.085); color: rgba(244,246,239,0.50); }
  28%, 42% { border-color: rgba(146,172,255,0.34); color: #fff; box-shadow: 0 0 14px rgba(146,172,255,0.12), 0 8px 18px rgba(0,0,0,0.38); }
}
@keyframes serviceAiNodeOut {
  0%, 48%, 100% { border-color: rgba(255,255,255,0.085); color: rgba(244,246,239,0.50); }
  62%, 78% { border-color: rgba(146,172,255,0.34); color: #fff; box-shadow: 0 0 14px rgba(146,172,255,0.12), 0 8px 18px rgba(0,0,0,0.38); }
}
@keyframes serviceAiCore {
  0%, 18%, 88%, 100% {
    border-color: rgba(146,172,255,0.22);
    box-shadow: 0 0 16px rgba(146,172,255,0.08), 0 14px 34px rgba(0,0,0,0.48);
  }
  34%, 70% {
    border-color: rgba(146,172,255,0.40);
    box-shadow: 0 0 22px rgba(146,172,255,0.14), 0 14px 34px rgba(0,0,0,0.48);
  }
}
@keyframes serviceAiScan {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}
@keyframes serviceAiPacket1 {
  0%, 10% { left: 18%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  28% { left: 34%; top: 50%; opacity: 0.86; transform: translate(-50%, -50%) scale(1); }
  46% { left: 50%; top: 50%; opacity: 0.86; transform: translate(-50%, -50%) scale(1); }
  56%, 100% { left: 50%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
@keyframes serviceAiPacket2 {
  0%, 42% { left: 50%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  58% { left: 63%; top: 50%; opacity: 0.78; transform: translate(-50%, -50%) scale(1); }
  78% { left: 83%; top: 50%; opacity: 0.78; transform: translate(-50%, -50%) scale(1); }
  90%, 100% { left: 83%; top: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
@media (max-width: 819px) {
  .service-lab-card {
    min-height: 430px;
  }
  .service-lab-card,
  .service-lab-card:hover {
    transform: none;
  }
  .service-lab-card > .service-action-visual,
  .service-lab-card > .service-checkout-visual,
  .service-lab-card > .service-map-visual,
  .service-lab-card > .service-ai-visual,
  .service-lab-card > .service-scope-visual {
    inset: 10px 10px 184px;
  }
  .service-lab-content {
    min-height: 220px;
    padding: 46px 18px 18px;
  }
  .service-lab-card.is-feature h3,
  .service-lab-card h3 {
    font-size: 24px;
  }
  .service-lab-card .footer-line {
    align-items: flex-end;
  }
  .service-lens {
    width: 78px;
    height: 78px;
  }
  .service-lens::after {
    width: 28px;
    right: -19px;
    bottom: 7px;
  }
  .service-flow-focus {
    clip-path: circle(49px at var(--lens-x) var(--lens-y));
  }
  .service-action-cta,
  .service-action-pulse {
    width: 124px;
    height: 40px;
  }
  .service-action-lines span {
    width: 48px;
  }
  .service-action-lines span + span {
    width: 30px;
  }
  .service-checkout-visual .checkout-product {
    width: 78px;
    height: 82px;
  }
  .service-checkout-visual .checkout-form {
    width: min(68%, 168px);
    gap: 11px;
  }
  .service-checkout-visual {
    --checkout-button-width: min(64%, 156px);
    --checkout-button-enter-y: 14px;
    --checkout-button-y: -50%;
    --checkout-cursor-button-y: -8px;
    --checkout-cursor-rest-y: 52px;
  }
  .service-checkout-visual .checkout-button {
    height: 40px;
  }
  .service-checkout-visual .checkout-success-circle {
    width: 64px;
    height: 64px;
  }
  .service-checkout-visual .checkout-success-check {
    width: 32px;
    height: 32px;
  }
  .service-map-visual {
    --map-overview-scale: 0.62;
    --map-focus-scale: 0.84;
    --map-api-pan-x: 58px;
    --map-api-pan-y: 20px;
    --map-arch-pan-y: 42px;
    --map-data-pan-x: -58px;
    --map-data-pan-y: -8px;
    --map-ops-pan-x: 18px;
    --map-ops-pan-y: -40px;
  }
  .service-map-node {
    gap: 6px;
    padding: 7px 10px;
  }
  .service-map-node b {
    font-size: 9px;
    letter-spacing: 0.10em;
  }
  .service-map-scanner {
    width: 42px;
    height: 42px;
  }
  .service-ai-node {
    gap: 5px;
    max-width: 104px;
    padding: 6px 8px;
  }
  .service-ai-node b {
    font-size: 8px;
    letter-spacing: 0.07em;
  }
  .service-ai-core {
    width: 92px;
    min-height: 60px;
    padding: 10px;
  }
  .service-ai-core span {
    font-size: 21px;
  }
  .service-ai-core small {
    font-size: 7.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-flow-row {
    animation: none;
    transform: translateX(0) !important;
  }
  .service-action-node,
  .service-action-cta,
  .service-action-cursor,
  .service-action-pulse,
  .service-checkout-ambient,
  .service-checkout-visual .checkout-product,
  .service-checkout-visual .checkout-product-image::after,
  .service-checkout-visual .checkout-form,
  .service-checkout-visual .checkout-field-fill,
  .service-checkout-visual .checkout-field-fill::after,
  .service-checkout-visual .checkout-button,
  .service-checkout-visual .checkout-button-line,
  .service-checkout-visual .checkout-spinner,
  .service-checkout-visual .checkout-success-bg,
  .service-checkout-visual .checkout-success-circle,
  .service-checkout-visual .checkout-success-check path,
  .service-checkout-visual .checkout-success-line,
  .service-checkout-visual .checkout-cursor,
  .service-checkout-visual .checkout-click-ripple,
  .service-map-world,
  .service-map-line-flow line,
  .service-map-scanner,
  .service-map-node,
  .service-map-node span,
  .service-ai-link-flow path,
  .service-ai-node,
  .service-ai-core,
  .service-ai-core i::after,
  .service-ai-packet {
    animation: none !important;
  }
  .service-action-cta {
    opacity: 1;
    border-color: rgba(146,172,255,0.42);
    box-shadow: 0 0 14px rgba(146,172,255,0.12);
    transform: translate(-50%, -50%);
  }
  .service-action-cursor,
  .service-action-pulse {
    display: none;
  }
  .service-checkout-visual .checkout-product {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  .service-checkout-visual .checkout-form {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }
  .service-checkout-visual .checkout-field:nth-child(1) .checkout-field-fill { width: 80%; }
  .service-checkout-visual .checkout-field:nth-child(2) .checkout-field-fill { width: 55%; }
  .service-checkout-visual .checkout-field:nth-child(3) .checkout-field-fill { width: 90%; }
  .service-checkout-visual .checkout-button {
    width: var(--checkout-button-width);
    opacity: 0;
    transform: translate(-50%, var(--checkout-button-y));
  }
  .service-checkout-visual .checkout-cursor {
    display: none;
  }
  .service-checkout-visual .checkout-success-bg,
  .service-checkout-visual .checkout-success-circle,
  .service-checkout-visual .checkout-success-check path,
  .service-checkout-visual .checkout-success-line {
    opacity: 1;
  }
  .service-checkout-visual .checkout-success-check path {
    stroke-dashoffset: 0;
  }
  .service-map-world {
    transform: scale(var(--map-overview-scale)) translate(0, var(--map-overview-y));
  }
  .service-map-scanner {
    display: none;
  }
  .service-ai-core {
    border-color: rgba(146,172,255,0.42);
    box-shadow: 0 0 20px rgba(146,172,255,0.14), 0 14px 34px rgba(0,0,0,0.54);
  }
  .service-ai-packet {
    display: none;
  }
  .service-lab-card {
    transition: border-color var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease);
  }
  .service-lab-card:hover {
    transform: none;
  }
}

/* ============ Featured products row (ADS + HubIA) ============ */
.products-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .products-row { grid-template-columns: 1fr 1fr; } }

.product-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-md) var(--ease);
}
a.product-tile {
  color: inherit;
  text-decoration: none;
}
.product-tile:hover { border-color: var(--orizon-accent); }
.product-tile:focus-visible {
  outline: 2px solid var(--orizon-accent);
  outline-offset: 4px;
}
.product-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-tile .pname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orizon-accent);
}
.product-tile .pversion {
  font-size: 10px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.product-tile h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.product-tile p {
  font-size: 14px;
  color: var(--text-muted-strong);
  line-height: 1.55;
}
.product-tile .preview {
  margin-top: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  min-height: 160px;
}

/* ============ Portfolio editorial index ============ */
.folio-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 1100px) {
  .folio-list { grid-template-columns: 1.4fr 1fr; gap: 0; }
}
.folio-rows {
  display: flex;
  flex-direction: column;
}
.folio-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding var(--dur-md) var(--ease), background var(--dur-md) var(--ease);
}
.folio-row:hover { padding-left: 12px; }
.folio-row .idx {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}
.folio-row .body { display: flex; flex-direction: column; gap: 4px; }
.folio-row h4 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  transition: color var(--dur-md) var(--ease);
}
.folio-row.active h4, .folio-row:hover h4 { color: var(--orizon-accent); }
.folio-row .meta {
  font-size: 12px;
  color: var(--text-muted);
}
.folio-row .meta .dot { margin: 0 6px; opacity: 0.5; }
.folio-row .arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur-md) var(--ease);
}
.folio-row:hover .arrow {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
.folio-preview {
  position: sticky;
  top: 100px;
  align-self: start;
  height: 460px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}
@media (max-width: 1099px) { .folio-preview { display: none; } }
.folio-preview-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

/* ============ Diferenciais: large numerals horizontal ============ */
.diffs-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .diffs-v2 { grid-template-columns: repeat(4, 1fr); } }
.diff-cell {
  padding: 36px 28px 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
@media (min-width: 900px) {
  .diff-cell { border-bottom: none; }
  .diff-cell:last-child { border-right: none; }
}
@media (max-width: 899px) {
  .diff-cell { border-right: none; }
  .diff-cell:last-child { border-bottom: none; }
}
.diff-cell .num {
  font-size: 80px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--orizon-accent);
  font-style: italic;
  font-weight: 400;
}
.diff-cell h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}
.diff-cell p {
  font-size: 13px;
  color: var(--text-muted-strong);
  line-height: 1.55;
  margin: 0;
}

/* ============ Featured testimonial ============ */
.testi-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .testi-feature { padding: 64px; } }
.testi-feature .quote-mark {
  font-size: 96px;
  line-height: 0.5;
  color: var(--orizon-accent);
  font-style: italic;
  margin-bottom: 20px;
}
.testi-feature .quote-text {
  font-size: 24px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 760px;
}
@media (min-width: 768px) { .testi-feature .quote-text { font-size: 32px; } }
.testi-feature .quote-author {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.testi-feature .quote-author .avatar {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ============ Section header v2 ============ */
.section-head-v2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 0;
  flex-wrap: wrap;
}
.section-head-v2 .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.section-head-v2 .num {
  font-size: 11px;
  font-family: inherit;
  font-weight: 700;
  color: var(--orizon-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head-v2 h2 {
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
@media (min-width: 768px) { .section-head-v2 h2 { font-size: 52px; } }
.section-head-v2 h2 .accent { color: var(--orizon-accent); font-style: italic; font-weight: 400; }
.section-head-v2 .right {
  font-size: 13px;
  color: var(--text-muted-strong);
  max-width: 320px;
  line-height: 1.55;
}

/* ============ Mini-testimonials grid ============ */
.testi-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 700px) { .testi-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
.testi-mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.testi-mini .stars { display: flex; gap: 2px; color: var(--orizon-accent); margin-bottom: 12px; font-size: 12px; }
.testi-mini p { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }
.testi-mini .who {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-mini .name { font-size: 12.5px; font-weight: 600; color: #fff; }
.testi-mini .meta { font-size: 11px; color: var(--text-muted); }

/* ============ FAQ single column ============ */
.faq-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) { .faq-single { grid-template-columns: 320px 1fr; gap: 80px; } }
.faq-single .left h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.faq-single .left p { color: var(--text-muted-strong); font-size: 14px; line-height: 1.55; }

/* ============ Drag cursor for carousels ============ */
.carousel-track { cursor: grab; }
.carousel-track:active { cursor: grabbing; }

/* prevent text selection during swipe */
.carousel-track.dragging { user-select: none; }

/* ============ Minimal hero ============ */
.hero-min {
  padding: 64px 0 76px 0;
  position: relative;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}
.hero-grid-pattern {
  position: absolute;
  inset: -30% 0;
  z-index: 0;
  height: 160%;
  pointer-events: none;
  opacity: 0.82;
  transform: skewY(12deg);
  transform-origin: center;
  background-image:
    linear-gradient(to right, rgba(245,245,240,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,245,240,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(520px circle at center, #000 0%, rgba(0,0,0,0.70) 42%, transparent 76%);
  mask-image: radial-gradient(520px circle at center, #000 0%, rgba(0,0,0,0.70) 42%, transparent 76%);
}
.hero-grid-pattern::before,
.hero-grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 210px 210px;
  mix-blend-mode: screen;
  animation: heroGridPulse 4.2s steps(1, end) infinite;
}
.hero-grid-pattern::before {
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, transparent 0 38px, rgba(146,172,255,0.42) 38px 40px, transparent 40px 100%),
    linear-gradient(0deg, transparent 0 38px, rgba(146,172,255,0.28) 38px 40px, transparent 40px 100%);
}
.hero-grid-pattern::after {
  opacity: 0.10;
  background-position: 84px 42px;
  background-image:
    linear-gradient(90deg, transparent 0 80px, rgba(245,245,240,0.24) 80px 82px, transparent 82px 100%),
    linear-gradient(0deg, transparent 0 80px, rgba(245,245,240,0.18) 80px 82px, transparent 82px 100%);
  animation-delay: -1.4s;
}
@keyframes heroGridPulse {
  0%, 100% {
    opacity: 0.04;
    transform: translate3d(0, 0, 0);
  }
  18% {
    opacity: 0.16;
    transform: translate3d(42px, 0, 0);
  }
  42% {
    opacity: 0.08;
    transform: translate3d(0, 42px, 0);
  }
  68% {
    opacity: 0.14;
    transform: translate3d(-42px, 42px, 0);
  }
}
@media (min-width: 768px) { .hero-min { padding: 70px 0 82px 0; } }
@media (min-width: 1100px) { .hero-min { min-height: min(760px, calc(100svh - 88px)); padding: 54px 0 68px 0; } }
.hero-min .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-min .reveal {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-min-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-min-h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  color: #fff;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .hero-min-h1 { font-size: 60px; } }
@media (min-width: 1100px) { .hero-min-h1 { font-size: 72px; } }
.hero-min-h1 .accent {
  color: var(--orizon-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-morph-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-morph-line {
  display: block;
}
.hero-morph-word {
  position: relative;
  display: inline-grid;
  min-height: 1.02em;
  color: var(--orizon-accent);
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(0 0 18px rgba(146,172,255,0.10));
}
.hero-morph-word.is-ready {
  min-width: var(--morph-width, 9ch);
}
.hero-morph-word .morph-layer,
.hero-morph-word .morph-sizer {
  grid-area: 1 / 1;
  display: inline-block;
}
.hero-morph-word .morph-sizer {
  visibility: hidden;
  pointer-events: none;
}
.hero-morph-word .morph-next {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(0.16em) scale(0.96);
}
.hero-morph-word.is-morphing .morph-current {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(-0.16em) scale(1.02);
  transition: opacity 520ms var(--ease), filter 520ms var(--ease), transform 520ms var(--ease);
}
.hero-morph-word.is-morphing .morph-next {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition: opacity 620ms var(--ease), filter 620ms var(--ease), transform 620ms var(--ease);
}
@media (max-width: 600px) {
  .hero-morph-heading {
    max-width: calc(100vw - 48px);
  }
  .hero-morph-word {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
  .hero-morph-word.is-ready {
    min-width: 0;
  }
  .hero-morph-word .morph-layer,
  .hero-morph-word .morph-sizer {
    width: 100%;
  }
}

/* =========================================================================
   DIEX v6: heros internas com identidade propria por pagina
   ========================================================================= */
.diex-page-hero.diex-agency-hero .diex-page-hero-inner,
.diex-page-hero.diex-services-hero .diex-page-hero-inner,
.diex-page-hero.diex-portfolio-hero .diex-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.78fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}

.diex-page-hero .diex-page-hero-visual {
  position: relative;
  min-height: clamp(310px, 30vw, 430px);
  border-radius: 10px;
  overflow: hidden;
}

.diex-page-hero.diex-agency-hero .diex-page-shape-main,
.diex-page-hero.diex-services-hero .diex-page-shape-main,
.diex-page-hero.diex-portfolio-hero .diex-page-shape-main {
  display: none;
}

.diex-page-hero .diex-page-hero-copy h1 {
  max-width: 12.5ch;
}

.diex-agency-hero-visual {
  display: grid;
  place-items: center;
  padding: clamp(20px, 2vw, 28px);
  background:
    linear-gradient(135deg, rgba(146, 172, 255, 0.28), rgba(146, 172, 255, 0.06) 42%, transparent),
    linear-gradient(135deg, #FDFCFF 0%, #EEF2FF 100%);
}

:root[data-theme="dark"] .diex-agency-hero-visual {
  background:
    radial-gradient(circle at 18% 16%, rgba(146, 172, 255, 0.25), transparent 34%),
    linear-gradient(135deg, #0E0929 0%, #02000F 100%);
}

.agency-ops-panel {
  width: min(100%, 390px);
  padding: 18px;
  border-radius: 14px;
  background: #FDFCFF;
  box-shadow: 0 28px 70px rgba(14, 9, 41, 0.16);
}

.agency-ops-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.agency-ops-head strong {
  color: #92ACFF;
  font-weight: 600;
}

.agency-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.agency-ops-grid div {
  min-height: 96px;
  padding: 14px;
  border-radius: 10px;
  background: #EEF2FF;
}

.agency-ops-grid span,
.service-orbit-card span,
.portfolio-proof-card span {
  display: block;
  color: #92ACFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agency-ops-grid strong {
  display: block;
  margin-top: 22px;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 24px;
  line-height: 1;
}

.agency-ops-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(210px, 45%);
  padding: 12px 14px;
  border-radius: 10px;
  background: #0E0929;
  color: #FDFCFF;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.diex-services-hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(circle at 20% 18%, rgba(253, 252, 255, 0.20), transparent 30%),
    linear-gradient(135deg, #92ACFF 0%, #6E82E7 35%, #0E0929 100%);
}

.service-orbit-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(132px, 12vw, 172px);
  padding: 18px;
  border-radius: 10px;
  background: rgba(253, 252, 255, 0.92);
}

.service-orbit-card.is-main {
  grid-row: span 2;
  min-height: 100%;
  background: #0E0929;
}

.service-orbit-card strong {
  margin-top: 10px;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 0.96;
}

.service-orbit-card.is-main strong {
  color: #FDFCFF;
}

.service-orbit-card small {
  margin-top: 8px;
  color: #716D88;
  font-size: 15px;
  font-weight: 600;
}

.service-orbit-card.is-main small {
  color: rgba(253, 252, 255, 0.72);
}

.diex-portfolio-hero-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  background:
    linear-gradient(135deg, rgba(14, 9, 41, 0.96), rgba(2, 0, 15, 1)),
    #0E0929;
}

.portfolio-proof-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(253, 252, 255, 0.08);
  border: 1px solid rgba(146, 172, 255, 0.18);
}

.portfolio-proof-card.is-large {
  grid-row: span 3;
  background: #FDFCFF;
}

.portfolio-proof-card strong {
  margin-top: 8px;
  color: #FDFCFF;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
}

.portfolio-proof-card.is-large span {
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(58px, 6vw, 86px);
  letter-spacing: 0;
  text-transform: none;
}

.portfolio-proof-card.is-large strong {
  color: #0E0929;
  font-size: clamp(28px, 3vw, 42px);
}

@media (max-width: 1023px) {
  .diex-page-hero.diex-agency-hero .diex-page-hero-inner,
  .diex-page-hero.diex-services-hero .diex-page-hero-inner,
  .diex-page-hero.diex-portfolio-hero .diex-page-hero-inner {
    grid-template-columns: 1fr;
  }

  .diex-page-hero .diex-page-hero-visual {
    min-height: 0;
  }

  .diex-agency-hero-visual,
  .diex-services-hero-visual,
  .diex-portfolio-hero-visual {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .diex-page-hero .diex-page-hero-copy h1 {
    max-width: 11.5ch;
  }

  .agency-ops-grid,
  .diex-services-hero-visual,
  .diex-portfolio-hero-visual {
    grid-template-columns: 1fr;
  }

  .agency-ops-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .service-orbit-card.is-main,
  .portfolio-proof-card.is-large {
    grid-row: auto;
  }
}
.hero-min-sub {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted-strong);
}
.hero-min-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.btn-link-min {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 14px 4px;
  transition: color var(--dur-md) var(--ease), gap var(--dur-md) var(--ease);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}
.btn-link-min:hover {
  color: var(--orizon-accent);
  gap: 12px;
  border-bottom-color: var(--orizon-accent);
}

@media (max-width: 767px) {
  .brand { min-width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-ready main,
  .brand-loader-wordmark,
  .brand-loader-line span {
    animation: none !important;
  }
  body.is-leaving main,
  body.is-leaving footer,
  .brand-loader {
    transition: none !important;
  }
}

/* ============ Folio visuals (inline → CSS) ============ */
.folio-visual { width: 100%; height: 100%; display: flex; flex-direction: column; }

.folio-movve {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  align-items: center;
  justify-content: center;
  position: relative;
}
.folio-movve .movve-glow {
  display: none;
}
.folio-movve .movve-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 32px;
  position: relative;
  text-align: center;
}
.folio-movve .movve-eyebrow {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.folio-movve .movve-num {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.folio-movve .movve-num span { color: var(--orizon-accent); }
.folio-movve .movve-meta {
  font-size: 12px;
  color: var(--orizon-accent);
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.folio-ads {
  background: #0a0a0a;
  padding: 24px;
  gap: 10px;
}
.folio-ads .ads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.folio-ads .ads-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.folio-ads .ads-card.lime {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
.folio-ads .ads-lbl {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.folio-ads .ads-card.lime .ads-lbl {
  color: var(--orizon-accent-ink);
  opacity: 0.65;
  font-weight: 700;
}
.folio-ads .ads-val {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}
.folio-ads .ads-card.lime .ads-val {
  color: var(--orizon-accent-ink);
  font-weight: 700;
}
.folio-ads .ads-chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  flex: 1;
}
.folio-ads .ads-chart .ads-lbl { margin-bottom: 8px; }
.folio-ads .ads-chart svg { width: 100%; height: 60px; }

.folio-hubia {
  background: #0a0a0a;
  padding: 24px;
  gap: 12px;
}
.folio-hubia .hubia-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.folio-hubia .hubia-card.hubia-output {
  background: var(--surface);
}
.folio-hubia .hubia-tag {
  font-size: 10px;
  color: var(--orizon-accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.folio-hubia .hubia-mono {
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
  line-height: 1.6;
}
.folio-hubia .hubia-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.folio-hubia .hubia-quote {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.folio-harmonia {
  background: linear-gradient(135deg, #2a1810, #050505);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.folio-harmonia .harmonia-name {
  font-size: 96px;
  font-weight: 700;
  color: #f4f6ef;
  letter-spacing: -0.06em;
  font-style: italic;
  line-height: 0.9;
  text-align: center;
}
.folio-harmonia .harmonia-meta {
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.folio-atheis {
  background: linear-gradient(135deg, #0a1f3d, #050d1f);
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.folio-atheis .atheis-name {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}
.folio-atheis .atheis-meta {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.folio-quri {
  background: linear-gradient(135deg, #2a1505, #050505);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.folio-quri .quri-name {
  font-size: 72px;
  font-weight: 700;
  color: #f4f6ef;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1;
}

/* Mini-testimonial avatar */
.testi-mini .mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Featured testimonial: author block */
.testi-feature .quote-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--surface-elevated);
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Footer cols list <a> reset */
.footer-cols ul li a { display: block; color: inherit; }
.footer-cols ul li:hover a { color: var(--orizon-accent); }

/* Brand link reset (anchor wrapper) */
a.brand { text-decoration: none; }
a.brand:hover { color: inherit; }

/* Nav links as anchors */
a.nav-link { text-decoration: none; }
a.nav-cta-mini { text-decoration: none; }

/* ============ Para Agências: case callout ============ */
.case-callout {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted-strong);
  flex-wrap: wrap;
}
.case-callout .case-tag {
  color: var(--orizon-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.case-callout .case-text { color: var(--text-soft); flex: 1; min-width: 240px; }
.case-callout .case-text strong { color: #fff; font-weight: 600; }
.case-callout .case-text strong.accent { color: var(--orizon-accent); }

/* ============ Para Agências: product visual cards ============ */
.product-visual-card {
  width: 90%;
  max-width: 460px;
  margin: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.product-visual-card .pv-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-visual-card .pv-eyebrow {
  font-size: 11px;
  color: var(--orizon-accent);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.product-visual-card .pv-pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ok);
  animation: pulse 1.6s ease-in-out infinite;
}
.product-visual-card .pv-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-visual-card .pv-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.product-visual-card .pv-cell.lime {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
.product-visual-card .pv-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.product-visual-card .pv-cell.lime .pv-lbl {
  color: var(--orizon-accent-ink);
  opacity: 0.7;
  font-weight: 600;
}
.product-visual-card .pv-val {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-top: 6px;
}
.product-visual-card .pv-cell.lime .pv-val {
  color: var(--orizon-accent-ink);
  font-weight: 700;
}
.product-visual-card .pv-chart {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.product-visual-card .pv-chart .pv-lbl { margin-bottom: 8px; }
.product-visual-card .pv-chart svg { width: 100%; height: 60px; }

/* HubIA stack visual */
.product-visual-card.hubia-stack {
  width: 90%;
  max-width: 440px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hub-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.hub-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hub-spark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--orizon-accent);
  color: var(--orizon-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-tag {
  font-size: 11px;
  color: var(--orizon-accent);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hub-mono {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: ui-monospace, monospace;
}
.hub-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.hub-quote {
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
  font-weight: 500;
}
.hub-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(146,172,255, 0.28);
  border-radius: 999px;
  font-size: 10px;
  color: var(--orizon-accent);
}

/* Team card visual */
.team-card {
  width: 90%;
  max-width: 460px;
  margin: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.team-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.team-row:first-of-type { border-top: none; }
.team-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--orizon-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.team-info { flex: 1; }
.team-role { font-size: 13px; color: #fff; font-weight: 500; }
.team-meta { font-size: 11px; color: var(--text-muted); }
.team-status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.team-status.active { color: var(--ok); }
.team-status.warn { color: var(--warn); }

/* Para Agências testimonial grid */
.ag-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .ag-testi-grid { grid-template-columns: repeat(3, 1fr); }
}
.ag-testi-grid .testimonial { width: 100%; }

/* ============ Serviços: service detail card ============ */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  min-width: 0;
}
.service-detail-card.highlight {
  border-color: rgba(146,172,255, 0.32);
}
.service-detail-card .hl-bar {
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--orizon-accent);
  border-radius: 0 0 999px 999px;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  min-width: 0;
}
@media (min-width: 900px) {
  .service-detail-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}
.sd-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.sd-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orizon-accent);
  flex-shrink: 0;
}
.sd-head h2 { font-size: 26px; }
.service-detail-card p {
  color: var(--text-muted-strong);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  overflow-wrap: break-word;
}
.sd-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.sd-mlbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sd-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sd-time {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.sd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sd-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.sd-list li::before {
  content: '+';
  color: var(--orizon-accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: -1px;
}
@media (max-width: 620px) {
  .services-detail-list {
    gap: 14px;
  }
  .service-detail-card {
    padding: 28px 22px;
    border-radius: 12px;
  }
  .service-detail-grid {
    gap: 30px;
  }
  .sd-head h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.08;
  }
  .service-detail-card p {
    font-size: 18px;
    line-height: 1.48;
  }
  .sd-meta {
    gap: 26px;
  }
  .sd-list {
    gap: 18px;
  }
  .sd-list li {
    font-size: 16px;
    line-height: 1.55;
  }
}

.generic-hero-actions {
  justify-content: center;
  margin-top: 30px;
}
.generic-section-grid {
  align-items: start;
}
@media (min-width: 900px) {
  .generic-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.generic-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .generic-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.generic-process-step {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.018);
}
.generic-process-step .num {
  display: block;
  margin-bottom: 18px;
  color: var(--orizon-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.generic-process-step h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.generic-process-step p {
  max-width: none;
  font-size: 13.5px;
}

/* ============ Portfólio grid ============ */
.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.portfolio-grid > * {
  min-width: 0;
}
@media (min-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Portfólio info block */
.pf-info {
  padding: 24px;
  border-top: 1px solid var(--line);
}
.pf-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.pf-row > div {
  min-width: 0;
}
.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.pf-year {
  font-size: 11px;
  color: var(--text-muted);
}
.portfolio-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.pf-client {
  font-size: 12px;
  color: var(--text-muted);
}
.pf-info p {
  font-size: 13.5px;
  color: var(--text-muted-strong);
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.pf-info .open {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--dur-md) var(--ease);
}
.portfolio-card:hover .pf-info .open {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
a.portfolio-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}
a.portfolio-card-link:focus-visible {
  outline: 2px solid var(--orizon-accent);
  outline-offset: 4px;
  border-radius: 14px;
}

/* Portfólio thumbs as folio visuals */
/* Cases: editorial proof grid */
.case-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.case-showcase-item {
  min-width: 0;
}
.case-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
    var(--surface);
}
.case-card:hover {
  border-color: rgba(146,172,255,0.32);
}
.case-card:hover .portfolio-thumb {
  transform: scale(1.015);
}
.case-media {
  min-width: 0;
  overflow: hidden;
  background: #090909;
}
.case-media .portfolio-thumb,
.case-media > img {
  width: 100%;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}
.case-media > img {
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.case-card.is-featured .case-media .portfolio-thumb,
.case-card.is-featured .case-media > img {
  aspect-ratio: 16/9;
  min-height: clamp(300px, 38vw, 470px);
}
.case-card.is-compact .case-media .portfolio-thumb,
.case-card.is-compact .case-media > img {
  aspect-ratio: 16/7.2;
  min-height: 190px;
}
.case-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.case-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.case-kicker span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(5,5,5,0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}
.case-kicker span:first-child {
  border-color: rgba(146,172,255,0.26);
  color: var(--orizon-accent);
}
.case-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.case-head > div {
  min-width: 0;
}
.case-head h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.case-card.is-compact .case-head h3 {
  font-size: clamp(22px, 2vw, 30px);
}
.case-client {
  color: var(--text-muted);
  font-size: 12px;
}
.case-body p {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted-strong);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.case-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.case-card.is-featured .case-proof-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.case-proof {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}
.case-proof strong {
  display: block;
  color: var(--orizon-accent);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}
.case-proof span {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}
.case-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color var(--dur-md) var(--ease);
}
.case-footer span:last-child {
  color: var(--orizon-accent);
}
.case-card:hover .case-footer {
  color: #fff;
}
.case-head .open {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--dur-md) var(--ease);
}
.case-card:hover .case-head .open {
  background: var(--orizon-accent);
  border-color: var(--orizon-accent);
  color: var(--orizon-accent-ink);
}
@media (min-width: 980px) {
  .case-showcase-home {
    grid-template-columns: repeat(24, minmax(0, 1fr));
    align-items: stretch;
  }
  .case-showcase-home .case-showcase-item {
    grid-column: span 12;
  }
  .case-showcase-home .case-showcase-item:nth-child(4n+1),
  .case-showcase-home .case-showcase-item:nth-child(4n+4) {
    grid-column: span 13;
  }
  .case-showcase-home .case-showcase-item:nth-child(4n+2),
  .case-showcase-home .case-showcase-item:nth-child(4n+3) {
    grid-column: span 11;
  }
  .case-showcase-home .case-card.is-compact .case-media .portfolio-thumb,
  .case-showcase-home .case-card.is-compact .case-media > img {
    aspect-ratio: 16/8;
    min-height: clamp(190px, 18vw, 245px);
  }
  .case-showcase-home .case-card.is-compact .case-body {
    min-height: 330px;
  }
  .case-showcase-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .case-showcase-archive .case-card.is-compact {
    min-height: 650px;
  }
  .case-showcase-archive .case-card.is-compact .case-media .portfolio-thumb,
  .case-showcase-archive .case-card.is-compact .case-media > img {
    aspect-ratio: 16/8.2;
    min-height: 230px;
  }
}
@media (max-width: 720px) {
  .case-showcase {
    gap: 14px;
  }
  .case-card.is-featured .case-media .portfolio-thumb,
  .case-card.is-featured .case-media > img,
  .case-card.is-compact .case-media .portfolio-thumb,
  .case-card.is-compact .case-media > img {
    min-height: 210px;
    aspect-ratio: 16/10;
  }
  .case-body {
    gap: 14px;
    padding: 20px;
  }
  .case-kicker span {
    min-height: 22px;
    padding: 0 8px;
    font-size: 8px;
    letter-spacing: 0.11em;
  }
  .case-head h3,
  .case-card.is-compact .case-head h3 {
    font-size: 26px;
    line-height: 1;
  }
  .case-proof-list,
  .case-card.is-featured .case-proof-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-proof {
    padding: 12px;
  }
  .case-footer {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

.portfolio-thumb.folio-movve,
.portfolio-thumb.folio-harmonia,
.portfolio-thumb.folio-atheis,
.portfolio-thumb.folio-quri,
.portfolio-thumb.folio-hubia,
.portfolio-thumb.folio-ads {
  position: relative;
}

/* ============ Contato: contact-channel as anchor ============ */
a.contact-channel { text-decoration: none; cursor: pointer; }
a.contact-channel:hover .value { color: var(--orizon-accent); }
.contact-channel:hover .icon {
  border-color: var(--orizon-accent);
}
.contact-channel .icon {
  transition: border-color var(--dur-md) var(--ease);
}

/* Contact form err empty state */
.field .err:empty { display: none; }

/* ============ Detail / article pages ============ */
.detail-hero {
  padding-bottom: 70px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted-strong);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 28px;
  transition: color var(--dur-md) var(--ease), gap var(--dur-md) var(--ease);
}
.back-link:hover {
  color: var(--orizon-accent);
  gap: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  min-width: 0;
}
@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
  }
}
.article-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.article-block {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  min-width: 0;
}
.article-block:first-child {
  border-top: none;
  padding-top: 0;
}
.article-block h2 {
  font-size: 28px;
  line-height: 1.12;
  margin-bottom: 14px;
}
.article-block h3 {
  font-size: 18px;
  margin: 20px 0 10px;
}
.article-block p {
  color: var(--text-muted-strong);
  font-size: 15px;
  line-height: 1.72;
  max-width: 740px;
  overflow-wrap: break-word;
}
.article-block p + p {
  margin-top: 14px;
}
.article-kicker {
  color: var(--orizon-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.detail-list li {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
}
.detail-list li::before {
  content: '+';
  color: var(--orizon-accent);
  font-weight: 700;
  flex-shrink: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 700px) {
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.metric-card .value {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.metric-card .value .accent {
  color: var(--orizon-accent);
}
.metric-card .label {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.service-scope-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.service-scope-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-scope-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 10px 12px;
  text-transform: uppercase;
}
.service-scope-duration {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.service-scope-duration span {
  color: var(--text-muted);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.service-scope-duration strong {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
@media (max-width: 620px) {
  .article-layout {
    gap: 32px;
  }
  .article-block h2 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .article-block p {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.6;
  }
}
@media (min-width: 980px) {
  .article-aside { position: sticky; top: 96px; }
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.aside-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}
.aside-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted-strong);
}
.aside-meta {
  display: grid;
  gap: 12px;
}
.aside-meta div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.aside-meta div:first-child {
  border-top: none;
  padding-top: 0;
}
.aside-meta span {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.aside-meta strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 4px;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.case-story-hero {
  padding-bottom: 34px;
}
.case-story-cover {
  padding: 0 0 34px;
}
.case-story-cover .portfolio-thumb,
.case-story-cover img {
  width: 100%;
  min-height: clamp(320px, 52vw, 620px);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.case-story-cover img {
  display: block;
  object-fit: cover;
}
.case-story-section {
  border-top: 1px solid var(--line);
}
.case-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.case-story-main {
  min-width: 0;
  display: grid;
  gap: 34px;
}
.case-story-intro,
.case-story-block {
  min-width: 0;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.case-story-intro p {
  max-width: 880px;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.case-story-block h2 {
  max-width: 780px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.case-story-block p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted-strong);
  font-size: 17px;
  line-height: 1.78;
}
.case-story-aside {
  display: grid;
  gap: 16px;
}
.case-aside-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), transparent),
    var(--surface);
}
.case-aside-panel h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
}
.case-aside-metrics {
  display: grid;
  gap: 10px;
}
.case-aside-metrics div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}
.case-aside-metrics strong {
  display: block;
  color: var(--orizon-accent);
  font-size: 26px;
  line-height: 1;
}
.case-aside-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}
.case-feedback {
  overflow: hidden;
}
.case-feedback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.case-feedback-actions form {
  margin: 0;
}
.case-feedback-button {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), opacity 180ms var(--ease);
}
.case-feedback-button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(146,172,255,0.5);
  background: rgba(255,255,255,0.08);
}
.case-feedback-button:disabled {
  cursor: default;
  opacity: 0.54;
}
.case-feedback-button.is-active {
  border-color: rgba(146,172,255,0.72);
  background: var(--orizon-accent);
  color: #080808;
  opacity: 1;
}
.case-feedback-icon {
  grid-column: 1 / -1;
  width: 28px;
  height: 28px;
}
.case-feedback-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.case-feedback-button strong {
  min-width: 28px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: inherit;
  font-size: 12px;
  text-align: center;
}
.case-feedback-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}
.case-feedback-note[hidden] {
  display: none;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.case-gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a0a0a;
  cursor: zoom-in;
}
.case-gallery-item:first-child {
  grid-column: 1 / -1;
}
.case-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 560ms var(--ease), filter 560ms var(--ease);
}
.case-gallery-item:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}
.case-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(12px);
}
.case-gallery-modal[hidden] {
  display: none;
}
.case-gallery-modal img {
  max-width: min(1120px, 94vw);
  max-height: 82vh;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.62);
}
.case-gallery-close {
  position: fixed;
  top: 22px;
  right: 22px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(12,12,12,0.82);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (min-width: 980px) {
  .case-story-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
  }
  .case-story-aside {
    position: sticky;
    top: 96px;
  }
}
@media (max-width: 720px) {
  .case-story-cover .portfolio-thumb,
  .case-story-cover img {
    min-height: 250px;
  }
  .case-story-block p {
    font-size: 15px;
    line-height: 1.7;
  }
  .case-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-gallery-modal {
    padding: 16px;
  }
}
.process-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.process-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.process-step .step-num {
  color: var(--orizon-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.process-step h3 {
  margin: 0 0 6px;
}
.process-step p {
  margin: 0;
  font-size: 13.5px;
}

/* ============ Case posts: editorial presentation ============ */
.case-story-hero {
  padding-bottom: 44px;
}

.case-story-hero h1 {
  max-width: 1040px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.case-post-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  width: min(100%, 1040px);
  max-width: 1040px;
  align-self: stretch;
}

.case-post-meta-strip span {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.3;
}

.case-post-meta-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orizon-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-post-cover-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(146,172,255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(146,172,255, 0.035) 0 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(0deg, rgba(146,172,255, 0.03) 0 1px, transparent 1px) 0 0 / 78px 78px,
    #080808;
}

.case-post-cover-frame .portfolio-thumb,
.case-post-cover-frame img {
  border: 0;
  border-radius: 0;
}

.case-post-cover-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: min(460px, calc(100% - 48px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 14px 18px;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(14px);
}

.case-post-cover-caption span {
  display: block;
  margin-bottom: 5px;
  color: var(--orizon-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-post-cover-caption strong {
  color: #fff;
  font-size: 15px;
}

.case-post-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.case-post-diagnosis-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(146,172,255, 0.18);
  border-radius: 28px;
  padding: 22px;
  background: #10140d;
}

.case-post-diagnosis-card span {
  color: var(--orizon-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-post-diagnosis-card strong {
  margin-top: 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1.08;
}

.case-post-diagnosis-card p {
  margin-top: 14px;
  color: var(--text-muted-strong);
  font-size: 14px;
  line-height: 1.55;
}

.case-story-block {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.case-story-number {
  position: sticky;
  top: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(146,172,255, 0.22);
  border-radius: 50%;
  color: var(--orizon-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.case-story-block-copy {
  min-width: 0;
}

.case-story-block h2 {
  font-weight: 500;
}

.case-story-block p {
  max-width: 820px;
}

.case-post-toc-links {
  display: grid;
  gap: 8px;
}

.case-post-toc-links a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 13px 7px 7px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.25;
}

.case-post-toc-links a:hover {
  border-color: rgba(146,172,255, 0.34);
  color: #fff;
}

.case-post-toc-links span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(146,172,255, 0.12);
  color: var(--orizon-accent);
  font-size: 10px;
  font-weight: 900;
}

.case-post-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(146,172,255, 0.2);
  border-radius: 30px;
  padding: 28px;
  background: #10140d;
}

.case-post-footer-cta h2 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.case-post-footer-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .case-post-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-post-intro {
    grid-template-columns: 1fr;
  }

  .case-story-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-story-number {
    position: static;
  }

  .case-post-footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .case-post-meta-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .case-post-meta-strip span {
    min-height: 86px;
    padding: 14px 12px;
    border-radius: 16px;
    justify-content: center;
  }

  .case-post-cover-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    border-radius: 18px;
  }
}

/* Diex service animation palette. */
:root {
  --service-visual-bg: #FDFCFF;
  --service-visual-bg-soft: #FDFCFF;
  --service-visual-ink: #0E0929;
  --service-visual-muted: rgba(14, 9, 41, 0.68);
  --service-visual-panel: rgba(146, 172, 255, 0.14);
  --service-visual-panel-strong: rgba(146, 172, 255, 0.22);
  --service-visual-line: rgba(95, 125, 255, 0.26);
  --service-visual-line-soft: rgba(95, 125, 255, 0.13);
  --service-visual-highlight: #3D5BFF;
  --service-visual-highlight-soft: rgba(95, 125, 255, 0.26);
  --service-visual-highlight-strong: rgba(61, 91, 255, 0.68);
  --service-visual-glass-border: rgba(95, 125, 255, 0.38);
  --service-visual-shadow: transparent;
}

:root[data-theme="dark"] {
  --service-visual-bg: #02000F;
  --service-visual-bg-soft: #02000F;
  --service-visual-ink: #FDFCFF;
  --service-visual-muted: rgba(253, 252, 255, 0.72);
  --service-visual-panel: rgba(146, 172, 255, 0.12);
  --service-visual-panel-strong: rgba(146, 172, 255, 0.20);
  --service-visual-line: rgba(146, 172, 255, 0.34);
  --service-visual-line-soft: rgba(146, 172, 255, 0.13);
  --service-visual-highlight: #92ACFF;
  --service-visual-highlight-soft: rgba(146, 172, 255, 0.25);
  --service-visual-highlight-strong: rgba(146, 172, 255, 0.72);
  --service-visual-glass-border: rgba(146, 172, 255, 0.44);
  --service-visual-shadow: transparent;
}

.service-lab-card {
  background: linear-gradient(180deg, #FDFCFF, var(--surface) 62%);
  border-color: var(--line);
  box-shadow: none;
}

:root[data-theme="dark"] .service-lab-card {
  background: linear-gradient(180deg, #02000F, var(--surface) 66%);
  box-shadow: none;
}

.service-lab-card:hover {
  background: var(--surface-elevated);
  border-color: var(--line-strong);
  box-shadow: none;
}

:root[data-theme="dark"] .service-lab-card:hover {
  box-shadow: none;
}

.service-lab-card::before {
  background-image:
    linear-gradient(to right, rgba(14, 9, 41, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 9, 41, 0.035) 1px, transparent 1px);
}

:root[data-theme="dark"] .service-lab-card::before {
  background-image:
    linear-gradient(to right, rgba(253, 252, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(253, 252, 255, 0.035) 1px, transparent 1px);
}

.service-lab-content {
  background: var(--surface);
}

:root[data-theme="dark"] .service-lab-content {
  background: var(--surface);
}

.service-action-visual,
.service-checkout-visual,
.service-map-visual,
.service-ai-visual,
.service-scope-visual {
  background: var(--service-visual-bg);
  background-color: var(--service-visual-bg);
  background-image: none;
  border-color: var(--service-visual-line);
  color: var(--service-visual-ink);
  -webkit-mask-image: none;
  mask-image: none;
}

.service-action-grid,
.service-checkout-grid,
.service-map-grid,
.service-ai-grid {
  background-image:
    linear-gradient(to right, var(--service-visual-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--service-visual-line-soft) 1px, transparent 1px);
}

.service-action-node,
.service-map-node span,
.service-ai-node span,
.service-ai-packet {
  background: var(--service-visual-highlight-soft);
  border-color: var(--service-visual-highlight-strong);
}

.service-action-node::after,
.service-action-node.node-b::after {
  background: linear-gradient(90deg, var(--service-visual-highlight-strong), transparent);
}

.service-action-node.node-b::after {
  background: linear-gradient(270deg, var(--service-visual-highlight-strong), transparent);
}

.service-action-cta,
.service-checkout-visual .checkout-product,
.service-checkout-visual .checkout-button,
.service-map-node,
.service-ai-node,
.service-ai-core {
  background: var(--service-visual-panel);
  border-color: var(--service-visual-glass-border);
  color: var(--service-visual-ink);
  box-shadow: none !important;
}

.service-action-lines span,
.service-checkout-visual .checkout-product-lines span,
.service-checkout-visual .checkout-button-line,
.service-checkout-visual .checkout-success-line-2,
.service-ai-core i {
  background: var(--service-visual-line);
}

.service-checkout-visual .checkout-product-image {
  background:
    radial-gradient(circle at 72% 24%, var(--service-visual-highlight-soft), transparent 24%),
    linear-gradient(135deg, var(--service-visual-panel-strong), var(--service-visual-panel));
}

.service-checkout-visual .checkout-field {
  border-color: var(--service-visual-line);
  background: var(--service-visual-panel);
}

.service-checkout-visual .checkout-field-fill {
  background: linear-gradient(90deg, var(--service-visual-line), var(--service-visual-highlight-strong));
}

.service-checkout-visual .checkout-success-bg {
  background: rgba(253, 252, 255, 0.82);
}

:root[data-theme="dark"] .service-checkout-visual .checkout-success-bg {
  background: rgba(2, 0, 15, 0.72);
}

.service-action-dot,
.service-checkout-visual .checkout-success-line-1 {
  background: var(--service-visual-highlight);
}

.service-action-dot,
.service-checkout-visual .checkout-success-line-1,
.service-ai-core i::after {
  box-shadow: 0 0 14px var(--service-visual-highlight-strong);
}

.service-map-line-base line,
.service-ai-link-base path {
  stroke: var(--service-visual-line);
}

.service-map-line-flow line,
.service-ai-link-flow path {
  stroke: var(--service-visual-highlight);
}

.service-map-node b,
.service-ai-node b,
.service-ai-core small,
.service-visual-label {
  color: var(--service-visual-muted);
}

.service-map-vignette {
  display: none;
}

.service-action-cta,
.service-action-dot,
.service-action-cursor,
.service-action-pulse,
.service-checkout-visual .checkout-product,
.service-checkout-visual .checkout-button,
.service-checkout-visual .checkout-field,
.service-checkout-visual .checkout-field-fill::after,
.service-checkout-visual .checkout-success-circle,
.service-checkout-visual .checkout-success-line,
.service-map-node,
.service-map-node span,
.service-ai-node,
.service-ai-node span,
.service-ai-core,
.service-ai-packet {
  box-shadow: none !important;
  filter: none;
}

.service-action-cta,
.service-action-pulse,
.service-checkout-visual .checkout-product,
.service-checkout-visual .checkout-button,
.service-checkout-visual .checkout-field,
.service-checkout-visual .checkout-success-circle,
.service-map-node,
.service-ai-node,
.service-ai-core {
  border-color: var(--service-visual-glass-border) !important;
}

.service-action-node,
.service-action-dot,
.service-map-node span,
.service-ai-node span,
.service-ai-packet,
.service-checkout-visual .checkout-field-fill::after {
  background: var(--service-visual-highlight-soft) !important;
  border-color: var(--service-visual-highlight-strong) !important;
}

/* Diex final contrast overrides. Keep this block last. */
:root,
:root body,
:root html,
:root[data-theme="dark"] body,
:root[data-theme="dark"] html {
  background: var(--bg);
  background-color: var(--bg);
  background-image: none;
}

:root body .hero-min-h1,
:root body .hero-v2 h1,
:root body .page-hero h1,
:root body .section-head-v2 h2,
:root body .manifesto-quote,
:root body .ledger-num,
:root body .bf-num,
:root body .pf-copy h3,
:root body .pf-title h3,
:root body .case-head h3,
:root body .diff-cell h4,
:root body .article-block h2,
:root body .aside-card h3,
:root body .contact-card h3,
:root body .case-post-title,
:root body .brand-loader-wordmark {
  color: var(--heading);
}

:root body .hero-min-sub,
:root body .manifesto-quote-humanized,
:root body .ledger-label,
:root body .section-head-v2 .right,
:root body .article-block p,
:root body .aside-meta,
:root body .contact-card p,
:root body .case-post-intro p {
  color: var(--text-soft);
}

:root body .hero-min-h1 .accent,
:root body .section-head-v2 h2 .accent,
:root body .manifesto-quote .accent,
:root body .ledger-num .pct,
:root body .bf-num .accent,
:root body .pf-copy .accent,
:root body .case-post-title .accent {
  color: var(--orizon-accent);
}

/* Figma implementation: DIEX header and first fold. */
.theme-asset-dark,
.theme-icon-dark {
  display: none;
}

:root[data-theme="dark"] .theme-asset-light,
:root[data-theme="dark"] .theme-icon-light {
  display: none;
}

:root[data-theme="dark"] .theme-asset-dark,
:root[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.diex-figma-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: clamp(64px, 5.48vw, 79px);
  background: #FDFCFF;
  border: 0;
  font-family: "Degular", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand-loader:has(+ .site-header.diex-figma-header),
body[data-screen-label="01 Home"] .brand-loader {
  display: none !important;
}

:root[data-theme="dark"] .diex-figma-header {
  background: #02000F;
}

.diex-figma-header.scrolled {
  background: #FDFCFF;
  border-bottom: 1px solid rgba(14, 9, 41, 0.08);
}

:root[data-theme="dark"] .diex-figma-header.scrolled {
  background: #02000F;
  border-bottom-color: rgba(146, 172, 255, 0.14);
}

.diex-figma-header .container {
  width: min(75.34vw, 1084px);
  max-width: none;
  height: 100%;
  padding: 0;
}

.diex-figma-header .nav {
  height: 100%;
  justify-content: flex-start;
  font-family: inherit;
}

.diex-figma-header .brand {
  min-width: 0;
  min-height: 0;
}

.diex-figma-header .brand-logo {
  width: clamp(46px, 3.67vw, 53px);
  max-height: none;
}

.diex-figma-header .nav-links {
  position: static;
  gap: clamp(14px, 1.3vw, 19px);
  margin-left: clamp(30px, 2.85vw, 41px);
  transform: none;
  font-family: inherit;
}

.diex-figma-header .nav-link {
  color: #0E0929;
  font-family: inherit;
  font-size: clamp(14px, 1.11vw, 16px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

:root[data-theme="dark"] .diex-figma-header .nav-link {
  color: #FDFCFF;
}

.diex-figma-header .nav-link:hover,
.diex-figma-header .nav-link:focus-visible,
.diex-figma-header .nav-link.active {
  color: #0E0929;
  outline: none;
}

:root[data-theme="dark"] .diex-figma-header .nav-link:hover,
:root[data-theme="dark"] .diex-figma-header .nav-link:focus-visible,
:root[data-theme="dark"] .diex-figma-header .nav-link.active {
  color: #FDFCFF;
}

.diex-figma-header .nav-actions {
  gap: clamp(10px, 1.04vw, 15px);
}

.diex-figma-header .theme-toggle {
  width: clamp(40px, 2.84vw, 41px);
  height: clamp(40px, 2.84vw, 41px);
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: #0E0929;
  box-shadow: none;
}

:root[data-theme="dark"] .diex-figma-header .theme-toggle {
  background: #FDFCFF;
}

.diex-figma-header .theme-toggle:hover,
.diex-figma-header .theme-toggle:focus-visible {
  border: 0;
  transform: none;
}

.diex-figma-header .theme-icon {
  width: 14px;
  height: 14px;
}

.diex-header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(154px, 11.88vw, 171px);
  height: clamp(40px, 2.84vw, 41px);
  border-radius: 10px;
  background: #92ACFF;
  color: #FDFCFF;
  font-family: inherit;
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transition: background var(--dur-md) var(--ease), color var(--dur-md) var(--ease);
}

.diex-header-contact:hover,
.diex-header-contact:focus-visible {
  background: #5F7DFF;
  color: #FDFCFF;
  outline: none;
}

.diex-figma-hero {
  position: relative;
  min-height: min(43.25vw, 622px);
  overflow: hidden;
  background: #FDFCFF;
}

:root[data-theme="dark"] .diex-figma-hero {
  background: #02000F;
}

.diex-hero-inner {
  position: relative;
  z-index: 2;
  width: min(75.34vw, 1084px);
  min-height: min(43.25vw, 622px);
  margin: 0 auto;
}

.diex-hero-copy {
  position: absolute;
  top: 13.35%;
  left: 0;
  z-index: 4;
  width: 50.1%;
  font-family: "Degular", "Poppins", sans-serif;
}

.diex-hero-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(32px, 2.64vw, 38px);
  padding: 0 clamp(24px, 2.43vw, 35px);
  border-radius: 10px;
  background: #0E0929;
  color: #FDFCFF;
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

:root[data-theme="dark"] .diex-hero-proof {
  background: #92ACFF;
  color: #FDFCFF;
}

.diex-hero-copy h1 {
  margin: clamp(21px, 2.01vw, 29px) 0 0;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(40px, 3.96vw, 57px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.94;
}

:root[data-theme="dark"] .diex-hero-copy h1 {
  color: #FDFCFF;
}

.diex-hero-copy h1 span {
  display: block;
}

.diex-hero-copy p {
  width: min(100%, 407px);
  margin: clamp(12px, 1.04vw, 15px) 0 0;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(17px, 1.39vw, 20px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.34;
}

:root[data-theme="dark"] .diex-hero-copy p {
  color: #FDFCFF;
}

.diex-hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.97vw, 14px);
  margin-top: clamp(22px, 2.08vw, 30px);
}

.diex-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(40px, 3.19vw, 46px);
  border-radius: 10px;
  padding: 0 clamp(20px, 2.22vw, 32px);
  color: #FDFCFF;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-md) var(--ease), color var(--dur-md) var(--ease);
}

.diex-hero-button-primary {
  background: #0E0929;
}

.diex-hero-button-secondary {
  background: #92ACFF;
}

:root[data-theme="dark"] .diex-hero-button-primary {
  background: #FDFCFF;
  color: #0E0929;
}

:root[data-theme="dark"] .diex-hero-button-secondary {
  background: #92ACFF;
  color: #FDFCFF;
}

.diex-hero-button:hover,
.diex-hero-button:focus-visible {
  background: #5F7DFF;
  color: #FDFCFF;
  outline: none;
}

.diex-hero-dashboard {
  position: absolute;
  top: 20.36%;
  left: 51.32%;
  z-index: 3;
  width: 48.85%;
  aspect-ratio: 750.35 / 522.4;
}

.diex-hero-dashboard img {
  position: absolute;
  max-width: none;
}

.diex-dashboard-side {
  top: 0;
  left: 0;
  width: 15.5%;
  height: 100%;
}

.diex-dashboard-overview {
  top: 0;
  left: 17.51%;
  width: 82.49%;
  height: 71.4%;
}

.diex-dashboard-counter {
  right: 0;
  bottom: 0;
  width: 82.49%;
  height: 26.61%;
}

.diex-hero-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.diex-hero-shape {
  position: absolute;
  max-width: none;
}

.diex-hero-shape-main {
  top: min(2.25vw, 32px);
  left: calc(50% - min(2.71vw, 39px));
  width: min(42.12vw, 607px);
}

.diex-hero-shape-dot {
  top: min(17.15vw, 247px);
  left: calc(50% + min(11.39vw, 164px));
  width: min(8.4vw, 121px);
}

.diex-hero-shape-top {
  top: min(2.25vw, 32px);
  left: calc(50% + min(38.13vw, 549px));
  width: min(15.35vw, 221px);
}

.diex-hero-shape-bottom {
  top: min(25.83vw, 372px);
  left: calc(50% + min(38.13vw, 549px));
  width: min(15.35vw, 221px);
}

@media (max-width: 1023px) {
  .diex-figma-header {
    height: 72px;
  }

  .diex-figma-header .container {
    width: calc(100% - 32px);
  }

  .diex-figma-header .brand-logo {
    width: 50px;
  }

  .diex-figma-header .nav-links,
  .diex-header-contact {
    display: none;
  }

  .diex-figma-header .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .diex-figma-hero {
    min-height: 0;
    padding: 108px 0 72px;
  }

  .diex-hero-inner {
    display: flex;
    width: calc(100% - 48px);
    min-height: 0;
    flex-direction: column;
  }

  .diex-hero-copy,
  .diex-hero-dashboard {
    position: relative;
    top: auto;
    left: auto;
  }

  .diex-hero-copy {
    width: min(100%, 620px);
  }

  .diex-hero-copy h1 {
    font-size: clamp(48px, 7.2vw, 62px);
  }

  .diex-hero-copy p {
    width: min(100%, 520px);
    font-size: 20px;
  }

  .diex-hero-dashboard {
    width: min(100%, 680px);
    margin: 68px auto 0;
  }

  .diex-hero-shape-main {
    top: auto;
    bottom: 34px;
    left: 50%;
    width: min(112vw, 760px);
    transform: translateX(-45%);
  }

  .diex-hero-shape-dot,
  .diex-hero-shape-top,
  .diex-hero-shape-bottom,
  :root[data-theme="dark"] .diex-hero-shape-dot,
  :root[data-theme="dark"] .diex-hero-shape-top,
  :root[data-theme="dark"] .diex-hero-shape-bottom {
    display: none;
  }
}

@media (max-width: 600px) {
  .diex-figma-hero {
    padding: 144px 0 70px;
  }

  .diex-hero-inner {
    width: calc(100% - 32px);
  }

  .diex-hero-proof {
    min-height: 36px;
    max-width: 100%;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .diex-hero-copy h1 {
    margin-top: 44px;
    font-size: clamp(52px, 14.5vw, 62px);
    line-height: 0.95;
  }

  .diex-hero-copy p {
    margin-top: 34px;
    font-size: 20px;
    line-height: 1.36;
  }

  .diex-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 54px;
  }

  .diex-hero-button {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
  }

  .diex-hero-dashboard {
    margin-top: 80px;
  }

  .diex-hero-shape-main {
    bottom: 18px;
    width: 145vw;
  }
}

/* Figma implementation: DIEX second fold contact form. */
.diex-contact-fold {
  background: #FDFCFF;
  color: #0E0929;
  padding: clamp(58px, 5.21vw, 75px) 0 clamp(68px, 5.63vw, 81px);
}

:root[data-theme="dark"] .diex-contact-fold {
  background: #02000F;
  color: #FDFCFF;
}

.diex-contact-inner {
  display: grid;
  grid-template-columns: 35.58% 57.51%;
  gap: 6.91%;
  width: min(75.34vw, 1084px);
  margin: 0 auto;
}

.diex-contact-copy {
  padding-top: clamp(20px, 1.62vw, 23px);
  font-family: "Degular", "Poppins", sans-serif;
}

.diex-contact-copy h2 {
  margin: 0;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(34px, 2.78vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.06;
}

:root[data-theme="dark"] .diex-contact-copy h2 {
  color: #FDFCFF;
}

.diex-contact-copy p {
  margin: clamp(10px, 0.77vw, 11px) 0 0;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(15px, 1.18vw, 17px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.33;
}

:root[data-theme="dark"] .diex-contact-copy p {
  color: #FDFCFF;
}

.diex-contact-steps {
  display: grid;
  gap: clamp(20px, 2.08vw, 30px);
  margin-top: clamp(22px, 2.08vw, 30px);
}

.diex-contact-step {
  display: grid;
  grid-template-columns: clamp(40px, 2.78vw, 40px) minmax(0, 1fr);
  gap: clamp(17px, 1.25vw, 18px);
  align-items: start;
  min-height: clamp(54px, 3.75vw, 54px);
  font-family: "Degular", "Poppins", sans-serif;
}

.diex-contact-step-icon {
  display: grid;
  place-items: center;
  width: clamp(40px, 2.78vw, 40px);
  height: clamp(40px, 2.78vw, 40px);
  border: 2px solid #92ACFF;
  border-radius: 10px;
  background: #ADBDFF;
}

.diex-contact-step-icon img {
  width: 20px;
  height: 20px;
}

.diex-contact-step strong,
.diex-contact-step small {
  display: block;
  color: #0E0929;
  letter-spacing: 0;
}

:root[data-theme="dark"] .diex-contact-step strong,
:root[data-theme="dark"] .diex-contact-step small {
  color: #FDFCFF;
}

.diex-contact-step strong {
  font-size: clamp(18px, 1.39vw, 20px);
  font-weight: 600;
  line-height: 1.06;
}

.diex-contact-step small {
  margin-top: 5px;
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 500;
  line-height: 1.32;
}

.diex-contact-form {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: min(43.06vw, 620px);
  padding: clamp(52px, 3.96vw, 57px);
  border-radius: 10px;
  background: #F2F4FF;
  font-family: "Degular", "Poppins", sans-serif;
}

.diex-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(56px, 4.51vw, 65px);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.71);
  overflow: hidden;
}

.diex-field > span:not(.diex-phone-prefix) {
  position: absolute;
  left: clamp(23px, 1.74vw, 25px);
  z-index: 1;
  color: rgba(0, 0, 0, 0.71);
  font-size: clamp(17px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.32;
  pointer-events: none;
}

.diex-field input,
.diex-field select {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: inherit;
  border: 0;
  background: transparent;
  color: #0E0929;
  font: inherit;
  opacity: 1;
  outline: none;
  padding: 0 24px;
}

.diex-phone-prefix select {
  width: 48px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(15px, 1.1vw, 16px);
  font-weight: 600;
  opacity: 1;
  outline: none;
  appearance: none;
}

.diex-field.is-filled > span:not(.diex-phone-prefix),
.diex-field:focus-within > span:not(.diex-phone-prefix) {
  opacity: 0;
}

.diex-phone-field > span:not(.diex-phone-prefix) {
  left: clamp(85px, 5.91vw, 85px);
}

.diex-phone-field input {
  padding-left: clamp(108px, 8.6vw, 124px);
}

.diex-phone-prefix {
  position: absolute;
  left: clamp(23px, 1.74vw, 25px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.diex-phone-prefix img:first-child {
  width: 27px;
  height: 27px;
}

.diex-select-field::after {
  content: "";
  position: absolute;
  right: clamp(22px, 1.74vw, 25px);
  width: 13px;
  height: 13px;
  border-right: 2px solid rgba(14, 9, 41, 0.55);
  border-bottom: 2px solid rgba(14, 9, 41, 0.55);
  transform: rotate(45deg) translateY(-3px);
  pointer-events: none;
}

.diex-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(56px, 4.51vw, 65px);
  border: 0;
  border-radius: 10px;
  background: #0E0929;
  color: #FDFCFF;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(17px, 1.25vw, 18px);
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

.diex-contact-submit:hover,
.diex-contact-submit:focus-visible {
  background: #5F7DFF;
  outline: none;
}

.diex-form-status {
  min-height: 20px;
  margin: 2px 0 0;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .diex-hero-shape-main {
    top: 390px;
    bottom: auto;
    left: 50%;
    width: min(128vw, 760px);
    transform: translateX(-28%);
  }

  .diex-contact-fold {
    padding: 64px 0;
  }

  .diex-contact-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    width: calc(100% - 48px);
  }

  .diex-contact-copy {
    padding-top: 0;
  }

  .diex-contact-copy h2 {
    max-width: 720px;
    font-size: clamp(42px, 7vw, 58px);
  }

  .diex-contact-copy p {
    max-width: 620px;
    font-size: 20px;
  }

  .diex-contact-steps {
    max-width: 620px;
    gap: 24px;
  }

  .diex-contact-form {
    width: min(100%, 680px);
    min-height: 0;
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .diex-hero-shape-main {
    top: 460px;
    left: 30%;
    width: 165vw;
    transform: translateX(-20%);
  }

  .diex-contact-fold {
    padding: 54px 0;
  }

  .diex-contact-inner {
    width: calc(100% - 32px);
    gap: 34px;
  }

  .diex-contact-copy h2 {
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .diex-contact-copy p {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.32;
  }

  .diex-contact-steps {
    gap: 22px;
    margin-top: 30px;
  }

  .diex-contact-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .diex-contact-step-icon {
    width: 42px;
    height: 42px;
  }

  .diex-contact-step strong {
    font-size: 22px;
  }

  .diex-contact-step small {
    font-size: 17px;
  }

  .diex-contact-form {
    gap: 9px;
    padding: 24px;
    border-radius: 10px;
  }

  .diex-field,
  .diex-contact-submit {
    min-height: 56px;
  }

  .diex-field > span:not(.diex-phone-prefix),
  .diex-contact-submit {
    font-size: 16px;
  }

  .diex-field > span:not(.diex-phone-prefix) {
    left: 18px;
  }

  .diex-phone-field > span:not(.diex-phone-prefix) {
    left: 72px;
  }

  .diex-phone-prefix {
    left: 18px;
    gap: 7px;
  }
}

.diex-figma-hero + .marquee,
.diex-final-cta ~ section {
  display: none !important;
}

.diex-figma-section {
  position: relative;
  overflow: hidden;
  background: #FDFCFF;
  color: #0E0929;
}

:root[data-theme="dark"] .diex-figma-section {
  background: #02000F;
  color: #FDFCFF;
}

.diex-figma-inner {
  width: min(75.34vw, 1084px);
  margin: 0 auto;
}

.diex-services-section .diex-figma-inner,
.diex-content-block .diex-figma-inner,
.diex-final-cta .diex-figma-inner {
  width: min(75.34vw, 1084px);
}

.diex-benefits-section {
  padding: clamp(82px, 7.5vw, 108px) 0 clamp(70px, 5.97vw, 86px);
}

.diex-benefits-responsive {
  display: none;
}

.diex-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.diex-figma-composite {
  position: relative;
  width: 100%;
}

.diex-figma-composite img {
  width: 100%;
  height: auto;
  max-width: none;
  vertical-align: top;
}

.diex-benefits-copy h2,
.diex-content-block h2,
.diex-final-cta h2 {
  margin: 0;
  color: currentColor;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(46px, 3.65vw, 53px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.96;
}

.diex-benefits-list {
  display: grid;
  gap: clamp(22px, 2.08vw, 30px);
  margin-top: clamp(34px, 3.54vw, 51px);
}

.diex-benefits-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  border-radius: 10px;
  background: #FDFCFF;
  padding: 22px 26px;
  color: #0E0929;
  font-family: "Bricolage Grotesque", "Degular", sans-serif;
  font-size: clamp(15px, 1.32vw, 19px);
  font-weight: 600;
  line-height: 1.33;
}

.diex-benefits-list img {
  width: 42px;
  height: 42px;
}

.diex-benefits-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.diex-benefit-photo,
.diex-benefit-card {
  min-height: clamp(230px, 18.75vw, 270px);
  border-radius: 10px;
  background: #FDFCFF;
  overflow: hidden;
}

.diex-benefit-photo {
  margin: 0;
}

:root[data-theme="dark"] .diex-benefit-photo,
:root[data-theme="dark"] .diex-benefit-card {
  background: #FDFCFF;
}

.diex-benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diex-benefit-card {
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: #0E0929;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(28px, 2.4vw, 35px);
  font-weight: 500;
  line-height: 0.98;
}

:root[data-theme="dark"] .diex-benefit-card {
  color: #0E0929;
}

.diex-benefit-card strong {
  display: block;
  color: #92ACFF;
  font-weight: 600;
}

.diex-services-section {
  padding: clamp(62px, 5.1vw, 82px) 0 clamp(84px, 7.2vw, 116px);
}

.diex-services-button,
.diex-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 10px;
  background: #92ACFF;
  color: #FDFCFF;
  padding: 0 42px;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.diex-services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2vw, 32px);
  align-items: start;
}

.diex-services-grid article {
  display: block;
  min-height: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

:root[data-theme="dark"] .diex-services-grid article {
  background: transparent;
}

.diex-service-figma-card:nth-child(2) {
  margin-top: 0;
}

.diex-services-portfolio-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(70px, 6.05vw, 80px);
  margin-bottom: clamp(18px, 1.78vw, 24px);
  border-radius: 10px;
  background: #92ACFF;
  color: #FDFCFF;
  padding: 0 clamp(20px, 1.95vw, 28px);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(22px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.diex-services-portfolio-pill span:last-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(253, 252, 255, 0.24);
  font-size: 16px;
}

.diex-services-grid img {
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 10px;
  object-fit: contain;
  vertical-align: top;
}

.diex-parallax-card {
  --parallax-y: 0px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 12%, rgba(253, 252, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #92ACFF 0%, #6E82E7 34%, #0E0929 78%, #02000F 100%);
  box-shadow: none;
  isolation: isolate;
}

:root[data-theme="dark"] .diex-parallax-card {
  background:
    radial-gradient(circle at 18% 12%, rgba(146, 172, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #92ACFF 0%, #35458F 34%, #0E0929 72%, #02000F 100%);
  box-shadow: none;
}

.diex-parallax-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(253, 252, 255, 0.18), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(146, 172, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.diex-parallax-media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 10px;
  transform: translate3d(0, var(--parallax-y), 0);
  transition: transform 160ms linear;
  will-change: transform;
}

.diex-service-visual {
  aspect-ratio: 1.005 / 1;
  padding: 0;
}

.diex-service-visual .diex-parallax-media {
  position: absolute;
  left: 50%;
  top: 10.4%;
  width: 79.4%;
  transform: translate3d(-50%, var(--parallax-y), 0);
}

.diex-service-figma-card:nth-child(2) .diex-service-visual .diex-parallax-media {
  top: 10%;
  width: 80.2%;
}

.diex-service-figma-card:nth-child(3) .diex-service-visual .diex-parallax-media {
  top: 10.4%;
  width: 79.6%;
}

.diex-dashboard-visual {
  aspect-ratio: 700 / 505;
  padding: 0;
}

.diex-dashboard-visual .diex-parallax-media {
  position: absolute;
  width: 94%;
  left: 0;
  top: 18.7%;
  transform: translate3d(0, var(--parallax-y), 0);
}

.diex-dashboard-visual .diex-parallax-media[src*="dashboard-geo"] {
  width: 92%;
  left: 8.5%;
  top: 20.2%;
}

.diex-dashboard-visual .diex-parallax-media[src*="dashboard-performance"] {
  width: 94%;
  left: 0;
  top: 19.2%;
}

@media (prefers-reduced-motion: reduce) {
  .diex-parallax-media {
    transform: none;
    transition: none;
  }
}

.diex-services-grid h3 {
  margin: clamp(22px, 1.9vw, 30px) 0 0;
  color: currentColor;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(27px, 2vw, 32px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
}

.diex-services-grid p,
.diex-content-block p,
.diex-final-cta p {
  margin: clamp(12px, 1.11vw, 16px) 0 0;
  color: currentColor;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(16px, 1.08vw, 18px);
  font-weight: 500;
  line-height: 1.36;
}

.diex-content-block {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 5.55vw, 88px) 0;
}

.diex-content-row {
  display: grid;
  grid-template-columns: minmax(0, 54.25%) minmax(0, 39.95%);
  gap: 5.8%;
  align-items: center;
}

.diex-content-row.is-reverse {
  grid-template-columns: minmax(0, 39.95%) minmax(0, 54.25%);
  gap: 5.8%;
}

.diex-content-row img {
  width: 100%;
  border-radius: 10px;
  vertical-align: top;
}

.diex-content-row div {
  color: currentColor;
}

.diex-content-block h2 {
  max-width: 560px;
  font-size: clamp(44px, 3.55vw, 56px);
  line-height: 1;
}

.diex-content-block h2 span {
  color: #92ACFF;
}

.diex-content-block p {
  max-width: 560px;
  margin: clamp(24px, 2.05vw, 32px) 0 0;
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.42;
}

.diex-content-geo::before {
  content: "";
  position: absolute;
  left: max(-220px, -11vw);
  top: 3%;
  z-index: 0;
  width: clamp(260px, 27vw, 430px);
  aspect-ratio: 1 / 1.7;
  background: url("assets/images/diex/home/components/decorations/light/section-left.svg") center / contain no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

:root[data-theme="dark"] .diex-content-geo::before {
  background-image: url("assets/images/diex/home/components/decorations/dark/section-left.svg");
  opacity: 0.4;
}

.diex-content-row {
  position: relative;
  z-index: 1;
}

.diex-final-cta {
  padding: clamp(86px, 7.78vw, 112px) 0;
}

.diex-final-cta .diex-figma-inner {
  position: relative;
  min-height: clamp(320px, 29.03vw, 418px);
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: clamp(44px, 4.31vw, 62px);
  background: #0E0929;
  color: #FDFCFF;
  background-image: url("assets/images/diex/home/light/cta-background.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

:root[data-theme="dark"] .diex-final-cta .diex-figma-inner {
  background-image: url("assets/images/diex/home/dark/cta-background.svg");
}

.diex-final-cta div > div {
  max-width: 560px;
}

.diex-final-cta h2 {
  max-width: 560px;
  font-size: clamp(44px, 3.55vw, 56px);
  line-height: 1;
}

.diex-final-cta p {
  max-width: 560px;
  margin: 22px 0 34px;
  color: #DAD7E8;
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.42;
}

.diex-final-cta a {
  background: #92ACFF;
}

@media (max-width: 1023px) {
  .diex-figma-inner {
    width: calc(100% - 48px);
  }

  .diex-services-section .diex-figma-inner,
  .diex-content-block .diex-figma-inner,
  .diex-final-cta .diex-figma-inner {
    width: calc(100% - 48px);
  }

  footer > .container {
    width: calc(100% - 48px);
  }

  .diex-benefits-composite {
    display: none;
  }

  .diex-benefits-responsive {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 42px;
    align-items: start;
  }

  .diex-benefits-copy h2 span {
    color: #92ACFF;
  }

  .diex-benefits-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .diex-benefit-photo,
  .diex-benefit-card {
    min-height: 0;
  }

  .diex-benefit-photo {
    aspect-ratio: 1 / 1.18;
  }

  .diex-benefit-card {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 1 / 1.18;
    padding: 18px;
    font-size: clamp(17px, 4.6vw, 22px);
  }

  .diex-content-row,
  .diex-content-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .diex-services-grid {
    grid-template-columns: 1fr;
  }

  .diex-service-figma-card:nth-child(2) {
    margin-top: 0;
  }

  .diex-content-row.is-reverse img,
  .diex-content-row.is-reverse .diex-dashboard-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  .diex-figma-inner {
    width: calc(100% - 32px);
  }

  .diex-services-section .diex-figma-inner,
  .diex-content-block .diex-figma-inner,
  .diex-final-cta .diex-figma-inner {
    width: calc(100% - 32px);
  }

  footer > .container {
    width: calc(100% - 32px);
  }

  .diex-benefits-section,
  .diex-services-section,
  .diex-content-block,
  .diex-final-cta {
    padding: 52px 0;
  }

  .diex-benefits-copy h2,
  .diex-content-block h2,
  .diex-final-cta h2 {
    font-size: clamp(38px, 10.4vw, 44px);
    line-height: 1.02;
  }

  .diex-benefits-responsive {
    grid-template-columns: 1fr;
  }

  .diex-benefits-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .diex-benefits-list {
    gap: 14px;
    margin-top: 28px;
  }

  .diex-benefits-list div {
    grid-template-columns: 38px 1fr;
    min-height: 78px;
    gap: 14px;
    padding: 18px 18px;
    font-size: 18px;
  }

  .diex-benefits-list img {
    width: 38px;
    height: 38px;
  }

  .diex-benefit-card {
    min-height: 220px;
    padding: 26px;
    font-size: 35px;
  }

  .diex-services-grid article {
    min-height: 0;
  }

  .diex-content-block p,
  .diex-final-cta p {
    font-size: 20px;
  }

  .diex-final-cta .diex-figma-inner {
    min-height: 0;
    overflow: hidden;
    padding: 36px 26px 40px;
    background-color: #0E0929;
    background-image: linear-gradient(90deg, #0E0929 0%, #0E0929 100%);
  }

  :root[data-theme="dark"] .diex-final-cta .diex-figma-inner {
    background-color: #0E0929;
    background-image: linear-gradient(90deg, #0E0929 0%, #0E0929 100%);
  }

  .diex-final-cta .diex-figma-inner::after {
    content: none;
  }

  .diex-final-cta div > div {
    position: relative;
    z-index: 1;
    max-width: 100%;
  }

  .diex-final-cta p {
    max-width: 100%;
  }
}

body.mobile-menu-open .mobile-menu.open {
  transform: none !important;
}

/* DIEX fidelity refinements: hero, services, footer and mobile navigation. */
.diex-figma-header {
  height: clamp(76px, 6.18vw, 89px);
}

.diex-figma-hero,
.diex-hero-inner {
  min-height: clamp(710px, 52.08vw, 750px);
}

.diex-hero-copy {
  top: clamp(158px, 11.8vw, 170px);
}

.diex-hero-dashboard {
  top: clamp(195px, 14.38vw, 207px);
}

.diex-hero-shape-main {
  top: clamp(122px, 9.44vw, 136px);
}

.diex-hero-shape-top {
  top: clamp(122px, 9.44vw, 136px);
}

.diex-hero-shape-dot {
  top: clamp(286px, 21.8vw, 314px);
}

.diex-hero-shape-bottom {
  top: clamp(442px, 33.05vw, 476px);
}

.diex-services-section {
  padding: clamp(62px, 5.1vw, 82px) 0 clamp(84px, 7.2vw, 116px);
}

.diex-services-grid {
  gap: clamp(22px, 2vw, 32px);
}

.diex-service-figma-card:nth-child(2) {
  margin-top: 0;
}

.diex-services-grid h3 {
  margin-top: clamp(22px, 1.9vw, 30px);
  font-size: clamp(27px, 2vw, 32px);
  line-height: 1.1;
}

.diex-services-grid p {
  margin-top: clamp(10px, 1vw, 14px);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.36;
}

footer {
  position: relative;
  overflow: hidden;
  background: #0E0929;
  color: #FDFCFF;
  border-top: 1px solid rgba(146, 172, 255, 0.2);
}

:root[data-theme="dark"] footer {
  background: #02000F;
}

footer a {
  color: inherit;
}

footer > .container {
  width: min(75.34vw, 1084px);
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.footer-mark {
  height: clamp(142px, 13.89vw, 200px);
  margin-top: 0;
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(146, 172, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(146, 172, 255, 0.08), rgba(14, 9, 41, 0));
}

.footer-mark-text {
  color: #92ACFF;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(116px, 18.5vw, 266px);
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.18;
  transform: translateY(16%);
}

.footer-channels {
  border-top-color: rgba(146, 172, 255, 0.22);
  border-bottom-color: rgba(146, 172, 255, 0.22);
}

.footer-channel {
  min-height: 72px;
  border-right-color: rgba(146, 172, 255, 0.18);
  background: rgba(253, 252, 255, 0.02);
  color: #FDFCFF;
}

.footer-channel:hover,
.footer-channel:focus-visible {
  background: rgba(146, 172, 255, 0.1);
  outline: none;
}

.footer-channel .label-wrap {
  gap: 12px;
}

.footer-channel .label-wrap svg {
  color: #92ACFF;
}

.footer-channel .name {
  color: #FDFCFF;
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.footer-channel .arr {
  width: 34px;
  height: 34px;
  border-color: rgba(146, 172, 255, 0.28);
  color: #92ACFF;
}

.footer-channel:hover .arr,
.footer-channel:focus-visible .arr {
  background: #92ACFF;
  border-color: #92ACFF;
  color: #0E0929;
}

.footer-cols {
  padding: clamp(54px, 5.56vw, 80px) 0;
}

.footer-cols h4 {
  color: #92ACFF;
  font-family: "Bricolage Grotesque", "Degular", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.footer-cols li,
.footer-contact div {
  color: rgba(253, 252, 255, 0.72);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.38;
}

.footer-contact strong {
  color: #FDFCFF;
}

.footer-cols li:hover,
.footer-cols ul li:hover a,
.footer-contact a:hover {
  color: #92ACFF;
}

.footer-base {
  border-top-color: rgba(146, 172, 255, 0.18);
  color: rgba(253, 252, 255, 0.56);
  font-family: "Bricolage Grotesque", "Degular", sans-serif;
}

@media (max-width: 1023px) {
  footer > .container {
    width: calc(100% - 48px);
  }
}

@media (max-width: 600px) {
  footer > .container {
    width: calc(100% - 32px);
  }
}

@media (max-width: 1023px) {
  .diex-figma-header {
    height: 88px;
  }

  body.mobile-menu-open .diex-figma-header {
    border-bottom: 1px solid rgba(146, 172, 255, 0.22);
  }

  .diex-figma-header .container {
    width: calc(100% - 40px);
  }

  .diex-figma-header .brand-logo {
    width: 68px;
  }

  .diex-figma-header .nav-actions {
    gap: 12px;
  }

  .diex-hero-copy {
    top: auto;
  }

  .diex-figma-header .theme-toggle,
  .hamburger {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .diex-figma-header .theme-toggle {
    background: #0E0929;
  }

  :root[data-theme="dark"] .diex-figma-header .theme-toggle {
    background: #FDFCFF;
  }

  .hamburger {
    border: 1px solid rgba(146, 172, 255, 0.36);
    background: #FDFCFF;
    box-shadow: 0 0 0 1px rgba(146, 172, 255, 0.08);
  }

  :root[data-theme="dark"] .hamburger {
    background: #02000F;
    border-color: rgba(146, 172, 255, 0.42);
  }

  .hamburger span {
    width: 24px;
    height: 2.25px;
    border-radius: 999px;
    background: #0E0929;
  }

  :root[data-theme="dark"] .hamburger span {
    background: #FDFCFF;
  }

  .hamburger.open {
    background: #92ACFF;
    border-color: #92ACFF;
  }

  .hamburger.open span {
    background: #0E0929;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7.25px) rotate(45deg);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7.25px) rotate(-45deg);
  }

  .mobile-menu {
    inset: 100px 0 0 0;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 24px 20px 32px;
    border-top: 1px solid rgba(146, 172, 255, 0.22);
    background: #FDFCFF;
  }

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

  :root[data-theme="dark"] .mobile-menu {
    background: #02000F;
  }

  .mobile-menu .nav-link {
    min-height: 62px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(146, 172, 255, 0.22);
    border-radius: 12px;
    background: rgba(146, 172, 255, 0.06);
    padding: 0 20px;
    color: #0E0929;
    font-family: "Degular", "Poppins", sans-serif;
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 500;
    line-height: 1;
  }

  :root[data-theme="dark"] .mobile-menu .nav-link {
    background: rgba(146, 172, 255, 0.08);
    color: #FDFCFF;
  }

  .mobile-menu .nav-link.active {
    background: #0E0929;
    border-color: #0E0929;
    color: #FDFCFF;
  }

  :root[data-theme="dark"] .mobile-menu .nav-link.active {
    background: #92ACFF;
    border-color: #92ACFF;
    color: #0E0929;
  }

  .mobile-menu .btn {
    width: 100%;
    min-height: 64px;
    margin-top: 10px;
    border-radius: 12px;
    background: #92ACFF;
    color: #FDFCFF;
    font-family: "Bricolage Grotesque", "Degular", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-menu .btn .arrow {
    background: #0E0929;
    color: #FDFCFF;
  }

  .diex-figma-hero {
    padding: 142px 0 72px;
  }

  .diex-hero-shape-main {
    top: 400px;
  }

  .diex-services-section {
    padding: 48px 0 72px;
  }

  .diex-services-grid {
    gap: 48px;
  }

  .diex-service-figma-card:nth-child(2) {
    margin-top: 0;
  }

  .diex-services-grid h3 {
    font-size: clamp(34px, 7vw, 44px);
  }

  .diex-services-grid p {
    font-size: clamp(19px, 4vw, 24px);
  }
}

@media (max-width: 600px) {
  .diex-figma-header {
    height: 96px;
  }

  .diex-figma-header .container {
    width: calc(100% - 32px);
  }

  .diex-figma-header .brand-logo {
    width: 66px;
  }

  .diex-figma-header .theme-toggle,
  .hamburger {
    width: 52px;
    height: 52px;
  }

  .mobile-menu {
    inset: 108px 0 0 0;
    padding: 20px 16px 28px;
  }

  .mobile-menu .nav-link {
    min-height: 58px;
    font-size: clamp(25px, 8vw, 32px);
  }

  .diex-figma-hero {
    padding: 152px 0 72px;
  }

  .diex-hero-copy h1 {
    margin-top: 38px;
  }

  .diex-hero-actions {
    margin-top: 44px;
  }

  .diex-hero-dashboard {
    margin-top: 72px;
  }

  .diex-hero-shape-main {
    top: 474px;
  }

  .footer-mark {
    height: 118px;
  }

  .footer-channels {
    grid-template-columns: 1fr;
  }

  .footer-channel {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid rgba(146, 172, 255, 0.18);
  }

  .footer-cols {
    padding: 42px 0;
  }
}

body.mobile-menu-open .mobile-menu.open {
  display: grid !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition: none !important;
}

body.mobile-menu-open .mobile-menu.open .nav-link,
body.mobile-menu-open .mobile-menu.open .btn,
body.mobile-menu-open .mobile-menu.open .btn * {
  opacity: 1 !important;
}

.mobile-menu:not(.open) {
  display: none !important;
}

/* DIEX final typography and footer theme pass. */
:root {
  --diex-section-title-size: clamp(42px, 3.35vw, 52px);
  --diex-section-subtitle-size: clamp(19px, 1.55vw, 23px);
  --diex-card-title-size: clamp(24px, 1.76vw, 29px);
  --diex-card-subtitle-size: clamp(15px, 1.04vw, 17px);
}

.diex-figma-header,
.diex-figma-header *,
.mobile-menu,
.mobile-menu * {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.diex-benefits-copy h2,
.diex-content-block h2,
.diex-final-cta h2 {
  font-size: var(--diex-section-title-size);
  line-height: 0.98;
}

.diex-content-block p,
.diex-final-cta p {
  font-size: var(--diex-section-subtitle-size);
  line-height: 1.42;
}

.diex-services-grid h3 {
  font-size: var(--diex-card-title-size);
  line-height: 1.08;
}

.diex-services-grid p {
  color: #302B4D;
  font-size: var(--diex-card-subtitle-size);
  line-height: 1.38;
}

:root[data-theme="dark"] .diex-services-grid p {
  color: rgba(253, 252, 255, 0.78);
}

footer {
  background: #FDFCFF;
  color: #0E0929;
  border-top: 1px solid rgba(146, 172, 255, 0.26);
}

:root[data-theme="dark"] footer {
  background: #02000F;
  color: #FDFCFF;
  border-top-color: rgba(146, 172, 255, 0.22);
}

.footer-mark {
  background:
    radial-gradient(circle at 76% 12%, rgba(146, 172, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(146, 172, 255, 0.12), rgba(253, 252, 255, 0));
}

:root[data-theme="dark"] .footer-mark {
  background:
    radial-gradient(circle at 76% 12%, rgba(146, 172, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(146, 172, 255, 0.08), rgba(2, 0, 15, 0));
}

.footer-mark-text {
  color: #0E0929;
  opacity: 0.06;
}

:root[data-theme="dark"] .footer-mark-text {
  color: #92ACFF;
  opacity: 0.16;
}

.footer-channels {
  background: #FDFCFF;
  border-top: 1px solid rgba(146, 172, 255, 0.28);
  border-bottom: 1px solid rgba(146, 172, 255, 0.28);
}

:root[data-theme="dark"] .footer-channels {
  background: #02000F;
  border-color: rgba(146, 172, 255, 0.2);
}

.footer-channel {
  background: rgba(146, 172, 255, 0.035);
  border-right-color: rgba(146, 172, 255, 0.22);
  color: #0E0929;
}

:root[data-theme="dark"] .footer-channel {
  background: rgba(253, 252, 255, 0.02);
  border-right-color: rgba(146, 172, 255, 0.18);
  color: #FDFCFF;
}

.footer-channel:hover,
.footer-channel:focus-visible {
  background: rgba(146, 172, 255, 0.14);
}

.footer-channel .name {
  color: currentColor;
  font-family: "Degular", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-channel .label-wrap svg {
  color: #5F7DFF;
}

:root[data-theme="dark"] .footer-channel .label-wrap svg {
  color: #92ACFF;
}

.footer-channel .arr {
  background: #FDFCFF;
  border-color: rgba(146, 172, 255, 0.42);
  color: #0E0929;
}

:root[data-theme="dark"] .footer-channel .arr {
  background: transparent;
  border-color: rgba(146, 172, 255, 0.28);
  color: #92ACFF;
}

.footer-channel:hover .arr,
.footer-channel:focus-visible .arr {
  background: #92ACFF;
  border-color: #92ACFF;
  color: #0E0929;
}

.footer-cols h4 {
  color: #5F7DFF;
}

:root[data-theme="dark"] .footer-cols h4 {
  color: #92ACFF;
}

.footer-cols li,
.footer-contact div {
  color: #302B4D;
}

:root[data-theme="dark"] .footer-cols li,
:root[data-theme="dark"] .footer-contact div {
  color: rgba(253, 252, 255, 0.72);
}

.footer-contact strong {
  color: #0E0929;
}

:root[data-theme="dark"] .footer-contact strong {
  color: #FDFCFF;
}

.footer-cols li:hover,
.footer-cols ul li:hover a,
.footer-contact a:hover {
  color: #5F7DFF;
}

:root[data-theme="dark"] .footer-cols li:hover,
:root[data-theme="dark"] .footer-cols ul li:hover a,
:root[data-theme="dark"] .footer-contact a:hover {
  color: #92ACFF;
}

.footer-base {
  border-top-color: rgba(146, 172, 255, 0.24);
  color: #716D88;
}

:root[data-theme="dark"] .footer-base {
  border-top-color: rgba(146, 172, 255, 0.18);
  color: rgba(253, 252, 255, 0.56);
}

@media (max-width: 600px) {
  :root {
    --diex-section-title-size: clamp(36px, 10vw, 42px);
    --diex-section-subtitle-size: 20px;
    --diex-card-title-size: clamp(32px, 8vw, 40px);
    --diex-card-subtitle-size: clamp(18px, 4vw, 22px);
  }
}

/* DIEX compact footer pass. */
footer {
  padding: 30px 0;
  min-height: 0;
  background: #FDFCFF;
  border-top: 1px solid rgba(146, 172, 255, 0.24);
}

:root[data-theme="dark"] footer {
  background: #02000F;
  border-top-color: rgba(146, 172, 255, 0.18);
}

footer > .container.footer-mini,
.footer-mini {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: 82px;
  min-width: 82px;
  line-height: 0;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-logo-dark {
  display: none;
}

:root[data-theme="dark"] .footer-logo-light {
  display: none;
}

:root[data-theme="dark"] .footer-logo-dark {
  display: block;
}

.footer-mini .footer-channels {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: transparent;
  border: 0;
}

.footer-mini .footer-channel {
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(146, 172, 255, 0.32);
  border-radius: 16px;
  background: rgba(146, 172, 255, 0.08);
  color: #0E0929;
}

:root[data-theme="dark"] .footer-mini .footer-channel {
  background: rgba(253, 252, 255, 0.04);
  border-color: rgba(146, 172, 255, 0.26);
  color: #FDFCFF;
}

.footer-mini .footer-channel > svg {
  width: 18px;
  height: 18px;
  color: #5F7DFF;
}

:root[data-theme="dark"] .footer-mini .footer-channel > svg {
  color: #92ACFF;
}

.footer-mini .footer-channel .arr,
.footer-mini .footer-channel .name,
.footer-mini .footer-channel .label-wrap,
.footer-mark,
.footer-cols,
.footer-contact,
.footer-base {
  display: none;
}

.footer-mini .footer-channel:hover,
.footer-mini .footer-channel:focus-visible {
  background: #92ACFF;
  border-color: #92ACFF;
  color: #0E0929;
}

.footer-mini .footer-channel:hover > svg,
.footer-mini .footer-channel:focus-visible > svg {
  color: #0E0929;
}

@media (max-width: 600px) {
  footer {
    padding: 24px 0;
  }

  footer > .container.footer-mini,
  .footer-mini {
    width: calc(100% - 32px);
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }

  .footer-mini .footer-channels {
    justify-content: center;
  }
}

/* DIEX inspired footer: brand block + contact block, with light/dark theme. */
.diex-footer {
  padding: 0;
  min-height: 0;
  background: #FDFCFF;
  color: #0E0929;
  border-top: 1px solid rgba(146, 172, 255, 0.22);
}

:root[data-theme="dark"] .diex-footer {
  background: #02000F;
  color: #FDFCFF;
  border-top-color: rgba(146, 172, 255, 0.18);
}

.diex-footer .footer-inspired {
  box-sizing: border-box;
  width: min(75.34vw, 1084px);
  min-height: clamp(300px, 22vw, 400px);
  margin: 0 auto;
  padding: clamp(46px, 4.5vw, 58px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 10vw, 160px);
}

.footer-brand-block {
  max-width: 560px;
}

.diex-footer .footer-logo {
  width: clamp(86px, 7vw, 112px);
  min-width: 0;
  aspect-ratio: 74.923645 / 50.954861;
  height: auto;
  margin-bottom: clamp(18px, 1.7vw, 24px);
  display: inline-flex;
  background: url("assets/images/diex/home/components/header/logo-light-mode.svg") center / contain no-repeat;
}

.diex-footer .footer-logo img {
  display: none;
}

:root[data-theme="dark"] .diex-footer .footer-logo {
  background-image: url("assets/images/diex/home/components/header/logo-dark-mode.svg");
}

.footer-brand-block p {
  max-width: 530px;
  margin: 0;
  color: rgba(14, 9, 41, 0.68);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 500;
  line-height: 1.48;
}

:root[data-theme="dark"] .footer-brand-block p {
  color: rgba(253, 252, 255, 0.72);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 2.8vw, 40px);
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(146, 172, 255, 0.28);
  border-radius: 14px;
  background: rgba(146, 172, 255, 0.08);
  color: #0E0929;
  transition: background var(--dur-md) var(--ease), border-color var(--dur-md) var(--ease), color var(--dur-md) var(--ease), transform var(--dur-md) var(--ease);
}

:root[data-theme="dark"] .footer-socials a {
  background: rgba(253, 252, 255, 0.04);
  border-color: rgba(146, 172, 255, 0.24);
  color: #FDFCFF;
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: #92ACFF;
  border-color: #92ACFF;
  color: #0E0929;
  transform: translateY(-2px);
}

:root[data-theme="dark"] .footer-socials a:hover,
:root[data-theme="dark"] .footer-socials a:focus-visible {
  color: #0E0929;
}

.footer-contact-card {
  justify-self: end;
  min-width: 260px;
}

.footer-contact-card h2 {
  margin: 0 0 26px;
  color: #0E0929;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  line-height: 1;
}

:root[data-theme="dark"] .footer-contact-card h2 {
  color: #FDFCFF;
}

.footer-contact-card a {
  display: block;
  width: fit-content;
  color: rgba(14, 9, 41, 0.66);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur-md) var(--ease);
}

.footer-contact-card a + a {
  margin-top: 4px;
}

:root[data-theme="dark"] .footer-contact-card a {
  color: rgba(253, 252, 255, 0.68);
}

.footer-contact-card a:hover,
.footer-contact-card a:focus-visible {
  color: #5F7DFF;
}

:root[data-theme="dark"] .footer-contact-card a:hover,
:root[data-theme="dark"] .footer-contact-card a:focus-visible {
  color: #92ACFF;
}

@media (max-width: 760px) {
  .diex-footer .footer-inspired {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 56px 0;
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: left;
  }

  .footer-contact-card {
    justify-self: start;
  }

  .footer-brand-block p {
    max-width: 100%;
    font-size: 18px;
  }

  .footer-contact-card h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .footer-contact-card a {
    font-size: 18px;
  }
}

/* =========================================================================
   DIEX: seletor de país estruturado, campos "Outro" e popup de lead
   ========================================================================= */
.diex-phone-prefix {
  position: absolute;
  left: clamp(14px, 1.2vw, 18px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(14, 9, 41, 0.14);
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}
.diex-phone-prefix:hover,
.diex-phone-prefix:focus-within {
  border-color: var(--diex-accent, #5F7DFF);
}
.diex-phone-prefix select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  appearance: none;
}
.diex-country-flag {
  display: inline-flex;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(14, 9, 41, 0.08);
}
.diex-country-flag svg { width: 100%; height: 100%; display: block; }
.diex-country-code {
  color: #0E0929;
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.diex-country-caret {
  display: inline-flex;
  color: rgba(14, 9, 41, 0.55);
}
.diex-phone-field > span:not(.diex-phone-prefix) { left: clamp(112px, 8.4vw, 122px); }
.diex-phone-field input { padding-left: clamp(124px, 9.6vw, 138px); }

.diex-other-field { animation: diexOtherIn 220ms cubic-bezier(0.2, 0, 0, 1); }
.diex-other-field[hidden] { display: none; }
@keyframes diexOtherIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Popup global de lead ---------- */
.diex-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.diex-lead-modal.is-open { display: flex; }
body.diex-modal-open { overflow: hidden; }
.diex-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 0, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.diex-lead-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 880px);
  overflow: auto;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line, #DCE3FF);
  border-radius: 14px;
  background: #F2F4FF;
  font-family: "Degular", "Poppins", sans-serif;
  animation: diexModalIn 220ms cubic-bezier(0.2, 0, 0, 1);
}
@keyframes diexModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.diex-lead-modal-card h3 {
  margin: 0 0 6px;
  color: #0E0929;
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.02em;
}
.diex-lead-modal-card > p {
  margin: 0 0 18px;
  color: rgba(14, 9, 41, 0.65);
  font-size: 15px;
  line-height: 1.45;
}
.diex-lead-modal-card .diex-contact-form {
  min-height: 0;
  padding: 0;
  background: transparent;
}
.diex-lead-modal-card .diex-field { background: rgba(14, 9, 41, 0.05); }
.diex-lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 9, 41, 0.14);
  border-radius: 8px;
  background: #FFFFFF;
  color: #0E0929;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), background 160ms cubic-bezier(0.2, 0, 0, 1);
}
.diex-lead-modal-close:hover { border-color: var(--diex-accent, #5F7DFF); background: #EEF2FF; }
@media (max-width: 560px) {
  .diex-lead-modal { padding: 12px; align-items: flex-end; }
  .diex-lead-modal-card { max-height: 92vh; border-radius: 14px 14px 10px 10px; }
}

/* =========================================================================
   DIEX: hero de paginas internas no padrao da home
   ========================================================================= */
.diex-page-hero { min-height: 0; }
.diex-page-hero .diex-page-hero-inner {
  min-height: 0;
  padding: clamp(64px, 6.5vw, 104px) 0 clamp(44px, 4.5vw, 68px);
}
.diex-page-hero .diex-page-hero-copy {
  position: static;
  width: min(100%, 780px);
}
.diex-page-hero .diex-page-hero-copy h1 { max-width: 18ch; }
.diex-page-hero .diex-page-hero-copy h1 span { display: inline; }
.diex-page-hero .diex-page-hero-copy h1 .accent { color: var(--diex-accent, #5F7DFF); }
:root[data-theme="dark"] .diex-page-hero .diex-page-hero-copy h1 .accent { color: #92ACFF; }
.diex-page-hero .diex-page-hero-copy p { width: min(100%, 580px); }
.diex-page-hero .diex-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.1vw, 30px);
}
.diex-page-hero .diex-hero-actions .diex-hero-button { gap: 8px; }
.diex-page-hero .back-link {
  display: flex;
  width: max-content;
  margin-bottom: clamp(14px, 1.4vw, 20px);
  color: var(--text-muted, #716D88);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.diex-page-hero .back-link:hover { color: var(--diex-accent, #5F7DFF); }
.diex-page-shape {
  position: absolute;
  pointer-events: none;
}
.diex-page-shape-a { top: -38%; right: -10%; width: min(48vw, 640px); }
.diex-page-shape-b { bottom: -42%; left: -12%; width: min(36vw, 470px); }
.diex-page-shape-dots {
  top: clamp(48px, 6vw, 96px);
  right: 10%;
  width: clamp(72px, 8vw, 116px);
  color: var(--diex-secondary, #92ACFF);
  opacity: 0.55;
}
:root[data-theme="dark"] .diex-page-shape-dots { opacity: 0.4; }
@media (max-width: 760px) {
  .diex-page-hero .diex-hero-inner { width: min(88vw, 1084px); }
  .diex-page-shape-dots { display: none; }
}

/* ---------- Blog: texto rico nas secoes ---------- */
.case-story-block-copy h3 {
  margin: 18px 0 8px;
  font-size: clamp(17px, 1.3vw, 20px);
  letter-spacing: -0.01em;
  color: var(--heading, #0E0929);
}
.case-story-block-copy ul {
  margin: 10px 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.case-story-block-copy code {
  padding: 2px 6px;
  border: 1px solid var(--line, #DCE3FF);
  border-radius: 5px;
  background: var(--surface-soft, #F2F5FF);
  font-size: 0.92em;
}
.case-story-block-copy a {
  color: var(--diex-accent, #5F7DFF);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Selects do formulario DIEX usam apenas o chevron customizado */
.diex-select-field select {
  appearance: none;
  -webkit-appearance: none;
}

/* =========================================================================
   DIEX refino v2: chevron geometrico no hero interno + eyebrow no estilo home
   ========================================================================= */
.diex-page-shape-a, .diex-page-shape-b { display: none; }
.diex-page-shape-main {
  top: 50%;
  right: -3%;
  width: min(26vw, 340px);
  transform: translateY(-52%);
}
:root[data-theme="dark"] .diex-page-shape-main { opacity: 0.7; }
@media (max-width: 900px) {
  .diex-page-shape-main { right: -18%; width: 46vw; opacity: 0.55; }
}

/* Eyebrows internos seguem o pill escuro da home (diex-hero-proof) */
.eyebrow-lime {
  min-height: 30px;
  padding: 0 16px;
  border-radius: 8px;
  background: #0E0929;
  color: #FDFCFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  align-items: center;
}
.eyebrow-lime::before { display: none; }
:root[data-theme="dark"] .eyebrow-lime {
  background: #92ACFF;
  color: #FDFCFF;
}

/* =========================================================================
   DIEX refino v3: assets de secao, eco do chevron e responsividade
   ========================================================================= */
.diex-page-shape-echo {
  top: auto;
  bottom: -16%;
  left: -5%;
  width: min(14vw, 180px);
  opacity: 0.45;
}

.section.has-diex-decor { position: relative; }
.diex-section-decor {
  position: absolute;
  top: clamp(26px, 3vw, 46px);
  right: max(4vw, 26px);
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--diex-secondary, #92ACFF);
  opacity: 0.55;
  pointer-events: none;
}
.diex-section-decor .diex-decor-dots { width: clamp(72px, 7vw, 104px); }
.diex-section-decor .diex-decor-chevron { width: clamp(34px, 3.4vw, 48px); }
:root[data-theme="dark"] .diex-section-decor { opacity: 0.35; }

/* ---------- Responsividade ---------- */
@media (max-width: 1100px) {
  .diex-section-decor { opacity: 0.35; }
}
@media (max-width: 900px) {
  .diex-section-decor { display: none; }
  .diex-page-shape-echo { display: none; }
  .diex-page-hero .diex-page-hero-copy h1 { font-size: clamp(34px, 8.6vw, 44px); }
  .diex-page-hero .diex-page-hero-inner { padding: clamp(48px, 9vw, 72px) 0 clamp(36px, 7vw, 52px); }
}
@media (max-width: 560px) {
  .diex-page-hero .diex-hero-actions { width: 100%; }
  .diex-page-hero .diex-hero-actions .diex-hero-button,
  .article-actions .btn,
  .form-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .btn { min-height: 46px; }
  .diex-final-cta .diex-figma-inner { padding: clamp(30px, 8vw, 44px); }
  .diex-final-cta h2 { font-size: clamp(32px, 9.6vw, 44px); }
  .diex-final-cta p { font-size: clamp(16px, 4.6vw, 20px); }
  .diex-page-hero .diex-page-hero-copy p { font-size: clamp(16px, 4.4vw, 18px); }
  .diex-phone-field > span:not(.diex-phone-prefix) { left: 112px; }
  .diex-phone-field input { padding-left: 124px; }
}



/* =========================================================================
   DIEX v4: alinhamento da home em todas as paginas + visuais em codigo
   ========================================================================= */
main .container {
  max-width: none;
  width: min(75.34vw, 1084px);
  padding: 0;
}
@media (max-width: 760px) {
  main .container { width: 88vw; }
}

/* ---------- Painel ilustrativo construido em codigo ---------- */
.diex-code-visual {
  position: relative;
  display: grid;
  gap: 12px;
  width: 100%;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.diex-code-visual .cv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.diex-code-visual .cv-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.diex-code-visual .cv-title .cv-logo {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--diex-accent);
  color: #FDFCFF;
  font-size: 11px;
  font-weight: 700;
}
.diex-code-visual .cv-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-elevated);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.diex-code-visual .cv-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.diex-code-visual .cv-kpi {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}
.diex-code-visual .cv-kpi.is-accent {
  background: var(--diex-accent);
  border-color: var(--diex-accent);
}
.diex-code-visual .cv-kpi span {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.diex-code-visual .cv-kpi strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.diex-code-visual .cv-kpi.is-accent span { color: rgba(253, 252, 255, 0.78); }
.diex-code-visual .cv-kpi.is-accent strong { color: #FDFCFF; }
.diex-code-visual .cv-chart {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}
.diex-code-visual .cv-chart svg { display: block; width: 100%; height: auto; }
.diex-code-visual .cv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.4;
}
.diex-code-visual .cv-row .cv-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--orizon-accent-alpha-18);
  color: var(--diex-accent);
}
.diex-code-visual .cv-row.is-alert .cv-ico { background: var(--warn-bg); color: var(--warn); }
.diex-code-visual .cv-row.is-ok .cv-ico { background: var(--ok-bg); color: var(--ok); }
.diex-code-visual .cv-row.is-bad .cv-ico { background: var(--danger-bg); color: var(--danger); }
.diex-code-visual .cv-row strong { color: var(--text); font-weight: 650; }
.diex-code-visual .cv-bubble {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 12px 12px 12px 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 12.5px;
  line-height: 1.45;
}
.diex-code-visual .cv-bubble.is-me {
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  background: var(--diex-accent);
  border-color: var(--diex-accent);
  color: #FDFCFF;
}
.diex-code-visual .cv-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.diex-code-visual .cv-chip {
  padding: 5px 11px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  color: var(--diex-accent);
  font-size: 11px;
  font-weight: 600;
}
.diex-code-visual .cv-actions { display: flex; gap: 8px; justify-content: flex-end; }
.diex-code-visual .cv-btn {
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--surface-elevated);
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 650;
}
.diex-code-visual .cv-btn.is-primary { background: var(--diex-accent); color: #FDFCFF; }
.diex-code-visual.is-floating { box-shadow: 0 24px 60px rgba(14, 9, 41, 0.10); }
:root[data-theme="dark"] .diex-code-visual.is-floating { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* texto de apoio nos blocos de conteudo */
.diex-content-block .diex-content-copy p {
  margin: clamp(14px, 1.2vw, 18px) 0 0;
  max-width: 520px;
  color: var(--text-soft);
  font-family: "Degular", "Poppins", sans-serif;
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.5;
}
.diex-content-block .diex-content-copy ul {
  display: grid;
  gap: 10px;
  margin: clamp(16px, 1.5vw, 22px) 0 0;
  padding: 0;
  list-style: none;
}
.diex-content-block .diex-content-copy ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.45;
}
.diex-content-block .diex-content-copy ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--diex-accent);
}
.diex-content-block .diex-content-copy .diex-content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 2vw, 28px);
}
@media (max-width: 900px) {
  .diex-content-row,
  .diex-content-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .diex-content-row.is-reverse > .diex-content-copy { order: 2; }
  .diex-content-row.is-reverse > figure,
  .diex-content-row.is-reverse > .diex-code-visual { order: 1; }
}

/* =========================================================================
   DIEX v4b: portfolio em cards no estilo dos servicos da home
   ========================================================================= */
.diex-portfolio-grid { align-items: stretch; }
.diex-case-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.diex-case-card .diex-service-visual {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 10px;
}
.diex-case-card .diex-service-visual .portfolio-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  transition: transform var(--dur-lg) var(--ease);
}
.diex-case-card-link:hover .diex-service-visual .portfolio-thumb { transform: scale(1.03); }
.diex-case-image-card {
  background: linear-gradient(135deg, #92ACFF 0%, #4f5b9a 48%, #0E0929 100%);
}
.diex-case-image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-lg) var(--ease);
}
.diex-case-card-link:hover .diex-case-image-card img {
  transform: scale(1.03);
}
.diex-case-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: clamp(14px, 1.3vw, 18px) 2px 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.diex-case-card-meta span:first-child { color: var(--diex-accent); }
.diex-case-card-link:hover h3 { color: var(--diex-accent); }
@media (max-width: 1100px) {
  .diex-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .diex-portfolio-grid { grid-template-columns: 1fr; }
}

/* alinhamento do grupo de filtros com o grid */
.diex-portfolio-section .pill-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* =========================================================================
   DIEX v4c: mobile da home — pill de portfolio abaixo dos cards e
   espacamento padronizado de secoes
   ========================================================================= */
@media (max-width: 1023px) {
  /* CTA "Ver portfolio" sai do meio dos cards e vai para o fim do grid */
  .diex-services-grid { position: relative; padding-bottom: 86px; }
  .diex-services-portfolio-pill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    min-height: 64px;
  }

  /* Espacamento vertical padronizado entre secoes no mobile */
  .diex-figma-section,
  .diex-benefits-section,
  .diex-services-section,
  .diex-content-block {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .diex-contact-fold { padding: 56px 0 !important; }
  .diex-final-cta { padding: 56px 0 !important; }
  .diex-page-hero .diex-page-hero-inner { padding: 48px 0 40px; }
  .section { padding: 56px 0 !important; }
}

/* =========================================================================
   DIEX v5: paginas internas no mesmo sistema visual da home
   ========================================================================= */
.diex-agency-product-card {
  aspect-ratio: 700 / 505;
  padding: clamp(18px, 2.1vw, 30px);
}

.diex-agency-product-card .diex-agency-product-media {
  width: min(88%, 570px);
  transform: translate3d(0, var(--parallax-y), 0);
}

.diex-code-visual.is-product-mockup {
  border-color: rgba(14, 9, 41, 0.08);
  background: #FDFCFF;
  box-shadow: 0 22px 54px rgba(2, 0, 15, 0.10);
  gap: clamp(9px, 1vw, 13px);
}

.diex-code-visual.is-product-mockup .cv-row,
.diex-code-visual.is-product-mockup .cv-kpi,
.diex-code-visual.is-product-mockup .cv-chart,
.diex-code-visual.is-product-mockup .cv-bubble {
  background: #F2F5FF;
  border-color: #DCE3FF;
}

.diex-code-visual.is-product-mockup .cv-tag,
.diex-code-visual.is-product-mockup .cv-btn {
  background: #EEF2FF;
}

.diex-code-visual.is-product-mockup .cv-title,
.diex-code-visual.is-product-mockup .cv-row strong,
.diex-code-visual.is-product-mockup .cv-kpi strong {
  color: #0E0929;
}

.diex-code-visual.is-product-mockup .cv-row,
.diex-code-visual.is-product-mockup .cv-bubble,
.diex-code-visual.is-product-mockup .cv-kpi span,
.diex-code-visual.is-product-mockup .cv-tag {
  color: #55516D;
}

.diex-code-visual.is-product-mockup .cv-row {
  min-height: 44px;
  padding: 9px 11px;
}

.diex-code-visual.is-product-mockup .cv-bubble {
  max-width: 78%;
}

.diex-code-visual.is-product-mockup .cv-kpi {
  padding: 10px;
}

.diex-code-visual.is-product-mockup .cv-chart {
  padding: 10px;
}

:root[data-theme="dark"] .diex-code-visual.is-product-mockup {
  background: #FDFCFF;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.30);
}

body[data-screen-label="03 Serviços"] .diex-dashboard-visual .diex-parallax-media[src*="service-"] {
  left: 50%;
  top: 8%;
  width: 62%;
  transform: translate3d(-50%, var(--parallax-y), 0);
}

body[data-screen-label="03 Serviços"] .diex-dashboard-visual .diex-parallax-media[src*="service-ecommerce"] {
  top: 7%;
  width: 64%;
}

body[data-screen-label="03 Serviços"] .diex-dashboard-visual .diex-parallax-media[src*="service-systems"] {
  top: 8%;
  width: 63%;
}

body[data-screen-label="03 Serviços"] .diex-content-block,
body[data-screen-label="02 Para Agências"] .diex-content-block,
body[data-screen-label="04 Portfólio"] .diex-services-section {
  padding-top: clamp(72px, 6.4vw, 104px);
  padding-bottom: clamp(72px, 6.4vw, 104px);
}

@media (max-width: 1023px) {
  .diex-services-grid {
    padding-bottom: 0;
  }

  body[data-screen-label="01 Home"] .diex-services-grid {
    padding-bottom: 86px;
  }

  body[data-screen-label="01 Home"] .diex-services-portfolio-pill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    min-height: 64px;
  }

  body:not([data-screen-label="01 Home"]) .diex-services-portfolio-pill {
    position: static;
  }

  .diex-benefits-visual .diex-benefit-photo:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .diex-benefits-visual .diex-benefit-photo:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .diex-benefits-visual .diex-benefit-photo:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .diex-benefits-visual .diex-benefit-card {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 1 / 1.18;
  }
}

@media (max-width: 760px) {
  .diex-figma-section,
  .diex-benefits-section,
  .diex-services-section,
  .diex-content-block,
  .diex-contact-fold,
  .diex-final-cta,
  .section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .diex-page-hero .diex-page-hero-inner {
    padding: 44px 0 34px !important;
  }

  .diex-content-row,
  .diex-content-row.is-reverse,
  .diex-benefits-responsive {
    gap: 28px;
  }

  .diex-agency-product-card {
    aspect-ratio: 1 / 0.92;
    padding: 18px;
  }

  .diex-agency-product-card .diex-agency-product-media {
    width: 94%;
  }

  body[data-screen-label="03 Serviços"] .diex-dashboard-visual .diex-parallax-media[src*="service-"] {
    width: 74%;
    top: 9%;
  }
}

@media (max-width: 600px) {
  .diex-benefits-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .diex-benefit-card {
    padding: 16px;
    font-size: clamp(19px, 7.1vw, 27px);
    line-height: 0.98;
  }

  .diex-agency-product-card {
    aspect-ratio: 1 / 1.08;
  }

  .diex-code-visual.is-product-mockup {
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
  }

  .diex-code-visual.is-product-mockup .cv-kpis {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .diex-code-visual.is-product-mockup .cv-row,
  .diex-code-visual.is-product-mockup .cv-bubble {
    font-size: 11px;
  }
}

/* DIEX final override: paginas internas nao herdam altura da hero da home. */
.diex-page-hero.diex-figma-hero,
.diex-page-hero .diex-hero-inner,
.diex-page-hero .diex-page-hero-inner {
  min-height: 0;
}

.diex-page-hero .diex-page-hero-inner {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(52px, 5vw, 76px);
}

.diex-page-hero.diex-figma-hero {
  padding: 0 !important;
}

@media (max-width: 760px) {
  .diex-page-hero.diex-figma-hero {
    min-height: 0 !important;
  }

  .diex-page-hero .diex-page-hero-inner {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}

@media (max-width: 600px) {
  .diex-page-hero.diex-agency-hero .diex-page-hero-inner,
  .diex-page-hero.diex-services-hero .diex-page-hero-inner,
  .diex-page-hero.diex-portfolio-hero .diex-page-hero-inner {
    gap: 30px;
  }

  .diex-agency-hero-visual,
  .diex-services-hero-visual,
  .diex-portfolio-hero-visual {
    min-height: 0;
    padding: 14px;
  }

  .agency-ops-panel {
    padding: 14px;
  }

  .agency-ops-grid,
  .diex-services-hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .agency-ops-grid div {
    min-height: 76px;
    padding: 11px;
  }

  .agency-ops-grid strong {
    margin-top: 12px;
    font-size: 18px;
  }

  .agency-ops-note {
    margin-top: 10px;
    padding: 10px 12px;
  }

  .service-orbit-card {
    min-height: 112px;
    padding: 13px;
  }

  .service-orbit-card.is-main {
    grid-row: span 2;
  }

  .service-orbit-card strong {
    font-size: 26px;
  }

  .service-orbit-card small {
    font-size: 13px;
  }

  .diex-portfolio-hero-visual {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: repeat(3, minmax(78px, 1fr));
    gap: 9px;
  }

  .portfolio-proof-card {
    min-height: 78px;
    padding: 12px;
  }

  .portfolio-proof-card.is-large {
    grid-row: span 3;
  }

  .portfolio-proof-card.is-large span {
    font-size: 44px;
  }

  .portfolio-proof-card strong {
    font-size: 18px;
  }
}

/* DIEX home mobile: respiro padronizado e hero mais compacta. */
@media (max-width: 760px) {
  body[data-screen-label="01 Home"] .diex-contact-fold,
  body[data-screen-label="01 Home"] .diex-benefits-section,
  body[data-screen-label="01 Home"] .diex-services-section,
  body[data-screen-label="01 Home"] .diex-content-block,
  body[data-screen-label="01 Home"] .diex-final-cta {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  body[data-screen-label="01 Home"] .diex-content-row,
  body[data-screen-label="01 Home"] .diex-content-row.is-reverse,
  body[data-screen-label="01 Home"] .diex-benefits-responsive {
    gap: 34px;
  }
}

@media (max-width: 600px) {
  body[data-screen-label="01 Home"] .diex-figma-hero {
    padding: 118px 0 52px !important;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy h1 {
    margin-top: 28px;
  }

  body[data-screen-label="01 Home"] .diex-hero-copy p {
    margin-top: 24px;
  }

  body[data-screen-label="01 Home"] .diex-hero-actions {
    gap: 12px;
    margin-top: 32px;
  }

  body[data-screen-label="01 Home"] .diex-hero-dashboard {
    top: auto !important;
    margin-top: 34px;
  }

  body[data-screen-label="01 Home"] .diex-hero-shape-main {
    top: 394px;
  }

  body[data-screen-label="01 Home"] .diex-benefit-card {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 14px 12px;
    font-size: clamp(20px, 6vw, 24px);
    line-height: 0.94;
    letter-spacing: 0;
    text-align: center;
    word-break: normal;
    overflow-wrap: normal;
  }

  body[data-screen-label="01 Home"] .diex-benefit-card span,
  body[data-screen-label="01 Home"] .diex-benefit-card strong {
    display: block !important;
    width: 100%;
    font-size: inherit;
    text-decoration: none;
  }

  body[data-screen-label="01 Home"] .diex-benefits-visual .diex-benefit-photo:nth-child(1) img {
    object-position: 52% 18%;
  }

  body[data-screen-label="01 Home"] .diex-benefits-visual .diex-benefit-photo:nth-child(2) img {
    object-position: 50% 16%;
  }

  body[data-screen-label="01 Home"] .diex-benefits-visual .diex-benefit-photo:nth-child(3) img {
    object-position: 46% 16%;
  }
}
