/* =========================================================
   ClearFlow — Premium Industrial B2B Website
   Design: Dark Engineering, #08121F + #20B8E6
   ========================================================= */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg:             #08121F;
  --bg-card:        #0D1E30;
  --bg-mid:         #0B1929;
  --bg-nav:         rgba(8, 18, 31, 0.96);

  --accent:         #20B8E6;
  --accent-dim:     #1899BE;
  --accent-glow:    rgba(32, 184, 230, 0.12);
  --accent-border:  rgba(32, 184, 230, 0.22);
  --accent-strong:  rgba(32, 184, 230, 0.35);

  --text:           #DDE9F2;
  --text-muted:     #7A9AB5;
  --text-dim:       #4A6480;

  --border:         rgba(255, 255, 255, 0.06);
  --border-mid:     rgba(255, 255, 255, 0.1);

  --success:        #10B981;
  --white:          #FFFFFF;

  /* Typography */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:     96px;
  --container-px:   clamp(20px, 5vw, 80px);
  --max-w:          1200px;

  /* Radius */
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      14px;
  --radius-xl:      20px;

  /* Transitions */
  --t:              0.2s ease;
  --t-slow:         0.4s ease;
}

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #06131f;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--t);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ─── SECTION WRAPPER ─── */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section--alt {
  background: var(--bg-mid);
}

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

.section::after {
  content: '';
  position: absolute;
  top: 48px;
  right: max(-120px, calc((100vw - var(--max-w)) / 2 - 180px));
  width: 420px;
  height: calc(100% - 96px);
  min-height: 260px;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 20% 18%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 46%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 78%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 0 18%, rgba(32, 184, 230, 0.18) 18% 18.4%, transparent 18.4% 100%),
    linear-gradient(28deg, transparent 0 46%, rgba(32, 184, 230, 0.14) 46% 46.5%, transparent 46.5% 100%),
    linear-gradient(90deg, transparent 0 62%, rgba(32, 184, 230, 0.12) 62% 62.5%, transparent 62.5% 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 72%, transparent 100%);
}

/* ─── SECTION LABEL ─── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #06131F;
  padding: 14px 28px;
  border-radius: var(--radius);
}
.btn-primary:hover {
  background: #27C9FA;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 13px 27px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}
.btn-ghost:hover {
  opacity: 0.8;
}

.btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t);
}
.btn-ghost:hover svg {
  transform: translateX(3px);
}

/* ─── CARDS ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  opacity: 0.65;
}

.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke: var(--accent);
  fill: none;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── GRID LAYOUTS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #27C9FA);
  z-index: 200;
  transition: width 0.06s linear;
  pointer-events: none;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--t);
}

.nav.scrolled {
  border-bottom-color: var(--border-mid);
}

.nav .container {
  height: 100%;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-image {
  display: block;
  width: 148px;
  max-width: 32vw;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(32, 184, 230, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: #06131F;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--t), transform var(--t);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #27C9FA;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(32, 184, 230, 0.06);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background:
    linear-gradient(rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    var(--bg-nav);
  background-size: 32px 32px, 32px 32px, auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-mid);
  padding: 20px var(--container-px) 28px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: rgba(32, 184, 230, 0.07);
}

.nav-mobile-status span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.nav-mobile-status strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.nav-mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}

.nav-mobile-link:last-child {
  border-bottom: none;
}

.nav-mobile-link:hover {
  color: var(--white);
}

.nav-mobile-cta {
  margin-top: 16px;
  background: var(--accent);
  color: #06131F;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius);
  text-align: center;
}

/* ─── HERO ─── */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Radial glow */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(32, 184, 230, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(32, 184, 230, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* SVG grid pattern */
.hero-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b5cad9;
  background: rgba(5, 14, 26, 0.42);
  border: 1px solid var(--accent-border);
  border-radius: 20px;
  padding: 7px 16px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-mobile-break {
  display: none;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: #b5cad9;
  text-shadow: 0 2px 20px rgba(3, 10, 18, 0.9);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(32, 184, 230, 0.08);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 10px 16px;
}

.hero-proof::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(13, 30, 48, 0.92), rgba(8, 18, 31, 0.82)),
    radial-gradient(circle at 78% 20%, rgba(32, 184, 230, 0.2), transparent 34%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  inset: 16px;
  pointer-events: none;
  border-radius: calc(var(--radius-xl) - 8px);
}

.hero-panel::before {
  border: 1px solid rgba(32, 184, 230, 0.12);
}

.hero-panel::after {
  background-image:
    linear-gradient(rgba(32, 184, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 184, 230, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 82%);
  opacity: 0.8;
  z-index: -1;
}

.hero-panel.hero-panel--photo {
  padding: 0;
  background: var(--bg-card);
}

.hero-panel--photo::before,
.hero-panel--photo::after {
  display: none;
}

.panel-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: inherit;
  filter: brightness(0.88) saturate(0.85);
}

/* ─── TRUST STRIP ─── */
.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-mid);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.trust-item-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
}

.trust-metric {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.trust-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-mid);
  flex-shrink: 0;
}

/* ─── PROBLEMS ─── */
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #EF4444 0%, transparent 70%);
  opacity: 0.5;
}

.problem-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #EF4444;
  opacity: 0.6;
  margin-bottom: 12px;
}

.problem-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.problem-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SERVICES ─── */
.service-control-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -18px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.service-control-strip div {
  position: relative;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(32, 184, 230, 0.07), transparent 58%),
    rgba(13, 30, 48, 0.72);
}

.service-control-strip div::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
  transform: translateY(-50%);
}

.service-control-strip span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.service-control-strip strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
}

.service-card {
  background:
    linear-gradient(135deg, rgba(32, 184, 230, 0.035), transparent 44%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  opacity: 0.6;
}

.service-card::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(32, 184, 230, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 184, 230, 0.07), transparent 68%);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.service-code {
  align-self: flex-start;
  margin: 16px 0 10px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.service-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(32, 184, 230, 0.055);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 20px;
}

/* ─── INDUSTRIES ─── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  background:
    linear-gradient(135deg, rgba(32, 184, 230, 0.045), transparent 45%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border-color var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at bottom right, var(--accent-glow), transparent 70%);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(32, 184, 230, 0.2);
  border-right: 1px solid rgba(32, 184, 230, 0.2);
}

.industry-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
}

.industry-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.industry-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.industry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.industry-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ─── EQUIPMENT ─── */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.equipment-card {
  background:
    linear-gradient(rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(32, 184, 230, 0.055), transparent 48%),
    var(--bg-card);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color var(--t);
  position: relative;
  overflow: hidden;
}

.equipment-card:hover {
  border-color: var(--accent-border);
}

.equipment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  opacity: 0.5;
}

.equipment-card::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(32, 184, 230, 0.28);
  border-right: 1px solid rgba(32, 184, 230, 0.28);
  opacity: 0.8;
}

.equipment-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equipment-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
}

.equipment-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.equipment-spec {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(32, 184, 230, 0.06);
  font-size: 13px;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.25px;
}

.equipment-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── WHY CLEARFLOW ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--t), transform var(--t);
}

.why-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.why-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 14px;
}

.why-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.why-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── PROOF NUMBERS ─── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proof-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color var(--t), transform var(--t);
}

.proof-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.proof-number {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.proof-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CASES ─── */
.case-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.case-feature-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
}

.case-feature-photos figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0;
}

.case-feature-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-feature-photos figure > span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 12, 22, 0.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.case-feature-tag {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.case-feature-text h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.case-feature-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .case-feature {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }
}

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

.case-card {
  background:
    linear-gradient(135deg, rgba(32, 184, 230, 0.04), transparent 42%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}

.case-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  opacity: 0.5;
}

.case-card::after {
  content: '';
  position: absolute;
  top: 50px;
  right: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(32, 184, 230, 0.06);
  background:
    linear-gradient(90deg, transparent 49%, rgba(32, 184, 230, 0.08) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(32, 184, 230, 0.08) 50%, transparent 51%);
  opacity: 0.7;
  pointer-events: none;
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.case-code {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(32, 184, 230, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  color: var(--accent);
  text-transform: uppercase;
}

.case-object {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
}

.case-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.case-report {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding-left: 14px;
}

.case-report::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(32, 184, 230, 0.65), rgba(16, 185, 129, 0.55));
}

.case-report div {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.case-report div::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(32, 184, 230, 0.45);
}

.case-report div:last-child {
  border-color: rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.04);
}

.case-report div:last-child::before {
  background: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.case-report dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.case-report dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.case-report div:last-child dd {
  color: var(--text);
}

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 20%, var(--accent-border) 80%, transparent);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px 12px;
  position: relative;
}

.process-num {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: border-color var(--t), background var(--t);
}

.process-step:hover .process-num {
  background: var(--accent-glow);
  border-color: var(--accent);
}

.process-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.process-step-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.process-output {
  margin-top: 14px;
  padding: 5px 8px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: rgba(32, 184, 230, 0.055);
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, #0D2A44 0%, #071528 100%);
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(32, 184, 230, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 184, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 184, 230, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.65), transparent 72%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-heading em {
  font-style: normal;
  color: var(--accent);
}

.cta-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-diagnostics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto 34px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  background: var(--accent-border);
  overflow: hidden;
}

.cta-diagnostics div {
  padding: 14px 12px;
  background: rgba(8, 18, 31, 0.58);
}

.cta-diagnostics span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.cta-diagnostics strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── CONTACT FORM ─── */
.contact-section {
  padding: var(--section-py) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-info-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-info-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
}

.contact-detail-value {
  color: var(--text);
  font-weight: 500;
}

a.contact-detail-value {
  transition: color var(--t);
}

a.contact-detail-value:hover {
  color: var(--accent);
}

.contact-preflight {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(32, 184, 230, 0.06), transparent 60%),
    rgba(13, 30, 48, 0.48);
}

.contact-preflight div {
  position: relative;
  padding: 12px 12px 12px 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.contact-preflight span {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.contact-preflight strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-preflight p {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Form */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dim) 50%, transparent 100%);
}

.form-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
}

.form-label span {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--t), background var(--t);
  outline: none;
  appearance: none;
}

.form-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A9AB5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-select option {
  background: #0D1E30;
  color: var(--text);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  background: rgba(32, 184, 230, 0.05);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #06131F;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  margin-top: 8px;
}

.form-submit:hover {
  background: #27C9FA;
  transform: translateY(-1px);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

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

.form-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.form-consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── PRIVACY PAGE ─── */
.privacy-page {
  background:
    radial-gradient(circle at 80% 10%, rgba(32, 184, 230, 0.1), transparent 30%),
    var(--bg);
}

.privacy-header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 18, 31, 0.9);
}

.privacy-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-main {
  padding: clamp(56px, 8vw, 100px) 0;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  background: rgba(13, 30, 48, 0.72);
}

.privacy-aside span,
.privacy-aside small {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.privacy-aside strong {
  color: var(--white);
  line-height: 1.4;
}

.privacy-content {
  max-width: 760px;
}

.privacy-content h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -2px;
}

.privacy-lead {
  margin-bottom: 48px;
  color: #a9c1d2;
  font-size: 18px;
  line-height: 1.7;
}

.privacy-content section {
  padding: 28px 0;
  border-top: 1px solid var(--border-mid);
}

.privacy-content h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 20px;
}

.privacy-content p {
  color: var(--text-muted);
  line-height: 1.75;
}

.privacy-content a {
  color: var(--accent);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--success);
  fill: none;
}

.form-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.form-success-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FOOTER ─── */
.footer {
  background:
    linear-gradient(rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 184, 230, 0.035) 1px, transparent 1px),
    var(--bg-mid);
  background-size: 46px 46px, 46px 46px, auto;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  right: -160px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 184, 230, 0.09), transparent 65%);
  pointer-events: none;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
  opacity: 0.94;
  filter: drop-shadow(0 0 16px rgba(32, 184, 230, 0.14));
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer-system {
  display: grid;
  gap: 1px;
  max-width: 280px;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  overflow: hidden;
}

.footer-system div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: rgba(8, 18, 31, 0.62);
}

.footer-system span {
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.footer-system strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-policy {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--t);
}

.footer-policy:hover {
  color: var(--text-muted);
}

/* ─── HERO PARALLAX PHOTO LAYER ─── */
.hero-photo-bg {
  position: absolute;
  inset: -30% 0;
  /* hero-bg.jpg = фото 1 (резервуар с отражениями, колонны, свет) */
  background-image:
    linear-gradient(90deg, rgba(8,18,31,0.74) 0%, rgba(8,18,31,0.34) 58%, rgba(8,18,31,0.62) 100%),
    linear-gradient(180deg, rgba(8,18,31,0.88) 0%, rgba(8,18,31,0.54) 45%, rgba(8,18,31,0.96) 100%),
    url('../public/photos/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  /* Fallback пока фото не загружено: */
  background-color: #050f1c;
  will-change: transform;
  pointer-events: none;
}

/* ─── SPLIT TEXT HEADLINE ─── */
.hero-split-text {
  overflow: visible;
  margin-bottom: 24px;
}

.hl-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
  padding-bottom: 0.05em;
}

.hl-inner {
  display: block;
  transform: translateY(108%);
  opacity: 0;
  transition:
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.5s  ease;
}

.hero-split-text.visible .hl-inner {
  transform: translateY(0);
  opacity: 1;
}

.hero-split-text.visible .hl-line:nth-child(2) .hl-inner {
  transition-delay: 0.16s;
}

/* ─── HIDDEN / TEMP ─── */
.service-specs { display: none; }

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: flex;
  height: 280px;
  gap: 4px;
  overflow: hidden;
}

.photo-strip-item {
  flex: 1;
  overflow: hidden;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  filter: brightness(0.8) saturate(0.85);
}

.photo-strip-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9) saturate(1);
}

@media (max-width: 768px) {
  .photo-strip {
    height: 180px;
    gap: 2px;
  }
}

@media (max-width: 768px) {
  .privacy-header-inner {
    min-height: 68px;
  }

  .privacy-header .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .privacy-aside {
    position: static;
  }

  .privacy-content h1 {
    letter-spacing: -1.2px;
  }
}

/* ─── STICKY PROCESS ─── */
.section--process {
  padding: 0;
  overflow: visible;
}

.process-sticky-outer {
  /* min-height set by JS */
}

.process-sticky-inner {
  position: sticky;
  top: 0;
  padding: var(--section-py) 0;
  background: var(--bg);
  z-index: 1;
}

/* Step states driven by JS scroll */
.process-step {
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 20px 12px 16px;
  transition:
    opacity       0.45s ease,
    transform     0.45s ease,
    border-color  0.45s ease,
    background    0.45s ease,
    box-shadow    0.45s ease;
}

.process-step.step-pending {
  opacity: 0.3;
  transform: scale(0.95);
}

.process-step.step-active {
  border-color: var(--accent-border);
  background: rgba(32, 184, 230, 0.05);
  box-shadow: 0 0 32px rgba(32, 184, 230, 0.12);
  transform: translateY(-4px);
}

.process-step.step-active .process-num {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 22px rgba(32, 184, 230, 0.35);
}

.process-step.step-done {
  opacity: 0.5;
}

.process-step.step-done .process-num {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

@media (max-width: 768px) {
  .section--process {
    padding: var(--section-py) 0;
  }
  .process-sticky-outer {
    min-height: auto !important;
  }
  .process-sticky-inner {
    position: static;
    padding: 0;
  }
  .process-step.step-pending,
  .process-step.step-active,
  .process-step.step-done {
    opacity: 1;
    transform: none;
    border-color: var(--border);
    background: rgba(13, 30, 48, 0.42);
    box-shadow: none;
  }
}

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

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

  .hero-photo-bg {
    transform: none !important;
  }

  .hero-split-text .hl-inner,
  .reveal,
  .reveal-clip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .process-sticky-outer {
    min-height: auto !important;
  }

  .process-sticky-inner {
    position: static;
    height: auto;
  }

  .process-step,
  .process-step.step-pending,
  .process-step.step-active,
  .process-step.step-done {
    opacity: 1;
    transform: none;
  }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-panel {
    min-height: auto;
    max-width: 680px;
  }

  .hero-panel.hero-panel--photo {
    min-height: 420px;
    padding: 0;
  }

  .hero-panel--photo .panel-photo {
    min-height: 420px;
  }

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

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .process-steps::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-py: 64px;
  }

  .section::after {
    opacity: 0.18;
    right: -240px;
  }

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

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trust-grid {
    gap: 20px;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    flex-basis: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  :root {
    --container-px: 24px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .nav-logo-image {
    width: 136px;
    max-width: 54vw;
  }

  .nav-toggle {
    display: flex;
  }

  .section::after {
    display: none;
  }

  .hero {
    padding: 112px 0 64px;
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    min-width: 0;
  }

  .hero-badge {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 1.2px;
    white-space: normal;
  }

  .hero-headline {
    font-size: clamp(32px, 8.5vw, 40px);
    letter-spacing: -1.6px;
    line-height: 1.08;
  }

  .hero-mobile-break {
    display: inline;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hero-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
    border-radius: var(--radius-lg);
  }

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

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

  .service-control-strip,
  .cta-diagnostics {
    grid-template-columns: 1fr;
  }

  .service-control-strip {
    margin-top: -10px;
  }

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

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

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process-step {
    padding: 18px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(13, 30, 48, 0.42);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-system,
  .footer-brand-desc {
    max-width: none;
  }

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

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-px: 24px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-headline {
    font-size: clamp(31px, 8.7vw, 36px);
    letter-spacing: -1.35px;
  }

  .hero-proof {
    align-items: flex-start;
    width: 100%;
    font-size: 12px;
    line-height: 1.35;
  }

  .case-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .case-object {
    text-align: left;
  }

  .trust-item {
    flex-basis: 100%;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .industry-meta span {
    font-size: 9px;
  }

  .contact-preflight div {
    padding-left: 42px;
  }

  .form {
    padding: 24px 20px;
  }

  .nav-mobile-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .nav-logo-image {
    width: 122px;
  }
}
