/* ================================================================
   HOMEPAGE LOWER SECTIONS
   Isolated namespace: these rules do not alter the approved header/hero.
   ================================================================ */

.gs-home-lower,
.gs-home-footer{
  --gs-home-bg:#071621;
  --gs-home-panel:#0b1c28;
  --gs-home-panel-2:#0d202d;
  --gs-home-line:rgba(151,181,199,.22);
  --gs-home-text:#f6f7f8;
  --gs-home-muted:rgba(238,244,247,.72);
  --gs-home-orange:#f79300;
  position:relative;
  color:var(--gs-home-text);
  background:var(--gs-home-bg);
}

.gs-home-lower::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 8%,rgba(20,62,83,.24),transparent 34%),
    radial-gradient(circle at 91% 68%,rgba(15,50,69,.20),transparent 31%),
    linear-gradient(180deg,#071621 0%,#06131d 100%);
}

.gs-home-lower > section{
  position:relative;
  z-index:1;
}

.gs-home-equipment{
  padding:72px 0 38px;
}

.gs-home-section-title{
  margin:0 0 27px;
}

.gs-home-section-title h2{
  margin:0;
  color:#fff;
  font-family:"Oswald",sans-serif;
  font-size:clamp(38px,3.15vw,52px);
  font-weight:700;
  line-height:1;
  letter-spacing:.015em;
}

.gs-home-section-title > span{
  display:block;
  width:54px;
  height:3px;
  margin-top:13px;
  border-radius:3px;
  background:var(--gs-home-orange);
}

.gs-home-equipment-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}

.gs-home-machine-card{
  display:block;
  min-width:0;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  border:1px solid var(--gs-home-line);
  border-radius:9px;
  background:linear-gradient(145deg,rgba(15,35,48,.96),rgba(7,22,32,.98));
  box-shadow:0 18px 34px rgba(0,0,0,.16);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.gs-home-machine-card:hover,
.gs-home-machine-card:focus-visible{
  color:#fff;
  border-color:rgba(247,147,0,.72);
  box-shadow:0 20px 38px rgba(0,0,0,.25);
  transform:translateY(-4px);
}

.gs-home-machine-photo{
  display:block;
  width:100%;
  aspect-ratio:1.52/1;
  border-bottom:1px solid rgba(255,255,255,.11);
  background-image:
    linear-gradient(180deg,rgba(3,11,17,0) 62%,rgba(3,11,17,.22) 100%),
    var(--gs-equipment-image);
  background-repeat:no-repeat;
  background-size:100% 100%,200% 200%;
}

.gs-home-machine-photo-01{background-position:center,0 0;}
.gs-home-machine-photo-02{background-position:center,100% 0;}
.gs-home-machine-photo-03{background-position:center,0 100%;}
.gs-home-machine-photo-04{background-position:center,100% 100%;}

.gs-home-machine-caption{
  min-height:72px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 26px;
  align-items:center;
  gap:12px;
  padding:10px 16px;
}

.gs-home-machine-caption strong{
  min-width:0;
  color:#fff;
  font-family:"Oswald",sans-serif;
  font-size:21px;
  font-weight:500;
  line-height:1.12;
  letter-spacing:.01em;
}

.gs-home-machine-icon,
.gs-home-process-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gs-home-orange);
}

.gs-home-machine-icon svg{
  width:43px;
  height:43px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gs-home-machine-arrow{
  color:var(--gs-home-orange);
  font-size:28px;
  line-height:1;
  transition:transform .2s ease;
}

.gs-home-machine-card:hover .gs-home-machine-arrow,
.gs-home-machine-card:focus-visible .gs-home-machine-arrow{
  transform:translateX(4px);
}

.gs-home-equipment-action{
  display:flex;
  justify-content:center;
  margin-top:28px;
}

.gs-home-equipment-action a{
  min-width:300px;
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 30px;
  color:#fff;
  font-family:"Oswald",sans-serif;
  font-size:19px;
  text-decoration:none;
  border:1px solid rgba(247,147,0,.85);
  border-radius:7px;
  background:rgba(7,20,29,.45);
  transition:background .2s ease,color .2s ease;
}

.gs-home-equipment-action a:hover,
.gs-home-equipment-action a:focus-visible{
  color:#07121b;
  background:var(--gs-home-orange);
}

.gs-home-process{
  padding:18px 0 22px;
}

.gs-home-process-card,
.gs-home-contact-card{
  border:1px solid var(--gs-home-line);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(10,29,41,.9),rgba(7,22,32,.72));
  box-shadow:0 18px 42px rgba(0,0,0,.12);
}

.gs-home-process-card{
  padding:28px 25px 30px;
}

.gs-home-section-title-small{
  margin-bottom:22px;
}

.gs-home-section-title-small h2{
  font-size:clamp(34px,2.65vw,44px);
}

.gs-home-process-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:center;
  gap:0;
  margin:0;
  padding:0;
  list-style:none;
}

.gs-home-process-list li{
  position:relative;
  min-height:62px;
  display:grid;
  grid-template-columns:55px 52px minmax(0,1fr);
  align-items:center;
  gap:13px;
  padding:0 39px 0 0;
}

.gs-home-process-list li:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:14px;
  width:27px;
  height:27px;
  border-top:1px solid rgba(255,255,255,.58);
  border-right:1px solid rgba(255,255,255,.58);
  transform:translateY(-50%) rotate(45deg);
}

.gs-home-process-number{
  color:transparent;
  font-family:"Oswald",sans-serif;
  font-size:39px;
  font-weight:500;
  line-height:1;
  letter-spacing:.02em;
  -webkit-text-stroke:1.3px var(--gs-home-orange);
}

.gs-home-process-icon svg{
  width:46px;
  height:46px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gs-home-process-list strong{
  color:#fff;
  font-family:"Oswald",sans-serif;
  font-size:20px;
  font-weight:500;
  line-height:1.1;
}

.gs-home-contact{
  padding:0 0 28px;
}

.gs-home-contact-card{
  display:grid;
  grid-template-columns:minmax(350px,.88fr) minmax(480px,1.12fr);
  min-height:310px;
  overflow:hidden;
}

.gs-home-contact-intro{
  padding:33px 38px 27px;
  border-right:1px solid var(--gs-home-line);
}

.gs-home-section-title-contact{
  margin-bottom:13px;
}

.gs-home-section-title-contact h2{
  font-size:clamp(38px,3.1vw,51px);
  line-height:1.03;
}

.gs-home-contact-intro > p{
  margin:0;
  color:var(--gs-home-muted);
  font-family:"Oswald",sans-serif;
  font-size:18px;
  line-height:1.45;
}

.gs-home-contact-benefits{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}

.gs-home-contact-benefits > div{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  text-align:center;
}

.gs-home-contact-benefits span{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gs-home-orange);
}

.gs-home-contact-benefits svg{
  width:43px;
  height:43px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gs-home-contact-benefits strong{
  color:#fff;
  font-family:"Oswald",sans-serif;
  font-size:15px;
  font-weight:500;
  white-space:nowrap;
}

.gs-home-contact-form{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:26px;
}

.gs-home-contact-form label{
  display:block;
}

.gs-home-contact-form input,
.gs-home-contact-form textarea{
  width:100%;
  border:1px solid rgba(145,176,193,.3);
  border-radius:6px;
  outline:0;
  color:#fff;
  background:rgba(4,17,25,.6);
  font-family:"Inter",sans-serif;
  font-size:14px;
  transition:border-color .2s ease,box-shadow .2s ease;
}

.gs-home-contact-form input{
  height:48px;
  padding:0 17px;
}

.gs-home-contact-form textarea{
  min-height:78px;
  padding:13px 17px;
  resize:vertical;
}

.gs-home-contact-form input::placeholder,
.gs-home-contact-form textarea::placeholder{
  color:rgba(235,242,246,.62);
}

.gs-home-contact-form input:focus,
.gs-home-contact-form textarea:focus{
  border-color:rgba(247,147,0,.86);
  box-shadow:0 0 0 3px rgba(247,147,0,.1);
}

.gs-home-contact-form button{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  border:0;
  border-radius:6px;
  color:#fff;
  background:linear-gradient(90deg,#f58a00,#ff970d);
  box-shadow:0 12px 26px rgba(247,147,0,.15);
  font-family:"Oswald",sans-serif;
  font-size:20px;
  cursor:pointer;
  transition:filter .2s ease,transform .2s ease;
}

.gs-home-contact-form button:hover,
.gs-home-contact-form button:focus-visible{
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.gs-home-contact-form button span,
.gs-home-contact-form button svg{
  width:25px;
  height:25px;
}

.gs-home-contact-form button svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.gs-home-honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.gs-home-form-message{
  margin:0;
  padding:8px 11px;
  border-radius:5px;
  font-size:13px;
}

.gs-home-form-message.is-success{
  color:#b9f2cc;
  background:rgba(43,156,86,.16);
}

.gs-home-form-message.is-error{
  color:#ffd1d1;
  background:rgba(186,50,50,.16);
}

.gs-home-footer{
  border-top:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,#07141d,#040c12);
}

.gs-home-footer-inner{
  min-height:112px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:44px;
}

.gs-home-footer-brand{
  width:max-content;
  display:flex;
  flex-direction:column;
  color:#fff;
  text-decoration:none;
}

.gs-home-footer-brand img{
  width:190px;
  height:52px;
  object-fit:contain;
  object-position:left center;
}

.gs-home-footer-brand span{
  margin-top:2px;
  color:rgba(255,255,255,.62);
  font-family:"Oswald",sans-serif;
  font-size:14px;
}

.gs-home-footer-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:54px;
}

.gs-home-footer-nav a,
.gs-home-footer-meta a{
  color:rgba(255,255,255,.78);
  font-family:"Oswald",sans-serif;
  text-decoration:none;
  transition:color .2s ease;
}

.gs-home-footer-nav a{
  font-size:16px;
}

.gs-home-footer-nav a:hover,
.gs-home-footer-nav a:focus-visible,
.gs-home-footer-meta a:hover,
.gs-home-footer-meta a:focus-visible{
  color:var(--gs-home-orange);
}

.gs-home-footer-meta{
  display:flex;
  flex-direction:column;
  justify-self:end;
  color:rgba(255,255,255,.62);
  font-family:"Oswald",sans-serif;
  font-size:14px;
  line-height:1.35;
}

.screen-reader-text{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

@media (max-width:1200px){
  .gs-home-equipment-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .gs-home-process-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 0;
  }
  .gs-home-process-list li:nth-child(2)::after{display:none;}
  .gs-home-contact-card{
    grid-template-columns:minmax(320px,.8fr) minmax(430px,1.2fr);
  }
  .gs-home-footer-nav{gap:28px;}
}

@media (max-width:860px){
  .gs-home-equipment{padding-top:60px;}
  .gs-home-contact-card{grid-template-columns:1fr;}
  .gs-home-contact-intro{border-right:0;border-bottom:1px solid var(--gs-home-line);}
  .gs-home-footer-inner{
    grid-template-columns:1fr 1fr;
    padding-top:24px;
    padding-bottom:24px;
  }
  .gs-home-footer-nav{
    grid-column:1/-1;
    grid-row:2;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}

@media (max-width:620px){
  .gs-home-equipment{padding:48px 0 28px;}
  .gs-home-section-title{margin-bottom:22px;}
  .gs-home-section-title h2{font-size:38px;}
  .gs-home-equipment-grid{grid-template-columns:1fr;gap:16px;}
  .gs-home-machine-photo{aspect-ratio:1.58/1;}
  .gs-home-equipment-action a{width:100%;min-width:0;}
  .gs-home-process{padding-top:12px;}
  .gs-home-process-card{padding:25px 20px;}
  .gs-home-process-list{grid-template-columns:1fr;gap:12px;}
  .gs-home-process-list li{padding:6px 0;}
  .gs-home-process-list li::after{display:none !important;}
  .gs-home-contact-intro{padding:28px 22px 25px;}
  .gs-home-section-title-contact h2{font-size:38px;}
  .gs-home-contact-benefits{gap:8px;}
  .gs-home-contact-benefits svg{width:38px;height:38px;}
  .gs-home-contact-benefits strong{font-size:13px;white-space:normal;}
  .gs-home-contact-form{padding:22px;}
  .gs-home-footer-inner{grid-template-columns:1fr;gap:24px;}
  .gs-home-footer-brand img{width:178px;}
  .gs-home-footer-nav{grid-column:auto;grid-row:auto;gap:24px;}
  .gs-home-footer-meta{justify-self:start;}
}

@media (prefers-reduced-motion:reduce){
  .gs-home-machine-card,
  .gs-home-machine-arrow,
  .gs-home-equipment-action a,
  .gs-home-contact-form button{
    transition:none !important;
  }
}
/* ================================================================
   SUBMIT BUTTON — FINAL, SINGLE SOURCE OF TRUTH
   (all earlier duplicate/contradicting button-fix blocks removed;
   this is the only rule set governing the "Поискай оферта" button)
   ================================================================ */
.gs-home-contact-form{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  width:100% !important;
}

.gs-home-contact-form button[type="submit"]{
  position:relative !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:56px !important;
  height:auto !important;
  margin:14px 0 0 !important;
  padding:14px 22px !important;
  border:0 !important;
  border-radius:6px !important;
  text-align:center !important;
  box-sizing:border-box !important;
  overflow:visible !important;
}

.gs-home-contact-form button[type="submit"] > span{
  position:static !important;
  top:auto !important;
  left:auto !important;
  transform:none !important;
  margin:0 !important;
  padding:0 !important;
}

/* icon span (first) */
.gs-home-contact-form button[type="submit"] > span:first-child{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:22px !important;
  height:22px !important;
  flex:0 0 22px !important;
}
.gs-home-contact-form button[type="submit"] > span:first-child svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
  fill:none !important;
  stroke:#ffffff !important;
  stroke-width:2 !important;
}

/* text span (last) */
.gs-home-contact-form button[type="submit"] > span:last-child{
  display:inline-block !important;
  flex:0 1 auto !important;
  width:auto !important;
  height:auto !important;
  font-family:'Oswald',sans-serif !important;
  font-size:19px !important;
  font-weight:700 !important;
  line-height:1.1 !important;
  color:#ffffff !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  letter-spacing:.02em !important;
  text-align:center !important;
}

@media (max-width:480px){
  .gs-home-contact-form button[type="submit"] > span:last-child{
    font-size:17px !important;
  }
}
