/* ==========================================================================
   Cup'D — внутренние страницы: «Про компанию», «Для арендодателей»,
   блог и страница статьи. Общие для них элементы — здесь же.
   ========================================================================== */

/* ------------------------------------------------------- Хлебные крошки -- */

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  line-height: 1.12;
  color: var(--c-grey-2);
}

.crumbs a { color: var(--c-white); }
.crumbs a:hover { color: var(--c-yellow); }
.crumbs span[aria-current] { color: var(--c-grey-2); }

/* Большая «призрачная» надпись внизу страницы */
.page-ghost {
  position: relative;
  display: block;
  width: 100%;
  margin-top: -40px;
  padding-bottom: 40px;
  font-size: clamp(32px, 5.2vw, 100px);
  text-align: center;
}

/* ============================================ Про компанию: первый экран == */

.ahero {
  position: relative;
  overflow: hidden;
  padding-block: 60px 120px;
}

/* Карта Европы подложкой справа сверху */
.ahero__map {
  position: absolute;
  right: -6%;
  top: -13%;
  width: 63.5%;
  height: auto;
  z-index: 0;
  opacity: 0.15;   /* в макете у заливки картинки прозрачность 15 % */
  pointer-events: none;
  user-select: none;
}

.ahero__inner { position: relative; z-index: 2; }

.ahero__title {
  margin-top: 74px;
  font-size: clamp(24px, 2.08vw, 40px);
}

.ahero__subtitle {
  margin: 14px 0 0 17%;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.08vw, 40px);
  font-weight: 800;
  letter-spacing: var(--display-tracking);
  line-height: 1.12;
  text-transform: uppercase;
}

.ahero__body { margin-left: 17%; }

.ahero__lead {
  max-width: 548px;
  margin-top: 60px;
  font-size: var(--fs-body);
  line-height: 1.12;
}

.astats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 46px;
  margin-top: 34px;
}

.astat { display: flex; flex-direction: column; gap: 8px; max-width: 200px; }

.astat__num {
  color: var(--c-yellow);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.87vw, 36px);
  font-weight: 800;
  letter-spacing: var(--display-tracking);
  line-height: 1.1;
}

.astat__label { font-size: var(--fs-small); line-height: 1.25; }

.ahero .btn { margin-top: 40px; }

/* ============================================ Про компанию: направления == */

.dirs { background: var(--c-bg); padding-block: 0 var(--section-gap); }

.dirs__title {
  margin-left: 17%;
  font-size: clamp(22px, 2.08vw, 40px);
}

.dirs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.dircard {
  padding: 30px;
  border: 1px solid var(--c-stroke-soft);
}

.dircard--accent { border-color: var(--c-yellow); }

.dircard__title {
  font-size: clamp(17px, 1.46vw, 28px);
  font-weight: 600;
  letter-spacing: var(--display-tracking);
  line-height: 1.16;
  text-transform: none;
}

.dircard--accent .dircard__title { color: var(--c-yellow); }

.dircard__text {
  margin-top: 16px;
  font-size: var(--fs-small);
  line-height: 1.4;
}

.srvlist { margin-top: 26px; }

.srv {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--f-display);
  font-size: var(--fs-cta);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.2;
  text-transform: uppercase;
}

.srv + .srv { border-top: 1px solid var(--c-stroke); }

.srv__icon {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--c-white);
  transition: color var(--dur-fast) var(--ease-out);
}

.srv__icon svg { width: 100%; height: 100%; }
.srv:hover .srv__icon { color: var(--c-yellow); }

/* ============================================ Про компанию: основатели === */

.founders {
  position: relative;
  background: var(--c-bg);
  padding-block: 0 var(--section-gap);
}

.founders__ghost {
  left: 1.3%;
  top: 8%;
  font-size: clamp(34px, 4.7vw, 90px);
  line-height: 1.12;
  text-align: left;
}

.founders__title {
  position: relative;
  z-index: 2;
  margin-left: 17%;
  font-size: clamp(22px, 2.08vw, 40px);
}

.founders__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 452px));
  gap: 20px;
  margin: 50px 0 0 17%;
}

.founder { margin: 0; }

.founder img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.founder:hover img { transform: scale(1.03); }

.founder figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.founder__role {
  font-family: var(--f-display);
  font-size: var(--fs-cta);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
}

.founder__name { font-size: var(--fs-small); line-height: 1.2; color: var(--c-grey); }

/* ================================================== Попап «В цену входит» */

.modal__box--wide { width: min(100%, 1240px); }

.pricegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pricecard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--c-stroke-soft);
}

.pricecard img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.pricecard figcaption {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
  line-height: 1.2;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ Адаптив --- */

@media (max-width: 1100px) {
  .pricegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ahero__map { width: 80%; opacity: 0.12; }
}

@media (max-width: 900px) {
  .ahero__title,
  .ahero__subtitle,
  .ahero__body,
  .dirs__title,
  .founders__title,
  .founders__grid { margin-left: 0; }

  .dirs__grid { grid-template-columns: 1fr; }
  .founders__ghost { display: none; }
  .pricegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ahero { padding-block: 24px 60px; }
  .ahero__title { margin-top: 34px; }
  .ahero__lead { margin-top: 26px; }
  .astats { gap: 20px 24px; }
  .astat { max-width: 45%; }
  .dircard { padding: 20px; }
  .srv__icon { width: 34px; height: 34px; }
  .srv { font-size: 12px; gap: 10px; }
  .founders__grid { grid-template-columns: 1fr; }
  .pricegrid { grid-template-columns: 1fr; }
  .pricecard img { height: 150px; }
  .crumbs { font-size: 12px; }
}
