:root {
  --bg-0: #060912;
  --bg-1: #0a0f1c;
  --bg-2: #0f1524;
  --panel: rgba(12, 20, 38, .7);
  --border: rgba(74, 163, 255, .22);
  --border-strong: rgba(124, 199, 255, .48);
  --text: #fff;
  --muted: #98a4bb;
  --accent: #4aa3ff;
  --accent-2: #7cc7ff;
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(ellipse at 17% 8%, rgba(27, 76, 160, .3) 0, transparent 42%),
    radial-gradient(ellipse at 88% 40%, rgba(19, 88, 180, .17) 0, transparent 48%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 48%, #050810);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(74,163,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(74,163,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 22%, #000 24%, transparent 86%);
}
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 52% 18%, rgba(74,163,255,.1), transparent 38%);
}
.page { position: relative; width: min(1380px, calc(100% - 64px)); margin: 0 auto; }

.header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(74,163,255,.15); }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 55px; height: 55px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(74,163,255,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 25px; font-weight: 700; letter-spacing: .12em; }
.brand-tagline { margin-top: 6px; color: #9bb8d2; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.back-link, .hero-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--border); transition: .2s ease; }
.back-link { padding: 12px 18px; color: #e9f5ff; border-radius: 999px; background: rgba(13,25,47,.6); font-size: 14px; }
.back-link:hover { border-color: var(--accent-2); background: rgba(37,83,141,.38); transform: translateY(-1px); }

.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding: 80px 0 92px; }
.eyebrow { margin-bottom: 14px; color: var(--accent-2); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 25px; font-size: clamp(34px, 4vw, 58px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.hero-copy > p { max-width: 590px; margin-bottom: 32px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-action { padding: 15px 22px; border-color: rgba(74,163,255,.6); border-radius: 999px; background: linear-gradient(180deg, #2b7bdc, #1b57a9); box-shadow: 0 8px 28px rgba(17,82,171,.32); font-size: 14px; font-weight: 600; }
.hero-action:hover { filter: brightness(1.12); transform: translateY(-2px); }
.hero-visual { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: #07101e; box-shadow: 0 20px 60px rgba(0,0,0,.38), 0 0 55px rgba(74,163,255,.12); }
.hero-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(74,163,255,.12), transparent 42%, rgba(5,8,16,.15)); pointer-events: none; }
.hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-visual figcaption { position: absolute; z-index: 1; right: 18px; bottom: 17px; padding: 7px 11px; border: 1px solid rgba(124,199,255,.3); border-radius: 999px; background: rgba(3,9,19,.75); color: #dceeff; font-size: 11px; backdrop-filter: blur(8px); }

.services { padding: 26px 0 92px; }
.section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 34px; }
h2 { margin-bottom: 0; font-size: clamp(29px, 3.2vw, 45px); letter-spacing: -.035em; line-height: 1.08; }
.section-heading h2 { max-width: 660px; }
.section-heading > p { width: min(350px, 100%); margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; display: grid; grid-template-columns: 1fr 43%; min-height: 275px; overflow: hidden; border: 1px solid var(--border); border-radius: 19px; background: linear-gradient(135deg, rgba(15,27,52,.88), rgba(8,14,27,.76)); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { border-color: var(--border-strong); box-shadow: 0 15px 38px rgba(0,0,0,.28), 0 0 32px rgba(74,163,255,.1); transform: translateY(-3px); }
.service-card-wide { grid-column: 1 / -1; grid-template-columns: 46% 54%; min-height: 315px; }
.service-content { position: relative; z-index: 1; align-self: center; padding: 28px; }
.service-number { display: inline-block; margin-bottom: 25px; color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.service-card h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.service-card img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; opacity: .84; transition: opacity .25s ease, transform .45s ease; }
.service-card:hover img { opacity: 1; transform: scale(1.035); }
.service-card::after { position: absolute; z-index: 0; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,12,25,.93) 0%, rgba(7,12,25,.72) 45%, rgba(7,12,25,.06) 76%); pointer-events: none; }
.service-card-wide::after { background: linear-gradient(90deg, rgba(7,12,25,.95) 0%, rgba(7,12,25,.74) 43%, rgba(7,12,25,.06) 76%); }

.workflow { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 28px; overflow: hidden; margin-bottom: 80px; padding: 42px; border: 1px solid rgba(74,163,255,.33); border-radius: 22px; background: linear-gradient(110deg, rgba(12,34,72,.78), rgba(10,18,37,.82)); }
.workflow-glow { position: absolute; width: 510px; height: 510px; right: -160px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(74,163,255,.3), transparent 67%); pointer-events: none; }
.workflow-icon { position: relative; display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(124,199,255,.5); border-radius: 16px; background: rgba(74,163,255,.12); color: var(--accent-2); }
.workflow-icon svg { width: 35px; height: 35px; }
.workflow h2 { position: relative; max-width: 850px; margin-bottom: 18px; }
.workflow p { position: relative; max-width: 950px; margin-bottom: 0; color: #b5c2d3; font-size: 15px; line-height: 1.7; }

.contact-cta { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-bottom: 45px; padding: 34px 38px; border: 1px solid rgba(74,163,255,.18); border-radius: 18px; background: rgba(10,16,30,.58); }
.contact-cta h2 { margin-bottom: 10px; font-size: 29px; }
.contact-cta p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.email-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  max-width: 100%;
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(74,163,255,.35);
  border-radius: 999px;
  background: rgba(13,25,47,.6);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
}

.email-copy__address {
  overflow-wrap: anywhere;
}

.email-copy__button {
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid rgba(124,199,255,.45);
  border-radius: 999px;
  background: rgba(74,163,255,.12);
  color: #e9f5ff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.email-copy__button:hover,
.email-copy__button:focus-visible {
  border-color: var(--accent-2);
  background: rgba(74,163,255,.24);
  color: #fff;
  outline: none;
}

.email-copy__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 30px; border-top: 1px solid rgba(74,163,255,.13); color: #7d8799; font-size: 12px; }
.footer a:hover { color: var(--accent-2); }

@media (max-width: 900px) {
  .page { width: min(100% - 40px, 1380px); }
  .hero { grid-template-columns: 1fr; padding: 58px 0 68px; }
  .hero-visual { max-width: 720px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > p { width: auto; }
  .service-card, .service-card-wide { min-height: 275px; grid-template-columns: 1fr 42%; }
}
@media (max-width: 620px) {
  .page { width: min(100% - 28px, 1380px); }
  .header { min-height: 84px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 18px; }
  .brand-tagline { font-size: 6.5px; }
  .back-link { padding: 10px 13px; font-size: 12px; }
  .back-link svg { width: 15px; height: 15px; }
  .hero { padding: 44px 0 58px; gap: 34px; }
  h1 { font-size: 39px; }
  .hero-copy > p { font-size: 15px; }
  .services { padding-bottom: 58px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card, .service-card-wide { grid-template-columns: 1fr; min-height: 0; }
  .service-content { min-height: 235px; padding: 24px; }
  .service-card img { height: 210px; min-height: 0; }
  .service-card::after { background: linear-gradient(180deg, rgba(7,12,25,.92) 0%, rgba(7,12,25,.84) 47%, rgba(7,12,25,.1) 73%); }
  .workflow { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; padding: 27px 24px; }
  .workflow-icon { width: 57px; height: 57px; }
  .workflow p { font-size: 14px; }
  .contact-cta { align-items: flex-start; flex-direction: column; padding: 26px 24px; }
  .footer { padding-bottom: 22px; }
}

.print-particles {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

header,
main,
footer,
.page,
.container,
.services-grid,
.service-card {
  position: relative;
  z-index: 10;
}

/* 3D-печать: широкое hero-изображение с текстом поверх */
.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 32px 0 92px;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 510px;
  border-radius: 24px;
}

.hero-visual img {
  width: 100%;
  height: 510px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg,
      rgba(5, 10, 20, 0.96) 0%,
      rgba(5, 10, 20, 0.84) 34%,
      rgba(5, 10, 20, 0.38) 60%,
      rgba(5, 10, 20, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(5, 9, 18, 0.42), transparent 48%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(28px, 5vw, 72px);
  width: min(550px, calc(100% - 56px));
  transform: translateY(-50%);
}

.hero-copy > p {
  max-width: 525px;
  color: #b5c2d3;
}

.hero-visual figcaption {
  z-index: 2;
}

@media (max-width: 900px) {
  .hero {
    padding: 22px 0 68px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: 470px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 18px 0 58px;
  }

  .hero-visual,
  .hero-visual img {
    height: 550px;
  }

  .hero-visual img {
    object-position: 62% center;
  }

  .hero-copy {
    z-index: 3;
    top: auto;
    bottom: 112px;
    left: 24px;
    width: calc(100% - 48px);
    transform: none;
  }

  .hero-action {
    position: relative;
    z-index: 4;
  }

  .hero-visual figcaption {
    z-index: 2;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    line-height: 1.35;
    text-align: right;
    pointer-events: none;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-visual::before {
    background:
      linear-gradient(0deg,
        rgba(5, 10, 20, 0.98) 0%,
        rgba(5, 10, 20, 0.88) 42%,
        rgba(5, 10, 20, 0.28) 74%,
        rgba(5, 10, 20, 0.1) 100%
      );
  }
}

/* Коммерческие условия в первом экране */
.hero-copy > .hero-facts {
  margin: -12px 0 24px;
  color: #dceeff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .02em;
}

@media (max-width: 620px) {
  .hero-copy > .hero-facts {
    margin: -14px 0 22px;
    font-size: 11px;
  }
}
/* Производственные возможности 3D-печати */
.production-specs {
  padding: 0 0 80px;
}

.production-specs .section-heading {
  margin-bottom: 28px;
}

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

.specs-grid {
  margin-bottom: 22px;
}

.spec-card,
.spec-details-card {
  border: 1px solid var(--border);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(15,27,52,.88), rgba(8,14,27,.76));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.spec-card {
  min-height: 212px;
  padding: 30px;
}

.spec-card-main {
  border-color: rgba(74,163,255,.38);
  background:
    radial-gradient(circle at 83% 10%, rgba(74,163,255,.20), transparent 38%),
    linear-gradient(135deg, rgba(15,36,73,.92), rgba(8,14,27,.78));
}

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

.spec-size {
  margin-bottom: 14px;
  color: #f4f9ff;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.spec-card p,
.spec-details-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.spec-details-card {
  padding: 30px;
}

.spec-details-card h3 {
  margin: 0 0 14px;
  color: #f4f9ff;
  font-size: 21px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

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

.material-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.material-list li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(124,199,255,.5);
}

.material-list strong {
  color: #e6f3ff;
  font-weight: 600;
}

@media (max-width: 620px) {
  .production-specs {
    padding-bottom: 48px;
  }

  .specs-grid,
  .specs-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .specs-grid {
    margin-bottom: 16px;
  }

  .spec-card,
  .spec-details-card {
    padding: 24px;
  }

  .spec-card {
    min-height: 0;
  }

  .spec-label {
    margin-bottom: 20px;
  }

  .spec-size {
    font-size: 31px;
  }
}

/* Компактный H1 в первом экране */
.hero-copy h1 {
  font-size: clamp(29px, 3.4vw, 49px);
}

@media (max-width: 620px) {
  .hero-copy h1 {
    font-size: 33px;
  }
}
/* FAQ: 3D-печать на заказ */
.faq {
  padding: 0 0 80px;
}

.faq .section-heading {
  margin-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 16, 30, .58);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
  border-color: rgba(124, 199, 255, .52);
  background: linear-gradient(135deg, rgba(15, 33, 65, .88), rgba(9, 16, 31, .82));
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.faq-item summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  color: #edf7ff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-answer {
  padding: 0 58px 22px 24px;
}

.faq-answer p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 620px) {
  .faq {
    padding-bottom: 48px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item summary {
    padding: 18px 48px 18px 20px;
    font-size: 15px;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .faq-answer p {
    font-size: 13.5px;
  }
}
/* Единственная карточка FFF/FDM на всю ширину блока */
.spec-card-wide {
  grid-column: 1 / -1;
}
