/* Блок услуг для дочернего шаблона Cassiopeia. */
.evk-services {
  --evk-yellow: #ffbf00;
  --evk-ink: #111316;
  padding: clamp(32px, 5vw, 64px) 20px;
  color: var(--evk-ink);
  background: #f5f5f5;
}

.evk-services__inner {
  max-width: 1320px;
  margin-inline: auto;
}

.evk-services__eyebrow {
  margin: 0 0 6px;
  color: #b87d00;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.evk-services__title {
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.evk-services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.evk-services__card {
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 24px rgb(0 0 0 / 4%);
}

.evk-services__media {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #303942, #101317);
}

.evk-services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evk-services__icon {
  position: absolute;
  bottom: -17px;
  left: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--evk-yellow);
  color: #111;
  font-size: 1.35rem;
  line-height: 1;
}

.evk-services__body { padding: 30px 13px 16px; }

.evk-services__card-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.evk-services__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .evk-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .evk-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 440px) {
  .evk-services__grid { grid-template-columns: 1fr; }
}
/* Первый экран: фотография загружена в /images/home.jpg. */
.evk-hero {
  position: relative;
  display: flex;
  min-height: clamp(430px, 56vw, 680px);
  align-items: center;
  padding: 64px 20px;
  color: #fff;
  background-color: #171b20;
  background-image: linear-gradient(90deg, rgb(9 12 17 / 88%) 0%, rgb(9 12 17 / 65%) 45%, rgb(9 12 17 / 15%) 100%), url('/images/home.jpg');
  background-position: center, center 55%;
  background-size: cover;
}

.evk-hero__inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}

.evk-hero__content { max-width: 660px; }

.evk-hero__eyebrow {
  margin: 0 0 14px;
  color: #ffbf00;
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.evk-hero__title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
}

.evk-hero__text {
  max-width: 560px;
  margin: 0;
  color: #f0f0f0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.6;
}

@media (max-width: 680px) {
  .evk-hero {
    min-height: 520px;
    padding-block: 56px;
    background-image: linear-gradient(90deg, rgb(9 12 17 / 82%), rgb(9 12 17 / 50%)), url('/images/home.jpg');
    background-position: center, 60% center;
  }
}
.evk-hero__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 12px 24px;
  border-radius: 6px;
  background: #ffbf00;
  color: #171b20;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease;
}

.evk-hero__call:hover,
.evk-hero__call:focus-visible {
  background: #ffdc59;
  color: #171b20;
  text-decoration: none;
}

.evk-hero__call:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
