

  :root {
    /* Industrial Red — агрессивный, промышленный */
    --accent: #DC2626;
    --accent-hover: #B91C1C;
    --accent-light: #EF4444;
    --accent-glow: rgba(220, 38, 38, 0.22);
    --steel-silver: #A1A1AA;
    --steel-silver-2: #52525B;
    --red: #DC2626;
    --red-dark: #B91C1C;
    --red-glow: rgba(220, 38, 38, 0.22);

    --ink: #18181B;
    --ink-2: #27272A;
    --ink-3: #3F3F46;

    --paper: #F4F4F5;
    --paper-2: #E4E4E7;
    --paper-3: #D4D4D8;

    --steel-1: #F4F4F5;
    --steel-2: #E4E4E7;
    --steel-3: #A1A1AA;
    --steel-4: #52525B;
    --steel-5: #27272A;
    --white: #FFFFFF;

    --line: rgba(239, 68, 68, 0.10);
    --line-light: rgba(24, 24, 27, 0.08);

    --f-display: 'Unbounded', system-ui, sans-serif;
    --f-body: 'IBM Plex Sans', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', monospace;
  }

  * { margin:0; padding:0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--f-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }

  .container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
  }
  @media (max-width: 768px) {
    .container { padding: 0 20px; }
  }

  /* ---------- Typography helpers ---------- */
  .display {
    font-family: var(--f-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.02;
  }
  .mono { font-family: var(--f-mono); }
  .eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--red);
  }
  .eyebrow.on-dark { color: var(--red); }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: 2px;
    transition: all 0.24s cubic-bezier(.2,.7,.3,1);
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  }
  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
  }
  .btn-primary .btn-arrow {
    transition: transform 0.24s ease;
  }
  .btn-primary:hover .btn-arrow {
    transform: translateX(4px);
  }
  .btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.24);
  }
  .btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
  }
  .btn-ghost-dark {
    background: transparent;
    color: var(--ink);
    border-color: rgba(10,10,11,0.18);
  }
  .btn-ghost-dark:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
  }
  .btn-lg { padding: 22px 38px; font-size: 16px; }

  /* ---------- Header ---------- */
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-light);
    color: var(--ink);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    max-width: 1360px;
    margin: 0 auto;
    gap: 40px;
  }
  .logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
  }
  .logo-img {
    height: 120px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }
  .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
  }
  .logo-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    color: var(--ink);
  }
  .logo-sub {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--steel-4);
    max-width: 240px;
  }
  @media (max-width: 1180px) {
    .logo-sub { display: none; }
    .logo-name { font-size: 15px; }
  }
  @media (max-width: 900px) {
    .logo-text { display: none; }
    .logo-img { height: 86px; }
  }
  .nav {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
  }
  .nav a {
    font-size: 14px;
    color: var(--steel-4);
    transition: color 0.2s;
    position: relative;
  }
  .nav a:hover { color: var(--ink); }
  .nav a::after {
    content: "";
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--red);
    transition: width 0.25s ease;
  }
  .nav a:hover::after { width: 100%; }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .phone-link {
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--ink);
    white-space: nowrap;
    letter-spacing: 0.01em;
  }
  .phone-link:hover { color: var(--red); }
  .messenger-icons {
    display: flex;
    gap: 8px;
  }
  .messenger-icons a {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10,10,11,0.06);
    transition: all 0.2s;
  }
  .messenger-icons a:hover {
    background: rgba(10,10,11,0.12);
    transform: translateY(-2px);
  }
  .messenger-icons img {
    width: 20px; height: 20px;
  }
  .btn-header {
    padding: 12px 20px;
    font-size: 13px;
  }
  @media (max-width: 1180px) {
    .nav { display: none; }
  }
  @media (max-width: 900px) {
    .header-inner { padding: 14px 20px; gap: 16px; }
    .header-contact { display: none; }
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 100vh;
    background: var(--ink);
    color: var(--white);
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
  }
  .hero-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    padding: 0;
    min-height: 100vh;
  }
  .hero-split-left {
    padding: 140px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-split-right {
    position: relative;
    overflow: hidden;
    background: #000;
  }
  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .hero-photo-badge {
    position: absolute;
    left: 32px;
    bottom: 32px;
    background: rgba(10,10,11,0.85);
    backdrop-filter: blur(10px);
    padding: 16px 22px;
    border-left: 3px solid var(--red);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .hero-badge-label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
  }
  .hero-badge-spec {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    letter-spacing: -0.005em;
  }
  .hero-bg {
    display: none;
  }
  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 60px 0 40px;
    max-width: none;
  }
  @media (max-width: 1100px) {
    .hero-split {
      grid-template-columns: 1fr;
    }
    .hero-split-right {
      min-height: 400px;
      order: -1;
    }
    .hero-split-left {
      padding: 60px 0;
    }
    .hero-inner { padding: 0 24px; }
  }

  /* Hero: photo shifted right + solid dark left panel with soft gradient blend (V2) */
  .hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--ink);
  }
  .hero-full-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 70%;
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
  .hero-full-overlay {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 75%;
    background:
      linear-gradient(90deg,
        var(--ink) 0%,
        var(--ink) 40%,
        rgba(24,24,27,0.92) 65%,
        rgba(24,24,27,0.5) 85%,
        rgba(24,24,27,0) 100%);
    z-index: 1;
  }
  .hero-full .hero-inner {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
  }
  .hero.hero-full h1,
  .hero-full .hero-sub,
  .hero-full .hero-eyebrow,
  .hero-full .hero-cta {
    max-width: 640px;
  }
  @media (max-width: 900px) {
    .hero-full {
      padding: 120px 0 60px;
      min-height: 90vh;
    }
    .hero-full-bg {
      width: 100%;
      opacity: 0.35;
    }
    .hero-full-overlay {
      width: 100%;
      background:
        linear-gradient(180deg,
          rgba(10,10,11,0.85) 0%,
          rgba(10,10,11,0.7) 50%,
          rgba(10,10,11,0.9) 100%);
    }
    .hero-full .hero-inner { padding: 0 20px; }
    .hero.hero-full h1,
    .hero-full .hero-sub,
    .hero-full .hero-eyebrow,
    .hero-full .hero-cta {
      max-width: 100%;
    }
    .hero.hero-full h1 {
      font-size: clamp(19px, 5.4vw, 24px);
      hyphens: none;
      word-break: keep-all;
    }
    .hero.hero-full h1 br { display: none; }
    .hero-full .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-full .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-full .hero-trust { align-self: flex-start; margin-top: 4px; }
  }
  @media (max-width: 420px) {
    .hero.hero-full h1 { font-size: 20px; }
    .hero-full .hero-sub { font-size: 14px; }
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 10px 16px;
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
  }
  .hero-eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red);
    animation: pulse-dot 2s infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  .hero h1 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 720px;
    margin-bottom: 28px;
  }
  .hero h1 .accent { color: var(--red); }
  .hero h1 .thin {
    font-weight: 300;
    font-family: var(--f-body);
    font-style: italic;
    letter-spacing: -0.01em;
  }
  .hero-sub {
    font-size: clamp(15px, 1.1vw, 18px);
    color: var(--steel-3);
    max-width: 640px;
    line-height: 1.55;
    margin-bottom: 40px;
  }
  .hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  .hero-trust {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--steel-3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .hero-trust::before {
    content: "";
    width: 6px; height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10B981;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
    border-top: 1px solid var(--line);
    padding-top: 32px;
    max-width: 640px;
  }
  .hero-stat {
    padding-right: 12px;
  }
  .hero-stat-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .hero-stat-unit {
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--red);
  }
  .hero-stat-label {
    font-size: 12px;
    color: var(--steel-3);
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  @media (max-width: 1100px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 700px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-cta { margin-bottom: 40px; }
    .hero-trust { width: 100%; }
  }

  /* ---------- Section base ---------- */
  section { position: relative; }
  .section {
    padding: 120px 0;
  }
  .section-dark {
    background: var(--ink);
    color: var(--white);
  }
  .section-head {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: end;
  }
  .section-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(32px, 3.4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }
  .section-head h2 .accent { color: var(--red); }
  .section-head p {
    font-size: 17px;
    color: var(--steel-4);
    max-width: 560px;
    line-height: 1.6;
  }
  .section-dark .section-head p { color: var(--steel-3); }
  @media (max-width: 900px) {
    .section { padding: 80px 0; }
    .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  }

  /* ---------- Industries ---------- */
  .industries {
    background: var(--white);
    border-top: 1px solid var(--line-light);
  }
  .industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
  }
  .industry {
    padding: 40px 32px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    background: var(--white);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
  }
  .industry:hover {
    background: var(--ink);
    color: var(--white);
  }
  .industry-num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--steel-3);
    letter-spacing: 0.14em;
    margin-bottom: 24px;
  }
  .industry:hover .industry-num { color: var(--red); }
  .industry-icon {
    width: 42px; height: 42px;
    margin-bottom: 32px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.4;
    transition: stroke 0.3s;
  }
  .industry:hover .industry-icon { stroke: var(--red); }
  .industry-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .industry-desc {
    font-size: 14px;
    color: var(--steel-4);
    line-height: 1.5;
  }
  .industry:hover .industry-desc { color: var(--steel-3); }
  .industry-niokr {
    background: var(--ink);
    color: var(--white);
    padding: 40px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 2px;
  }
  .industry-niokr .badge {
    background: var(--red);
    color: var(--white);
    padding: 8px 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .industry-niokr p {
    font-size: 17px;
    color: var(--steel-2);
    line-height: 1.5;
  }
  .industry-niokr p b { color: var(--white); font-weight: 500; }
  @media (max-width: 1100px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 700px) {
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-niokr { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
  }

  /* ---------- Full cycle ---------- */
  .fullcycle {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
  }
  .cycle-chain {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 60px 0 50px;
  }
  .cycle-step { padding: 32px 24px; }
  .cycle-step-name { font-size: 17px; }
  .cycle-step {
    position: relative;
    padding: 24px 20px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .cycle-step:hover {
    background: var(--ink-3);
    border-color: var(--red);
    transform: translateY(-4px);
  }
  .cycle-step-num {
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--red);
    letter-spacing: 0.14em;
    margin-bottom: 20px;
  }
  .cycle-step-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.005em;
  }
  .cycle-arrow {
    position: absolute;
    right: -12px; top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    z-index: 2;
    background: var(--ink);
    padding: 2px;
  }
  .cycle-step:last-child .cycle-arrow,
  .cycle-step:nth-child(4) .cycle-arrow { display: none; }
  .cycle-tagline {
    max-width: 780px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--steel-2);
    padding-top: 40px;
    border-top: 1px solid var(--line);
  }
  .cycle-tagline b {
    color: var(--white);
    font-weight: 500;
    background: linear-gradient(180deg, transparent 60%, var(--red-glow) 60%);
    padding: 0 4px;
  }
  @media (max-width: 900px) {
    .cycle-chain { grid-template-columns: repeat(2, 1fr); }
    .cycle-step:nth-child(2) .cycle-arrow { display: none; }
    .cycle-step:nth-child(4) .cycle-arrow { display: block; }
    .cycle-step:nth-child(6) .cycle-arrow { display: none; }
  }
  @media (max-width: 500px) {
    .cycle-chain { grid-template-columns: 1fr; }
    .cycle-arrow { display: none !important; }
  }

  /* ---------- Services ---------- */
  .services {
    background: #F5F5F4;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--steel-2);
    border: 1px solid var(--steel-2);
  }
  .services-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card {
    background: var(--white);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .service-card:hover {
    background: var(--ink);
    color: var(--white);
  }
  .service-card-img {
    aspect-ratio: 16 / 10;
    background: var(--steel-1);
    background-size: cover;
    background-position: center;
    margin: -28px -24px 24px;
    border-bottom: 4px solid var(--red);
    transition: transform 0.5s ease;
  }
  .service-card:hover .service-card-img {
    transform: scale(1.02);
  }
  .service-desc {
    font-size: 15px;
    color: var(--steel-4);
    line-height: 1.55;
    margin-bottom: 24px;
    flex: 1;
  }
  .service-card:hover .service-desc {
    color: var(--steel-3);
  }
  .service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    padding: 12px 0;
    border: none;
    background: none;
    align-self: flex-start;
    cursor: pointer;
    transition: gap 0.24s ease;
    border-top: 1px solid var(--line-light);
    width: 100%;
    justify-content: space-between;
  }
  .service-more span {
    transition: transform 0.24s ease;
    color: var(--red);
    font-size: 16px;
  }
  .service-more:hover {
    color: var(--red);
  }
  .service-more:hover span {
    transform: translateX(4px);
  }
  .service-card:hover .service-more {
    border-top-color: var(--line);
  }
  .services-cta {
    text-align: center;
    padding: 60px 0 0;
  }
  .services-fullwidth {
    padding: 0 20px;
  }
  @media (max-width: 900px) {
    .services-fullwidth { padding: 0 16px; }
  }
  .services-grid-9 {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
  @media (max-width: 1200px) {
    .services-grid-8 { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 1000px) {
    .services-grid, .services-grid-6, .services-grid-9, .services-grid-8 { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .services-grid, .services-grid-6, .services-grid-9, .services-grid-8 { grid-template-columns: 1fr; }
  }
  .service-tag {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .service-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }
  .service-desc {
    font-size: 13px !important;
  }
  .service-specs {
    display: grid;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    margin-top: auto;
  }
  .service-card:hover .service-specs {
    border-top-color: var(--line);
  }
  .spec-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--f-mono);
    font-size: 12px;
  }
  .spec-key {
    color: var(--steel-4);
    letter-spacing: 0.02em;
  }
  .service-card:hover .spec-key {
    color: var(--steel-3);
  }
  .spec-val {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
  }
  .service-card:hover .spec-val {
    color: var(--white);
  }
  @media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
  }

  /* Materials strip */
  .materials {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }
  .materials-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    width: 100%;
  }
  .materials-label {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .materials-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    flex: 1;
    justify-content: space-between;
  }
  @media (max-width: 1100px) {
    .materials-inner { flex-wrap: wrap; gap: 24px; }
    .materials-list { justify-content: flex-start; flex-wrap: wrap; }
  }
  .material {
    padding: 12px 22px;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: 2px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .material-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5E7EB, #9CA3AF);
  }
  .material-dot.stainless { background: linear-gradient(135deg, #F3F4F6, #6B7280); }
  .material-dot.carbon { background: linear-gradient(135deg, #4B5563, #1F2937); }
  .material-dot.aluminum { background: linear-gradient(135deg, #E5E7EB, #94A3B8); }
  .material-dot.brass { background: linear-gradient(135deg, #FEF3C7, #B45309); }
  .material-dot.bronze { background: linear-gradient(135deg, #D97706, #78350F); }

  /* ---------- Portfolio ---------- */
  .portfolio {
    background: #FAFAF9;
  }
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 10px;
  }
  .portfolio-item {
    position: relative;
    overflow: hidden;
    background: var(--steel-1);
    cursor: zoom-in;
    display: block;
  }
  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10,10,11,0);
    transition: background 0.3s ease;
    pointer-events: none;
  }
  .portfolio-item:hover img {
    transform: scale(1.06);
  }
  .portfolio-item:hover::after {
    background: rgba(220,38,38,0.14);
  }
  .portfolio-item::before {
    content: "";
    position: absolute;
    right: 14px; top: 14px;
    width: 32px; height: 32px;
    background: var(--red);
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
    z-index: 2;
    display: grid;
    place-items: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.35-4.35'/><path d='M11 8v6M8 11h6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
  }
  .portfolio-item:hover::before {
    opacity: 1;
    transform: translateY(0);
  }
  .portfolio-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .portfolio-hidden {
    display: none;
  }
  .portfolio-grid.expanded .portfolio-hidden {
    display: block;
  }
  .portfolio-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }
  .portfolio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--white);
    border: 1px solid var(--line-light);
    color: var(--ink);
    font-family: var(--f-body);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.24s ease;
  }
  .portfolio-toggle:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
  }
  .portfolio-toggle-icon {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.24s ease;
  }
  .portfolio-toggle.expanded .portfolio-toggle-icon {
    transform: rotate(180deg);
  }
  .portfolio-cta {
    margin-top: 50px;
    padding: 48px 60px;
    background: var(--steel-1);
    border-left: 4px solid var(--red);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
  }
  .portfolio-cta h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  @media (max-width: 1000px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .portfolio-lg { grid-column: span 2; grid-row: span 2; }
  }
  @media (max-width: 700px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .portfolio-lg { grid-column: span 2; grid-row: span 1; }
    .portfolio-cta { grid-template-columns: 1fr; padding: 32px 24px; }
    .portfolio-cta h3 { font-size: 22px; }
  }

  /* ---------- Modal — Технические возможности ---------- */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,11,0.85);
    backdrop-filter: blur(6px);
    z-index: 220;
    display: none;
    place-items: center;
    padding: 40px 20px;
    overflow-y: auto;
  }
  .modal-overlay.open { display: grid; }
  .modal-window {
    background: var(--white);
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 60px 60px 60px;
    position: relative;
    border-left: 4px solid var(--red);
  }
  .modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: var(--ink);
    color: var(--white);
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 3;
  }
  .modal-close:hover { background: var(--red); }
  .modal-eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
  }
  .modal-content h3 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    color: var(--ink);
  }
  .modal-group {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-light);
  }
  .modal-group:last-of-type {
    border-bottom: none;
  }
  .modal-group-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 16px;
  }
  .modal-specs {
    display: grid;
    gap: 10px;
  }
  .modal-spec {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    font-family: var(--f-mono);
    font-size: 13px;
  }
  .modal-spec span {
    color: var(--steel-4);
  }
  .modal-spec b {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
  }
  .modal-materials {
    padding: 16px 20px;
    background: var(--steel-1);
    font-size: 14px;
    color: var(--steel-5);
    margin-bottom: 32px;
    line-height: 1.5;
  }
  .modal-materials span {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
    margin-right: 8px;
  }
  .modal-cta {
    width: 100%;
    margin-top: 8px;
  }
  @media (max-width: 700px) {
    .modal-window { padding: 40px 24px 32px; }
    .modal-content h3 { font-size: 24px; margin-bottom: 28px; }
  }

  /* Lightbox */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,10,11,0.94);
    z-index: 200;
    display: none;
    place-items: center;
    padding: 40px;
    cursor: zoom-out;
  }
  .lightbox.open { display: grid; }
  .lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  }
  .lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: var(--red);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
  }
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    display: grid;
    place-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .lightbox-nav:hover { background: var(--red); border-color: var(--red); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-counter {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--white);
    letter-spacing: 0.1em;
  }
  @media (max-width: 700px) {
    .lightbox { padding: 12px; }
    .lightbox-nav { width: 44px; height: 44px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
  }

  /* ---------- Why us ---------- */
  .why {
    background: var(--white);
    border-top: 1px solid var(--line-light);
  }
  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
  }
  .why-item {
    padding: 48px 40px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    background: var(--white);
    transition: all 0.3s;
    position: relative;
  }
  .why-item:hover {
    background: var(--steel-1);
  }
  .why-item-num {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--red);
    letter-spacing: 0.14em;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .why-item-num::before { content: "→ "; }
  .why-item h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }
  .why-item p {
    font-size: 15px;
    color: var(--steel-4);
    line-height: 1.55;
  }
  .why-item-highlight {
    background: var(--white);
    color: var(--ink);
    position: relative;
    border-top: 3px solid var(--red);
  }
  .why-item-highlight:hover {
    background: var(--ink);
    color: var(--white);
  }
  .why-item-highlight h3 {
    color: var(--ink);
  }
  .why-item-highlight:hover h3 {
    color: var(--white);
  }
  .why-item-highlight p {
    color: var(--steel-4);
  }
  .why-item-highlight:hover p {
    color: var(--steel-3);
  }
  .why-badge {
    position: absolute;
    top: 24px; right: 24px;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.14em;
    border: 1px solid var(--red);
    padding: 4px 8px;
  }
  @media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-item { padding: 32px 24px; }
  }

  /* ---------- Numbers section ---------- */
  .numbers {
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--red);
  }
  .numbers-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://static.tildacdn.com/tild6533-3036-4531-a334-343461653134/new-crane.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    filter: grayscale(1);
  }
  .numbers-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ink) 20%, rgba(10,10,11,0.6) 100%);
  }
  .numbers-inner {
    position: relative;
    z-index: 2;
  }
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid var(--line);
  }
  .numbers-grid-7 {
    grid-template-columns: repeat(7, 1fr);
  }
  .num-item {
    padding: 40px 20px 0 0;
    border-right: 1px solid var(--line);
  }
  .num-item:last-child { border-right: none; }
  .num-big {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 52px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }
  .num-big .u {
    font-family: var(--f-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--red);
    margin-left: 4px;
  }
  .num-label {
    font-size: 13px;
    color: var(--steel-3);
    line-height: 1.4;
    max-width: 180px;
  }
  @media (max-width: 900px) {
    .numbers-grid { grid-template-columns: repeat(3, 1fr); gap: 8px 0; }
    .num-item { padding: 28px 12px 0 0; }
    .num-item:nth-child(3) { border-right: none; }
  }
  @media (max-width: 500px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .num-item:nth-child(2) { border-right: none; }
  }

  /* ---------- Industries compact (inside numbers section) ---------- */
  .industries-compact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .industries-compact-head {
    margin-bottom: 24px;
  }
  .industries-compact-head h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-top: 12px;
  }
  .industries-compact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .ic-item {
    padding: 20px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    transition: background 0.2s, border-color 0.2s;
  }
  .ic-item:hover {
    background: rgba(220,38,38,0.08);
    border-color: rgba(220,38,38,0.35);
  }
  .ic-icon {
    width: 32px; height: 32px;
    fill: none;
    stroke: var(--red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .ic-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    line-height: 1.25;
  }
  .ic-rnd {
    background: rgba(220,38,38,0.1);
    border-color: rgba(220,38,38,0.3);
    grid-column: span 1;
  }
  .ic-rnd .ic-name {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
    color: var(--steel-3);
  }
  .ic-rnd-badge {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    padding: 4px 8px;
    background: rgba(220,38,38,0.15);
    border-radius: 4px;
    align-self: flex-start;
  }
  @media (max-width: 1100px) {
    .industries-compact-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 700px) {
    .industries-compact-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ic-item { padding: 14px 12px; gap: 8px; }
    .ic-icon { width: 26px; height: 26px; }
    .ic-name { font-size: 13px; }
  }
  @media (max-width: 420px) {
    .industries-compact-grid { grid-template-columns: 1fr; }
  }

  /* ---------- Equipment ---------- */
  .equipment {
    background: var(--steel-1);
  }
  .eq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line-light);
  }
  .eq-tab {
    padding: 16px 26px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel-4);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
  }
  .eq-tab:hover { color: var(--ink); }
  .eq-tab.active {
    color: var(--ink);
    border-bottom-color: var(--red);
    background: var(--white);
  }
  .eq-panel { display: none; }
  .eq-panel.active { display: grid; }
  .eq-panel {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .eq-card {
    background: var(--white);
    padding: 28px 24px;
    border: 1px solid var(--line-light);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.24s;
  }
  .eq-card:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
  }
  .eq-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }
  .eq-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.005em;
  }
  .eq-qty {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--white);
    background: var(--ink);
    padding: 4px 8px;
    white-space: nowrap;
  }
  .eq-specs {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--steel-4);
    line-height: 1.6;
    letter-spacing: 0.01em;
  }
  .eq-specs div { padding: 2px 0; }
  .eq-desc {
    font-size: 13px;
    color: var(--steel-4);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid var(--line-light);
    margin-top: auto;
  }
  @media (max-width: 900px) {
    .eq-panel { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .eq-panel { grid-template-columns: 1fr; }
  }

  /* ---------- Process ---------- */
  .process {
    background: #F5F5F4;
  }
  .process-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
  }
  .process-step {
    padding: 32px 24px;
    background: var(--steel-1);
    border-left: 3px solid var(--red);
    position: relative;
    transition: all 0.3s;
  }
  .process-step:hover {
    background: var(--ink);
    color: var(--white);
    transform: translateY(-4px);
  }
  .process-num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
  }
  .process-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .process-desc {
    font-size: 13px;
    color: var(--steel-4);
    line-height: 1.5;
  }
  .process-step:hover .process-desc { color: var(--steel-3); }
  .process-highlight {
    margin-top: 60px;
    background: var(--ink);
    color: var(--white);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
  }
  .process-highlight::before {
    content: "24";
    position: absolute;
    right: -80px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 400px;
    line-height: 1;
    color: rgba(220,38,38,0.06);
    pointer-events: none;
  }
  .process-highlight-text {
    position: relative;
    z-index: 2;
  }
  .process-highlight-text .eyebrow {
    color: var(--red);
    margin-bottom: 20px;
  }
  .process-highlight-text h3 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .process-highlight-text p {
    font-size: 16px;
    color: var(--steel-3);
    max-width: 520px;
    line-height: 1.5;
  }
  .process-highlight .btn {
    position: relative;
    z-index: 2;
  }
  @media (max-width: 1100px) {
    .process-flow { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .process-flow { grid-template-columns: repeat(2, 1fr); }
    .process-highlight { grid-template-columns: 1fr; padding: 40px 28px; }
  }

  /* ---------- Partners ---------- */
  .partners {
    background: var(--white);
    padding: 100px 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }
  .partners-head {
    text-align: center;
    margin-bottom: 60px;
  }
  .partners-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(28px, 3vw, 48px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .partners-head p {
    color: var(--steel-4);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
  }
  .partners-image {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--line-light);
  }
  .partners-image img {
    width: 100%;
    height: auto;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
    gap: 20px;
    justify-content: center;
  }
  .logo-card {
    background: var(--white);
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line-light);
    display: grid;
    place-items: center;
    padding: 28px;
    transition: all 0.28s ease;
    filter: grayscale(0.4);
    opacity: 0.85;
  }
  .logo-card:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -18px rgba(0,0,0,0.2);
  }
  .logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
  }
  @media (max-width: 500px) {
    .logos-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 160px)); }
    .logo-card { padding: 20px; }
  }

  /* ---------- Certificates ---------- */
  .certificates {
    background: var(--steel-1);
    color: var(--ink);
    padding: 100px 0;
  }
  .certificates-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    flex-wrap: wrap;
  }
  .certificates-head h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(28px, 3vw, 48px);
    letter-spacing: -0.02em;
    max-width: 700px;
    color: var(--ink);
  }
  .cert-list-wrap {
    padding: 0 40px;
  }
  @media (max-width: 900px) { .cert-list-wrap { padding: 0 20px; } }
  .cert-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  @media (max-width: 1100px) { .cert-list { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 700px) { .cert-list { grid-template-columns: repeat(2, 1fr); } }
  .cert-card {
    background: var(--white);
    border: 1px solid var(--line-light);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    cursor: zoom-in;
    overflow: hidden;
  }
  .cert-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
  }
  .cert-preview {
    background: var(--steel-1);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 10px;
    position: relative;
    border-bottom: 1px solid var(--line-light);
  }
  .cert-preview::after {
    content: "";
    position: absolute;
    right: 12px; top: 12px;
    width: 32px; height: 32px;
    background: var(--red);
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.35-4.35'/><path d='M11 8v6M8 11h6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
  }
  .cert-card:hover .cert-preview::after {
    opacity: 1;
    transform: translateY(0);
  }
  .cert-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: contrast(1.05);
  }
  .cert-body {
    padding: 16px;
  }
  .cert-name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 6px;
    color: var(--ink);
  }
  .cert-desc {
    font-size: 12px;
    color: var(--steel-4);
    line-height: 1.45;
  }
  .certificates-image-wrap {
    margin-top: 40px;
    background: var(--white);
    padding: 20px;
  }
  .certificates-image-wrap img {
    width: 100%; height: auto;
  }
  @media (max-width: 900px) {
    .cert-list { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .cert-list { grid-template-columns: 1fr; }
  }

  /* ---------- Big CTA ---------- */
  .bigcta {
    background: var(--ink);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent);
  }
  .bigcta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://static.tildacdn.com/tild6134-3764-4535-a437-393933616631/service-laser.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    mix-blend-mode: overlay;
  }
  .bigcta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .bigcta h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .bigcta h2 span {
    display: inline-block;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 2px;
    color: var(--accent-light);
  }
  .bigcta-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .bigcta-side p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
  }
  .bigcta .btn-primary {
    background: var(--accent);
    color: var(--white);
  }
  .bigcta .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    box-shadow: 0 10px 30px -10px var(--accent);
  }
  .bigcta .btn-ghost {
    border-color: rgba(255,255,255,0.5);
  }
  .bigcta .btn-ghost:hover {
    background: rgba(255,255,255,0.14);
  }
  @media (max-width: 900px) {
    .bigcta { padding: 48px 0; }
    .bigcta-inner { grid-template-columns: 1fr; gap: 24px; }
  }

  /* ---------- FAQ ---------- */
  .faq {
    background: var(--white);
  }
  .faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--line-light);
  }
  .faq-item {
    border-bottom: 1px solid var(--line-light);
  }
  .faq-q {
    width: 100%;
    text-align: left;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--red); }
  .faq-plus {
    width: 32px; height: 32px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s;
  }
  .faq-plus::before, .faq-plus::after {
    content: "";
    position: absolute;
    background: var(--red);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .faq-plus::before { width: 20px; height: 2px; }
  .faq-plus::after { width: 2px; height: 20px; transition: transform 0.3s; }
  .faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .faq-item.open .faq-a { max-height: 500px; }
  .faq-a-inner {
    padding: 0 0 32px;
    font-size: 16px;
    color: var(--steel-4);
    line-height: 1.6;
    max-width: 720px;
  }

  /* ---------- Contacts ---------- */
  .contacts {
    background: #F5F5F4;
  }
  .section.contacts {
    padding: 60px 0 80px;
  }
  .section.contacts .section-head {
    margin-bottom: 32px;
  }
  .section.contacts .section-head h2 {
    font-size: clamp(28px, 2.8vw, 40px);
  }
  .contacts-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .contacts-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
  }
  .contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line-light);
    border-radius: 10px;
  }
  .contact-icon {
    width: 40px; height: 40px;
    background: var(--ink);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 8px;
  }
  .contact-icon svg { width: 18px; height: 18px; }
  .contact-info-label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--steel-4);
    margin-bottom: 4px;
  }
  .contact-info-val {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.3;
  }
  .contact-info-val a:hover { color: var(--red); }
  .contact-info-val.mono {
    font-family: var(--f-mono);
    font-weight: 500;
  }
  .contact-info-sub {
    font-size: 12px;
    color: var(--steel-4);
    margin-top: 4px;
  }
  .contacts-map {
    background: var(--ink);
    min-height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line-light);
    border-radius: 10px;
  }
  .map-open-link {
    position: absolute;
    right: 12px; bottom: 12px;
    background: var(--ink);
    color: var(--white);
    padding: 10px 16px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    z-index: 2;
    transition: all 0.2s;
    text-decoration: none;
  }
  .map-open-link:hover {
    background: var(--red);
  }
  @media (max-width: 900px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .contacts-info { grid-template-columns: repeat(2, 1fr); }
    .contacts-map { min-height: 320px; }
  }
  @media (max-width: 600px) {
    .contacts-info { grid-template-columns: 1fr; }
  }

  /* ---------- Footer ---------- */
  .footer {
    background: var(--ink);
    color: var(--steel-3);
    padding: 80px 0 40px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--line);
  }
  .footer-logo {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1;
  }
  .footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
    margin-bottom: 24px;
  }
  .footer-messengers {
    display: flex;
    gap: 10px;
  }
  .footer-col h4 {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
  }
  .footer-col a {
    display: block;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--red); }
  .footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 12px;
    font-family: var(--f-mono);
    color: var(--steel-4);
    line-height: 1.6;
  }
  .footer-legal { max-width: 720px; }
  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 500px) {
    .footer-top { grid-template-columns: 1fr; }
  }

  /* ---------- Floating messengers ---------- */
  .floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .floating a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    transition: all 0.25s;
    animation: pulse-shadow 3s infinite;
  }
  .floating a:hover {
    transform: scale(1.08);
  }
  .floating img {
    width: 32px; height: 32px;
  }
  @keyframes pulse-shadow {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.14); }
    50% { box-shadow: 0 8px 24px rgba(0,0,0,0.14), 0 0 0 12px rgba(220,38,38,0.0); }
  }

  /* ---------- Utility ---------- */
  .row { display: flex; align-items: center; gap: 12px; }
  .divider {
    height: 1px;
    background: var(--line-light);
    margin: 60px 0;
  }


  /* ============ Mobile fixes ============ */
  @media (max-width: 900px) {
    /* Header: убираем большую кнопку, показываем телефон + мессенджеры */
    .header-inner { padding: 10px 14px; gap: 10px; }
    .header .btn-header { display: none !important; }
    .header .header-contact {
      display: flex !important;
      flex-direction: row;
      align-items: center;
      gap: 10px;
    }
    .header .header-contact .phone-link { font-size: 12px; letter-spacing: 0; white-space: nowrap; order: 0; }
    .header .header-contact .messenger-icons { gap: 6px; order: 1; }
    .header .header-contact .messenger-icons a { width: 30px; height: 30px; }
    .header .header-contact .messenger-icons img { width: 16px; height: 16px; }
    .logo-img { height: 44px; }

    /* Отступ между шапкой и hero-eyebrow */
    .hero-full .hero-eyebrow { margin-top: 40px; }

    /* Hero H1 крупнее на мобильном */
    .hero h1 { font-size: clamp(36px, 8.5vw, 52px); }

    /* Заголовки секций не должны вылезать */
    .section-head h2,
    .certificates-head h2 {
      font-size: clamp(26px, 6.8vw, 40px);
      overflow-wrap: break-word;
      word-break: normal;
      hyphens: auto;
    }

    /* Materials: подпись переносится, список в 2 колонки */
    .materials-inner { flex-direction: column; align-items: stretch; }
    .materials-label {
      white-space: normal !important;
      font-size: 20px;
      line-height: 1.2;
      flex-shrink: 1 !important;
      max-width: 100%;
    }
    .materials-list {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 8px !important;
      width: 100%;
      flex-wrap: unset;
    }
    .material { padding: 12px 14px; font-size: 13px; }

    /* Certs: горизонтальный слайдер с подглядом следующей карточки, картинка на всю рамку */
    .cert-list-wrap { padding: 0 0 0 20px; }
    .cert-list {
      display: flex !important;
      grid-template-columns: none !important;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 12px;
      padding-right: 40px;
      scroll-padding-left: 0;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .cert-list::-webkit-scrollbar { display: none; }
    .cert-card {
      flex: 0 0 78%;
      scroll-snap-align: start;
    }
    .cert-preview { padding: 0 !important; aspect-ratio: 3 / 4; }
    .cert-preview img {
      width: 100%; height: 100%;
      object-fit: cover !important;
      max-width: none;
    }

    /* Футер: контент колонок Навигация / Реквизиты — сеткой 2×N */
    .footer-col a { display: block; }
    .footer-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px 20px;
    }
    .footer-col h4 { grid-column: 1 / -1; margin-bottom: 12px; }
  }
  @media (max-width: 420px) {
    .header .header-contact { gap: 8px; }
    .header .header-contact .phone-link { font-size: 11px; }
    .logo-img { height: 40px; }
    .header-inner { padding: 8px 12px; gap: 8px; }
  }
    /* A/B hero — новые правила поверх глобального стиля */
  .hero-eyebrow-shipping {
    background: rgba(15, 15, 20, 0.72);
    border-color: rgba(255,255,255,0.22);
  }
  .hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 32px;
    color: var(--steel-2);
  }
  .hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.4;
  }
  .hero-trust-item b { color: var(--white); font-weight: 600; }
  .hero-trust-ico {
    width: 18px; height: 18px;
    color: var(--red);
    flex-shrink: 0;
  }
  /* Скрыть подпись логотипа раньше, чтобы не налезала на меню */
  @media (max-width: 1360px) {
    .logo-sub { display: none; }
    .logo-name { font-size: 15px; }
  }
  @media (max-width: 900px) {
    /* На мобильном плашка «Отгрузка по РФ» не нужна */
    .hero-eyebrow-shipping { display: none; }
    .hero-trust-row { flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 24px; }
    .hero-trust-item { font-size: 11px; }
  }
</style>

