.hd-services-page {
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(144, 190, 52, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 12% 82%,
      rgba(144, 190, 52, 0.06),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #1f242b 0%,
      #252a31 48%,
      #1d2228 100%
    );
  color: #fff;
  overflow: hidden;
}

.hd-services-page *,
.hd-services-page *::before,
.hd-services-page *::after {
  box-sizing: border-box;
}

.hd-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hd-section {
  padding: 88px 0;
}

.hd-eyebrow {
  margin: 0 0 14px;
  color: #8fbd38;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* HERO */

.hd-services-hero {
  position: relative;
  min-height: 560px;
  padding: 140px 0 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hd-services-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hd-services-hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center right;
  opacity: .54;
}

.hd-services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(19, 23, 28, .98),
      rgba(19, 23, 28, .74),
      rgba(19, 23, 28, .34)
    ),
    linear-gradient(
      0deg,
      rgba(19, 23, 28, .94),
      transparent 55%
    );
}

.hd-services-hero__inner {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hd-services-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hd-services-hero h1::after,
.hd-services-intro h2::after,
.hd-services-section-head h2::after,
.hd-services-cta h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 18px;
  background: #8fbd38;
}

.hd-services-hero p:last-child {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
  line-height: 1.75;
}

/* INTRO */

.hd-services-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: start;
}

.hd-services-intro__grid > div {
  min-width: 0;
}

.hd-services-intro h2,
.hd-services-section-head h2,
.hd-services-cta h2 {
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -.5px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hd-services-intro p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.8;
}

/* SERVICES LIST */

.hd-services-list {
  padding: 0 0 88px;
}

.hd-service-block {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: stretch;
  padding: 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(143, 189, 56, .08),
      transparent 30%
    ),
    rgba(20, 24, 29, .66);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.hd-service-block:last-child {
  margin-bottom: 0;
}

.hd-service-block.is-reversed {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.hd-service-block.is-reversed .hd-service-block__image {
  order: 2;
}

.hd-service-block.is-reversed .hd-service-block__content {
  order: 1;
}

.hd-service-block__image {
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      rgba(143, 189, 56, .08),
      rgba(20, 24, 29, .9)
    );
}

.hd-service-block__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform .45s ease,
    filter .45s ease;
}

.hd-service-block:hover .hd-service-block__image img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.hd-service-block__content {
  min-width: 0;
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hd-service-number {
  margin-bottom: 14px;
  color: #8fbd38;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1.4px;
}

/* SERVICE TITLES */

.hd-service-block h2 {
  max-width: 680px;
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(27px, 2.8vw, 42px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -.45px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Prva kartica ima posebno dugačak naslov */

.hd-service-block--hausmeister h2 {
  max-width: 640px;
  font-size: clamp(25px, 2.45vw, 37px);
  line-height: 1.09;
  letter-spacing: -.35px;
}

/* Garten naslov je takođe nešto duži */

.hd-service-block--garten h2 {
  font-size: clamp(26px, 2.65vw, 40px);
}

.hd-service-block h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  background: #8fbd38;
}

/* GREEN SUBTITLE */

.hd-service-block h3 {
  max-width: 680px;
  margin: 22px 0 0;
  color: #8fbd38;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .25px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hd-service-block--hausmeister h3,
.hd-service-block--reinigung h3,
.hd-service-block--winter h3 {
  font-size: 14px;
  line-height: 1.5;
}

/* SERVICE TEXT */

.hd-service-block p {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* POINTS */

.hd-service-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.hd-service-block li {
  position: relative;
  min-width: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hd-service-block li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #8fbd38;
  font-weight: 900;
}

/* SERVICE BUTTON */

.hd-service-btn {
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  margin-top: 30px;
  padding: 0 18px;
  border: 1px solid rgba(143, 189, 56, .65);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .7px;
  text-decoration: none;
  background: rgba(255, 255, 255, .02);
  transition:
    color .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

.hd-service-btn span {
  color: #8fbd38;
  font-size: 20px;
  line-height: 1;
  opacity: .86;
  transition:
    transform .22s ease,
    opacity .22s ease;
}

.hd-service-btn:hover {
  color: #8fbd38;
  border-color: #8fbd38;
  background: rgba(143, 189, 56, .07);
  box-shadow: 0 0 28px rgba(143, 189, 56, .22);
  transform: translateY(-2px);
}

.hd-service-btn:hover span {
  transform: translateX(4px);
  opacity: 1;
}

/* WHY US */

.hd-services-why {
  background: rgba(255, 255, 255, .025);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hd-services-section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.hd-services-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hd-services-why__grid article {
  min-width: 0;
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(20, 24, 29, .64);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.hd-services-why__grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 189, 56, .55);
  box-shadow: 0 0 32px rgba(143, 189, 56, .12);
}

.hd-services-why__grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #8fbd38;
  font-size: 28px;
}

.hd-services-why__grid h3 {
  margin: 0 0 12px;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hd-services-why__grid p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.65;
}

/* CTA */

.hd-services-cta {
  padding: 70px 0;
  background:
    radial-gradient(
      circle at 88% 50%,
      rgba(154, 205, 50, .2),
      transparent 28%
    ),
    rgba(255, 255, 255, .035);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.hd-services-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hd-services-cta__inner div {
  max-width: 760px;
  min-width: 0;
}

.hd-services-cta p:not(.hd-eyebrow) {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.7;
}

.hd-service-btn--main {
  flex-shrink: 0;
  color: #101419;
  border-color: transparent;
  background: linear-gradient(135deg, #9acd32, #78a81f);
  box-shadow: 0 12px 35px rgba(154, 205, 50, .18);
  white-space: nowrap;
}

.hd-service-btn--main span {
  color: #101419;
}

.hd-service-btn--main:hover {
  color: #101419;
  background: linear-gradient(135deg, #a8dc3a, #83b923);
  box-shadow: 0 18px 45px rgba(154, 205, 50, .25);
}

/* SMALL DESKTOP / TABLET LANDSCAPE */

@media (max-width: 1100px) {
  .hd-service-block,
  .hd-service-block.is-reversed {
    grid-template-columns: minmax(0, 1fr);
  }

  .hd-service-block.is-reversed .hd-service-block__image,
  .hd-service-block.is-reversed .hd-service-block__content {
    order: initial;
  }

  .hd-service-block__image {
    min-height: 390px;
    aspect-ratio: 16 / 8;
  }

  .hd-service-block__content {
    padding: 12px 8px 8px;
  }

  .hd-service-block h2,
  .hd-service-block--hausmeister h2,
  .hd-service-block--garten h2 {
    max-width: 800px;
    font-size: clamp(29px, 4vw, 42px);
  }

  .hd-service-block h3,
  .hd-service-block--hausmeister h3,
  .hd-service-block--reinigung h3,
  .hd-service-block--winter h3 {
    max-width: 820px;
    font-size: 15px;
  }

  .hd-services-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .hd-container {
    width: min(calc(100% - 28px), 1180px);
  }

  .hd-section {
    padding: 64px 0;
  }

  .hd-services-hero {
    min-height: auto;
    padding: 118px 0 64px;
  }

  .hd-services-hero h1 {
    font-size: clamp(34px, 9vw, 50px);
    line-height: 1.04;
    letter-spacing: -.8px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hd-services-hero p:last-child {
    font-size: 16px;
  }

  .hd-services-intro__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hd-services-intro h2,
  .hd-services-section-head h2,
  .hd-services-cta h2 {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -.35px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hd-services-list {
    padding-bottom: 64px;
  }

  .hd-service-block {
    padding: 18px;
    gap: 24px;
    margin-bottom: 22px;
    border-radius: 12px;
  }

  .hd-service-block__image {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .hd-service-block__content {
    padding: 6px 2px 2px;
  }

  .hd-service-block h2,
  .hd-service-block--garten h2 {
    max-width: 100%;
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -.35px;
  }

  .hd-service-block--hausmeister h2 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.11;
    letter-spacing: -.25px;
  }

  .hd-service-block h3,
  .hd-service-block--hausmeister h3,
  .hd-service-block--reinigung h3,
  .hd-service-block--winter h3 {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.5;
  }

  .hd-service-block p {
    font-size: 15px;
    line-height: 1.72;
  }

  .hd-service-block ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .hd-services-why__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hd-services-why__grid article {
    min-height: auto;
    padding: 24px;
  }

  .hd-services-cta__inner {
    display: block;
  }

  .hd-service-btn--main {
    margin-top: 26px;
  }
}

/* SMALL MOBILE */

@media (max-width: 560px) {
  .hd-container {
    width: calc(100% - 28px);
  }

  .hd-services-hero {
    padding-top: 112px;
  }

  .hd-services-hero h1 {
    font-size: 34px;
  }

  .hd-services-intro h2,
  .hd-services-section-head h2,
  .hd-services-cta h2 {
    font-size: 25px;
    line-height: 1.13;
  }

  .hd-service-block {
    padding: 16px;
  }

  .hd-service-block__content {
    padding: 4px 0 0;
  }

  .hd-service-block h2,
  .hd-service-block--garten h2 {
    font-size: 26px;
    line-height: 1.12;
  }

  .hd-service-block--hausmeister h2 {
    font-size: 23px;
    line-height: 1.14;
  }

  .hd-service-block h3,
  .hd-service-block--hausmeister h3,
  .hd-service-block--reinigung h3,
  .hd-service-block--winter h3 {
    font-size: 13px;
    line-height: 1.5;
  }

  .hd-service-block p {
    font-size: 15px;
  }

  .hd-service-block li {
    font-size: 14px;
  }

  .hd-service-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: .45px;
  }

  .hd-service-btn--main {
    width: fit-content;
    max-width: 100%;
    padding: 0 18px;
  }
}

/* VERY SMALL MOBILE */

@media (max-width: 390px) {
  .hd-services-hero h1 {
    font-size: 31px;
  }

  .hd-services-intro h2,
  .hd-services-section-head h2,
  .hd-services-cta h2 {
    font-size: 23px;
  }

  .hd-service-block h2,
  .hd-service-block--garten h2 {
    font-size: 23px;
  }

  .hd-service-block--hausmeister h2 {
    font-size: 21px;
  }

  .hd-service-block h3,
  .hd-service-block--hausmeister h3,
  .hd-service-block--reinigung h3,
  .hd-service-block--winter h3 {
    font-size: 12px;
  }

  .hd-service-btn {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-service-block__image img,
  .hd-service-block,
  .hd-service-btn,
  .hd-service-btn span,
  .hd-services-why__grid article {
    transition: none;
  }
}