/* =========================================================
   SLUŽBY HERO
========================================================= */

.services-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,15,21,.97) 0%, rgba(6,15,21,.91) 42%, rgba(6,15,21,.25) 72%, rgba(6,15,21,.08) 100%),
    url("../assets/sluzby-hero.jpg") center right / cover no-repeat;
}

.services-hero-inner {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 40px;
}

.services-hero-copy {
  max-width: 560px;
}

.services-kicker {
  display: block;
  margin-bottom: 10px;
  color: #c69743;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.services-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 46px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}

.services-hero-copy p {
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 11px;
  line-height: 1.55;
}

.services-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 19px;
}

.services-btn-gold,
.services-btn-outline {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.services-btn-gold {
  background: linear-gradient(135deg, #d3aa5a, #b8842f);
  color: #fff;
}

.services-btn-gold:hover {
  color: #fff;
}

.services-btn-outline {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}

.services-btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #10161a;
}

.services-hero-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  min-height: 75px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.services-hero-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.services-hero-benefit:first-child {
  padding-left: 0;
}

.services-hero-benefit:last-child {
  border-right: 0;
}

.services-hero-benefit i {
  width: 30px;
  color: #c99b48;
  font-size: 21px;
  text-align: center;
}

.services-hero-benefit span {
  color: rgba(255,255,255,.82);
  font-size: 9px;
  line-height: 1.35;
}


/* =========================================================
   HEADINGS
========================================================= */

.services-heading,
.services-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 17px;
}

.services-heading {
  align-items: flex-end;
}

.services-section-heading {
  align-items: center;
}

.services-heading h2,
.services-section-heading h2 {
  margin: 0;
  color: #12181c;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
}

.services-heading > p {
  max-width: 450px;
  margin: 0;
  color: #676c70;
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

.services-small-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #555d62;
  font-size: 9px;
}

.services-small-link i {
  color: #b88936;
  font-size: 8px;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-main {
  padding: 27px 0 30px;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  overflow: hidden;
  border: 1px solid #dededb;
  background: #fff;
  color: #171b1f;
  box-shadow: 0 3px 10px rgba(0,0,0,.025);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card-image {
  height: 145px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.service-card-content {
  position: relative;
  min-height: 105px;
  padding: 12px 28px 12px 12px;
}

.service-card-content h3 {
  margin: 0 0 5px;
  color: #171c20;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.service-card-content p {
  margin: 0;
  color: #73787c;
  font-size: 8px;
  line-height: 1.4;
}

.service-card-content > i {
  position: absolute;
  right: 11px;
  bottom: 12px;
  color: #232a2f;
  font-size: 8px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.service-card:hover img {
  transform: scale(1.04);
}


/* =========================================================
   PROCESS
========================================================= */

.services-process {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,20,29,.98), rgba(7,20,29,.91)),
    url("../assets/process-bg.jpg") center / cover no-repeat;
}

.services-process-inner {
  min-height: 135px;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 35px;
}

.services-process-intro h2 {
  margin: 0 0 7px;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.services-process-intro p {
  max-width: 220px;
  margin: 0;
  color: rgba(255,255,255,.73);
  font-size: 9px;
  line-height: 1.45;
}

.services-process-steps {
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr 35px 1fr;
  align-items: center;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  align-items: center;
}

.process-number {
  position: absolute;
  left: -9px;
  top: -10px;
  width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #c99743;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.process-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
}

.process-copy h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.process-copy p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 7px;
  line-height: 1.35;
}

.process-line {
  height: 1px;
  background: rgba(255,255,255,.28);
}


/* =========================================================
   OBJECTS
========================================================= */

.services-objects {
  padding: 25px 0 27px;
  background: #fff;
}

.services-objects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.object-card {
  overflow: hidden;
  border: 1px solid #dededb;
  background: #fff;
  color: #171c20;
  transition: transform .2s ease, box-shadow .2s ease;
}

.object-card > img {
  width: 100%;
  height: 112px;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.object-card-bottom {
  min-height: 45px;
  display: grid;
  grid-template-columns: 22px 1fr 12px;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
}

.object-card-bottom > i:first-child {
  color: #60676c;
  font-size: 13px;
}

.object-card-bottom span {
  color: #1b2024;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 700;
}

.object-card-bottom > i:last-child {
  color: #22282c;
  font-size: 7px;
}

.object-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0,0,0,.07);
}

.object-card:hover > img {
  transform: scale(1.04);
}


/* =========================================================
   FACILITY MANAGEMENT
========================================================= */

.services-facility {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,18,27,.98) 0%, rgba(5,18,27,.9) 43%, rgba(5,18,27,.2) 75%, rgba(5,18,27,.05) 100%),
    url("../assets/facility-sluzby.jpg") center right / cover no-repeat;
}

.services-facility-inner {
  min-height: 155px;
  display: flex;
  align-items: center;
}

.services-facility-copy {
  max-width: 520px;
}

.services-facility-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #c89a47;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}

.services-facility-copy h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  font-weight: 700;
}

.services-facility-copy p {
  max-width: 450px;
  margin: 0 0 14px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  line-height: 1.45;
}


/* =========================================================
   FAQ
========================================================= */

.services-faq {
  padding: 22px 0 30px;
  background: #fff;
}

.services-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}

.services-faq-item {
  border-bottom: 1px solid #ddd;
}

.services-faq-item:first-child,
.services-faq-item:nth-child(2) {
  border-top: 1px solid #ddd;
}

.services-faq-item summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  list-style: none;
  cursor: pointer;
  color: #23282c;
  font-size: 9px;
  font-weight: 600;
}

.services-faq-item summary::-webkit-details-marker {
  display: none;
}

.services-faq-item summary i {
  color: #545b60;
  font-size: 9px;
  transition: transform .2s ease, color .2s ease;
}

.services-faq-item[open] summary i {
  color: #b88936;
  transform: rotate(45deg);
}

.services-faq-answer {
  padding: 0 30px 14px 0;
  color: #73787c;
  font-size: 9px;
  line-height: 1.55;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

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

  .services-process-inner {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .services-process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .process-line {
    display: none;
  }

  .services-objects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .services-hero {
    background:
      linear-gradient(90deg, rgba(6,15,21,.98) 0%, rgba(6,15,21,.83) 72%, rgba(6,15,21,.45) 100%),
      url("../assets/sluzby-hero.jpg") 67% center / cover no-repeat;
  }

  .services-hero-inner {
    min-height: 410px;
  }

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

  .services-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-hero-bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .services-hero-benefit,
  .services-hero-benefit:first-child {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .services-heading {
    display: block;
  }

  .services-heading > p {
    margin-top: 8px;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card-image {
    height: 120px;
  }

  .service-card-content {
    min-height: 120px;
  }

  .services-process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .services-objects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-facility {
    background:
      linear-gradient(90deg, rgba(5,18,27,.97), rgba(5,18,27,.75)),
      url("../assets/facility-sluzby.jpg") 65% center / cover no-repeat;
  }

  .services-facility-inner {
    min-height: 220px;
  }

  .services-faq-grid {
    grid-template-columns: 1fr;
  }

  .services-faq-item:nth-child(2) {
    border-top: 0;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card-image {
    height: 100px;
  }

  .service-card-content h3 {
    font-size: 10px;
  }

  .service-card-content p {
    font-size: 7.5px;
  }

  .services-process-steps {
    grid-template-columns: 1fr;
  }

  .services-objects-grid {
    grid-template-columns: 1fr 1fr;
  }

}