/* =============================================
   MLNIK — DIGITAL BRUTALISM LITE
   CSS Custom Properties & Base
   ============================================= */

:root {
  --color-bg: #f5f3ef;
  --color-bg-dark: #1a1a18;
  --color-bg-section: #edeae4;
  --color-surface: #ffffff;
  --color-surface-tinted: #f0ede7;
  --color-ink: #1a1a18;
  --color-ink-secondary: #4a4a46;
  --color-ink-muted: #7a7a74;
  --color-accent: #c8a84b;
  --color-accent-dark: #a88a30;
  --color-accent-light: #e8cc7a;
  --color-border: #d4d0c8;
  --color-border-strong: #a0a09a;
  --color-concrete: #c8c5bc;
  --color-yellow-raw: #f0e060;

  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --shadow-low: 0 1px 3px rgba(26,26,24,0.08), 0 2px 6px rgba(26,26,24,0.05);
  --shadow-mid: 0 4px 12px rgba(26,26,24,0.10), 0 8px 24px rgba(26,26,24,0.07);
  --shadow-high: 0 8px 24px rgba(26,26,24,0.12), 0 20px 48px rgba(26,26,24,0.09), 0 1px 2px rgba(26,26,24,0.08);
  --shadow-accent: 0 4px 16px rgba(200,168,75,0.25), 0 2px 6px rgba(200,168,75,0.15);

  --transition-fast: 0.18s ease;
  --transition-mid: 0.3s ease;
  --transition-slow: 0.5s ease;

  --nav-height: 68px;
}

/* =============================================
   RESET & BASE
   ============================================= */

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* =============================================
   UTILITIES
   ============================================= */

.u-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.u-label {
  color: var(--color-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-sm);
}

.u-mt-md {
  margin-top: var(--space-md);
}

.u-text-center {
  text-align: center;
}

.u-hidden {
  display: none !important;
}

/* =============================================
   BUTTONS
   ============================================= */

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-mid);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform var(--transition-mid);
  }

  &:hover::before {
    transform: translateX(0);
  }
}

.c-btn--primary {
  background-color: var(--color-accent);
  color: var(--color-ink);
  box-shadow: var(--shadow-accent);

  &:hover {
    background-color: var(--color-accent-dark);
    box-shadow: 0 6px 20px rgba(200,168,75,0.35), 0 2px 8px rgba(200,168,75,0.2);
    transform: translateY(-1px);
  }

  &:active {
    transform: translateY(0);
  }
}

.c-btn--ghost {
  border: 1.5px solid var(--color-border-strong);
  color: var(--color-ink);
  background: transparent;

  &:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
    box-shadow: var(--shadow-low);
  }
}

.c-btn--outline {
  border: 1.5px solid var(--color-ink);
  color: var(--color-ink);
  background: transparent;

  &:hover {
    background-color: var(--color-ink);
    color: var(--color-bg);
  }
}

.c-btn--full {
  width: 100%;
  justify-content: center;
}

.c-btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
}

/* =============================================
   NAVIGATION
   ============================================= */

.c-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245,243,239,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(0);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);

  &.is-hidden {
    transform: translateY(-100%);
  }

  &.is-scrolled {
    box-shadow: var(--shadow-low);
  }
}

.c-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;

  & img {
    height: 32px;
    width: auto;
  }
}

.c-nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;

  @media (min-width: 900px) {
    display: flex;
  }
}

.c-nav__link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-secondary);
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-mid);
  }

  &:hover {
    color: var(--color-ink);

    &::after {
      width: 100%;
    }
  }

  &--cta {
    background: var(--color-ink);
    color: var(--color-bg);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);

    &::after {
      display: none;
    }

    &:hover {
      background: var(--color-accent);
      color: var(--color-ink);
    }
  }
}

.c-nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;

  @media (min-width: 900px) {
    display: none;
  }

  & span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-ink);
    transition: all var(--transition-fast);
    transform-origin: center;
  }

  &.is-active {
    & span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    & span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    & span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
  }
}

.c-nav__mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow);

  &.is-open {
    display: flex;
    max-height: 400px;
  }

  @media (min-width: 900px) {
    display: none !important;
  }
}

.c-nav__mobile-link {
  padding: 1rem var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-secondary);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);

  &:hover {
    background: var(--color-surface-tinted);
    color: var(--color-ink);
    padding-left: calc(var(--space-lg) + 8px);
  }

  &--accent {
    color: var(--color-accent-dark);
    font-weight: 600;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */

.s-hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background-color: var(--color-bg-dark);
  color: #f0ede7;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }
}

.s-hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.04;

  & span {
    border-right: 1px solid #f0ede7;

    &:last-child {
      border-right: none;
    }
  }
}

.s-hero__inner {
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;

  @media (min-width: 900px) {
    padding: var(--space-3xl) var(--space-xl);
  }
}

.s-hero__label {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);

  &::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--color-accent);
  }
}

.s-hero__heading {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #f0ede7;
  margin-bottom: var(--space-lg);

  & em {
    font-style: italic;
    color: var(--color-accent);
  }
}

.s-hero__sub {
  max-width: 480px;
  margin-bottom: var(--space-lg);

  & p {
    font-size: 1.05rem;
    color: rgba(240,237,231,0.7);
    line-height: 1.7;
  }
}

.s-hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.s-hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240,237,231,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;

  & i {
    animation: bounce-down 2s ease infinite;
  }

  @media (min-width: 900px) {
    left: var(--space-xl);
  }
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.s-hero__visual {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg) var(--space-xl) 0;
  position: relative;

  @media (min-width: 900px) {
    display: flex;
  }
}

.s-hero__img-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-high);
  border: 1px solid rgba(255,255,255,0.1);

  & img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
  }
}

.s-hero__img-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(26,26,24,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;

  & span:first-child {
    color: var(--color-accent);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;

    &::before {
      content: '';
      width: 6px;
      height: 6px;
      background: #4ade80;
      border-radius: 50%;
      animation: pulse-dot 2s ease infinite;
    }
  }

  & span:last-child {
    font-size: 0.78rem;
    color: rgba(240,237,231,0.8);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* =============================================
   STRIP
   ============================================= */

.s-strip {
  background: var(--color-accent);
  border-top: 1px solid var(--color-accent-dark);
  border-bottom: 1px solid var(--color-accent-dark);
  overflow: hidden;
}

.s-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 0.9rem var(--space-lg);
  overflow-x: auto;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }

  @media (min-width: 900px) {
    justify-content: center;
    gap: var(--space-xl);
    overflow: visible;
  }
}

.s-strip__item {
  font-size: 0.7rem;
  color: var(--color-ink);
  white-space: nowrap;
  font-weight: 600;
}

.s-strip__dot {
  width: 4px;
  height: 4px;
  background: var(--color-ink);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

/* =============================================
   PLATFORM SECTION
   ============================================= */

.s-platform {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-lg);
    right: var(--space-lg);
    height: 1px;
    background: var(--color-border);
  }
}

.s-platform__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.s-platform__heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.s-platform__body {
  color: var(--color-ink-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);

  &:last-of-type {
    margin-bottom: var(--space-md);
  }
}

.s-platform__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-high);
  border: 1px solid var(--color-border);

  & img {
    width: 100%;
    height: 380px;
    object-fit: cover;
  }
}

.s-platform__tag {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-bg-dark);
  color: var(--color-accent);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  border: 1px solid rgba(200,168,75,0.3);
}

.s-platform__stat-row {
  display: flex;
  gap: 0;
  margin-top: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.s-platform__stat {
  flex: 1;
  padding: var(--space-md);
  text-align: center;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: background var(--transition-fast);

  &:last-child {
    border-right: none;
  }

  &:hover {
    background: var(--color-surface-tinted);
  }
}

.s-platform__stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.s-platform__stat-label {
  color: var(--color-ink-muted);
  font-size: 0.65rem;
}

/* =============================================
   SOLUTIONS SECTION
   ============================================= */

.s-solutions {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.s-solutions__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.s-solutions__header {
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.s-solutions__heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.s-solutions__sub {
  color: var(--color-ink-secondary);
  line-height: 1.7;
}

.s-solutions__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);

  @media (min-width: 640px) {
    grid-template-columns: 1fr 1fr;
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.c-solution-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-mid);
  cursor: pointer;
  box-shadow: var(--shadow-low);

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--color-accent);
    transition: height var(--transition-mid);
  }

  &:hover {
    box-shadow: var(--shadow-high);
    transform: translateY(-4px);
    border-color: var(--color-accent-light);

    &::before {
      height: 100%;
    }

    & .c-solution-card__more {
      max-height: 300px;
      opacity: 1;
    }
  }
}

.c-solution-card__icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border);

  & i {
    font-size: 1.1rem;
    color: var(--color-accent-dark);
  }

  .c-solution-card:hover & {
    background: var(--color-accent);
    border-color: var(--color-accent);

    & i {
      color: var(--color-ink);
    }
  }
}

.c-solution-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.c-solution-card__desc {
  font-size: 0.9rem;
  color: var(--color-ink-secondary);
  line-height: 1.65;
}

.c-solution-card__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-mid);

  & p {
    font-size: 0.85rem;
    color: var(--color-ink-muted);
    line-height: 1.65;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    margin-bottom: var(--space-sm);
  }
}

.c-solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--color-accent-dark);
  font-weight: 600;
  transition: gap var(--transition-fast);

  &:hover {
    gap: 0.7rem;
    color: var(--color-accent);
  }
}

/* =============================================
   ANALYTICS SECTION
   ============================================= */

.s-analytics {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-dark);
  color: #f0ede7;
  position: relative;
  overflow: hidden;

  &::before {
    content: 'DATA';
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    font-family: var(--font-head);
    font-size: clamp(8rem, 18vw, 20rem);
    font-weight: 700;
    color: rgba(255,255,255,0.025);
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.05em;
  }
}

.s-analytics__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.s-analytics__content {
  max-width: 640px;
  margin-bottom: var(--space-2xl);

  & .u-label {
    color: var(--color-accent);
  }
}

.s-analytics__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f0ede7;
}

.s-analytics__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-2xl);

  @media (min-width: 900px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.s-analytics__feature {
  background: var(--color-bg-dark);
  padding: var(--space-lg) var(--space-md);
  transition: background var(--transition-fast);

  &:hover {
    background: rgba(255,255,255,0.05);
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f0ede7;
    line-height: 1.3;
  }

  & p {
    font-size: 0.85rem;
    color: rgba(240,237,231,0.6);
    line-height: 1.65;
  }
}

.s-analytics__feature-num {
  font-size: 0.65rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.s-analytics__showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);

  @media (min-width: 900px) {
    grid-template-columns: 2fr 1fr;
  }
}

.s-analytics__glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);

  & img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity var(--transition-mid);

    &:hover {
      opacity: 1;
    }
  }
}

.s-analytics__glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.65rem;
  color: rgba(240,237,231,0.5);
}

.s-analytics__dots {
  display: flex;
  gap: 5px;

  & span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);

    &:first-child { background: #f97171; }
    &:nth-child(2) { background: #fbbf24; }
    &:last-child { background: #4ade80; }
  }
}

.s-analytics__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);

  & img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
  }
}

.s-analytics__aside-text {
  padding: var(--space-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);

  & p:first-child {
    color: var(--color-accent);
    margin-bottom: 0.4rem;
  }

  & p:last-child {
    font-size: 0.85rem;
    color: rgba(240,237,231,0.6);
    line-height: 1.6;
  }
}

/* =============================================
   INTEGRATION SECTION
   ============================================= */

.s-integration {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.s-integration__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
  }
}

.s-integration__text {
  & .u-label {
    margin-bottom: var(--space-sm);
  }

  & p {
    color: var(--color-ink-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-sm);

    &:last-of-type {
      margin-bottom: var(--space-lg);
    }
  }
}

.s-integration__heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.s-integration__systems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.s-integration__system-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-low);

  &:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-mid);
    transform: translateY(-2px);
  }

  & i {
    color: var(--color-accent-dark);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
  }

  & span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-ink-secondary);
  }
}

.s-integration__visual {
  position: relative;

  & img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-high);
    border: 1px solid var(--color-border);
  }
}

.s-integration__badge {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-mid);
  white-space: nowrap;

  & i {
    color: var(--color-accent-dark);
    font-size: 1.2rem;
  }

  & strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-ink);
  }

  & span {
    color: var(--color-accent-dark);
    font-size: 0.65rem;
  }
}

/* =============================================
   PROCESS / SWIPER SECTION
   ============================================= */

.s-process {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.s-process__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.s-process__header {
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

.s-process__heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.s-process__swiper {
  padding-bottom: calc(var(--space-xl) + 10px) !important;
  overflow: visible;
}

.s-process__slide {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-low);
  transition: box-shadow var(--transition-mid), transform var(--transition-mid);
  height: auto;

  &:hover {
    box-shadow: var(--shadow-high);
    transform: translateY(-4px);
  }

  & img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  & h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    padding: var(--space-md) var(--space-md) 0.5rem;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.88rem;
    color: var(--color-ink-secondary);
    padding: 0 var(--space-md) var(--space-md);
    line-height: 1.65;
  }
}

.s-process__step-num {
  display: block;
  padding: var(--space-md) var(--space-md) 0;
  font-size: 0.7rem;
  color: var(--color-accent);
}

.s-process__pagination {
  bottom: 0 !important;

  & .swiper-pagination-bullet {
    background: var(--color-border-strong);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all var(--transition-fast);

    &.swiper-pagination-bullet-active {
      background: var(--color-accent);
      width: 24px;
      border-radius: 4px;
    }
  }
}

.s-process__btn-next,
.s-process__btn-prev {
  color: var(--color-ink) !important;
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  box-shadow: var(--shadow-low) !important;
  transition: all var(--transition-fast) !important;

  &::after {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }

  &:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    box-shadow: var(--shadow-accent) !important;
  }
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.s-contact {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.s-contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.s-contact__header {
  max-width: 560px;
  margin-bottom: var(--space-2xl);
}

.s-contact__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.s-contact__sub {
  color: var(--color-ink-secondary);
  line-height: 1.7;
}

.s-contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);

  @media (min-width: 900px) {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* =============================================
   CONTACT FORM
   ============================================= */

.c-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.c-form-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.c-form-field__input {
  width: 100%;
  padding: 0.85rem var(--space-sm);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;

  &::placeholder {
    color: var(--color-concrete);
  }

  &:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(200,168,75,0.12);
  }

  &--textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
  }
}

.c-form-field__helper {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  font-style: italic;
}

.c-form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.c-form-field__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-ink-secondary);
  line-height: 1.5;

  & input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  & a {
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-decoration-color: rgba(168,138,48,0.4);

    &:hover {
      color: var(--color-accent);
    }
  }
}

.c-form-field__checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 3px;
  background: var(--color-surface);
  transition: all var(--transition-fast);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;

  &::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid var(--color-ink);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform var(--transition-fast);
    margin-top: -2px;
  }

  input:checked + & {
    background: var(--color-accent);
    border-color: var(--color-accent);

    &::after {
      transform: rotate(45deg) scale(1);
    }
  }
}

/* =============================================
   CONTACT INFO
   ============================================= */

.s-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.s-contact__info-block {
  & p:first-child {
    color: var(--color-accent);
    margin-bottom: 0.4rem;
  }

  & p:last-child {
    color: var(--color-ink-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

.s-contact__info-link {
  font-size: 1.05rem;
  color: var(--color-ink);
  font-weight: 500;
  transition: color var(--transition-fast);

  &:hover {
    color: var(--color-accent-dark);
  }
}

.s-contact__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-low);

  & iframe {
    display: block;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.c-footer {
  background: var(--color-bg-dark);
  color: rgba(240,237,231,0.7);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-2xl);
}

.c-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);

  @media (min-width: 900px) {
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-3xl);
  }
}

.c-footer__brand {
  & img {
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1) opacity(0.8);
  }

  & p {
    font-size: 0.88rem;
    line-height: 1.75;
    max-width: 280px;
  }
}

.c-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);

  @media (min-width: 640px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  & a, & p {
    font-size: 0.85rem;
    color: rgba(240,237,231,0.6);
    transition: color var(--transition-fast);
    line-height: 1.5;
  }

  & a:hover {
    color: var(--color-accent-light);
  }
}

.c-footer__col-title {
  color: rgba(240,237,231,0.4) !important;
  font-size: 0.65rem !important;
  margin-bottom: 0.5rem;
}

.c-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-md) var(--space-lg);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);

  & span {
    font-size: 0.65rem;
    color: rgba(240,237,231,0.3);
  }
}

/* =============================================
   COOKIE CONSENT
   ============================================= */

.c-cookie-icon {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: var(--shadow-high);
  transition: all var(--transition-mid);

  & i {
    color: var(--color-accent);
    font-size: 1.1rem;
  }

  &:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-accent);
    border-color: var(--color-accent);
  }
}

.c-cookie-icon__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #f97171;
  border-radius: 50%;
  border: 2px solid var(--color-bg);

  &.u-hidden {
    display: none !important;
  }
}

.c-cookie-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 340px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-high);
  z-index: 901;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-mid);
  overflow: hidden;

  &.is-active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  @media (max-width: 400px) {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 4.5rem;
  }
}

.c-cookie-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-section);

  & span {
    font-size: 0.7rem;
    color: var(--color-ink);
    font-weight: 600;
  }
}

.c-cookie-panel__close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);

  &:hover {
    background: var(--color-border);
  }

  & i {
    font-size: 0.85rem;
    color: var(--color-ink-secondary);
  }
}

.c-cookie-panel__text {
  padding: var(--space-md);
  font-size: 0.82rem;
  color: var(--color-ink-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--color-border);
}

.c-cookie-panel__toggles {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.c-cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.c-cookie-toggle__info {
  & strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-ink);
    font-weight: 600;
    margin-bottom: 0.15rem;
  }

  & span {
    font-size: 0.75rem;
    color: var(--color-ink-muted);
  }
}

.c-cookie-toggle__switch {
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;

  & input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  &--locked {
    cursor: not-allowed;
    opacity: 0.6;
  }
}

.c-cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--color-concrete);
  border-radius: 11px;
  transition: background var(--transition-fast);

  &::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }

  input:checked + & {
    background: var(--color-accent);

    &::before {
      transform: translateX(18px);
    }
  }
}

.c-cookie-panel__actions {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
}

.c-cookie-panel__legal {
  padding: var(--space-xs) var(--space-md) var(--space-sm);
  font-size: 0.72rem;
  color: var(--color-ink-muted);
  text-align: center;

  & a {
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-decoration-color: rgba(168,138,48,0.3);

    &:hover {
      color: var(--color-accent);
    }
  }
}

/* =============================================
   LEGAL PAGES BASE
   ============================================= */

.s-legal {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-2xl);
  min-height: 100vh;
  background: var(--color-bg);
}

.s-legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.s-legal__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  line-height: 1.1;
}

.s-legal__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-xl);
  display: block;
}

.c-legal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-low);

  &:hover {
    box-shadow: var(--shadow-mid);
    border-color: var(--color-border-strong);
  }

  & h2 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-ink);
  }

  & h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin: var(--space-sm) 0 0.4rem;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.9rem;
    color: var(--color-ink-secondary);
    line-height: 1.75;
    margin-bottom: 0.6rem;

    &:last-child {
      margin-bottom: 0;
    }
  }

  & ul {
    list-style: disc;
    padding-left: var(--space-md);
    margin: 0.5rem 0;

    & li {
      font-size: 0.9rem;
      color: var(--color-ink-secondary);
      line-height: 1.7;
      margin-bottom: 0.3rem;

      &::marker {
        color: var(--color-accent-dark);
      }
    }
  }

  & a {
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-decoration-color: rgba(168,138,48,0.3);

    &:hover {
      color: var(--color-accent);
    }
  }
}

/* =============================================
   THANKS PAGE
   ============================================= */

.s-thanks {
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg);
}

.s-thanks__icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);

  & i {
    font-size: 1.5rem;
    color: var(--color-accent-dark);
  }
}

.s-thanks__heading {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.s-thanks__sub {
  font-size: 1.05rem;
  color: var(--color-ink-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
   ============================================= */

@media (max-width: 639px) {
  .s-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .s-analytics__grid {
    grid-template-columns: 1fr;
  }

  .s-integration__systems {
    grid-template-columns: 1fr;
  }

  .c-footer__inner {
    gap: var(--space-xl);
  }

  .c-footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .s-legal__inner {
    padding: 0 var(--space-sm);
  }

  .c-legal-card {
    padding: var(--space-md);
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .s-hero {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SWIPER CUSTOM
   ============================================= */

.swiper {
  width: 100%;
  padding-bottom: var(--space-xl) !important;
}

.swiper-slide {
  height: auto;
  align-self: stretch;
}