/* Наши стили поверх styles.css его сайта (v3, 09.11.2026).
   Из его сайта оставлены: красный, Bebas Neue, красная сеть, красные кнопки, заливка карточек при наведении.
   Своё: светлая шапка с одним знаком, фото во всю высоту экрана, свои карточки и раскладка второго экрана. */

@font-face{font-family:"Bebas Neue";src:url(fonts/BebasNeue-Regular.otf);font-weight:400}
@font-face{font-family:"Bebas Neue";src:url(fonts/BebasNeue-Bold.otf);font-weight:700}

:root { --red: #E31E25; }

/* его кастомный курсор не берём */
.fx-cursor { display: none !important; }
html, body, a, button { cursor: auto; }
a, button { cursor: pointer; }

/* ---------- шапка ---------- */
.site-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 0;
  box-shadow: inset 0 -3px 0 var(--red);
}
.site-header__inner { justify-content: space-between; padding-top: 14px; padding-bottom: 17px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand__mark { width: 46px; height: 46px; display: block; }
.brand__name { font-family: 'Bebas Neue', sans-serif; font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: .02em; }
.brand__name span { color: var(--red); }
.site-header__cta {
  border-radius: 4px;
  padding: 13px 22px 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .06em;
}
.site-header__cta::after { content: " →"; }

/* ---------- первый экран ---------- */
.hero {
  padding: 0;
  background: #fff;
  min-height: min(calc(100vh - 80px), 760px);
  display: flex;
  align-items: stretch;
}
.hero__canvas {
  top: auto;
  bottom: -30%;
  left: -18%;
  right: auto;
  width: 70%;
  height: 120%;
  opacity: .13;
}
.hero__inner {
  position: static;
  display: block;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 72px;
  align-self: center;
}
.hero__text { position: relative; z-index: 2; max-width: 600px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Bebas Neue', sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: .14em; color: var(--ink);
  margin-bottom: 6px;
}
.eyebrow::before { content: ""; width: 48px; height: 3px; background: var(--red); }
.hero__title.ty {
  font-family: 'Bebas Neue', sans-serif; font-weight: 700;
  font-size: clamp(80px, 9.6vw, 140px);
  line-height: .86; color: var(--red);
  margin: 0 0 10px; white-space: nowrap;
  word-break: normal; overflow-wrap: normal;
}
.hero__subtitle.ty-sub {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(28px, 2.9vw, 42px); line-height: 1.05;
  text-transform: uppercase; color: var(--ink);
  margin: 0 0 28px; max-width: none;
}
.hero__desc { max-width: 500px; }
.hero .btn--primary { border-radius: 4px; padding-left: 34px; padding-right: 34px; }
.hero .btn--primary::after { content: " →"; }

/* фото во всю высоту экрана, прижато к правому краю, без рамки */
.hero__photo {
  position: absolute; z-index: 1;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  margin: 0;
  align-self: stretch; justify-self: stretch;
}
.hero__photo img.portrait {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 62% 18%;
  border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%);
  mask-image: linear-gradient(to right, transparent 0, #000 26%);
}

/* ---------- второй экран ---------- */
.audience { background: #F4F4F4; }
.audience .section-title {
  text-align: left;
  margin-bottom: 44px;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .95;
}
.audience .section-title::after {
  content: ""; display: block; width: 72px; height: 4px;
  background: var(--red); margin-top: 18px;
}
.cards--3 { grid-template-columns: 1.35fr 1fr 1fr; gap: 0; }
.audience .card {
  background: #fff;
  border: 0; border-radius: 0;
  border-top: 4px solid var(--red);
  border-right: 1px solid var(--border);
  padding: 30px 28px 34px;
}
.audience .card:last-child { border-right: 0; }
.audience .card:hover { background: var(--red); color: #fff; border-top-color: var(--ink); }
.audience .card__num {
  font-weight: 700;
  font-size: 84px; line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  margin-bottom: 22px;
}
.audience .card:hover .card__num { color: transparent; -webkit-text-stroke-color: #fff; }
.audience .card p { font-size: 16px; line-height: 1.55; }

/* ---------- телефон ---------- */
@media (max-width: 900px) {
  .site-header__inner { padding-top: 10px; padding-bottom: 13px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 24px; }
  .site-header__cta { font-size: 15px; padding: 10px 14px 9px; }
  .site-header__cta::after { content: ""; }

  .hero { min-height: 0; display: block; }
  .hero__inner { display: flex; flex-direction: column; padding-top: 34px; padding-bottom: 48px; }
  .hero__text { display: contents; }
  .eyebrow { order: 1; font-size: 18px; }
  .hero__title.ty { order: 2; font-size: clamp(64px, 21vw, 96px); }
  .hero__subtitle.ty-sub { order: 3; font-size: 26px; margin-bottom: 20px; }
  .hero__photo {
    order: 4; position: relative; top: auto; right: auto; bottom: auto;
    width: calc(100% + 48px); margin: 0 -24px 22px;
    height: 96vw; max-height: 520px;
  }
  .hero__photo img.portrait {
    object-position: 60% 15%;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  }
  .hero__desc { order: 5; }
  .hero .btn--primary { order: 6; align-self: flex-start; }
  .hero__canvas { width: 140%; left: -40%; bottom: -10%; height: 70%; }

  .cards--3 { grid-template-columns: 1fr; gap: 16px; }
  .audience .card { border-right: 0; }
  .audience .card__num { font-size: 64px; }
}

/* телефон: первый экран по левому краю (у него по центру) */
@media (max-width: 900px) {
  .hero__inner { text-align: left; align-items: flex-start; }
  .eyebrow { justify-content: flex-start; }
  .hero__desc { margin-left: 0; margin-right: 0; }
}
