:root {
  --bg: #070b0f;
  --bg-soft: #0f151c;
  --surface: rgba(14, 20, 27, 0.7);
  --line: rgba(180, 195, 210, 0.14);
  --text: #f5f7fa;
  --muted: #b8c2cc;
  --ink-dark: #101418;
  --sand: #f4f1e9;
  --sand-line: rgba(16, 20, 24, 0.12);
  --accent: #ffe52d;
  --accent-on-light: #695f00;
  --accent-2: #7ed0f6;
  --accent-3: #ff9d4d;
  --accent-dark: #171b20;
  --shadow: 0 22px 60px rgba(2, 6, 14, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 134px;
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 229, 45, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(126, 208, 246, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 157, 77, 0.08), transparent 26%),
    linear-gradient(180deg, #070b0f 0%, #0c1218 45%, #07090c 100%);
}

body.page-ecommerce {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 229, 45, 0.18), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(126, 208, 246, 0.18), transparent 22%),
    radial-gradient(circle at 72% 82%, rgba(255, 157, 77, 0.1), transparent 26%),
    linear-gradient(180deg, #070b0f 0%, #0d141b 45%, #07090c 100%);
}

body.page-turnero {
  background:
    radial-gradient(circle at 12% 8%, rgba(126, 208, 246, 0.16), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(255, 229, 45, 0.16), transparent 20%),
    radial-gradient(circle at 62% 82%, rgba(124, 236, 190, 0.08), transparent 24%),
    linear-gradient(180deg, #070b0f 0%, #0c1319 45%, #07090c 100%);
}

body.page-legacy {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 157, 77, 0.14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(126, 208, 246, 0.14), transparent 22%),
    radial-gradient(circle at 48% 100%, rgba(255, 229, 45, 0.08), transparent 24%),
    linear-gradient(180deg, #070b0f 0%, #10151b 45%, #07090c 100%);
}

body.page-consorcios {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 229, 45, 0.12), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(255, 157, 77, 0.14), transparent 22%),
    radial-gradient(circle at 56% 82%, rgba(126, 208, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #070b0f 0%, #11161d 45%, #07090c 100%);
}

body.page-contacto {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 229, 45, 0.14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(126, 208, 246, 0.14), transparent 22%),
    radial-gradient(circle at 58% 86%, rgba(255, 157, 77, 0.08), transparent 24%),
    linear-gradient(180deg, #070b0f 0%, #0d1319 45%, #07090c 100%);
}

body > * {
  position: relative;
  z-index: 1;
}

.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 229, 45, 0.14), rgba(255, 229, 45, 0.05) 32%, transparent 68%),
    radial-gradient(circle at 38% 38%, rgba(126, 208, 246, 0.2), transparent 54%);
  filter: blur(14px);
  transition: opacity 220ms ease;
  mix-blend-mode: screen;
}

body.page-turnero .cursor-aura {
  background:
    radial-gradient(circle at 48% 48%, rgba(126, 208, 246, 0.16), rgba(126, 208, 246, 0.06) 34%, transparent 68%),
    radial-gradient(circle at 36% 36%, rgba(255, 229, 45, 0.16), transparent 54%);
}

body.page-legacy .cursor-aura {
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 157, 77, 0.15), rgba(255, 157, 77, 0.05) 34%, transparent 68%),
    radial-gradient(circle at 36% 36%, rgba(126, 208, 246, 0.14), transparent 54%);
}

body.page-consorcios .cursor-aura {
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 157, 77, 0.14), rgba(255, 157, 77, 0.05) 34%, transparent 68%),
    radial-gradient(circle at 36% 36%, rgba(255, 229, 45, 0.14), transparent 54%);
}

.cursor-aura.is-active {
  opacity: 0.9;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
}

a {
  color: inherit;
}

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

.site-header,
.hero,
.metrics,
.section,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 12, 17, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header-compact {
  grid-template-columns: auto 1fr;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid var(--accent);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 229, 45, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: 0 10px 24px rgba(255, 229, 45, 0.18);
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.hero-wordmark {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 0 22px;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.24));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-copy small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.84;
  transition: color 180ms ease;
}

.main-nav a[aria-current="page"] {
  color: var(--text);
  opacity: 1;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #ffe52d, #ffb938);
  color: #13171c;
  box-shadow: 0 18px 36px rgba(255, 185, 56, 0.24);
  font-weight: 700;
}

.header-cta {
  padding-inline: 24px;
  letter-spacing: -0.01em;
  justify-self: end;
  width: max-content;
  white-space: nowrap;
}

.header-cta-compact {
  gap: 12px;
  padding: 12px 18px;
  min-height: 56px;
}

.header-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(16, 23, 28, 0.12);
  box-shadow: inset 0 0 0 1px rgba(16, 23, 28, 0.08);
}

.header-cta-icon svg {
  width: 16px;
  height: 16px;
}

.button-secondary {
  border: 1px solid rgba(126, 208, 246, 0.28);
  background: rgba(126, 208, 246, 0.08);
  color: var(--text);
}

.button-dark {
  background: var(--ink-dark);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(16, 20, 24, 0.2);
}

.button-ghost {
  border: 1px dashed rgba(255, 229, 45, 0.3);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(126, 208, 246, 0.48);
  box-shadow: 0 18px 30px rgba(126, 208, 246, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  box-shadow: 0 18px 38px rgba(255, 185, 56, 0.3);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 42px;
}

.page-hero {
  min-height: 74vh;
}

.hero-copy h1,
.section-heading h2,
.signal-card h2,
.product-card h3,
.capability-card h3,
.proof-card h3,
.process-step h3,
.cta-band h2 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

.eyebrow,
.signal-label,
.product-state,
.proof-stack {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
}

.signal-label,
.product-state,
.proof-stack {
  color: var(--accent-2);
}

.hero-copy h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.page-home .hero-copy h1 {
  max-width: 11.8ch;
  font-size: clamp(46px, 6.7vw, 84px);
}

.page-home .signal-card h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.page-hero .hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(40px, 6vw, 76px);
}

.lead {
  max-width: 64ch;
  margin: 24px 0 0;
  color: #c8d0d8;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.cta-actions,
.hero-signals,
.product-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-link {
  margin-top: 16px;
}

.hero-signals {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.hero-signals li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cdd4dc;
  background: rgba(255, 255, 255, 0.05);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.hero-panels {
  display: grid;
  gap: 16px;
}

.signal-card,
.metric-card,
.section,
.proof-card,
.product-card,
.capability-card,
.process-step {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.signal-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.signal-card-main {
  background:
    radial-gradient(circle at top right, rgba(126, 208, 246, 0.2), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 229, 45, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.page-ecommerce .signal-card-main {
  background:
    radial-gradient(circle at top right, rgba(255, 229, 45, 0.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(126, 208, 246, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.page-turnero .signal-card-main {
  background:
    radial-gradient(circle at top right, rgba(126, 208, 246, 0.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(124, 236, 190, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.page-legacy .signal-card-main {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 77, 0.2), transparent 36%),
    radial-gradient(circle at bottom left, rgba(126, 208, 246, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.page-consorcios .signal-card-main {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 77, 0.2), transparent 36%),
    radial-gradient(circle at bottom left, rgba(255, 229, 45, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.signal-card h2 {
  margin: 10px 0 12px;
  font-size: 40px;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.signal-card p:last-child {
  color: #c8d0d8;
  line-height: 1.7;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card {
  padding: 22px;
  border-radius: var(--radius-md);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
}

.metric-card span {
  color: #c3ccd5;
  line-height: 1.6;
}

.section {
  margin-bottom: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.section-heading {
  margin-bottom: 30px;
  max-width: 52rem;
}

.section-heading h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section-light {
  color: var(--ink-dark);
  background:
    radial-gradient(circle at top left, rgba(255, 229, 45, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(126, 208, 246, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(244, 241, 233, 0.98), rgba(236, 239, 242, 0.96));
  border-color: var(--sand-line);
}

.section-light .eyebrow,
.section-light .product-state,
.section-light .proof-stack {
  color: var(--accent-on-light);
}

.section-light .section-heading h2,
.section-light p,
.section-light li,
.section-light h3 {
  color: var(--ink-dark);
}

.product-grid,
.capability-grid,
.proof-layout {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-number,
.module-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(255, 229, 45, 0.16);
}

.ecommerce-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(126, 208, 246, 0.16), transparent 28%),
    radial-gradient(circle at 14% 84%, rgba(255, 229, 45, 0.13), transparent 30%),
    rgba(12, 18, 24, 0.92);
}

.ecommerce-feature-copy h2,
.real-case h2 {
  margin: 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.ecommerce-feature-copy h2 {
  font-size: clamp(42px, 4.8vw, 68px);
}

.real-case h2 {
  font-size: clamp(40px, 4.5vw, 64px);
}

.ecommerce-feature-copy > p:not(.eyebrow),
.real-case-copy > p {
  color: #d2d9e0;
  line-height: 1.75;
}

.ecommerce-feature-copy .ecommerce-lead {
  margin: 18px 0 10px;
  color: var(--text);
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 24px;
  line-height: 1.22;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 11px 14px 11px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e6eb;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-weight: 700;
}

.product-collage {
  position: relative;
  min-width: 0;
  min-height: 560px;
  isolation: isolate;
}

.product-collage-compact {
  min-height: 520px;
}

.collage-frame {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #0b1015;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48);
}

.collage-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.collage-frame figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(7, 11, 15, 0.92);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.collage-main {
  z-index: 1;
  inset: 72px 92px 20px 0;
}

.collage-detail {
  z-index: 2;
  top: 0;
  right: 0;
  width: 59%;
  height: 47%;
  transform: rotate(1.2deg);
}

.collage-mobile {
  z-index: 3;
  right: 20px;
  bottom: 0;
  width: 28%;
  height: 58%;
  transform: rotate(-1.5deg);
}

.product-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
}

.product-hero .hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(46px, 5.6vw, 74px);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.module-card h3 {
  margin: 18px 0 10px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: 27px;
}

.module-card p {
  margin: 0;
  color: #cbd3db;
  line-height: 1.7;
}

.real-case {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
}

.section-light .real-case-copy > p {
  color: #30363c;
}

.real-case-copy .button {
  margin-top: 14px;
}

.case-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(16, 20, 24, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 50px rgba(16, 20, 24, 0.2);
}

.case-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.case-image figcaption {
  padding: 12px 16px;
  color: #30363c;
  font-size: 13px;
  font-weight: 600;
}

.product-card,
.capability-card,
.proof-card,
.process-step {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.product-card-wide {
  grid-column: 1 / -1;
}

.product-card-accent {
  background:
    radial-gradient(circle at top left, rgba(255, 229, 45, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(126, 208, 246, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.06);
}

.product-card h3,
.capability-card h3,
.proof-card h3,
.process-step h3 {
  margin: 12px 0;
  font-size: 28px;
}

.product-card p,
.capability-card p,
.proof-card p,
.process-step p {
  color: #c6ced6;
  line-height: 1.7;
}

.section-light .process-step p {
  color: #626d78;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  flex-direction: column;
}

.product-card li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.text-link::after {
  content: "->";
  margin-left: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.section-light .text-link {
  color: var(--ink-dark);
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-card-light,
.section-light .process-step,
.section-light .product-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(23, 24, 25, 0.12);
  box-shadow: 0 18px 32px rgba(23, 24, 25, 0.08);
}

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

.contact-stack {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-card,
.contact-form-shell {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.contact-card {
  padding: 22px;
}

.contact-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.contact-card-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.contact-card-head p,
.contact-form-lead,
.form-note {
  margin: 0;
  color: #c6ced6;
  line-height: 1.7;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #13171c;
  background: linear-gradient(135deg, #ffe52d, #ffb938);
  box-shadow: 0 18px 32px rgba(255, 185, 56, 0.2);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-form-wrap {
  align-self: stretch;
}

.contact-form-shell {
  padding: 28px;
}

.page-legal {
  padding-top: 42px;
}

.legal-copy {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.legal-copy p {
  margin: 0;
  color: #c6ced6;
  line-height: 1.8;
}

.contact-form-shell h2 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(180, 195, 210, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 154px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 229, 45, 0.46);
  box-shadow: 0 0 0 4px rgba(255, 229, 45, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 157, 77, 0.34);
  background: rgba(255, 157, 77, 0.08);
  color: #ffd2ad;
}

.form-status.is-visible {
  display: block;
}

.proof-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(255, 229, 45, 0.16), transparent 40%),
    radial-gradient(circle at bottom left, rgba(126, 208, 246, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.06);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 229, 45, 0.18);
  color: #14181d;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 229, 45, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(126, 208, 246, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.06);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
}

.cta-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 48px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.signal-card,
.metric-card,
.product-card,
.capability-card,
.proof-card,
.process-step {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.signal-card:hover,
.metric-card:hover,
.product-card:hover,
.capability-card:hover,
.proof-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 54px rgba(2, 6, 14, 0.4);
}

@media (max-width: 1120px) {
  .hero,
  .cta-band,
  .proof-layout,
  .product-grid,
  .capability-grid,
  .process-track,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    align-items: start;
  }

  .section-heading h2 {
    max-width: 22ch;
  }

  .ecommerce-feature,
  .product-hero,
  .real-case {
    grid-template-columns: 1fr;
  }

  .product-collage {
    width: min(100%, 820px);
    margin-inline: auto;
  }
}

@media (max-width: 840px) {
  .site-header {
    top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 8px;
    padding: 11px 12px;
    border-radius: 24px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    max-width: 24ch;
    font-size: 12px;
    line-height: 1.35;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 229, 45, 0.34);
    border-radius: 999px;
    background: rgba(255, 229, 45, 0.06);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
    padding: 10px 0 2px;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 15px;
    opacity: 0.92;
  }

  .main-nav a[aria-current="page"] {
    background: rgba(255, 229, 45, 0.1);
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }

  .header-cta {
    display: none;
  }

  .hero,
  .proof-layout,
  .product-grid,
  .capability-grid,
  .solution-grid,
  .process-track,
  .metrics,
  .cta-band,
  .module-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 44px;
  }

  .page-hero {
    min-height: auto;
  }

  .section {
    padding: 24px;
  }

  .hero-copy h1,
  .page-hero .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 56px);
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div:last-child {
    justify-content: flex-start;
  }

  .cursor-aura {
    display: none;
  }

  .product-collage,
  .product-collage-compact {
    min-height: 470px;
  }

  .collage-main {
    inset: 74px 54px 42px 0;
  }

  .collage-detail {
    width: 64%;
    height: 45%;
  }

  .collage-mobile {
    right: 8px;
    width: 31%;
    height: 56%;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .metrics,
  .section,
  .site-footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .brand-copy small {
    max-width: 18ch;
  }

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 20px;
    border-radius: 24px;
  }

  .page-home .hero-copy h1,
  .product-hero .hero-copy h1 {
    font-size: clamp(36px, 11.5vw, 48px);
    line-height: 0.98;
  }

  .hero-actions,
  .cta-actions,
  .contact-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button,
  .cta-actions .button,
  .contact-form-actions .button {
    width: 100%;
  }

  .contact-form-shell,
  .contact-card {
    padding: 20px;
  }

  .contact-form-shell h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  .ecommerce-feature,
  .real-case {
    gap: 24px;
  }

  .ecommerce-feature > *,
  .real-case > * {
    min-width: 0;
  }

  .product-collage,
  .product-collage-compact {
    min-height: 390px;
  }

  .collage-main {
    inset: 58px 34px 44px 0;
  }

  .collage-detail {
    width: 68%;
    height: 42%;
  }

  .collage-mobile {
    right: 0;
    width: 33%;
    height: 54%;
  }

  .collage-frame {
    border-radius: 16px;
  }

  .collage-frame figcaption {
    left: 8px;
    bottom: 8px;
    padding: 6px 9px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    min-width: 64px;
  }

  .hero-copy h1,
  .page-hero .hero-copy h1,
  .page-home .hero-copy h1,
  .product-hero .hero-copy h1 {
    font-size: clamp(34px, 11.5vw, 42px);
  }

  .ecommerce-feature-copy h2,
  .real-case h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 17px;
  }

  .product-collage,
  .product-collage-compact {
    min-height: 340px;
  }
}

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

  .reveal,
  .button,
  .header-cta {
    transition: none;
  }

  .cursor-aura {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor-aura {
    display: none;
  }
}
