/* TOP174 v98: newstyle + no-crop hero media */
body {
  background:
    radial-gradient(circle at 16% 10%, rgba(242, 118, 22, .12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(255, 191, 102, .07), transparent 25%),
    linear-gradient(180deg, #05070a 0%, #0b0f14 34%, #0a1118 65%, #05070a 100%);
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 62%);
}
.topbar {
  background: rgba(5, 7, 10, .86);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.nav-wrap { min-height: 84px; }
.page-hero {
  position:relative;
  overflow:hidden;
  padding: clamp(62px, 8vw, 106px) 0 clamp(46px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.page-hero::before {
  content:"";
  position:absolute;
  inset:-18% -12% auto 45%;
  height: 560px;
  background: radial-gradient(circle, rgba(242,118,22,.16), transparent 62%);
  filter: blur(12px);
  pointer-events:none;
}
.page-hero-grid {
  gap: clamp(30px, 5vw, 72px);
  align-items:center;
}
.page-hero .copy { gap: 20px; }
.page-hero .copy h1 {
  max-width: 13ch;
  font-size: clamp(40px, 4.9vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}
.page-hero .copy p {
  max-width: 62ch;
  color:#d6e0ea;
  font-size: clamp(16px, 1.25vw, 19px);
}
.page-hero-grid .media {
  position:relative;
  min-height: clamp(360px, 35vw, 540px);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 26px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  isolation:isolate;
}
.page-hero-grid .media::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,10,.04), rgba(5,7,10,.22) 62%, rgba(5,7,10,.48)),
    radial-gradient(circle at 20% 82%, rgba(242,118,22,.2), transparent 45%);
  z-index:2;
  pointer-events:none;
}
.page-hero-grid .media img { filter: saturate(1.05) contrast(1.04); }
.kicker {
  width:max-content;
  max-width:100%;
  border-color: rgba(242,118,22,.38);
  background: linear-gradient(135deg, rgba(242,118,22,.18), rgba(255,255,255,.035));
  color:#ffd39a;
  font-weight:800;
}
.kicker::before { background:#f47616; box-shadow:0 0 0 8px rgba(242,118,22,.12); }
.badge {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.section {
  position:relative;
  padding: clamp(70px, 7vw, 104px) 0;
  border-top:1px solid rgba(255,255,255,.065);
}
.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(12,18,25,.66), rgba(8,12,17,.34));
}
.section-title span {
  display:inline-flex;
  width:max-content;
  padding: 9px 13px;
  border-radius:999px;
  background: rgba(242,118,22,.12);
  border:1px solid rgba(242,118,22,.28);
  color:#ffc27e;
  letter-spacing:0;
  text-transform:none;
  font-size:13px;
  font-weight:800;
}
.section-title h2 {
  max-width: 16ch;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .98;
  letter-spacing: -.05em;
}
.section-title p { color:#bcc9d7; font-size:16px; }
.card,
.stat-box,
.process-card,
.table-row,
.faq details,
.anchor-card,
.photo-card {
  background: linear-gradient(180deg, rgba(23,30,39,.86), rgba(12,17,23,.78));
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 18px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.045);
}
.card:hover,
.stat-box:hover,
.process-card:hover,
.table-row:hover,
.faq details:hover,
.anchor-card:hover,
.photo-card:hover {
  border-color: rgba(242,118,22,.26);
  transform: translateY(-1px);
}
.card,
.stat-box,
.process-card,
.table-row,
.faq details,
.anchor-card,
.photo-card { transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.table-row {
  min-height:64px;
  align-items:center;
  border-radius:20px;
}
.table-row strong:first-child::before,
.card ul li::marker { color:#f47616; }
.stats-stack { gap: 18px; }
.stat-box strong { color:#fff; }
.stat-box strong::first-letter { color:#ffbf66; }
.cta-band {
  display:none;
}
.lead-section {
  padding: clamp(78px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(242,118,22,.18), transparent 32%),
    linear-gradient(90deg, rgba(43,24,15,.82), rgba(8,15,22,.9) 52%, rgba(5,8,12,.98));
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lead-layout {
  display:grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items:center;
}
.lead-copy {
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.lead-copy h2 {
  margin:0;
  max-width: 13ch;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height:.96;
  letter-spacing:-.055em;
}
.lead-copy p {
  margin:0;
  max-width: 58ch;
  color:#cdd8e4;
  font-size:16px;
  line-height:1.72;
}
.lead-form-card {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(25,32,41,.96), rgba(14,20,28,.94));
}
.lead-form-card .form-grid { gap: 16px; }
.lead-form-card .field label {
  font-weight:800;
  color:#e8f0f8;
}
.lead-form-card .field input,
.lead-form-card .field textarea,
.lead-form-card .field select {
  background: rgba(2,6,10,.62);
  border-color: rgba(255,255,255,.12);
}
.lead-form-card button.btn {
  width:100%;
  min-height:56px;
  background: linear-gradient(135deg, #ff7a1a 0%, #d95c08 100%);
  color:#fff;
  box-shadow: 0 20px 50px rgba(242,118,22,.28);
}
.related-v121-related-links .anchor-grid,
.anchor-grid {
  gap: 14px;
}
.anchor-card {
  border-radius: 22px;
}
.photo-grid {
  gap: 18px;
}
.photo-card {
  border-radius: 28px;
  overflow:hidden;
}
.photo-card img { min-height:260px; object-fit:cover; }
.photo-caption {
  background: linear-gradient(180deg, rgba(6,9,13,.38), rgba(6,9,13,.86));
}
@media (max-width:1080px) {
  .lead-layout { grid-template-columns:1fr; }
  .lead-form-card { max-width: 760px; width:100%; }
  .page-hero-grid .media { min-height: 420px; }
}
@media (max-width:780px) {
  .page-hero { padding-top: 38px; }
  .page-hero .copy h1, .lead-copy h2, .section-title h2 { max-width:none; }
  .page-hero-grid .media { min-height: 300px; border-radius:24px; }
  .lead-section { padding: 58px 0; }
  .lead-copy .badge-row .badge { width:100%; justify-content:center; text-align:center; }
  .lead-form-card { border-radius:24px; padding:18px; }
  .section-title span { font-size:12px; }
}


/* TOP174 v97 hotfix: compact visible cards for service-grid sections */
.service-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.service-grid > .service-card {
  display:flex !important;
  flex-direction:column;
  gap: 12px;
  min-height: 0 !important;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(23,30,39,.88), rgba(12,17,23,.82));
  box-shadow: 0 18px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.045);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.service-grid > .service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242,118,22,.30);
  background: linear-gradient(180deg, rgba(29,37,48,.92), rgba(14,20,28,.86));
}
.service-grid > .service-card h3 {
  margin:0;
  color:#fff;
  font-size: clamp(19px, 1.45vw, 24px);
  line-height:1.18;
  letter-spacing:-.02em;
}
.service-grid > .service-card p {
  margin:0;
  color:#c7d3df;
  line-height:1.68;
  max-width: 62ch;
}
.service-grid > .service-card strong {
  margin-top:auto;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding: 8px 12px;
  border-radius:999px;
  border:1px solid rgba(242,118,22,.30);
  background: rgba(242,118,22,.10);
  color:#ffd39a;
  font-size:14px;
  line-height:1;
}
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .service-grid > .service-card { border-radius:22px; }
}


/* v98: фото в hero-блоках не обрезаем. Показываем изделие целиком. */
.page-hero-grid .media {
  min-height: 0;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 86%, rgba(242,118,22,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    #080c12;
}
.page-hero-grid .media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #080c12;
}
.page-hero-grid .media::after {
  background:
    linear-gradient(180deg, rgba(5,7,10,.02), rgba(5,7,10,.10) 68%, rgba(5,7,10,.18)),
    radial-gradient(circle at 18% 86%, rgba(242,118,22,.12), transparent 42%);
}
@media (max-width: 1080px) {
  .page-hero-grid .media { min-height: 0; aspect-ratio: 16 / 11; }
}
@media (max-width: 780px) {
  .page-hero-grid .media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Если на конкретной странице нужен кинематографичный фон с кадрированием — можно добавить class="media is-cover". */
.page-hero-grid .media.is-cover img { object-fit: cover; }
