/*
Theme Name: Omineca Industrial
Author: Kalinap (Telegram)
Version: 1.0.0
*/

/* ============================================================
   OMINECA INDUSTRIAL — theme.css
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --ink:              rgb(28, 28, 28);
  --ink-soft:         rgb(43, 43, 43);
  --steel:            rgb(140, 152, 160);
  --brand:            rgb(123, 26, 23);
  --brand-dark:       rgb(94, 19, 17);
  --brand-light:      rgb(198, 74, 66);
  --brand-foreground: rgb(255, 255, 255);
  --hairline:         rgb(219, 219, 219);

  --background:       rgb(255, 255, 255);
  --foreground:       rgb(28, 28, 28);
  --card:             rgb(255, 255, 255);
  --secondary:        rgb(243, 243, 241);
  --muted:            rgb(243, 243, 241);
  --muted-foreground: rgb(105, 108, 110);
  --border:           rgb(219, 219, 219);
  --input:            rgb(200, 200, 200);

  --font-sans: 'Manrope', system-ui, sans-serif;
  --max-w: 1440px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(5rem, 8vw, 7rem);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
address { font-style: normal; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ── Layout ──────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section-space { padding-block: var(--section-pad); }

/* 12-col grid helpers */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ── Typography utilities ────────────────────────────────── */
.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.section-title {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
  max-width: 20ch;
}
.section-lead {
  font-size: 1.125rem;
  line-height: 2rem;
  max-width: 36rem;
}
.body-copy { font-size: 1rem; line-height: 1.75rem; }
.card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.375;
  font-weight: 600;
}
.feature-title {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
}
.cta-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.25;
  font-weight: 600;
  max-width: 32ch;
}

/* ── Colors ──────────────────────────────────────────────── */
.text-brand        { color: var(--brand); }
.text-brand-light  { color: var(--brand-light); }
.text-brand-fg     { color: var(--brand-foreground); }
.text-foreground   { color: var(--foreground); }
.text-muted        { color: var(--muted-foreground); }
.text-steel        { color: var(--steel); }
.bg-background     { background-color: var(--background); }
.bg-secondary      { background-color: var(--secondary); }
.bg-ink            { background-color: var(--ink); }
.bg-brand          { background-color: var(--brand); }

/* ── Custom shape utilities ──────────────────────────────── */
.clip-corner-cut-lg {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}
.clip-corner-cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(28,28,28,0.94) 0%,
    rgba(28,28,28,0.78) 48%,
    rgba(28,28,28,0.48) 100%
  );
}

/* ── Mark underline ──────────────────────────────────────── */
.mark-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12.5c46-5.2 152-8.4 292-4.6' fill='none' stroke='%237B1A17' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M16 15.6c58-3.4 148-4.6 258-2.6' fill='none' stroke='%237B1A17' stroke-width='2' stroke-linecap='round' opacity='.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 0.28em;
  padding-bottom: 0.22em;
  display: inline-block;
  transition: background-size 0.7s ease-out;
}
.mark-underline-light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12.5c46-5.2 152-8.4 292-4.6' fill='none' stroke='%23C64A42' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M16 15.6c58-3.4 148-4.6 258-2.6' fill='none' stroke='%23C64A42' stroke-width='2' stroke-linecap='round' opacity='.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 0.28em;
  padding-bottom: 0.22em;
  display: inline-block;
  transition: background-size 0.7s ease-out;
}
.mark-underline.is-underlined,
.mark-underline-light.is-underlined { background-size: 100% 0.28em; }

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  padding-block: clamp(3rem, 4vw, 3.5rem);
}
.cta-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-brand { background: var(--brand); color: var(--brand-foreground); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--brand-foreground);
  background: transparent;
}
.btn-outline-white:hover {
  border-color: var(--brand-foreground);
  background: var(--brand-foreground);
  color: var(--ink);
}
.btn-white-ink {
  background: var(--brand-foreground);
  color: var(--ink);
}
.btn-white-ink:hover { background: var(--secondary); }
.btn-full { width: 100%; text-align: center; justify-content: center; }

/* ── Form fields ─────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.field label .required { color: var(--brand); }
.field label .optional { font-weight: 400; color: var(--muted-foreground); }
.field input,
.field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--input);
  background: var(--secondary);
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--foreground);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 1px 0 0 rgba(123,26,23,0.3);
}
.field input::placeholder { color: var(--muted-foreground); }
.field .field-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}
.field select option { background: var(--background); }

.form-msg {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  text-align: center;
  display: none;
}
.form-msg--success { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }
.form-msg--error   { background: rgba(185,28,28,0.1); color: var(--brand-light); border: 1px solid rgba(185,28,28,0.2); }
.form-msg.visible  { display: block; }

/* ── Section CTA Row ─────────────────────────────────────── */
.section-cta-row {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 2rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(28,28,28,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
}
.site-logo img {
  height: 2.25rem;
  width: auto;
  transition: height 0.3s;
}
.site-header.scrolled .site-logo img { height: 1.75rem; }
.header-right { display: flex; align-items: center; gap: 1.5rem; }
.header-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: none;
}
.header-phone {
  background: var(--brand-foreground);
  color: var(--ink);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.header-phone:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; }
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.hero__h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--brand-foreground);
}
.hero__tagline {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}
.hero__body {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}
.hero__body strong { color: var(--brand-light); font-weight: 600; }

/* Hero Form */
.hero-form-wrap {
  background: var(--background);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.hero-form-wrap h2 { font-size: 1.875rem; font-weight: 600; color: var(--foreground); }
.hero-form-wrap .subline { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hero-form-wrap form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.form-disclaimer { text-align: center; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.5rem; }

/* ── Trust Badges ────────────────────────────────────────── */
.trust-badges {
  background: var(--background);
  border-bottom: 1px solid var(--hairline);
  padding-block: 2.5rem 3rem;
}
.trust-badges__label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.trust-badges__label p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.trust-badges__label span {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.trust-badges__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.5rem;
}
.badge-item {
  display: grid;
  grid-template-rows: 4rem auto auto;
  align-items: center;
  justify-items: center;
  gap: 0.5rem;
  text-align: center;
}
.badge-item img {
  max-height: 3rem;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(35%);
  transition: filter 0.3s;
}
.badge-item img:hover { filter: none; }
.badge-item .badge-name { font-size: 0.75rem; font-weight: 600; line-height: 1.3; }
.badge-item .badge-caption { font-size: 0.75rem; color: var(--muted-foreground); }

/* ── Stats ───────────────────────────────────────────────── */
.stats { background: var(--background); }
.stats__inner { display: grid; gap: 2.5rem; }
.stats__left {}
.stats__dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}
.stat-item dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.stat-item dd {}
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
  line-height: 1;
  color: var(--foreground);
}
.stat-num {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.stat-label {
  margin-top: 1rem;
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-foreground);
  max-width: 16ch;
}

/* Stat flip */
.stat-flip { position: relative; perspective: 9em; display: inline-grid; }
.stat-flip-number {
  display: grid;
  width: max-content;
  transform-style: preserve-3d;
}
.stat-flip-from,
.stat-flip-to {
  grid-column: 1; grid-row: 1;
  transform-origin: center center;
  backface-visibility: hidden;
}
.stat-flip-to { opacity: 0; transform: rotateX(-88deg); }
.stat-flip.is-flipping .stat-flip-from { animation: stat-flip-out 0.72s cubic-bezier(0.42,0,0.2,1) both; }
.stat-flip.is-flipping .stat-flip-to   { animation: stat-flip-in  0.72s cubic-bezier(0.42,0,0.2,1) both; }
.stat-flip-plus {
  grid-column: 1; grid-row: 1;
  align-self: start; justify-self: end;
  opacity: 0;
  transform: translateX(0.58em) translateY(0.08em);
}
.stat-flip.is-complete .stat-flip-plus { animation: stat-plus-in 0.45s ease-out 0.08s both; }
@keyframes stat-flip-out { from { opacity:1; transform:rotateX(0); } to { opacity:0; transform:rotateX(88deg); } }
@keyframes stat-flip-in  { from { opacity:0; transform:rotateX(-88deg); } to { opacity:1; transform:rotateX(0); } }
@keyframes stat-plus-in  { from { opacity:0; transform:translateX(0.58em) translateY(0.16em); } to { opacity:1; transform:translateX(0.58em) translateY(0.08em); } }

.stats-cta-band { background: var(--brand); }
.stats-cta-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

/* ── Projects ────────────────────────────────────────────── */
.projects { background: var(--secondary); }
.projects__grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem 1.5rem;
  grid-template-columns: 1fr;
}
.project-item { display: flex; flex-direction: column; }
.project-item__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--muted);
}
.project-item__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-item:hover .project-item__img img { transform: scale(1.025); }
.project-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.project-item__title { margin-top: 0.75rem; }

/* ── Case Study ──────────────────────────────────────────── */
.case-study { background: var(--ink); }
.case-study__inner { display: grid; gap: 2.5rem; }
.case-study__text {}
.case-study__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-soft);
}
.case-study__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5);
  transition: transform 0.7s ease;
}
.case-study__media:hover img { transform: scale(1.03); }
.case-study__media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,28,0.2);
}
.case-study__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--brand-foreground);
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.case-study__media:hover .play-btn {
  background: var(--brand-foreground);
  color: var(--ink);
  transform: scale(1.05);
}
.play-btn svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.play-label { font-size: 0.875rem; color: var(--steel); }

/* ── Problem ─────────────────────────────────────────────── */
.problem { background: var(--background); }
.problem__inner { display: grid; gap: 3rem; }
.problem__cards {
  border-top: 1px solid var(--hairline);
}
.problem-card {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--hairline);
}
.problem-card__num { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.problem-card__title { margin-top: 0; }
.problem-card__text { margin-top: 0.75rem; color: var(--muted-foreground); }
.problem-solution { margin-top: 2.5rem; }
.problem-solution__kicker { color: var(--brand); }
.problem-solution__heading {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 22ch;
}

/* ── Scope ───────────────────────────────────────────────── */
.scope { background: var(--ink); }
.scope__intro { display: grid; gap: 2rem; align-items: start; }
.scope__list {
  margin-top: 3.5rem;
  display: grid;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.scope-item {
  display: flex;
  gap: 1.5rem;
  padding-block: 1.75rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.scope-item__num {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--brand-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: color 0.2s;
  min-width: 2rem;
}
.scope-item:hover .scope-item__num { color: var(--brand-foreground); }
.scope-item h3 { color: var(--brand-foreground); }
.scope-item p { margin-top: 0.5rem; color: var(--steel); font-size: 1rem; line-height: 1.75; }
.scope-item__aside {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-light);
}
.scope-cta-row { border-color: rgba(255,255,255,0.15); }

/* ── Scale ───────────────────────────────────────────────── */
.scale { background: var(--secondary); }
.scale__cards {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
.scale-card {
  display: flex;
  flex-direction: column;
  background: var(--background);
}
.scale-card__img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--secondary);
}
.scale-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.scale-card:hover .scale-card__img img { transform: scale(1.03); }
.scale-card__num {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--brand);
  color: var(--brand-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}
.scale-card__body { padding: 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.scale-card__body p { margin-top: 0.75rem; color: var(--muted-foreground); font-size: 1rem; line-height: 1.75; }
.scale-card__example {
  margin-top: 1.5rem;
  border-left: 2px solid var(--brand);
  background: var(--secondary);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
}
.scale__crew { margin-top: 5rem; display: grid; gap: 2.5rem; align-items: center; }
.scale__crew img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--ink);
}
.scale__crew-text h3 { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 600; }
.scale__crew-text p { margin-top: 1.25rem; color: var(--muted-foreground); }

/* ── Commissioning ───────────────────────────────────────── */
.commissioning { background: var(--ink); }
.commissioning__inner { display: grid; gap: 3rem; }
.commissioning__covers {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.commissioning__cover-item {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.commissioning__cover-item:last-child { border-bottom: none; }
.commissioning__bullet {
  width: 6px; height: 6px;
  background: var(--brand-light);
  flex-shrink: 0;
  margin-top: 0.6em;
}
.commissioning__cover-item span { color: var(--steel); font-size: 1rem; line-height: 1.75; }
.commissioning__note {
  margin-top: 1.5rem;
  border-left: 2px solid var(--brand-light);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--steel);
}
.commissioning__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.commissioning__quote {
  margin-top: 2.5rem;
  border-left: 2px solid var(--brand-light);
  padding-left: 1.5rem;
}
.commissioning__quote p {
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--brand-foreground);
}
.commissioning__quote footer { margin-top: 1rem; font-size: 0.875rem; color: var(--steel); }
.commissioning-cta { background: var(--brand); }
.commissioning-cta .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

/* ── Process ─────────────────────────────────────────────── */
.process { background: var(--background); }
.process__steps {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
}
.process-step {
  border-top: 2px solid var(--hairline);
  padding-top: 1.25rem;
  transition: border-color 0.3s;
}
.process-step:hover { border-color: var(--brand); }
.process-step__num { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.process-step h3 { margin-top: 0.75rem; }
.process-step p { margin-top: 0.75rem; color: var(--muted-foreground); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--secondary); }
.faq__list {
  margin-top: 3.5rem;
  max-width: 56rem;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding-block: 1.5rem;
}
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1.5rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.faq-toggle .q { font-size: 1.125rem; font-weight: 600; line-height: 1.375; color: var(--foreground); }
.faq-toggle .arrow {
  font-size: 0.875rem;
  color: var(--brand);
  transition: transform 0.2s;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
  display: none;
  max-width: 48rem;
}
.faq-item.open .faq-answer { display: block; }

/* ── Final CTA / Contact ─────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.final-cta__bg {
  position: absolute;
  inset: 0;
}
.final-cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.55);
}
.final-cta__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,28,28,0.9);
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
}
.final-cta__phone-wrap { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; }
.final-cta__phone-label { font-size: 0.875rem; color: var(--steel); }
.final-cta__phone {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--brand-foreground);
  transition: color 0.2s;
}
.final-cta__phone:hover { color: var(--brand-light); }
.final-cta__oncall { margin-top: 1.5rem; font-size: 0.875rem; color: var(--steel); line-height: 1.6; }
.contact-form-box { background: var(--background); padding: 2.5rem; }
.contact-form-box h3 { font-size: 1.875rem; font-weight: 600; }
.contact-form-box form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.file-input {
  width: 100%;
  border-bottom: 1px solid var(--input);
  background: var(--secondary);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding-block: 3.5rem 4rem; }
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--brand-foreground); }
.footer__address { margin-top: 1rem; color: var(--steel); }
.footer__phone {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-foreground);
  transition: color 0.2s;
}
.footer__phone:hover { color: var(--brand-light); }
.footer__oncall { margin-top: 0.75rem; color: var(--steel); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--steel);
}
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: var(--brand-foreground); }

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 640px) {
  .trust-badges__grid { grid-template-columns: repeat(5, 1fr); }
  .stats__dl { grid-template-columns: repeat(2, 1fr); }
  .problem-card { grid-template-columns: 48px 1fr; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .scale__cards { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: row; align-items: start; justify-content: space-between; }
  .footer__bottom { flex-direction: row; align-items: center; gap: 2rem; }
  .cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .stats-cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .header-tagline { display: inline; }
  .section-cta-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .commissioning-cta .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 7fr 5fr; }
  .stats__inner { grid-template-columns: 4fr 8fr; }
  .stats__dl { grid-template-columns: repeat(3, 1fr); }
  .projects__grid { grid-template-columns: repeat(12, 1fr); }
  .projects__grid .project-item:nth-child(1),
  .projects__grid .project-item:nth-child(2) { grid-column: span 6; }
  .projects__grid .project-item:nth-child(3),
  .projects__grid .project-item:nth-child(4),
  .projects__grid .project-item:nth-child(5) { grid-column: span 4; }
  .case-study__inner { grid-template-columns: 4fr 8fr; }
  .problem__inner { grid-template-columns: 5fr 6fr; }
  .scope__intro { grid-template-columns: 5fr 7fr; }
  .scope__list { grid-template-columns: repeat(2, 1fr); }
  .scope-item:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 2.5rem;
  }
  .scope-item:nth-child(odd) { padding-right: 2.5rem; }
  .scale__cards { grid-template-columns: repeat(3, 1fr); }
  .scale__cards .scale-card:nth-child(2) { margin-top: 2.5rem; }
  .scale__cards .scale-card:nth-child(3) { margin-top: 5rem; }
  .scale__crew { grid-template-columns: 7fr 5fr; }
  .commissioning__inner { grid-template-columns: 6fr 5fr; align-items: start; }
  .process__steps { grid-template-columns: repeat(5, 1fr); }
  .faq__list { margin-inline: auto; }
  .final-cta__inner { grid-template-columns: 5fr 7fr; }
  .contact-form-box { padding: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mark-underline, .mark-underline-light { background-size: 100% 0.28em; }
}

/* ── Inline style replacements ───────────────────────────── */
.hero__body strong              { color: var(--brand-light); font-weight: 600; }
.stats__left .body-copy         { margin-top: 1.5rem; max-width: 24rem; color: var(--muted-foreground); }
.case-study__text .body-copy    { margin-top: 1.5rem; color: var(--steel); }
.case-study__text .btn          { margin-top: 2rem; }
.section-lead.muted             { color: var(--muted-foreground); }
.section-lead.steel             { color: var(--steel); }
.problem .section-lead          { margin-top: 1.5rem; color: var(--muted-foreground); }
.scope .section-lead            { color: var(--steel); padding-top: 1.5rem; }
.commissioning .body-copy       { margin-top: 1.5rem; color: var(--steel); }
.commissioning .body-copy + .body-copy { margin-top: 1rem; }
.commissioning__covers-heading  { margin-top: 2.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brand-foreground); }
.final-cta .body-copy           { margin-top: 1.5rem; color: var(--steel); }
.final-cta__oncall-note         { margin-top: 0.75rem; font-size: 0.875rem; color: var(--steel); }

.process-step__num              { font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.process-step h3                { margin-top: 0.75rem; }
.process-step p                 { margin-top: 0.75rem; color: var(--muted-foreground); }

.stats__left .section-title     { margin-top: 1.25rem; }

.scope-cta-row                  { border-color: rgba(255,255,255,0.15) !important; }

.faq__list                      { max-width: 56rem; }
.faq .section-cta-row           { max-width: 56rem; }

.contact-form-box h3            { font-size: 1.875rem; font-weight: 600; }
.contact-form-box form          { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }

.scale__crew-text p             { margin-top: 1.25rem; color: var(--muted-foreground); }
.scale__crew-text p + p         { margin-top: 1rem; }

.hero-form-wrap h2              { font-size: 1.875rem; font-weight: 600; color: var(--foreground); }
.hero-form-wrap .subline        { margin-top: 0.5rem; margin-bottom: 1.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Fix reveal — невидимые элементы без JS */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.is-revealed, .no-js .reveal { opacity: 1; transform: none; }

/* Fallback если JS не загрузился */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ── Stats grid fix ──────────────────────────────────────── */
.stats__dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

@media (min-width: 1024px) {
  .stats__dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 2rem;
  }
  .stat-col-2 { grid-column-start: 2; }
  .stat-col-3 { grid-column-start: 3; }
}

/* stat-flip-plus superscript position */
.stat-flip { display: inline-grid; position: relative; }
.stat-flip-plus {
  position: absolute;
  top: 0.1em;
  right: -0.6em;
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0;
}
.stat-flip.is-complete .stat-flip-plus { animation: stat-plus-in 0.45s ease-out 0.08s both; }

/* fix */

.projects__grid {
  gap: 3rem 1.5rem;
}
.process__steps .process-step:last-child,
.problem__cards .problem-card:last-child {
  border-bottom: none;
}
.section-cta-row { padding-block: 2rem; }
@media (min-width: 640px) {
  .section-cta-row { padding-block: 2.5rem; }
}

.faq .section-cta-row { max-width: 56rem; margin-inline: auto; }
.scope .section-cta-row,
.faq .section-cta-row {
 border-top: none;
  padding-top: 0;
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.scope .section-lead { text-wrap: pretty; }