/* Genmak Hırdavat — manageable responsive layout v3 */
html, body { max-width: 100%; overflow-x: hidden; }
.gm-brand__custom { display: block; width: auto; max-width: 245px; height: auto; max-height: 66px; object-fit: contain; }
.gm-brand--footer .gm-brand__custom { max-width: 250px; max-height: 80px; }
.gm-hero--v2 .gm-hero__media { background-image: linear-gradient(90deg,rgba(11,20,15,.97) 0%,rgba(11,20,15,.83) 37%,rgba(11,20,15,.20) 68%,rgba(11,20,15,.08) 100%),var(--gm-hero-custom-image,url('../image/hero-industrial-v2.jpg')); }

/* Stable desktop alignment: avoid implicit grid placement */
.gm-benefits--v2 .gm-benefits__grid { display: flex !important; align-items: stretch; flex-wrap: nowrap; }
.gm-benefits--v2 .gm-benefits__grid > article { flex: 1 1 25%; width: 25%; min-width: 0; margin: 0; }
.gm-benefits--v2 .gm-benefits__grid > article:first-child { border-left: 1px solid var(--gm-border); }
.gm-benefits--v2 .gm-benefits__grid > article:last-child { border-right: 1px solid var(--gm-border); }
.gm-b2b--v2 .gm-b2b__inner { display: flex !important; align-items: center; flex-wrap: nowrap; justify-content: flex-start; }
.gm-b2b--v2 .gm-b2b__badge { flex: 0 0 72px; }
.gm-b2b--v2 .gm-b2b__content { flex: 1 1 auto; min-width: 0; }
.gm-b2b--v2 .gm-b2b__inner > .gm-btn { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.gm-footer--v2 .gm-footer__grid { display: flex !important; align-items: flex-start; flex-wrap: nowrap; }
.gm-footer--v2 .gm-footer__brand { flex: 0 1 34%; width: 34%; min-width: 0; }
.gm-footer--v2 .gm-footer__links { flex: 0 1 16%; width: 16%; min-width: 0; }
.gm-footer--v2 .gm-footer__contact { flex: 1 1 30%; width: 30%; min-width: 0; }
.gm-footer--v2 .gm-footer__contact > a, .gm-footer--v2 .gm-footer__contact > div { max-width: 100%; }

@media (max-width: 1199px) {
  .gm-header--v2 .gm-header__main { display: flex; align-items: center; flex-wrap: wrap; }
  .gm-header--v2 .gm-brand { flex: 0 0 auto; order: 1; }
  .gm-header--v2 .gm-header__contact { flex: 0 0 auto; order: 2; margin-left: auto; }
  .gm-header--v2 .gm-header__search { flex: 1 1 420px; order: 1; }
  .gm-benefits--v2 article { padding-right: 18px; padding-left: 18px; }
  .gm-footer--v2 .gm-footer__grid { gap: 30px; }
}

@media (max-width: 991px) {
  body { padding-bottom: 60px; }
  .gm-header--v2 .gm-header__main { display: flex !important; align-items: center; flex-wrap: wrap; gap: 12px 15px; padding-top: 13px; padding-bottom: 13px; }
  .gm-header--v2 .gm-brand { flex: 1 1 auto; order: 1; min-width: 0; }
  .gm-header--v2 .gm-header__contact { display: flex; flex: 0 0 auto; order: 2; grid-column: auto; grid-row: auto; margin-left: auto; }
  .gm-header--v2 .gm-header__search { flex: 0 0 100%; order: 3; grid-column: auto; grid-row: auto; width: 100%; }
  .gm-header--v2 .gm-header-action { display: none !important; }
  .gm-header--v2 .gm-menu-toggle { display: block; flex: 0 0 46px; width: 46px; height: 46px; }
  .gm-brand__custom { max-width: min(220px,62vw); max-height: 58px; }
  .gm-nav-wrap .container { max-width: none; padding: 0; }
  .gm-nav-inner { width: 100%; }
  .gm-benefits--v2 .gm-benefits__grid { flex-wrap: wrap; margin: 0; padding: 0; }
  .gm-benefits--v2 .gm-benefits__grid > article { flex-basis: 50%; width: 50%; min-height: 96px; border-bottom: 1px solid var(--gm-border); }
  .gm-benefits--v2 .gm-benefits__grid > article:nth-child(2n) { border-right: 1px solid var(--gm-border); }
  .gm-b2b--v2 .gm-b2b__inner { flex-wrap: wrap; }
  .gm-b2b--v2 .gm-b2b__content { flex-basis: calc(100% - 112px); }
  .gm-b2b--v2 .gm-b2b__inner > .gm-btn { margin: 22px 0 0 112px; }
  .gm-footer--v2 .gm-footer__grid { flex-wrap: wrap; gap: 34px 5%; }
  .gm-footer--v2 .gm-footer__brand { flex-basis: 100%; width: 100%; }
  .gm-footer--v2 .gm-footer__links { flex-basis: 22%; width: 22%; }
  .gm-footer--v2 .gm-footer__contact { flex-basis: 46%; width: 46%; }
}

@media (max-width: 767px) {
  .container { max-width: 100%; padding-right: 16px; padding-left: 16px; }
  .gm-header--v2 .gm-header__main { min-height: 0; }
  .gm-header--v2 .gm-brand { min-height: 46px; }
  .gm-header--v2 .gm-brand__mark { width: 43px; height: 43px; }
  .gm-header--v2 .gm-brand strong { font-size: 21px; }
  .gm-header--v2 .gm-brand small { font-size: 8px; }
  .gm-header--v2 .gm-search { height: 46px; }
  .gm-header--v2 .gm-search input { padding-right: 13px; padding-left: 13px; font-size: 13px; }
  .gm-header--v2 .gm-search button { min-width: 58px; }
  .gm-hero--v2, .gm-hero--v2 .gm-hero__grid { min-height: 0; }
  .gm-hero--v2 .gm-hero__media { background-image: linear-gradient(180deg,rgba(8,17,11,.65),rgba(8,17,11,.96)),var(--gm-hero-custom-image,url('../image/hero-industrial-v2.jpg')); background-position: 68% center; }
  .gm-hero--v2 .gm-hero__content { max-width: none; padding: 48px 0 44px; }
  .gm-hero--v2 .gm-eyebrow { display: flex; font-size: 9px; line-height: 1.45; }
  .gm-hero--v2 h1 { margin-bottom: 18px; font-size: clamp(37px,11vw,48px); line-height: 1.02; overflow-wrap: break-word; }
  .gm-hero--v2 .gm-hero__content > p { margin-bottom: 22px; font-size: 14px; line-height: 1.65; }
  .gm-hero--v2 .gm-hero__actions { display: flex; flex-direction: column; gap: 10px; }
  .gm-hero--v2 .gm-hero__actions .gm-btn { flex: 0 0 auto; width: 100%; min-height: 52px; padding: 12px 14px; }
  .gm-hero--v2 .gm-hero__proof { display: flex; width: 100%; margin-top: 28px; }
  .gm-hero--v2 .gm-hero__proof span { flex: 1 1 33.333%; min-width: 0; padding: 0 10px; }
  .gm-hero--v2 .gm-hero__proof span:first-child { padding-left: 0; }
  .gm-hero--v2 .gm-hero__proof b { font-size: 17px; }
  .gm-hero--v2 .gm-hero__proof small { font-size: 8px; line-height: 1.35; }
  .gm-benefits--v2 .gm-benefits__grid { margin: 0 -16px; }
  .gm-benefits--v2 .gm-benefits__grid > article { min-height: 92px; padding: 12px 13px; }
  .gm-benefits--v2 article > span { width: 38px; height: 38px; }
  .gm-benefits--v2 article strong { font-size: 12px; }
  .gm-benefits--v2 article small { font-size: 9px; }
  .gm-b2b--v2 { padding: 40px 0; }
  .gm-b2b--v2 .gm-b2b__inner { display: flex !important; align-items: flex-start; flex-direction: column; gap: 0; }
  .gm-b2b--v2 .gm-b2b__badge { display: none; }
  .gm-b2b--v2 .gm-b2b__content { flex: 0 0 auto; width: 100%; }
  .gm-b2b--v2 h2 { font-size: 26px; line-height: 1.22; }
  .gm-b2b--v2 .gm-b2b__inner > .gm-btn { width: 100%; margin: 20px 0 0; }
  .gm-footer-cta > .container { min-height: 0; padding-top: 25px; padding-bottom: 25px; }
  .gm-footer-cta > .container > div:first-child > i { flex: 0 0 48px; }
  .gm-footer-cta strong { font-size: 18px; line-height: 1.35; }
  .gm-footer--v2 .gm-footer__grid { display: flex !important; padding-top: 42px; padding-bottom: 38px; gap: 30px 6%; }
  .gm-footer--v2 .gm-footer__brand { flex-basis: 100%; width: 100%; }
  .gm-footer--v2 .gm-footer__links { flex-basis: 47%; width: 47%; }
  .gm-footer--v2 .gm-footer__contact { display: block; flex-basis: 100%; width: 100%; }
  .gm-footer--v2 .gm-footer__contact h3, .gm-footer--v2 .gm-footer__contact > div { display: flex; }
  .gm-footer--v2 .gm-footer__bottom .container { align-items: flex-start; }
  .gm-mobile-actions { min-height: 58px; }
}

@media (max-width: 430px) {
  .gm-brand__custom { max-width: 205px; max-height: 52px; }
  .gm-hero--v2 h1 { font-size: 39px; }
  .gm-benefits--v2 .gm-benefits__grid > article { flex-basis: 100%; width: 100%; min-height: 78px; border-right: 1px solid var(--gm-border); }
  .gm-footer-cta__actions { grid-template-columns: 1fr; }
}

