/* ================================
   G-STONE HEADER CLEAN (NO CONFLICTS)
   Работает ТОЛЬКО внутри .gs-header
   ================================ */

/* ---------- TOP BAR (lang + burger) ---------- */
.gs-header .gs-topbar{
  background: rgba(255,255,255,.70);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}
.gs-header .gs-topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.gs-header .gs-lang{
  font-weight: 700;
  color: #222;
}

/* burger */
.gs-header .gs-burger{
  width: 38px;
  height: 32px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.gs-header .gs-burger span{
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* ---------- HERO WRAPPER ---------- */
/* Важно: перебиваем твои старые .headerTop/.stoneSlider (620px справа и т.п.) */
.gs-header .headerTop.gs-hero{
  position: relative !important;
  max-width: 1200px;
  margin: 0 auto;
  height: 340px;                 /* как на референсе */
  overflow: hidden;
  background: #ddd;
}

/* LOGO (на грани) — перебиваем .logo {margin:...} */
.gs-header .gs-logo{
  position: absolute !important;
  left: 18px;
  top: -6px;                     /* “на грани” topbar/hero */
  z-index: 6;
  display: inline-block;
  margin: 0 !important;          /* критично: убираем старые отступы .logo */
  padding: 0 !important;
}
.gs-header .gs-logo img{
  display: block;
  height: auto;
  max-width: 320px;
}

/* ---------- SLIDER AS FULL BACKGROUND ---------- */
/* Слайдер — сплошной фон на весь hero, а не 620px справа */
.gs-header .headerTop.gs-hero .stoneSlider.gs-hero__media{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;     /* перебиваем твой display:none на <=1000 */
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
}

/* coin-slider на весь блок */
.gs-header .headerTop.gs-hero .stoneSlider #coin-slider,
.gs-header .headerTop.gs-hero .stoneSlider .coin-slider{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ссылки на весь блок */
.gs-header .headerTop.gs-hero .stoneSlider #coin-slider a{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* картинки cover (фон во весь размер) */
.gs-header .headerTop.gs-hero .stoneSlider #coin-slider img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* “молочная” подложка слева как в рефе */
.gs-header .headerTop.gs-hero .stoneSlider.gs-hero__media:after{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.88) 0%,
      rgba(255,255,255,.78) 38%,
      rgba(255,255,255,.18) 62%,
      rgba(255,255,255,0) 74%),
    linear-gradient(0deg, rgba(0,0,0,.10), rgba(0,0,0,.02));
}

/* ---------- LEFT TEXT (slogan + text + button) ---------- */
.gs-header .gs-hero__left{
  position: relative;
  z-index: 5;
  width: 58%;
  height: 100%;
  padding: 92px 18px 18px 28px;  /* место под логотип */
  box-sizing: border-box;
}
.gs-header .gs-hero__title{
  margin: 0 0 12px;
  font-size: 46px;
  line-height: 1.03;
  font-weight: 900;
  color: #111;
  max-width: 640px;
  font-family: Georgia, "Times New Roman", serif;
}
.gs-header .gs-hero__text{
  margin: 0 0 16px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,.70);
}
.gs-header .gs-hero__btn{
  display: inline-block;
  padding: 10px 18px;
  background: #b8872f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.gs-header .gs-hero__btn:hover{ opacity: .92; }

/* ---------- RIGHT BADGES ---------- */
.gs-header .gs-hero__badges{
  position: absolute;
  right: 22px;
  top: 60px;
  width: 340px;
  z-index: 7;
  display: grid;
  gap: 12px;
}
.gs-header .gs-badge{
  background: #c31919;
  color: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  font-weight: 900;
}
.gs-header .gs-badge--title{
  padding: 14px 16px;
  font-size: 18px;
  line-height: 1.15;
  text-align: left;
}
.gs-header .gs-badge--phones{
  padding: 18px 16px;
  font-size: 18px;
  line-height: 1.25;
}
.gs-header .gs-badge--phones div{ white-space: nowrap; }

/* ---------- RED MENU BAR (не меняем структуру, только фон) ---------- */
.gs-header .gs-nav{
  background: #d1131b; /* как у тебя в headerSub */
  margin-top: 0;
}
.gs-header .gs-nav .headerNav > ul{
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- MOBILE ---------- */
@media (max-width: 720px){
  .gs-header .headerTop.gs-hero{
    height: 520px;
  }

  .gs-header .gs-logo{
    top: 6px;
  }

  .gs-header .gs-hero__left{
    width: 100%;
    padding: 120px 14px 14px;
  }

  .gs-header .gs-hero__badges{
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 10px 14px 0;
  }

  /* menu toggle */
  .gs-header .gs-nav{ display: none; }
  .gs-header.gs-nav-open .gs-nav{ display: block; }
}

/* ВАЖНО: перебиваем твой старый @media(max-width:1000px) {.stoneSlider{display:none}} */
@media (max-width: 1000px){
  .gs-header .stoneSlider{ display: block !important; }
}