/* ================================================================
   ООО «РГП» — РусГазПроект
   Единая таблица стилей сайта
   ================================================================ */

:root{
  --navy:        #0F1B2E;
  --navy-2:      #16263F;
  --blue:        #0B5C93;
  --blue-2:      #0E74B8;
  --blue-light:  #3D9BD6;
  --accent:      #E4572E;
  --slate:       #46525D;
  --muted:       #7C8894;
  --bg:          #FFFFFF;
  --bg-soft:     #F2F5F8;
  --bg-soft-2:   #E8F1F8;
  --line:        #DCE2E7;
  --line-dark:   #22344F;

  --wrap: 1180px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(15,27,46,.05), 0 8px 28px rgba(15,27,46,.07);
  --shadow-lg: 0 2px 4px rgba(15,27,46,.06), 0 20px 48px rgba(15,27,46,.12);
  --ff: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:112px; }

body{
  margin:0;
  font-family:var(--ff);
  font-size:17px;
  line-height:1.6;
  color:var(--slate);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; }

a{ color:var(--blue); text-decoration:none; transition:color .18s ease; }
a:hover{ color:var(--blue-2); }

h1,h2,h3,h4{ color:var(--navy); font-weight:700; line-height:1.2; margin:0 0 .6em; letter-spacing:-.01em; }
h1{ font-size:clamp(30px,4.4vw,50px); letter-spacing:-.025em; }
h2{ font-size:clamp(25px,3vw,35px); letter-spacing:-.02em; }
h3{ font-size:20px; }
h4{ font-size:17px; }
p{ margin:0 0 1em; }
ul{ margin:0 0 1em; padding-left:1.2em; }
li{ margin-bottom:.4em; }
strong{ color:var(--navy); font-weight:600; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }

/* ---------- Служебные ---------- */
.eyebrow{
  display:inline-block;
  font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue); margin-bottom:14px;
}
.eyebrow--light{ color:var(--blue-light); }
.lead{ font-size:19px; line-height:1.62; color:var(--slate); }
.muted{ color:var(--muted); }
.center{ text-align:center; }
.section{ padding:88px 0; }
.section--soft{ background:var(--bg-soft); }
.section--dark{ background:var(--navy); color:#C3CEDB; }
.section--dark h2,.section--dark h3,.section--dark h4{ color:#fff; }
.section--tight{ padding:60px 0; }
.section-head{ max-width:760px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; }
.rule{ height:3px; width:52px; background:var(--accent); border-radius:2px; margin:0 0 22px; }
.rule.center{ margin-left:auto; margin-right:auto; }

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:14px 26px; border-radius:var(--r);
  font-size:16px; font-weight:600; letter-spacing:.01em;
  border:1.5px solid transparent; cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn--primary{ background:var(--blue); color:#fff; }
.btn--primary:hover{ background:var(--blue-2); color:#fff; }
.btn--ghost{ border-color:rgba(255,255,255,.32); color:#fff; }
.btn--ghost:hover{ border-color:#fff; color:#fff; background:rgba(255,255,255,.08); }
.btn--outline{ border-color:var(--line); color:var(--navy); background:#fff; }
.btn--outline:hover{ border-color:var(--blue); color:var(--blue); }

/* ================================================================
   Шапка
   ================================================================ */
.header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  max-width:var(--wrap); margin:0 auto; padding:0 24px;
  height:100px; display:flex; align-items:center; gap:26px;
}
.header__logo{ flex:0 0 auto; line-height:0; }
.header__logo img{
  height:60px; width:212px;      /* пропорция логотипа 368 x 104 */
  max-width:none; object-fit:contain;
}
.nav{ margin-left:auto; display:flex; align-items:center; gap:4px; }
.nav a{
  padding:9px 14px; border-radius:8px;
  font-size:15.5px; font-weight:500; color:var(--navy);
  transition:background .16s ease, color .16s ease;
}
.nav a:hover{ background:var(--bg-soft); color:var(--blue); }
.nav a.is-active{ color:var(--blue); background:var(--bg-soft-2); font-weight:600; }
.header__cta{ margin-left:4px; padding:12px 22px; font-size:15px; white-space:nowrap; }
.burger{
  display:none; margin-left:auto;
  width:44px; height:44px; border:1px solid var(--line); border-radius:9px;
  background:#fff; cursor:pointer; padding:0; position:relative;
}
.burger span{
  position:absolute; left:12px; right:12px; height:2px; background:var(--navy);
  border-radius:2px; transition:transform .22s ease, opacity .18s ease;
}
.burger span:nth-child(1){ top:15px; }
.burger span:nth-child(2){ top:21px; }
.burger span:nth-child(3){ top:27px; }
.burger.is-open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

@media (max-width:1150px){
  .header__inner{ gap:16px; }
  .header__logo img{ height:52px; width:184px; }
  .nav a{ padding:9px 8px; font-size:14.5px; }
  .header__cta{ padding:11px 15px; font-size:14.5px; }
}

/* ================================================================
   Первый экран
   ================================================================ */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, #0F1B2E 0%, #14293F 45%, #0B4470 100%);
  color:#C9D6E4;
  padding:104px 0 96px;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(61,155,214,.30), transparent 62%),
    radial-gradient(600px 320px at 4% 96%, rgba(11,92,147,.34), transparent 60%);
  pointer-events:none;
}
.hero__photo{
  position:absolute; inset:0; pointer-events:none;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  filter:saturate(.8);
}
.hero__photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(15,27,46,.955) 0%, rgba(15,27,46,.87) 40%, rgba(11,68,112,.74) 100%);
}
.hero__grid{
  position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), transparent 88%);
}
.hero .wrap{ position:relative; z-index:2; }
.hero h1{ color:#fff; max-width:16ch; }
.hero__lead{ font-size:20px; line-height:1.6; color:#B7C7D9; max-width:60ch; margin-bottom:34px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero__facts{
  margin-top:64px; padding-top:38px;
  border-top:1px solid rgba(255,255,255,.14);
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
}
.fact__num{ font-size:38px; font-weight:700; color:#fff; line-height:1.1; letter-spacing:-.02em; }
.fact__label{ font-size:14.5px; color:#9DB0C4; margin-top:6px; }

.page-hero{
  background:linear-gradient(135deg,#0F1B2E 0%, #16324F 100%);
  color:#B7C7D9; padding:70px 0 66px; position:relative; overflow:hidden;
}
.page-hero__photo{
  position:absolute; inset:0; pointer-events:none;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  filter:saturate(.8);
}
.page-hero__photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(15,27,46,.965) 0%, rgba(15,27,46,.90) 46%, rgba(11,68,112,.78) 100%);
}
.page-hero::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(800px 340px at 85% 0%, rgba(61,155,214,.26), transparent 62%);
  pointer-events:none;
}
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; margin-bottom:16px; }
.page-hero p{ font-size:18.5px; color:#B7C7D9; max-width:70ch; margin:0; }
.crumbs{ font-size:14px; color:#8FA3B8; margin-bottom:18px; }
.crumbs a{ color:#8FA3B8; }
.crumbs a:hover{ color:#fff; }

/* ---------- Тематическая фоновая графика ---------- */
.section{ position:relative; }
.section > .wrap{ position:relative; z-index:2; }
.bg-grid::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background-image:
    linear-gradient(rgba(15,27,46,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,27,46,.05) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 85% 70% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image:radial-gradient(ellipse 85% 70% at 50% 0%, #000 10%, transparent 78%);
}
.section__photo{
  position:absolute; inset:0; pointer-events:none; z-index:1;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  opacity:.16; filter:saturate(.55);
  mask-image:linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
}

/* ================================================================
   Карточки и сетки
   ================================================================ */
.grid{ display:grid; gap:22px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:28px 26px; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover{ border-color:#C3D3E0; box-shadow:var(--shadow); transform:translateY(-2px); }
.card h3{ margin-bottom:10px; font-size:19px; }
.card p{ margin:0; font-size:16px; color:var(--slate); }
.card__icon{
  width:46px; height:46px; border-radius:11px; margin-bottom:18px;
  background:var(--bg-soft-2); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
}
.card__icon svg{ width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.card--accent{ border-color:#F3CFC2; background:linear-gradient(180deg,#FEF7F4 0%,#fff 60%); }
.card--accent .card__icon{ background:#FBE5DC; color:var(--accent); }
.card--flat{ background:var(--bg-soft); border-color:transparent; }
.card--flat:hover{ background:#EDF2F7; transform:none; box-shadow:none; border-color:transparent; }
.card__link{ display:inline-block; margin-top:16px; font-weight:600; font-size:15.5px; }
.card__link::after{ content:" →"; }

/* Нумерованные карточки */
.numcard{ position:relative; padding-left:66px; }
.numcard__n{
  position:absolute; left:26px; top:28px;
  width:30px; height:30px; border-radius:8px;
  background:var(--navy); color:#fff;
  font-size:14px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}

/* Список-галка */
.checks{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.checks li{
  position:relative; padding-left:32px; margin:0; font-size:16.5px;
}
.checks li::before{
  content:""; position:absolute; left:0; top:.42em;
  width:18px; height:18px; border-radius:50%;
  background:var(--bg-soft-2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5C93' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size:12px 12px; background-position:center; background-repeat:no-repeat;
}
.checks--2{ grid-template-columns:repeat(2,1fr); column-gap:34px; }
.section--dark .checks li::before{ background-color:rgba(61,155,214,.18); }
.section--dark .checks li{ color:#C3CEDB; }

/* Список-точка */
.dots{ list-style:none; padding:0; margin:0; }
.dots li{ position:relative; padding-left:20px; margin-bottom:9px; font-size:16px; }
.dots li::before{
  content:""; position:absolute; left:2px; top:.62em;
  width:6px; height:6px; border-radius:50%; background:var(--blue-light);
}

/* Двухколоночный блок текст+панель */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:start; }
.panel{
  background:var(--bg-soft); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:30px 28px;
}
.panel--dark{ background:var(--navy-2); border-color:var(--line-dark); color:#C3CEDB; }
.panel h3{ margin-top:0; }

/* Таблица */
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; }
table{ width:100%; border-collapse:collapse; font-size:15.5px; min-width:560px; }
th,td{ padding:13px 18px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
thead th{
  background:var(--bg-soft); color:var(--navy); font-weight:600;
  font-size:13px; letter-spacing:.07em; text-transform:uppercase; white-space:nowrap;
}
tbody tr:last-child td{ border-bottom:none; }
tbody tr:hover{ background:#FAFCFD; }
td.num{ white-space:nowrap; font-variant-numeric:tabular-nums; color:var(--navy); font-weight:600; }

/* Аппарат: карточка с ТХ */
.spec{
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:#fff;
  display:grid; grid-template-columns:300px 1fr;
}
.spec__photo{
  border-right:1px solid var(--line); background:#fff;
  display:flex; align-items:center; justify-content:center; padding:22px;
  transition:background .18s ease;
}
.spec__photo:hover{ background:var(--bg-soft); }
.spec__photo img{ max-height:420px; width:auto; object-fit:contain; }
.spec__main{ min-width:0; }
.spec__head{ padding:24px 26px 20px; border-bottom:1px solid var(--line); }
.spec__head h3{ margin:0 0 8px; }
.spec__head p{ margin:0; font-size:16px; }
.spec__body{ display:grid; grid-template-columns:1fr 1fr; }
.spec__col{ padding:22px 26px; }
.spec__col + .spec__col{ border-left:1px solid var(--line); background:var(--bg-soft); }
.spec__col h4{ font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.spec__row{ display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px dashed var(--line); font-size:15.5px; }
.spec__row:last-child{ border-bottom:none; }
.spec__row span:last-child{ color:var(--navy); font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }

/* Иллюстрация в рамке */
.figure{
  border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  background:#fff;
}
.figure img{ width:100%; display:block; }
.figure figcaption{
  padding:12px 18px; font-size:14.5px; color:var(--muted);
  border-top:1px solid var(--line); background:var(--bg-soft);
}

/* Карточка установки со схемой */
.unit{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; display:flex; flex-direction:column;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.unit:hover{ border-color:#C3D3E0; box-shadow:var(--shadow); }
.unit__img{
  background:#fff; border-bottom:1px solid var(--line);
  padding:18px; height:290px; display:flex; align-items:center; justify-content:center;
  transition:background .18s ease;
}
.unit__img:hover{ background:var(--bg-soft); }
.unit__img img{ max-height:100%; width:auto; object-fit:contain; }
.unit__body{ padding:22px 24px 24px; }
.unit__body h3{ font-size:18px; margin-bottom:8px; }
.unit__body p{ margin:0; font-size:15.5px; }

/* Теги */
.tags{ display:flex; flex-wrap:wrap; gap:9px; list-style:none; padding:0; margin:0; }
.tags li{
  margin:0; padding:8px 15px; border-radius:100px; font-size:15px;
  background:var(--bg-soft); border:1px solid var(--line); color:var(--navy);
}
.section--dark .tags li{ background:rgba(255,255,255,.06); border-color:var(--line-dark); color:#D6E1EC; }

/* Шаги процесса */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.step{ padding:0 26px 0 0; position:relative; }
.step + .step{ padding-left:26px; border-left:1px solid var(--line); }
.step__n{ font-size:13px; font-weight:700; color:var(--accent); letter-spacing:.1em; margin-bottom:12px; }
.step h3{ font-size:18px; margin-bottom:8px; }
.step p{ font-size:15.5px; margin:0; }

/* Полоса статистики */
.statbar{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.stat{ border-left:3px solid var(--blue-light); padding-left:20px; }
.stat__num{ font-size:34px; font-weight:700; color:var(--navy); line-height:1.15; letter-spacing:-.02em; }
.stat__label{ font-size:15px; color:var(--muted); margin-top:4px; }
.stat--text .stat__num{ font-size:21px; line-height:1.3; letter-spacing:-.01em; }
.section--dark .stat__num{ color:#fff; }
.section--dark .stat__label{ color:#9DB0C4; }

/* Полоса призыва */
.cta{
  background:linear-gradient(120deg,#0B5C93 0%, #0F1B2E 100%);
  color:#C9D6E4; border-radius:var(--r-lg); padding:52px 48px;
  display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap;
}
.cta h2{ color:#fff; margin-bottom:8px; }
.cta p{ margin:0; color:#B7C7D9; max-width:56ch; }

/* Контакты */
.contact-list{ list-style:none; padding:0; margin:0; display:grid; gap:26px; }
.contact-list dt{ font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:5px; }
.contact-list dd{ margin:0; font-size:18px; color:var(--navy); font-weight:500; }
.req{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px 34px; font-size:16px; }
.req div{ display:flex; justify-content:space-between; gap:16px; padding-bottom:10px; border-bottom:1px dashed var(--line); }
.req span:first-child{ color:var(--muted); }
.req span:last-child{ color:var(--navy); font-weight:600; text-align:right; }

/* ================================================================
   Подвал
   ================================================================ */
.footer{ background:var(--navy); color:#8FA3B8; padding:64px 0 30px; font-size:15.5px; }
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer img{ height:38px; width:auto; margin-bottom:18px; }
.footer h4{ color:#fff; font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer ul{ list-style:none; padding:0; margin:0; }
.footer li{ margin-bottom:10px; }
.footer a{ color:#A9BACB; }
.footer a:hover{ color:#fff; }
.footer__bottom{
  margin-top:48px; padding-top:24px; border-top:1px solid var(--line-dark);
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  font-size:14px; color:#6F8299;
}

/* ================================================================
   Адаптив
   ================================================================ */
@media (max-width:1000px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:34px; }
  .steps{ grid-template-columns:repeat(2,1fr); gap:30px 0; }
  .step + .step{ border-left:none; padding-left:0; }
  .step:nth-child(even){ padding-left:26px; border-left:1px solid var(--line); }
  .statbar{ grid-template-columns:repeat(2,1fr); gap:28px; }
  .hero__facts{ grid-template-columns:repeat(2,1fr); gap:26px; }
  .footer__top{ grid-template-columns:repeat(2,1fr); gap:34px; }
}

@media (max-width:1000px){
  .spec{ grid-template-columns:1fr; }
  .spec__photo{ border-right:none; border-bottom:1px solid var(--line); }
  .spec__photo img{ max-height:300px; }
}

@media (max-width:1023px){
  .burger{ display:block; }
  .header__cta{ display:none; }
  .header__inner{ height:84px; gap:20px; }
  .header__logo img{ height:50px; width:177px; }
  .nav{
    position:fixed; inset:84px 0 auto 0;
    background:#fff; border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0;
    padding:10px 16px 20px; margin:0;
    box-shadow:var(--shadow-lg);
    display:none;
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding:14px 12px; border-radius:8px; font-size:17px; }
}

@media (max-width:820px){
  body{ font-size:16px; }
  .section{ padding:60px 0; }
  .hero{ padding:70px 0 64px; }
  .hero__facts{ margin-top:44px; padding-top:30px; }
  .spec__body{ grid-template-columns:1fr; }
  .unit__img{ height:210px; }
  .section__photo{ opacity:.09; }
  .spec__col + .spec__col{ border-left:none; border-top:1px solid var(--line); }
  .checks--2{ grid-template-columns:1fr; }
  .cta{ padding:36px 26px; }
  .req{ grid-template-columns:1fr; }
}

@media (max-width:560px){
  .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .step:nth-child(even){ padding-left:0; border-left:none; }
  .statbar{ grid-template-columns:1fr; }
  .hero__facts{ grid-template-columns:1fr; }
  .footer__top{ grid-template-columns:1fr; }
  .header__logo img{ height:44px; width:156px; }
  .btn{ width:100%; justify-content:center; }
}

@media print{
  .header,.footer,.burger,.hero__actions{ display:none; }
  body{ font-size:12pt; color:#000; }
}
