/* ---------- Локальные шрифты (WOFF2) ---------- */

/* Oswald (Заголовки) */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/oswald-v57-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/oswald-v57-cyrillic_cyrillic-ext_latin-500.woff2') format('woff2');
}

/* IBM Plex Sans (Основной текст) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-v23-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-v23-cyrillic_cyrillic-ext_latin-600.woff2') format('woff2');
}

/* IBM Plex Mono (Цены, артикулы, тех. данные) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/ibm-plex-mono-v23-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/ibm-plex-mono-v23-cyrillic_cyrillic-ext_latin-600.woff2') format('woff2');
}

:root{
  --bg:#f4f3ef;
  --surface:#ffffff;
  --line:#e3e0d7;
  --line2:#d3cfc3;
  --ink:#25272b;
  --muted:#5f6368;
  --dim:#8d9095;
  --accent:#4a6b8a;
  --accent-dark:#3a566f;
  --ok:#3e7d5a;
  --ok-bg:#e8f0ea;
  --warn:#8a6423;
  --warn-bg:#f4ecdc;
  --f-display:'Oswald',sans-serif;
  --f-body:'IBM Plex Sans',system-ui,sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,monospace;
}

/* ---------- База ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: no-preference){ html{ scroll-behavior:smooth; } }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.6;
}
img{display:block;max-width: 100%;border-radius: 10px;}
a{ color:inherit; text-decoration:none; }
::selection{ background:#d6e2ec; color:var(--accent-dark); }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
section{ scroll-margin-top:88px; }
.container{ width:min(1160px, 92vw); margin-inline:auto; }

/* ---------- Шапка ---------- */
.site-head{
  position:sticky;
  top:0;
  z-index:50;
  background: #337359;
  border-bottom:1px solid var(--line);
}
.site-head__inner{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding-top:14px; padding-bottom:14px;
}
.site-head__inner1{
  display:none; align-items:center; justify-content:space-between; gap:20px;
  padding-top:14px; padding-bottom:14px;
}
.brand{ display:flex; align-items:center; gap:12px; color:var(--accent); }
.brand__mark{ width:30px; height:30px; flex:none; }
.brand__txt{display:flex;flex-direction: row;line-height:1.25;align-items: center;gap: 40px;}
.brand__txt strong{
  font-family:var(--f-display);
  font-weight:500;
  font-size: 30px;
  letter-spacing:.03em;
  color: #ffffff;
  margin-top: -7px;
}
.brand__txt small{font-size: 13px;color: #ffffff;letter-spacing: .06em;}
.head-phone{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.3; }
.head-phone span{
  font-family:var(--f-mono);
  font-weight:600;
  font-size:16px;
  color: #ffffff;
  text-wrap: nowrap;
}
.head-phone small{font-size:11.5px;color: #74ff53;}
.head-phone:hover span{ color:var(--accent); }

/* ---------- Вступление ---------- */
.intro{ padding:64px 0 56px; }
.intro__grid{
  display:grid;
  grid-template-columns:1.5fr .9fr;
  gap:56px;
  align-items: start;
  justify-content: space-between;
}
.intro__grid1{
  display:grid;
  grid-template-columns:1.5fr .9fr;
  gap:56px;
  align-items: start;
  justify-content: space-between;
}
.intro__over{
  font-family:var(--f-mono); font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--accent); margin-bottom:14px;
}
.intro__copy h1{
  font-family:var(--f-display); font-weight:500;
  font-size:clamp(1.9rem, 4.2vw, 2.9rem);
  line-height:1.12; letter-spacing:.01em; margin-bottom:18px;
}
.intro__lead{ color:var(--muted); max-width:58ch; margin-bottom:26px; }
.intro__lead1{color:var(--muted);max-width:58ch;margin-bottom:26px;margin-top: -120px;}
.intro__actions{display:flex;/* flex-wrap:wrap; */gap:12px;}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f-mono); font-size:12.5px; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase;
  padding:13px 20px; border-radius:4px; border:1px solid transparent;
  transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid{background: #337359;color:#fff;}
.btn--solid:hover{ background:var(--accent-dark); }
.btn--ghost{ border-color:var(--line2); color:var(--ink); }
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }

.intro__terms{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding: 70px 26px;
}
.intro__terms h2{
  font-family:var(--f-display); font-weight:500; font-size:18px;
  letter-spacing:.02em; margin-bottom:14px;
}
.intro__terms dl > div{
  display:flex; justify-content:space-between; gap:14px;
  padding:9px 0; border-bottom:1px dashed var(--line);
}
.intro__terms dl > div:last-child{ border-bottom:0; padding-bottom:0; }
.intro__terms dt{ color:var(--dim); font-size:14px; }
.intro__terms dd{
  font-family:var(--f-mono); font-size:13px; text-align:right; color:var(--ink);
}

/* ---------- Каталог ---------- */
.catalog{ padding:8px 0 72px; }
.catalog__head{ margin-bottom:28px; }
.catalog__head h2{
  font-family:var(--f-display);
  font-weight:500;
  font-size:clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing:.015em;
  margin-bottom:6px;
  margin-top: -20px;
}
.catalog__head p{ color:var(--muted); font-size:15px; }

.catalog__grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;
}
.card{
  display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--line); border-radius:8px;
  overflow:hidden;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.card:hover{
  border-color:var(--line2);
  box-shadow:0 10px 28px rgba(37,39,43,.08);
}
.card__top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 16px; border-bottom:1px solid var(--line);
}
.card__num{
  font-family:var(--f-mono); font-size:12px; letter-spacing:.1em; color:var(--dim);
}
.pill{
  font-family:var(--f-mono); font-size:11px; letter-spacing:.05em;
  padding:4px 10px; border-radius:20px; white-space:nowrap;
}
.pill--ok{ background:var(--ok-bg); color:var(--ok); }
.pill--warn{ background:var(--warn-bg); color:var(--warn); }

.card__fig{ aspect-ratio:16/10; overflow:hidden; background:#eceae4; }
.card__fig img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.85) contrast(.98);
}
.card__body{flex:1;display:flex;flex-direction:column;padding:16px 18px 18px;justify-content: flex-start;}
.card__cat{
  font-family:var(--f-mono); font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--dim); margin-bottom:8px;
}
.card__name{
  font-family:var(--f-display); font-weight:500;
  font-size:18.5px; line-height:1.22; letter-spacing:.01em; margin-bottom:14px;
}
.specs{font-size:13.5px;/* margin-bottom:16px; */}
.specs > div{
  display:flex; justify-content:space-between; gap:14px;
  padding:6.5px 0; border-bottom:1px dashed var(--line);
}
.specs dt{ color:var(--muted); }
.specs dd{
  font-family:var(--f-mono);
  font-weight:500;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.card__foot{
  /* margin-top:auto; */
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  align-items: flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.price{ display:flex; flex-direction:column; gap:2px; }
.price__val{
  font-family:var(--f-mono); font-weight:600; font-size:21px;
  font-variant-numeric:tabular-nums;
}
.price__note{ font-size:11.5px; color:var(--dim); }
.card__tel{
  font-family:var(--f-mono);
  font-size: 14px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  padding:8px 12px;
  border: 2px solid var(--line2);
  border-radius:4px;
  transition:background-color .25s ease, border-color .25s ease, color .25s ease;
}
.card__tel:hover{
  background:var(--accent); border-color:var(--accent); color:#fff;
}

.catalog__note{
  margin-top:26px; max-width:88ch;
  font-size:13.5px; color:var(--dim);
}

/* ---------- Подвал ---------- */
.footer{
  border-top:1px solid var(--line); background:#efede7;
  padding:44px 0 24px;
}
.footer__grid{
  display:grid; grid-template-columns:1.2fr .8fr .9fr; gap:40px; margin-bottom:32px;
}
.footer__brand{
  font-family:var(--f-display); font-weight:500; font-size:18px; margin-bottom:10px;
}
.footer__note{ font-size:13.5px; color:var(--muted); max-width:40ch; }
.footer__contacts{ display:flex; flex-direction:column; gap:8px; font-size:14px; }
.footer__contacts a{ color:var(--ink); transition:color .25s ease; }
.footer__contacts a:first-child{
  font-family:var(--f-mono); font-weight:600; font-size:17px;
}
.footer__contacts a:hover{ color:var(--accent); }
.footer__contacts span{ color:var(--muted); }
.footer__req{ font-size:12.5px; line-height:1.8; color:var(--muted); }
.footer__bottom{
  border-top:1px solid var(--line); padding-top:18px;
  font-size:12.5px; color:var(--dim);
}

/* ---------- Адаптив ---------- */
@media (max-width:1080px){
  .catalog__grid{ grid-template-columns:repeat(2, 1fr); }
  .intro__grid{/* grid-template-columns:1fr; */gap:36px;}
  .intro__grid1{/* grid-template-columns:1fr; */gap:36px;}
  .intro__terms{ max-width:560px; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 750px){
   .brand__txt strong {
      font-size: 20px;
    }
}

@media (max-width: 750px){
    .head-phone span {
          font-size: 13px;
    }
}

@media (max-width: 716px){
    .intro__grid1 {
           display: flex;
           flex-direction: row;
           /* align-items: stretch; */
           justify-content: space-around;
    }
}




@media (max-width:680px){


  .site-head__inner1{
     display:flex; align-items:center; justify-content:space-between; gap:20px;
     padding-top:14px; padding-bottom:14px;
  }
  .intro{ padding-top:44px; overflow: hidden;}
  .catalog__grid{ grid-template-columns:1fr; }
  .card__foot{ flex-direction:column; align-items:stretch; }
  .card__tel{ text-align:center; }
  .footer__grid{ grid-template-columns:1fr; gap:28px; }
}

@media (max-width:542px){
 
  .intro__grid{ display: flex; flex-direction: row; justify-content: space-around; }
   .intro__actions{ flex-direction: column;  align-items: stretch;}
}


/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition:none !important; }
}

.sp1{
   /* margin-left: 220px; */
   margin-top: -50px;
   text-align: start;
   color: var(--dim);
    margin-left: 40px;
}


@media (max-width: 716px){
      .sp1{
           display: none;
       }
}

@media (max-width: 990px){
     .intro__lead1{color:var(--muted);max-width:58ch;margin-bottom:26px;margin-top: -80px;}
}

@media (max-width: 680px){
     .intro__lead1{color:var(--muted);max-width:58ch;margin-bottom:26px;margin-top: -50px;}
}



@media (max-width: 620px){
    .brand__txt small {
        display: none;
     }
}

@media (max-width: 600px){
    .btn{
        padding: 10px 10px;
    }
}


.gory {
    display: block;
    width: auto;
    height: 60px;
}


@media (max-width: 677px){
     .gory {
          height: 40px;
     }
}

@media (max-width: 400px){
     .gory {
          height: 30px;
     }
}

.popd{
    color: #f4f3ef;
    font-size: 10px;
    text-align: end;
    margin-bottom: -20px;
    padding: 5px;
    padding-right: 20px;
    display: none;
}

@media (max-width: 620px){
        .popd{
            display: block;
        }
}



