/* ================================================================
   GANCHEV STROY – SERVICES PAGE (HD ULTRA-WIDE HERO)
   ================================================================ */
.gs-services-page {
  --gs-services-bg: #06141e;
  --gs-services-panel: #0a1b27;
  --gs-services-panel-2: #0d202c;
  --gs-services-line: rgba(151,181,199,.24);
  --gs-services-orange: #f79300;
  --gs-services-text: #f5f7f8;
  --gs-services-muted: rgba(235,242,246,.72);
  min-height: 100vh;
  color: var(--gs-services-text);
  background: var(--gs-services-bg);
}

.gs-services-page .gs-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: linear-gradient(180deg, rgba(5,11,16,.64) 0%, rgba(5,11,16,.28) 62%, rgba(5,11,16,0) 100%) !important;
}

.gs-services-page .gs-header-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Crystal-clear wide hero banner */
.gs-services-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #07141e;
}

.gs-services-hero-photo {
  position: absolute;
  inset: 0;
  background-image: var(--gs-services-hero);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 25%;
  filter: brightness(1.08) contrast(1.04) saturate(1.02);
}

.gs-services-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,10,16,.85) 0%, rgba(3,10,16,.52) 38%, rgba(3,10,16,.12) 70%, rgba(3,10,16,0) 100%),
    linear-gradient(180deg, rgba(3,10,16,.08) 0%, rgba(3,10,16,.02) 58%, #06141e 100%);
}

.gs-services-hero-content {
  position: relative;
  z-index: 3;
  padding-top: 200px;
}

.gs-services-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.58);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.gs-services-breadcrumb a {
  color: rgba(255,255,255,.58);
  transition: color .2s ease;
}

.gs-services-breadcrumb a:hover,
.gs-services-breadcrumb a:focus-visible {
  color: var(--gs-services-orange);
}

.gs-services-breadcrumb strong {
  color: rgba(255,255,255,.88);
  font-weight: 500;
}

.gs-services-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(76px, 7vw, 112px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.035em;
}

.gs-services-hero h1 span {
  color: var(--gs-services-orange);
}

.gs-services-hero-content > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.gs-services-offer {
  position: relative;
  padding: 58px 0 24px;
  background:
    radial-gradient(circle at 7% 14%, rgba(19,58,78,.23), transparent 30%),
    radial-gradient(circle at 92% 72%, rgba(14,48,66,.17), transparent 28%),
    linear-gradient(180deg, #06141e, #071722 70%, #06141e);
}

.gs-services-section-title {
  margin-bottom: 30px;
}

.gs-services-section-title h2 {
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 3.35vw, 55px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .015em;
}

.gs-services-section-title > span {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: var(--gs-services-orange);
}

.gs-services-list {
  display: grid;
  gap: 24px;
}

.gs-services-card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 455px;
  overflow: hidden;
  scroll-margin-top: 30px;
  border: 1px solid var(--gs-services-line);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(12,31,44,.97), rgba(7,22,32,.98));
  box-shadow: 0 22px 44px rgba(0,0,0,.16);
}

.gs-services-card-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}

.gs-services-card-reverse .gs-services-card-photo {
  order: 2;
}

.gs-services-card-reverse .gs-services-card-copy {
  order: 1;
}

.gs-services-card-photo {
  min-height: 455px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.gs-services-photo-excavation { background-image: var(--gs-service-excavation); }
.gs-services-photo-transport { background-image: var(--gs-service-transport); }
.gs-services-photo-preparation { background-image: var(--gs-service-preparation); }

.gs-services-card-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 38px 40px 32px;
  background:
    radial-gradient(ellipse at 100% 25%, rgba(247,147,0,.035), transparent 38%),
    repeating-radial-gradient(ellipse at 105% 42%, transparent 0 19px, rgba(247,147,0,.042) 20px 21px);
}

.gs-services-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.gs-services-number {
  color: transparent;
  font-family: "Oswald", sans-serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  -webkit-text-stroke: 1.4px var(--gs-services-orange);
}

.gs-services-line-icon {
  width: 154px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247,147,0,.82);
  border-radius: 9px;
  background-color: rgba(5,18,27,.32);
  box-shadow: inset 0 0 0 1px rgba(247,147,0,.04);
}

.gs-services-line-icon::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/services-icons.webp?v=20260826-3") !important;
  background-repeat: no-repeat !important;
  background-size: 400% 400% !important;
  mix-blend-mode: screen;
}

#izkopni-raboti .gs-services-line-icon::before { background-position: 0 0 !important; }
#transport .gs-services-line-icon::before { background-position: 33.333% 0 !important; }
#podgotovka-na-tereni .gs-services-line-icon::before { background-position: 66.667% 0 !important; }

.gs-services-card h3 {
  margin: 9px 0 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(34px, 3vw, 49px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .005em;
}

.gs-services-card-copy > p {
  max-width: 600px;
  margin: 17px 0 0;
  color: var(--gs-services-muted);
  font-size: 17px;
  line-height: 1.52;
}

.gs-services-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--gs-services-line);
  list-style: none;
}

.gs-services-features li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--gs-services-line);
}

.gs-services-features li:first-child { padding-left: 0; }
.gs-services-features li:last-child { padding-right: 0; border-right: 0; }

.gs-services-features span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-services-features span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/services-icons.webp?v=20260826-3") !important;
  background-repeat: no-repeat !important;
  background-size: 400% 400% !important;
  mix-blend-mode: screen;
}

#izkopni-raboti .gs-services-features li:nth-child(1) span::before { background-position: 0 33.333% !important; }
#izkopni-raboti .gs-services-features li:nth-child(2) span::before { background-position: 33.333% 33.333% !important; }
#izkopni-raboti .gs-services-features li:nth-child(3) span::before { background-position: 66.667% 33.333% !important; }
#transport .gs-services-features li:nth-child(1) span::before { background-position: 100% 33.333% !important; }
#transport .gs-services-features li:nth-child(2) span::before { background-position: 0 66.667% !important; }
#transport .gs-services-features li:nth-child(3) span::before { background-position: 33.333% 66.667% !important; }
#podgotovka-na-tereni .gs-services-features li:nth-child(1) span::before { background-position: 66.667% 66.667% !important; }
#podgotovka-na-tereni .gs-services-features li:nth-child(2) span::before { background-position: 100% 66.667% !important; }
#podgotovka-na-tereni .gs-services-features li:nth-child(3) span::before { background-position: 0 100% !important; }

.gs-services-features strong {
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.gs-services-benefits {
  padding: 18px 0 20px;
  background: #06141e;
}

.gs-services-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 104px;
  border: 1px solid var(--gs-services-line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11,30,42,.95), rgba(7,21,31,.95));
}

.gs-services-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 19px 28px;
  border-right: 1px solid var(--gs-services-line);
}

.gs-services-benefit:last-child { border-right: 0; }

.gs-services-benefit > span {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.gs-services-benefit > span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/services-icons.webp?v=20260826-3") !important;
  background-repeat: no-repeat !important;
  background-size: 400% 400% !important;
  mix-blend-mode: screen;
}

.gs-services-benefit:nth-child(1) > span::before { background-position: 33.333% 100% !important; }
.gs-services-benefit:nth-child(2) > span::before { background-position: 66.667% 100% !important; }
.gs-services-benefit:nth-child(3) > span::before { background-position: 100% 100% !important; }

.gs-services-benefit strong,
.gs-services-benefit small {
  display: block;
  font-family: "Oswald", sans-serif;
}

.gs-services-benefit strong {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.gs-services-benefit small {
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.25;
}

.gs-services-cta {
  padding: 0 0 30px;
  background: #06141e;
}

.gs-services-cta-card {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 36px 200px;
  text-align: center;
  border: 1px solid rgba(247,147,0,.64);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(15,36,49,.94), rgba(6,20,29,.98)),
    repeating-radial-gradient(ellipse at 0 100%, transparent 0 18px, rgba(247,147,0,.05) 19px 20px);
}

.gs-services-cta-card h2 {
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(35px, 3.2vw, 52px);
  font-weight: 700;
  line-height: 1.04;
}

.gs-services-cta-card p {
  margin: 12px 0 20px;
  color: rgba(255,255,255,.72);
  font-family: "Oswald", sans-serif;
  font-size: 17px;
}

.gs-services-cta-card a {
  min-width: 280px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 26px;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 600;
  border-radius: 6px;
  background: linear-gradient(90deg, #f58a00, #ff9b10);
  box-shadow: 0 12px 26px rgba(247,147,0,.16);
  transition: filter .2s ease, transform .2s ease;
}

.gs-services-cta-card a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.gs-services-cta-card a svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.gs-services-cta-art {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 100px;
}

.gs-services-cta-art::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/services-icons.webp?v=20260826-3") !important;
  background-repeat: no-repeat !important;
  background-size: 400% 400% !important;
  mix-blend-mode: screen;
  opacity: .65;
}

.gs-services-cta-art-left { left: 36px; }
.gs-services-cta-art-left::before { background-position: 0 0 !important; }
.gs-services-cta-art-right { right: 36px; }
.gs-services-cta-art-right::before { background-position: 66.667% 0 !important; }

.gs-services-footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, #07141d, #040c12);
}

.gs-services-footer-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 44px;
}

.gs-services-footer-brand {
  width: max-content;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.gs-services-footer-brand img {
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.gs-services-footer-brand span {
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
}

.gs-services-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
}

.gs-services-footer-nav a,
.gs-services-footer-meta a {
  color: rgba(255,255,255,.76);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  transition: color .2s ease;
}

.gs-services-footer-nav a.is-active,
.gs-services-footer-nav a:hover,
.gs-services-footer-meta a:hover {
  color: var(--gs-services-orange);
}

.gs-services-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;
}

@media (max-width: 1120px) {
  .gs-services-hero-photo { background-position: center center; }
  .gs-services-card, .gs-services-card-reverse { grid-template-columns: 1fr; }
  .gs-services-card-photo, .gs-services-card-reverse .gs-services-card-photo { order: 1; min-height: 380px; }
  .gs-services-card-copy, .gs-services-card-reverse .gs-services-card-copy { order: 2; }
  .gs-services-benefits-grid { grid-template-columns: 1fr; }
  .gs-services-benefit { border-right: 0; border-bottom: 1px solid var(--gs-services-line); }
  .gs-services-benefit:last-child { border-bottom: 0; }
  .gs-services-cta-card { padding: 36px 40px; }
  .gs-services-cta-art { display: none; }
  .gs-services-footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .gs-services-footer-meta { justify-self: start; }
}
/* Mobile CTA Fix */
@media (max-width: 768px) {
  .gs-services-cta-card {
    padding: 32px 20px !important;
  }
  .gs-services-cta-card h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
  }
  .gs-services-cta-card p {
    font-size: 15px !important;
    margin: 10px 0 18px !important;
  }
  .gs-services-cta-card a {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 20px !important;
    font-size: 17px !important;
  }
}
/* MOBILE FIX: FEATURES LIST & OVERLAPPING */
@media (max-width: 768px) {
  .gs-services-card-copy {
    padding: 24px 18px !important;
  }
  .gs-services-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }
  .gs-services-features li {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(151,181,199,.15) !important;
    padding: 0 0 10px 0 !important;
    width: 100% !important;
  }
  .gs-services-features li:last-child {
    border-bottom: none !important;
  }
  .gs-services-features span {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: block !important;
  }
  .gs-services-features strong {
    font-size: 15px !important;
    line-height: 1.3 !important;
    display: block !important;
  }
}
/* ================================================================
   FINAL MOBILE FIXES (BENEFITS ICONS & CTA BUTTON)
   ================================================================ */
@media (max-width: 768px) {
  /* 2. Центриране на бутона в оранжевия CTA блок */
  .gs-services-cta-card a,
  .gs-tehnika-cta-card a {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* 3. Перфектно центриране на иконите в Надеждност / Техника / Опитен екип */
  .gs-services-benefit,
  .gs-tehnika-benefit,
  .gs-kontakti-benefit {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 15px !important;
  }
  .gs-services-benefit > span,
  .gs-tehnika-benefit > span,
  .gs-benefit-sprite {
    margin: 0 auto 10px auto !important;
    display: block !important;
  }

  /* 4. Подравняване на менюто във футъра */
  .gs-services-footer-inner,
  .gs-tehnika-footer-inner,
  .gs-kontakti-footer-inner {
    padding: 20px 10px !important;
  }
}