@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600&display=swap");


html {
  scroll-behavior: smooth;
  font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== BASE ===== */
*{ margin:0; padding:0; box-sizing:border-box; }
html, body{ height:100%; }
body{
  font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:#000;
  color:#fff;
}

:root{
  --yellow:#dc8e09;
  --dark:#0f0f0f;
  --text:#111;
  --white:#fff;
}

/* ===== HEADER (прозрачный, без blur, не sticky) ===== */
.topbar{
  position:absolute;
  top:0; left:0; right:0;
  z-index:900;
  background:transparent;
}

.topbar-inner{
  padding:18px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  height:100px;
  display:block;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:22px;
}

.searchBtn{
  background:none;
  border:none;
  color:#fff;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-weight:500;
  font-size:16px;
  opacity:.95;
}
.searchBtn:hover{ opacity:1; }

.search-icon{ font-size:18px; line-height:1; }

/* LANGS */
.langs{
  display:flex;
  gap:12px;
  font-size:12px;
  letter-spacing:.08em;
}
.langs a{
  color:#fff;
  text-decoration:none;
  opacity:.55;
  font-weight:700;
  transition:opacity .2s ease;
}
.langs a.active, .langs a:hover{ opacity:1; }

/* ===== MENU BUTTON ===== */
.menuBtn{
  display:flex;
  align-items:center;
  gap:10px;
  background:none;
  border:none;
  color:#fff;
  font-size:14px;
  cursor:pointer;
  padding:6px 0;
}

/* текст Menu */
.menuLabel{
  font-weight:500;
  letter-spacing:.04em;
}

/* контейнер иконки */
.menuIcon{
  display:flex;
  flex-direction:column;
  gap:5px;
}

/* линии */
.menuLine{
  width:18px;
  height:2px;
  background:#fff;
  opacity:.9;
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

/* hover */
.menuBtn:hover .menuLine:first-child{
  transform:translateY(-1px);
}
.menuBtn:hover .menuLine:last-child{
  transform:translateY(1px);
}

/* если меню открыто */
body.menu-open .menuLine:first-child{
  transform:translateY(1px);
}
body.menu-open .menuLine:last-child{
  transform:translateY(-1px);
}

/* ===== HERO ===== */
.hero{
  min-height:93vh;
  position:relative;
  display:flex;
  align-items:center;
  
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  padding:140px 0 60px;
}

/* затемнение как на HETA */
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:rgba(0,0,0,.35);
}
/* затемнение по краям (vignette) */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0,0,0,0) 35%,
      rgba(0,0,0,0.35) 65%,
      rgba(0,0,0,0.70) 100%
    );
}

.hero-content{
  position:relative;
  margin-left:70px;
  display:flex;
  flex-direction:column;
}

.hero-title{
  font-size:clamp(52px, 5vw, 84px);
  line-height:1.0;
  font-weight:700;
  letter-spacing:-0.03em;
  margin-bottom:22px;
}

.hero-title-strong{ color:#fff; }
.hero-title-soft{ color:rgba(255,255,255,.55); }

.hero-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* Buttons */
.white-btn, .yellow-btn{
  padding:14px 32px;
  font-size:16px;
  font-weight:500;
  cursor:pointer;
  width:max-content;
  border-radius:4px;
  transition:transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.white-btn:hover, .yellow-btn:hover{ transform:translateY(-1px); }

.white-btn{
  border:2px solid rgba(255,255,255,.85);
  background:transparent;
  color:#fff;
}
.white-btn:hover{
  background:#fff;
  color:#000;
}

.yellow-btn{
  background:var(--yellow);
  border:1px solid rgba(0,0,0,.05);
  color:#fff;
}
.yellow-btn:hover{ background:#b58322; }

/* ===== PRODUCTS (адаптив как у HETA) ===== */
.products{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  width:100%;
  background:#fff;
}

.product-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  background-size:cover;
  background-position:center;
  text-decoration:none;
  color:#fff;
  overflow:hidden;
}

.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  transition:background .3s ease;
}

.product-card span{
  position:relative;
  font-size:26px;
  font-weight:600;
  text-align:center;
  line-height:1.2;
  padding:0 14px;
}

.product-card:hover::before{ background:rgba(0,0,0,.25); }

/* при сжатии ВСЁ превращаем в одну колонку-полосы */
@media (max-width:1100px){
  .products{
    grid-template-columns:1fr;
  }
  .product-card{
    min-height:260px;
  }
  .product-card span{
    font-size:22px;
  }
}

/* ===== ADVANTAGES ===== */
.advantages{
  background:#fff;
  color:#111;
  padding:90px 80px;
}
.advantages-title{
  text-align:center;
  font-size:50px;
  font-weight:500;
  letter-spacing:-0.02em;
  margin-bottom:80px;
}
.advantages-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 380px 1fr;
  column-gap:26px;
  align-items:center;
}
.advantages-col{
  display:flex;
  flex-direction:column;
  gap:56px;
}
.advantages-col--left{
  align-items:flex-end;
  text-align:right;
}
.advantages-col--right{
  align-items:flex-start;
  text-align:left;
}
.adv-item h3{
  font-size:20px;
  font-weight:800;
  margin:0 0 14px;
}
.adv-item p{
  margin:0;
  font-size:15px;
  line-height:1.9;
  color:#222;
  max-width:340px;
}
.advantages-imgWrap{
  display:flex;
  justify-content:center;
  align-items:center;
}
.advantages-img{
  width:360px;
  height:auto;
  display:block;
}

/* ===== PRE-FOOTER (3 колонки не ломаются) ===== */
.pre-footer{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  width:100%;
  height:40vw;
  min-height:520px;
}

.pre-footer > div{
  position:relative;
  overflow:hidden;
}

/* общий контент внутри */
.pre-footer .bg{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:18px;
  padding:clamp(26px, 3vw, 56px);
  text-align:center;
}

/* одинаковая ширина кнопок и общая линия по низу */
.wide-btn{
  min-width:260px;
  display:inline-flex;
  justify-content:center;
}

/* тексты */
.pre-footer h1{
  font-size:clamp(26px, 2.2vw, 34px);
  font-weight:700;
  letter-spacing:-0.01em;
}
.pre-footer p{
  width:min(520px, 80%);
  font-size:15px;
  line-height:1.7;
  opacity:.88;
}
.pre-footer img{
  width:56px;
  height:56px;
}

/* цвета как на HETA */
.el1{ background:#4A4A4A; }
.el3{ background:var(--yellow); }

/* фото фон в средней колонке + grayscale ТОЛЬКО фон */
.el2::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("img/pre-footer/image.jpeg") center / cover no-repeat;
  filter:grayscale(100%);
  z-index:0;
}
.el2 .bg{ position:relative; z-index:1; }

.main-content .el2::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("img/pre-footer/image.jpeg") center / cover no-repeat;
  z-index:0;
}
.page-hero-img{
  filter: contrast(1.05) brightness(1.02);
}

/* =========================
   HETA GALLERY — INFINITE + SWIPE
   ========================= */
.heta-gallery{
  background:#fff;
  padding:70px 60px 50px;
  overflow:hidden;
}

.heta-gallery h2{
  text-align:center;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 45px;
  color:#111;
}

.heta-slider{
  position:relative;
  max-width:1400px;
  margin:0 auto;
}

.heta-viewport{
  overflow:hidden;
  width:100%;
  position:relative;
  touch-action: pan-y;
  cursor: grab;
}
.heta-viewport:active{ cursor: grabbing; }

/* боковые “фейды” */
.heta-viewport::before,
.heta-viewport::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:20px;
  z-index:3;
  pointer-events:none;
}
.heta-viewport::before{
  left:0;
  background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}
.heta-viewport::after{
  right:0;
  background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
}

.heta-track{
  display:flex;
  gap:30px;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 768px){
  .heta-viewport::before,
  .heta-viewport::after{
    width:10px;
  }
}

.heta-slide{
  flex:0 0 auto;
  width:600px;
  height:400px;
  user-select:none;
}

.heta-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: translateZ(0);
}

.heta-slide.is-dim{
  opacity:.28;
  filter: grayscale(10%);
  transition: opacity .25s ease, filter .25s ease;
}

/* стрелки */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:22px;

  z-index:3;
  /* без анимаций трансформации */
  transition: background .2s ease, opacity .2s ease;
}

.hero-arrow:hover{
  background:rgba(0,0,0,.8);
  /* оставляем ту же позицию, без scale */
  transform:translateY(-50%);
}
.heta-arrow.left{ left:16px; }
.heta-arrow.right{ right:16px; }

/* responsive gallery */
@media (max-width:1200px){
  .heta-slide{ width:520px; height:360px; }
}
@media (max-width:980px){
  .heta-gallery{ padding:55px 24px 40px; }
  .heta-slide{ width:460px; height:320px; }
}
@media (max-width:768px){
  .heta-arrow{ display:none; }
  .heta-track{ gap:16px; }
  .heta-slide{ width:78vw; height:52vw; max-height:360px; }
  .heta-viewport::before, .heta-viewport::after{ width:55px; }
}

/* ===== OVERLAY ===== */
.sideMenu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  pointer-events:none;
  transition:opacity .28s ease;
  z-index:950;
}
body.menu-open .sideMenu-overlay{
  opacity:1;
  pointer-events:auto;
}

/* ===== SIDE MENU (анимации) ===== */
.sideMenu{
  position:fixed;
  top:0; right:0; bottom:0;
  width:420px;
  max-width:92vw;
  background:var(--yellow);
  color:#fff;
  transform:translateX(110%);
  opacity:0.98;
  transition:transform .42s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease;
  z-index:1000;
  padding:28px 42px;
  display:flex;
  flex-direction:column;
  gap:18px;
  overflow-y:auto;
  border-radius:0 0 0 26px;
  box-shadow:-14px 0 35px rgba(0,0,0,.35);
}

body.menu-open .sideMenu{
  transform:translateX(0);
}

.sideMenu-topRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:8px;
}

.sideMenu-label{
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.14em;
  color:rgba(255,255,255,.75);
}

.closeBtn{
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  padding:6px 0;
  transition:transform .2s ease, opacity .2s ease;
}
.closeBtn:hover{ transform:translateY(-1px); }
.closeX{
  font-size:18px;
  line-height:1;
  transition:transform .25s ease;
}
.closeBtn:hover .closeX{ transform:rotate(90deg); }

.sideMenu-divider{
  border:none;
  border-top:1px solid rgba(255,255,255,.35);
  margin:12px 0 10px;
}

.sideMenu-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sideMenu-list a{
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  display:inline-block;
  transform:translateX(0);
  transition:transform .18s ease, opacity .2s ease;
}
.sideMenu-list a:hover{
  transform:translateX(6px);
  opacity:0.95;
}

body.menu-open{ overflow:hidden; }

/* ===== FOOTER ===== */
.footer{
  background:var(--dark);
  color:#fff;
  padding:70px 60px 24px;
}
.footer-inner{
  max-width:1500px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2.2fr 1fr 1fr 1fr;
  gap:70px;
}
.footer-col h3{
  margin-bottom:18px;
  font-size:20px;
  font-weight:700;
}
.footer-col ul{ list-style:none; }
.footer-col li{ margin:10px 0; }
.footer-col a{
  color:#fff;
  text-decoration:none;
  opacity:.9;
  font-size:15px;
}
.footer-col a:hover{ opacity:1; text-decoration:underline; }

.footer-col-big p{
  opacity:.82;
  line-height:1.9;
  max-width:720px;
  margin-bottom:34px;
}

.social-title{
  margin-bottom:14px;
  font-size:18px;
  font-weight:700;
}
.social{
  display:flex;
  gap:10px;
}
.social-btn{
  width:44px;
  height:34px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  opacity:.9;
  transition:transform .18s ease, border-color .2s ease, opacity .2s ease;
}
.social-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.6);
  opacity:1;
}
.social img{
  width:40px;
  height:40px;
  display:block;
}

.footer-bottom{
  max-width:1500px;
  margin:44px auto 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:14px;
  opacity:.95;
}

.footer-bottom-right{
  display:flex;
  align-items:center;
  gap:18px;
}
.footer-bottom-right a{
  color:#fff;
  text-decoration:none;
  opacity:.85;
}
.footer-bottom-right a:hover{ opacity:1; text-decoration:underline; }

.footer-bottom-right select{
  background:#0f0f0f;
  color:#fff;
  border:1px solid rgba(255,255,255,.25);
  padding:10px 12px;
  border-radius:3px;
}

/* ===== RESPONSIVE (общие) ===== */
@media (max-width:1200px){
  .pre-footer{
    grid-template-columns:1fr;
    height:auto;
    min-height:unset;
  }
  .pre-footer > div{ min-height:420px; }
}

@media (max-width:980px){
  .topbar-inner{ padding:16px 18px; }
  
  .hero-content{ margin-left:24px; }

  .advantages{ padding:70px 24px; }
  .advantages-title{ font-size:40px; margin-bottom:40px; }
  .advantages-grid{
    grid-template-columns:1fr;
    row-gap:40px;
  }
  .advantages-col--left, .advantages-col--right{
    align-items:flex-start;
    text-align:left;
  }
  .advantages-img{ width:min(360px, 70vw); }
  .adv-item p{ max-width:100%; }

  .footer{ padding:60px 24px 24px; }
  .footer-inner{ grid-template-columns:1fr 1fr; gap:40px; }
}

@media (max-width:600px){
  .hero-actions{
    align-items: flex-start;
    gap: 10px;
  }

  .hero-actions .white-btn,
  .hero-actions .yellow-btn{
    width: 100%;
    max-width: 320px;
    font-size: 14px;        /* было 16px */
    padding: 10px 18px;     /* было 14px 32px */
    border-radius: 3px;
  }
}

/* =========================
   FOOTER — MOBILE FIX
   ========================= */
@media (max-width: 600px){

  .footer{
    padding: 44px 18px 18px;
  }

  .footer-inner{
    grid-template-columns: 1fr;   /* одна колонка */
    gap: 28px;
  }

  /* заголовки колонок */
  .footer-col h3{
    font-size: 18px;
    margin-bottom: 12px;
  }

  /* основной текст */
  .footer-col-big p{
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  /* списки */
  .footer-col ul{
    padding-left: 0;
  }

  .footer-col li{
    margin: 8px 0;
  }

  /* ссылки: читабельно и без вылезания */
  .footer-col a{
    display: inline-block;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;      /* длинные слова/почта/адреса ломаем */
    overflow-wrap: anywhere;     /* iOS любит это */
  }

  /* адреса в контактах часто длинные — делаем визуально легче */
  .footer-col:last-child a{
    opacity: .95;
  }

  /* соцсети — чуть компактнее */
  .social{
    gap: 10px;
    flex-wrap: wrap;
  }

  .social img{
    width: 34px;
    height: 34px;
  }

  /* нижняя строка футера */
  .footer-bottom{
    margin-top: 26px;
    padding-top: 14px;
    flex-direction: column;      /* в столбик */
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
  }

  .footer-bottom-right{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom-right a{
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-bottom-right select{
    width: 100%;
    max-width: 260px;            /* аккуратно */
    padding: 10px 12px;
  }
}

/* дополнительная защита от горизонтального скролла из-за длинных ссылок */
.footer, .footer *{
  max-width: 100%;
}

/* =========================
   PAGE 2 HERO (like HETA)
   ========================= */
.page-hero{
  position:relative;
  height:70vh;
  min-height:520px;
  width:100%;
  overflow:hidden;
}

/* фото */
.page-hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(100%);
}

/* затемнение */
.page-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

/* контент по центру */
.page-hero-content{
 
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  gap:2rem;
  flex-direction: column;
}

.page-hero-content h1{
  font-size:64px;
  font-weight:700;
  letter-spacing:.02em;
}
.page-hero-content p{
  color:rgba(255,255,255,.9);
  font-size: 20px;
  letter-spacing:.02em;
  max-width:50vw;
}
/* PAGE 2 header */
.topbar.topbar--page2{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:10;
  background:transparent;
}

.topbar.topbar--page2 .topbar-inner{
  width:100%;
  max-width:none;
  padding:0;
  display:block;
}

/* ROW 1 */
.topbar.topbar--page2 .topbar-row--top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:28px 60px 14px;
}

/* ROW 2 */
.topbar.topbar--page2 .topbar-row--bottom{
  width:100%;
  padding:14px 60px 18px;
  border-top:1px solid rgba(255,255,255,.35);
}

/* crumbs */
.topbar.topbar--page2 .crumbs{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  color:rgba(255,255,255,.65);
}

.topbar.topbar--page2 .crumbs a{
  color:rgba(255,255,255,.45);
  text-decoration:none;
}
.topbar.topbar--page2 .crumbs a:hover{
  color:#fff;
}

.topbar.topbar--page2 .crumbs .sep{
  opacity:.4;
}
.topbar.topbar--page2 .crumbs .current{
  color:rgba(255,255,255,.9);
}

/* MENU ICON page2 */
.menuIcon{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.menuLine{
  width:18px;
  height:2px;
  background:#fff;
  border-radius:2px;
  opacity:.9;
  transition:transform .2s ease;
}
.menuBtn:hover .menuLine:first-child{
  transform:translateY(-1px);
}
.menuBtn:hover .menuLine:last-child{
  transform:translateY(1px);
}

/* ADAPTIVE page2 */
@media (max-width:900px){
  .topbar.topbar--page2 .topbar-row--top{
    padding:22px 24px 12px;
  }
  .topbar.topbar--page2 .topbar-row--bottom{
    padding:12px 24px 16px;
  }
}



/* TEXT BLOCK page2 */
#readtext{
  background:#fff;
  color:#000;
  padding:110px 0;
}

#readtext h2,
#readtext p{
  margin-left:auto;
  margin-right:auto;
  max-width:860px;
  padding:0 24px;
}

#readtext h2{
  font-size:24px;
  font-weight:500;
  line-height:1.6;
  letter-spacing:0;
}

#readtext p{
  font-size:16px;
  font-weight:400;
  line-height:1.9;
}

#readtext p:last-child{
  margin-bottom:0;
}
#readtext h2{
  margin-bottom:36px;
}
#readtext p{
  margin-bottom:34px;
}

/* ===== HERO responsive (как у HETA) ===== */
@media (max-width:980px){
  .hero{
    padding:110px 0 50px;
    background-position:70% center;
  }
}

@media (max-width:600px){
  .hero{
    min-height: 100svh;
    padding: 120px 0 70px;
    background-position: center center;
  }

  .hero-content{
    margin-left: 18px;
    margin-right: 18px;
    max-width: calc(100% - 36px);
  }

  .hero-title{
    font-size: clamp(38px, 10vw, 54px);
  }
}
/* ===== CATALOGUE (как на настоящем сайте HETA) ===== */
#catalogue{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 60px 40px 80px;
  color: #000;
  background: #f9f9f9;
}

#catalogue div{
  background:#fff;
  border:1px solid #e3e3e3;
  border-radius:4px;
  padding:32px 24px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition: box-shadow .2s ease, border-color .2s ease, transform .15s ease, color .2s ease;
}

/* рамка под картинку — одинаковая высота для всех */
#catalogue div > a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:320px;          /* вот ЭТА высота делает все карточки одинаковыми */
  margin-bottom:16px;
}

/* сама картинка не режется, а вписывается */
#catalogue img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

/* подпись под картинкой */
#catalogue p{
  margin:0;
  font-size:14px;
  text-align:center;
}

#catalogue div:hover{
  color:var(--yellow);
  border-color:rgba(0,0,0,.08);
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transform:translateY(-2px);
}

/* фон страницы каталога */
.main-page3{
  background:#fff;
}

/* ноутбуки / большие планшеты — 3 колонки */
@media (max-width: 1200px){
  #catalogue{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap:32px;
    padding:50px 32px 70px;
  }
}

/* планшеты — 2 колонки */
@media (max-width: 900px){
  #catalogue{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:28px;
    padding:40px 24px 60px;
  }
  #catalogue div > a{
    height:300px;       /* чуть пониже рамка под фото */
  }
}

/* телефоны — 1 колонка */
@media (max-width: 600px){
  #catalogue{
    grid-template-columns: 1fr;
    gap:24px;
    padding:32px 18px 50px;
  }

  #catalogue div > a{
    height:260px;       /* на мобиле пониже */
  }
}

/* Секция с текстом про Pellet stoves */
#PelletText{
  background-color:#f5f5f5;
  color:#000;
  padding:80px 0;            /* большие отступы сверху/снизу как на скрине */
}

/* общий контейнер шириной ~ как на HETA */
#PelletText h1,
#PelletText p{
  width:60vw;                /* можно 60–65vw, как тебе по вкусу */
  max-width:900px;           /* чтобы на очень широких мониторах текст не растягивался */
  margin-left:auto;
  margin-right:auto;
  text-align:left;           /* текст слева */
}

/* заголовок */
#PelletText h1{
  font-size:40px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:0;
  margin-bottom:32px;
}

/* абзацы */
#PelletText p{
  font-size:16px;
  line-height:1.9;           /* «воздух» между строками */
  margin-bottom:24px;
}

#PelletText p:last-child{
  margin-bottom:0;
}






#PelletText2{
  background-color:#fff;
  color:#000;
  padding:80px 0;            /* большие отступы сверху/снизу как на скрине */
}

/* общий контейнер шириной ~ как на HETA */
#PelletText2 h1,
#PelletText2 p{
  width:60vw;                /* можно 60–65vw, как тебе по вкусу */
  max-width:900px;           /* чтобы на очень широких мониторах текст не растягивался */
  margin-left:auto;
  margin-right:auto;
  text-align:left;           /* текст слева */
}

/* заголовок */
#PelletText2 h1{
  font-size:40px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:0;
  margin-bottom:32px;
}

/* абзацы */
#PelletText2 p{
  font-size:16px;
  line-height:1.9;           /* «воздух» между строками */
  margin-bottom:24px;
}

#PelletText2 p:last-child{
  margin-bottom:0;
}
/* Общий контейнер */
.twoblock{
  width:100%;
  background:#fff;
  color:#111;
  display:flex;
  flex-direction:column;
  gap:120px;               /* отступы между секциями */
  padding:100px 0;
}

/* строка */
.two-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap:80px;
  width:85%;
  margin:0 auto;
}

/* инвертируем порядок для второго блока */
.two-row.reverse{
  grid-template-columns: 1fr 1fr;
  direction:rtl; /* переворачиваем grid, но текст не трогаем */
}
.two-row.reverse .two-text{
  direction:ltr;
}

/* картинка */
.two-img{
  width:105%;
  aspect-ratio: 24 / 27;   /* ВЫТЯНУТАЯ панорама */
  overflow:hidden;
}

.two-img img{
  width:100%;
  height:100%;
  object-fit:cover;          /* важно */
  object-position:center;
  display:block;
      /* как у HETA */
}
.two-img img.fit-contain{
  object-fit:contain;   /* целиком влазит, ничего не режет */
  background:#fff;      /* чтобы по бокам/сверху не было “пустоты на сером” */
}
@media (max-width: 1000px){
  .two-img{ height:360px; }
}
@media (max-width: 600px){
  .two-img{ height:280px; }
}

/* текст */
.two-text{
  font-size:16px;
  line-height:1.85;
  display:flex;
  flex-direction:column;
  gap:22px;
  max-width:600px;
}
#text-2{
  margin-top:1rem ;
  border-bottom: lightgray 1px solid;;
}
.legend{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: #000;
}

.legend-row{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* кружочки */
.dot{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

/* цвета как на HETA */
.primary{ background: #0e1f0e; }      /* тёмно-зеленый */
.secondary{ background: #3f7f4e; }    /* зелёный */
.tertiary{ background: #1c5d7f; }     /* синий */
.flue{
  width: 12px;
  height: 12px;
  border: 2px solid #000;            /* белый кружок с чёрным бордюром */
  background: #fff;
}
.convection{ background: #d9821c; }  /* оранжевый */


/* ===== Адаптив ===== */
@media (max-width: 1000px){
  .two-row{
    grid-template-columns: 1fr;
    gap:40px;
  }

  .two-row.reverse{
    direction:ltr; /* отключаем реверс на мобилке */
  }

  .two-img{
    height:320px;
  }

  .two-text{
    max-width:100%;
    padding:0 22px;
  }
}
#history-intro{
  background-color:white;
  color:#000;
  padding:80px 0;            /* большие отступы сверху/снизу как на скрине */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#history-intro h1{
  line-height: 1.5;
  width:60vw;  
  font-size: 23px;   
  font-weight:300;           /* можно 60–65vw, как тебе по вкусу */
 
}
/* ===== TIPS SECTION (как на скрине) ===== */

.tips-section{
  background:#fff;
  color:#000;
  padding:100px 0 80px; 
        /* большие отступы сверху/снизу */
}

.tips-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 60px;                /* отступы слева/справа */
  display:grid;
  grid-template-columns: 1.1fr 1fr;  /* текст чуть шире, чем картинка */
  gap:80px;                      /* расстояние между текстом и фото */
  align-items:center;
}

/* Левый столбец (заголовок + «кнопки») */
.tip-item1 h2{
  font-size:24px;
  font-weight:600;
  margin:0 0 26px;
}

.tip-btn{
  border:1px solid #111;
  padding:14px 26px;
  margin:0 0 18px;
  display:block;
  max-width:430px;               /* ширина как у реальных кнопок */
  background:transparent;
  cursor:pointer;
  font-size:15px;
  line-height:1.4;
  transition:background .2s ease, color .2s ease, border-color .2s ease,
             transform .12s ease;
}

.tip-btn:last-of-type{
  margin-bottom:0;
}

.tip-btn:hover{
  background:#111;
  color:#fff;
  border-color:#111;
  transform:translateY(-1px);
}

/* Правый столбец – картинка */
.tip-item2 img{
  width:100%;
  height:500px;                  /* вытянутая по вертикали */
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:4px;
}

/* ===== АДАПТИВ ===== */
@media (max-width:980px){
  .tips-container{
    grid-template-columns:1fr;   /* в столбик */
    gap:40px;
    padding:0 24px;
  }

  .tip-item1 h2{
    font-size:22px;
  }

  .tip-btn{
    max-width:100%;
  }

  .tip-item2 img{
    height:360px;
  }
}

@media (max-width:600px){
  .tips-section{
    padding:70px 0 60px;
  }

  .tip-item2 img{
    height:280px;
  }
}
.environment-section{
  background:#fff;
  color:#111;
  text-align:center;

  /* большие отступы сверху/снизу */
  padding: 110px 0 120px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 34px; /* расстояние между верхним и нижним текстом */
}

/* общий контейнер ширины текста */
.environment-section h2,
.environment-section p{
  width: min(960px, 70vw); /* текст широкий, но не до краёв экрана */
  margin: 0 auto;
}

/* верхний большой текст */
.environment-section h2{
  font-size: 28px;
  font-weight: 400;
  line-height: 1.7;
}

/* нижний мелкий текст */
.environment-section p{
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color:#222;
}

/* адаптив: на мобилке чуть уже и меньше отступы */
@media (max-width: 900px){
  .environment-section{
    padding: 90px 0 100px;
    gap: 24px;
  }

  .environment-section h2,
  .environment-section p{
    width: min(960px, 88vw);
  }

  .environment-section h2{
    font-size: 22px;
  }
}
.Container_thermal{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap:24px;
}
.Container_thermal img{
  width:850px;
  height:500px;
  border:1px solid lightgray
}
  .page-hero-content_Catalog{
 width:60vw;
 margin:0 auto;
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  gap:2rem;
  flex-direction: column;
}
.page-hero-content_Catalog h1{
  font-size:64px;
  font-weight:700;
  letter-spacing:.02em;
}

#history-intro_Catalog{
  background-color:white;
  color:#000;
  padding:80px 0;            /* большие отступы сверху/снизу как на скрине */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
}
#history-intro_Catalog h1{
  line-height: 1.5;
  width:60vw;  
  font-size: 23px;   
  font-weight:300;           /* можно 60–65vw, как тебе по вкусу */
 
}


/* ===== CATALOG BLOCK (как на скрине) ===== */

.catalog-section{
  background:#fff;
  color:#111;
  padding:80px 0 120px;
}

.catalog-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

/* сама карточка */
.catalog-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* заголовок над картинкой */
.catalog-title{
  font-size:28px;
  font-weight:600;
  margin-bottom:26px;
}

/* рамка под картинку */
.catalog-img-frame{
  width:100%;
  max-width:520px;
  height:420px;                 /* высота “листа” как у HETA */
  border:1px solid #e3e3e3;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  margin-bottom:40px;
}

.catalog-img-frame img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

/* блок с кнопками под картинкой */
.catalog-buttons{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

/* кнопка = ссылка на PDF */
.catalog-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:200px;
  padding:12px 32px;
  background:var(--yellow);
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  border:none;
  border-radius:3px;
  cursor:pointer;
  transition:background .18s ease, transform .12s ease, box-shadow .18s ease;
}

.catalog-btn:hover{
  background:#b67610;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.16);
}

/* адаптив */
@media (max-width:900px){
  .catalog-inner{
    grid-template-columns:1fr;
    gap:40px;
    padding:0 20px;
  }

  .catalog-img-frame{
    height:360px;
  }
}

@media (max-width:600px){
  .catalog-section{
    padding:60px 0 90px;
  }

  .catalog-img-frame{
    height:300px;
  }

  .catalog-title{
    font-size:24px;
  }
}


/* ===== PRODUCT HEADER (страница товара) ===== */

.product-header{
  background:#fff;
  color:#000;
  padding:80px 0 60px;          /* отступы сверху/снизу */
}

.product-header-inner{
  max-width:1400px;
  margin:0 auto;
  padding:0 40px;
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap:60px;
  align-items:flex-start;
}

/* левая колонка с картинкой */
/* левая колонка: рамка + превьюшки, как на hetaheating.com */
.product-header-img{
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  padding:32px 0 28px 32px;
}

/* большая рамка под основное фото */
.product-main-frame{
  width:100%;
  max-width:520px;
  height:460px;
  border:1px solid #f0f0f0;
  background:#fff;
  display:flex;
  align-items:flex-end;   /* печь “стоит на полу” внутри рамки */
  justify-content:flex-start;
  padding-left:40px;
}

.product-main-frame img{
  max-height:100%;
  width:auto;
  object-fit:contain;
  display:block;
}

/* миниатюры вариантов облицовки */
.product-thumbs{
  margin-top:10px;
  display:flex;
  gap:10px;
  overflow-x:auto;        /* горизонтальный скролл */
  padding-bottom:8px;     /* место под скроллбар */

  scrollbar-width:thin;
  scrollbar-color:#ccc transparent;
}

/* скроллбар для Chrome/Safari */
.product-thumbs::-webkit-scrollbar{
  height:6px;
}
.product-thumbs::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:4px;
}
.product-thumbs::-webkit-scrollbar-track{
  background:transparent;
}

.product-thumb{
  flex:0 0 auto;           /* важное: не сжимать и не растягивать */
  width:70px;
  height:110px;

  border:1px solid #e0e0e0;
  padding:4px;
  background:#fff;
  cursor:pointer;
  outline:none;
  border-radius:2px;
  transition:border-color .18s ease, box-shadow .18s ease, transform .12s ease;
  margin-top:1px
}

.product-thumb img{
  display:block;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

/* активная миниатюра */
.product-thumb.is-active{
  border-color:#000;
  box-shadow:0 0 0 0.5px #000;
  transform:translateY(-1px);
}

.product-thumb:hover{
  border-color:#999;
}

/* подпись Type: Soapstone */
.product-type{
  margin-top:6px;
  font-size:14px;
  color:#444;
}
.product-type span{
  color:#c88700; /* жёлтый как на сайте */
  font-weight:600;
}

/* адаптив для блока с картинками */
@media (max-width:980px){
  .product-header-img{
    align-items:center;
    padding:24px 0 24px 0;
  }
  .product-main-frame{
    max-width:420px;
    height:360px;
    padding-left:20px;
  }
}
@media (max-width:600px){
  .product-thumb{
    width:60px;
    height:95px;
  }
}

/* правая колонка с текстом */
.product-header-text{
  font-size:15px;
  line-height:1.9;
  padding-top:0;        /* или просто убери свойство */
}

.product-header-title{
  font-size:44px;
  font-weight:600;
  margin:0 0 12px;
}

.product-header-subtitle{
  font-size:20px;
  font-weight:400;
  margin:0 0 26px;
}

/* абзацы внутри текста */
.product-header-text p{
  margin:0 0 16px;
}
.product-header-text p:last-child{
  margin-bottom:0;
}

/* адаптив для ноутбуков/планшетов */
@media (max-width:980px){
  .product-header-inner{
    padding:0 24px;
    gap:40px;
    grid-template-columns:1fr;
  }

  .product-header-img{
    min-height:360px;
  }

  .product-header-title{
    font-size:34px;
  }

  .product-header-subtitle{
    font-size:18px;
  }
    .product-header-text{
    padding-top:0;
  }
}

/* телефоны */
@media (max-width:600px){
  .product-header{
    padding:60px 0 40px;
  }

  .product-header-img{
    min-height:280px;
  }
}


/* ===== PRODUCT PAGE: чёрный хедер только на странице товара ===== */

/* ===== PRODUCT PAGE: хедер как на настоящем HETA ===== */

/* на странице товара фон сайта белый */
#product_pages{
  background:#fff;
 
}

/* сам topbar перестаёт быть прозрачным поверх hero */
.product-page .topbar.topbar--page2{
  position:relative;
  top:0;
  left:0;
  right:0;
  z-index:10;
  background:transparent; /* фон задаём строкам ниже */
}

/* ВЕРХНЯЯ СТРОКА (логотип + языки + меню) — ЧЁРНАЯ */
.product-page .topbar-row--top{
  background:#111;
  color:#fff;
  padding:26px 60px 18px;
}

/* Логотип чуть поменьше */
.product-page .logo{
  height:70px;
}

/* НИЖНЯЯ СТРОКА (крошки) — УЖЕ НА БЕЛОМ ФОНЕ */
.product-page .topbar-row--bottom{
  background:#fff;
  padding:14px 60px 16px;
  border-top:1px solid rgba(0,0,0,.12);
}

/* стили крошек на белом фоне, как на сайте */
.product-page .topbar.topbar--page2 .crumbs{
  color:#999;
}

.product-page .topbar.topbar--page2 .crumbs a{
  color:#777;
  text-decoration:none;
}

.product-page .topbar.topbar--page2 .crumbs a:hover{
  color:#000;
}

.product-page .topbar.topbar--page2 .crumbs .sep{
  opacity:.5;
}

.product-page .topbar.topbar--page2 .current{
  color:#000;
}

/* адаптив — поджимаем отступы на узких экранах */
@media (max-width:900px){
  .product-page .topbar-row--top{
    padding:22px 24px 12px;
  }
  .product-page .topbar-row--bottom{
    padding:12px 24px 16px;
  }
}

/* верхняя строка (logo + langs + menu) */
.product-page .topbar-row--top {
  padding: 26px 60px 18px;
}

/* нижняя строка (breadcrumbs) */
.product-page .topbar-row--bottom {
  padding: 14px 60px 16px;
  border-top: 1px solid rgba(255,255,255,.25);
}

/* логотип чуть меньше, как у них */
.product-page .logo {
  height: 70px;
}


/* ===== PRODUCT DETAILS (Specifications + Downloads) ===== */
.product-details{
  background:#fff;
  color:#000;
  padding:40px 0 80px;
}

.product-details-inner{
  max-width:1400px;
  margin:0 auto;
  padding:0 40px;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:flex-start;
}

.product-details h2{
  font-size:20px;
  font-weight:600;
  margin:0 0 24px;
}

/* левая колонка — характеристики */
#specList{
  margin:0;
}

.spec-row{
  display:grid;
  grid-template-columns:minmax(0, 230px) 1fr;
  padding:10px 14px;
  border-bottom:1px solid #f2f2f2;
  column-gap:20px;
}

.spec-row:nth-child(odd){
  background:#fafafa;
}

.spec-row dt{
  font-size:14px;
  font-weight:600;
}

.spec-row dd{
  margin:0;
  font-size:14px;
  color:#444;
  text-align:right;
}

/* правая колонка — загрузки */
.product-downloads ul{
  list-style:none;
  padding:0;
  margin:0;
}

.product-downloads li{
  margin-bottom:10px;
}

.product-downloads a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:8px 14px;
  border:1px solid #f0f0f0;
  background:#fafafa;
  text-decoration:none;
  color:#000;
  font-size:14px;
  transition:background .18s ease, border-color .18s ease, transform .12s ease;
}

.product-downloads a:hover{
  background:#fff;
  border-color:#ddd;
  transform:translateY(-1px);
}

.download-label{
  font-weight:600;
}

.download-file{
  font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:13px;
  color:#555;
}

/* адаптив для нижнего блока */
@media (max-width:980px){
  .product-details-inner{
    grid-template-columns:1fr;
    gap:40px;
    padding:0 24px;
  }
}
@media (max-width:600px){
  .product-details{
    padding:30px 0 60px;
  }
}

/* стрелки у слайдера hero */
.hero {
  position: relative; /* уже есть, но на всякий случай */
  overflow: hidden;
}

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:22px;

  z-index:5;
  transition:background .2s ease, transform .15s ease, opacity .2s ease;
}

.hero-arrow--prev{ left:24px; }
.hero-arrow--next{ right:24px; }

.hero-arrow:hover{
  background:rgba(0,0,0,.8);
  transform:translateY(-50%) scale(1.05);
}

/* на мобилках можно спрятать стрелки */
@media (max-width:768px){
  .hero-arrow{ display:none; }
}
.hero{
  background-image:url("img/bg.jpg");
}
/* простой фон для слайдов */
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
  transition: opacity .6s ease-in-out;
}

/* состояние, когда мы прячем фон перед сменой картинки */
.hero-bg.is-fade-out{
  opacity:0;
}

/* затемнение и виньетка остаются как были */
.hero::before,
.hero::after{
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
}

/* стрелки, если хочешь листать руками */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:22px;

  z-index:3;
  transition:background .2s ease, transform .15s ease, opacity .2s ease;
}
.hero-arrow--prev{ left:24px; }
.hero-arrow--next{ right:24px; }
.hero-arrow:hover{
  background:rgba(0,0,0,.8);
  transform:translateY(-50%) scale(1.05);
}
@media (max-width: 768px){
  .hero{
    min-height: 92vh;
    padding: 100px 0 56px; /* место под стрелки */
  }

  .hero-arrow{
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 2px;

    top: auto;
    bottom: 18px;
    transform: none;

    background: rgba(0,0,0,.7);
  }

  .hero-arrow--next{
    left: auto;
    right: 18px;
  }

  .hero-arrow--prev{
    left: auto;          /* ВАЖНО: отключаем left */
    right: 18px;
    margin-right: 44px;  /* расстояние между стрелками */
  }
}
@media (max-width: 768px){
  .hero-bg.zooming{
    animation: none;
    transform: scale(1); /* на всякий случай возвращаем 1 */
  }
}
@media (max-width:600px){
  .hero-actions{
    align-items: flex-start;
    gap: 10px;
  }

  .hero-actions .white-btn,
  .hero-actions .yellow-btn{
    width: 70%;
    max-width: 320px;
    font-size: 14px;        /* было 16px */
    padding: 10px 18px;     /* было 14px 32px */
    border-radius: 3px;
  }
}





#dealertext{
  display:flex;
  justify-content: center;
  align-items: center;
  color:#000;
  margin:3rem;

}
#dealertext h1{
  font-size: 50px;
}


/* Блок с картой дилеров */
.dealer-map{
  background:#fff;
  color:#000;
  padding:60px 0 80px;
}

.dealer-map-title{
  text-align:center;
  font-size:28px;
  font-weight:600;
  margin:0 0 30px;
}

/* Контейнер — не на всю ширину */
.dealer-map-inner{
  max-width:1100px;        /* карта не шире 1100px */
  margin:0 auto;           /* по центру */
  padding:0 24px;          /* небольшие поля слева/справа */
}

/* Сама карта */
#map{
  width:100%;
  height:480px;            /* сделай как тебе нравится, напр. 380–480px */
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}

/* На мобильных пусть всё влезает по ширине экрана */
@media (max-width:600px){
  .dealer-map{
    padding:40px 0 60px;
  }
  #map{
    height:360px;
    border-radius:8px;
  }
}

/* Блок цены целиком */
.product-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: inherit;
}

.product-price-label {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #444;
}

/* Контейнер с "пилюлями" */
.product-price-values {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Одна "пилюля" цены */
.product-price-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  font-weight: 500;              /* одинаковый вес */
  min-width: 130px;              /* чтобы были похожего размера */
  box-sizing: border-box;
}

/* Можно чуть выделить основную валюту (не жирнее, а рамкой) */
.product-price-item--main {
  border-color: #111;
}

/* Знак валюты и цифры — один стиль */
.product-price-item .currency,
.product-price-item .value {
  font-size: 1rem;
  font-weight: 500;
}

/* Красивые ровные цифры, если шрифт поддерживает */
.product-price-item .value {
  font-variant-numeric: tabular-nums;
}


.hero-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;

  z-index: 20;

  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-badge img.hero-badge-flag {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
}

/* Общая защита от горизонтального скролла на телефонах */
@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    
  }

  /* Картинки на всякий случай, чтобы не вылезали */
  img, video, canvas {
    max-width: 100%;
    height: auto;
  }

  /* Контентные контейнеры не шире экрана */
  .product-header-inner,
  .product-details-inner,
  .heta-slider,
  .footer-inner {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
  }

  /* Рамка с печкой — тоже не шире экрана */
  .product-main-frame {
    max-width: 100%;
    padding-left: 0;
    justify-content: center; /* чтобы печь стояла по центру */
  }

  /* Цена, чтобы не разъезжалась */
  .product-price {
    flex-wrap: wrap;
  }

  .product-price-values {
    width: 100%;
    justify-content: flex-start;
  }
}
main, section, footer {
  overflow-x: hidden;
}


/* Мобильная версия бейджа "официальный представитель" */
@media (max-width: 600px){
  .hero-badge{
    top: 12px;                    /* чуть выше к краю */
    padding: 6px 10px;            /* меньше отступы */
    border-radius: 10px;
    font-size: 12px;              /* было 15px – делаем меньше */
    gap: 6px;
    max-width: calc(100% - 32px); /* чтобы не упирался в края экрана */
    text-align: center;
    line-height: 1.3;
  }

  .hero-badge img.hero-badge-flag{
    width: 18px;
    height: 18px;
  }
}

/* ==== ВЫКЛЮЧАЕМ ВСЕ АНИМАЦИИ У СТРЕЛОК ==== */

/* общие стрелки */
.hero-arrow,
.heta-arrow{
  transition: none !important;   /* никаких плавных изменений */
}

/* на десктопе hero-стрелка остаётся по центру по вертикали,
   но при hover transform вообще не меняется */
.hero-arrow{
  transform: translateY(-50%) !important;
}
.hero-arrow:hover{
  transform: translateY(-50%) !important;
}

/* галерея: тоже фиксированный transform без изменений */
.heta-arrow{
  transform: translateY(-50%) !important;
}
.heta-arrow:hover{
  transform: translateY(-50%) !important;
}

/* на мобильном для hero мы и так опускаем стрелки вниз —
   тут тоже без анимаций и без смещений */
@media (max-width: 768px){
  .hero-arrow,
  .hero-arrow:hover{
    transform: none !important;
  }
}

/* ===== MOBILE FIX: hero на страницах типа Tips ===== */
@media (max-width: 768px){
  /* сам блок hero — чуть ниже, но тексту больше воздуха */
  .page-hero{
    min-height: 420px;
  }

  .page-hero-content{
    padding: 0 18px 40px;
    text-align: left;
    align-items: center;
  }

  .page-hero-content h1{
    margin-top: 4rem;
    font-size: 40px;      /* было 64px — слишком много */
    line-height: 1.2;
  }

  .page-hero-content p{
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ещё сильнее ужимаем для совсем маленьких экранов */
@media (max-width: 480px){
  .page-hero-content h1{
    font-size: 26px;
  }

  .page-hero-content p{
    font-size: 14px;
  }
}

/* ===== ENVIRONMENT PAGE – MOBILE LAYOUT ===== */
@media (max-width: 768px){

  /* Верхний текстовый блок */
  .environment-section{
    padding: 70px 0 80px;
    gap: 20px;
  }

  .environment-section h2,
  .environment-section p{
    width: 90vw;          /* почти на всю ширину экрана */
    font-size: 15px;
    line-height: 1.8;
  }

  /* Два блока с картинкой и текстом */
  .twoblock{
    padding: 70px 0 80px;
    gap: 60px;
  }

  .two-row{
    grid-template-columns: 1fr;   /* вместо 2 колонок — одна */
    width: 92%;
    margin: 0 auto;
    gap: 28px;
  }

  /* чтобы «реверс» не ломал порядок на мобиле */
  .two-row.reverse{
    direction: ltr;
  }

  .two-img{
    width: 100%;
    max-width: none;
    margin: 0 auto;
    height: auto;
  }

  .two-img img{
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .two-text{
    max-width: 100%;
    padding: 0 4vw 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .two-text h1{
    font-size: 22px;
    margin-bottom: 14px;
  }

  .legend{
    margin-top: 24px;
  }
}

/* ещё чуть уменьшаем шрифты на очень маленьких экранах */
@media (max-width: 480px){
  .environment-section h2{
    font-size: 17px;
  }

  .environment-section p{
    font-size: 14px;
  }

  .two-text{
    font-size: 14px;
  }

  .two-text h1{
    font-size: 20px;
  }
}
/* ===== ENVIRONMENT PAGE — МОБИЛКА ФИКС ВТОРОГО БЛОКА ===== */
@media (max-width: 768px){

  /* Общий блок с двумя секциями */
  .twoblock{
    padding: 60px 0 80px;
    gap: 50px;
  }
  #catalog-hero-title{
    margin-top:2rem;
    font-size: 50px;
  }

  /* Сами строки: всегда одна колонка */
  .twoblock .two-row,
  .twoblock .two-row.reverse{
    display: block;          /* вместо grid */
    width: 100%;
    margin: 0 auto;
  }

  /* Картинка всегда сверху, по центру */
  .twoblock .two-img{
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
  }

  .twoblock .two-img img{
    width: 80vw;             /* не на всю, но крупно */
    max-width: 420px;
    height: auto;
    object-fit: contain;
  }

  /* Текст под картинкой, нормальная ширина */
  .twoblock .two-text{
    max-width: 92vw;         /* почти вся ширина экрана */
    margin: 0 auto;
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .twoblock .two-text h1{
    font-size: 22px;
    margin-bottom: 14px;
  }

  /* Легенда под текстом, чуть сжата */
  .twoblock .legend{
    margin-top: 20px;
    font-size: 14px;
  }
}

/* Совсем маленькие экраны — чуть меньше шрифт */
@media (max-width: 480px){
  .twoblock .two-text{
    font-size: 14px;
  }
  .twoblock .two-text h1{
    font-size: 20px;
  }
}

/* ===== ENV PAGE: фикс картинки на телефоне ===== */
@media (max-width: 768px){
  /* контейнер под картинку — больше НЕ фиксируем высоту и ratio */
  .twoblock .two-img{
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
  }

  /* сама картинка — аккуратно масштабируется, не обрезается */
  .twoblock .two-img img{
    width: 90vw;          /* почти ширина экрана */
    max-width: 420px;     /* чтобы не была гигантской на больших телефонах */
    height: auto;
    object-fit: contain;  /* ничего не режем */
  }
}

/* ===== PRODUCT PAGE — MOBILE LAYOUT FIX ===== */
@media (max-width: 768px){

  /* убираем любой горизонтальный скролл */
  html, body{
    max-width: 100%;
    
  }

  /* контейнер шапки товара — строго в одну колонку и без больших отступов */
  .product-header-inner{
    grid-template-columns: 1fr;
    padding: 0 16px 32px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* блок с картинкой */
  .product-header-img{
    padding: 16px 0 10px;
    align-items: center;
  }

  /* рамка с основной картинкой — по центру и не шире экрана */
  .product-main-frame{
    max-width: 100%;
    width: 100%;
    height: auto;
    padding-left: 0;
    justify-content: center;
  }

  .product-main-frame img{
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* текстовый блок справа — теперь просто ниже, с небольшими полями */
  .product-header-text{
    padding: 0 2px 10px;
    font-size: 15px;
    line-height: 1.8;
  }

  .product-header-title{
    font-size: 30px;
    line-height: 1.2;
  }
}


@media (max-width: 768px){
  /* миниатюры: вместо горизонтального скролла — несколько строк по центру */
  .product-thumbs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    overflow-x: visible;   /* убираем горизонтальный скролл */
    padding-bottom: 0;
  }

  .product-thumb{
    flex: 0 0 auto;
    width: 56px;
    height: 90px;
    margin-top: 0;
  }

  .product-type{
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

.product-header-text{
  padding: 0 2px 10px;
  font-size: 15px;
  line-height: 1.8;
}
.product-header-title{
  font-size: 30px;
}

/* === MOBILE FIX: hero badge on phones === */
@media (max-width: 768px){
  .hero-badge{
    top: 76px;                     /* ниже, под шапкой */
    left: 16px;                    /* прижимаем к левому краю как текст */
    right: 16px;                   /* чтобы не упиралось в правый край */
    transform: none;               /* убираем translateX */
    max-width: none;

    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.35;

    display: inline-flex;
    justify-content: flex-start;
    gap: 6px;
  }

  .hero-badge img.hero-badge-flag{
    width: 18px;
    height: 18px;
  }
}

/* === Breadcrumbs: always visible, even on phones === */
.topbar.topbar--page2 .crumbs{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;      /* если не влазит по ширине — переносится */
}

/* уменьшенный размер шрифта на узких экранах */
@media (max-width: 520px){
  .topbar.topbar--page2 .crumbs{
    font-size: 11px;
  }
}


/* === HERO BADGE — аккуратная мобильная версия === */
@media (max-width: 768px){
  .hero-badge{
    top: 105px;                 /* чуть ближе к логотипу */
    left: 50%;
    right: auto;
    transform: translateX(-50%);

    max-width: 260px;           /* НЕ на всю ширину */
    padding: 4px 10px;          /* меньше отступ */
    border-radius: 999px;

    background: rgba(0,0,0,0.35);      /* более прозрачный фон */
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);

    font-size: 11px;            /* поменьше текст */
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  .hero-badge img.hero-badge-flag{
    width: 16px;
    height: 16px;
    border-radius: 3px;
  }
}

/* ===== стрелки галереи HETA ===== */
.heta-slider{
  position: relative;   /* уже есть, но пусть будет точно */
}

.heta-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;           /* хочешь прямоугольник – можешь убрать */
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 22px;
  z-index: 5;
  transition: background .2s ease, opacity .2s ease;
}

/* позиция слева/справа */
.heta-arrow.left{
  left: 16px;
}

.heta-arrow.right{
  right: 16px;
}

/* hover-эффект */
.heta-arrow:hover{
  background: rgba(0,0,0,.8);
}

/* на телефонах можно скрыть стрелки, оставить свайп */
@media (max-width: 600px){
  .heta-arrow{
    display: none;
  }
}

.dealer-popup{
  max-width: 260px;
  font-family: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dealer-popup h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.dealer-popup p{
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
}
q
.dealer-popup a{
  color: #dc8e09;
  text-decoration: none;
}

.dealer-popup a:hover{
  text-decoration: underline;
}

.dealer-popup-photo{
  margin: 8px 0;
  border-radius: 6px;
  overflow: hidden;
}

.dealer-popup-photo img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.seo-text{
  color:black;
}
.seo-text{
    max-width:1400px;
    margin:80px auto;
    padding:0 40px;
}

.seo-text h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:30px;
    color:#111;
}

.seo-text h2::after{
    content:"";
    display:block;
    width:70px;
    height:3px;
    background:#c00000;
    margin-top:15px;
}

.seo-text h3{
    font-size:28px;
    margin:40px 0 20px;
    color:#111;
}

.seo-text p{
    font-size:18px;
    line-height:1.9;
    color:#444;
    margin-bottom:20px;
}

.seo-text ul{
    padding-left:25px;
}

.seo-text li{
    font-size:18px;
    line-height:1.8;
    color:#444;
    margin-bottom:10px;
}

@media(max-width:768px){
    .seo-text{
        padding:0 20px;
        margin:50px auto;
    }

    .seo-text h2{
        font-size:30px;
    }

    .seo-text h3{
        font-size:22px;
    }

    .seo-text p,
    .seo-text li{
        font-size:16px;
    }
}





.seo-text {
  max-width: 1400px;
  margin: 80px auto;
  padding: 60px 40px;
  background: #fff !important;
  color: #111 !important;
}

.seo-text h2,
.seo-text h3,
.seo-text p,
.seo-text li {
  color: #111 !important;
}

.seo-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
}

.seo-text h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #c00000;
  margin-top: 15px;
}

.seo-text h3 {
  font-size: 28px;
  margin: 40px 0 20px;
}

.seo-text p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.seo-text ul {
  padding-left: 25px;
}

.seo-text li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 10px;
}


section.seo-text,
section.seo-text * {
  color: #111 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

section.seo-text {
  background: #fff !important;
  padding: 60px 80px;
}

