/* =========================================
   COMMUNITY / BREAKFAST / BLOCK 01 — HERO
========================================= */

.cb-hero {
  --cb-green: #0b5139;
  --cb-green-dark: #063c2c;
  --cb-text: #111111;
  --cb-muted: #6f756f;
  --cb-border: #e4e8e5;

  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);

  width: 100%;
  min-height: 760px;
  margin: 0;

  background: #ffffff;
  color: var(--cb-text);

  overflow: hidden;
  isolation: isolate;
  -webkit-text-size-adjust: 100%;
}

/* ШРИФТ SF НА APPLE, HELVETICA / ARIAL НА ДРУГИХ УСТРОЙСТВАХ */

.cb-hero,
.cb-hero * {
  box-sizing: border-box;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif !important;

  -webkit-font-smoothing: antialiased;
}

/* ЛЕВАЯ ЧАСТЬ */

.cb-hero .cb-hero__content {
  position: relative;
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  padding:
    76px
    clamp(28px, 4vw, 76px)
    70px
    clamp(28px, 5vw, 96px);
}

.cb-hero .cb-hero__eyebrow {
  margin: 0 0 28px;

  color: var(--cb-green);

  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.cb-hero .cb-hero__title {
  margin: 0;
  padding: 0;

  color: var(--cb-text);

  font-size: clamp(60px, 6.6vw, 124px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.cb-hero .cb-hero__title span {
  color: var(--cb-green);
}

.cb-hero .cb-hero__subtitle {
  max-width: 650px;
  margin: 34px 0 14px;
  padding: 0;

  color: var(--cb-text);

  font-size: clamp(25px, 2.1vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;

  text-wrap: balance;
}

.cb-hero .cb-hero__description {
  max-width: 590px;
  margin: 0;
  padding: 0;

  color: #515551;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* ДАТА, ВРЕМЯ И МЕСТО */

.cb-hero .cb-hero__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  width: 100%;
  margin-top: 36px;
  padding-top: 26px;

  border-top: 1px solid var(--cb-border);
}

.cb-hero .cb-hero__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  min-width: 0;
}

.cb-hero .cb-hero__info-item > div:last-child {
  min-width: 0;
}

.cb-hero .cb-hero__info-item--place {
  grid-column: 1 / -1;
}

.cb-hero .cb-hero__icon {
  flex: 0 0 28px;

  width: 28px;
  height: 28px;

  color: var(--cb-green);
}

.cb-hero .cb-hero__icon svg {
  display: block;

  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cb-hero .cb-hero__info-main {
  margin: 0 0 5px;

  color: var(--cb-text);

  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.cb-hero .cb-hero__info-small {
  color: var(--cb-muted);

  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* КНОПКА */

.cb-hero a.cb-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;

  width: fit-content;
  max-width: 100%;
  min-height: 56px;

  margin-top: 34px;
  padding: 16px 28px;

  border: 0;
  border-radius: 999px;

  background: var(--cb-green);
  color: #ffffff !important;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cb-hero .cb-hero__button span {
  flex-shrink: 0;

  color: inherit;
  font-size: 22px;
  line-height: 1;
}

@media (hover: hover) {
  .cb-hero a.cb-hero__button:hover {
    background: var(--cb-green-dark);
    transform: translateY(-2px);
  }
}

.cb-hero a.cb-hero__button:focus-visible {
  outline: 3px solid var(--cb-green);
  outline-offset: 5px;
}

.cb-hero .cb-hero__note {
  margin-top: 14px;

  color: var(--cb-muted);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/* ПРАВАЯ ЧАСТЬ — ФОТОГРАФИЯ */

.cb-hero .cb-hero__visual {
  position: relative;

  min-width: 0;
  min-height: 760px;

  background-color: #254b3e;

  /* ВСТАВЬ ПРЯМУЮ ССЫЛКУ НА ЗАГРУЖЕННОЕ ФОТО */
  background-image: url("ССЫЛКА_НА_ФОТО");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cb-hero .cb-hero__visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    180deg,
    rgba(4, 32, 23, 0.38) 0%,
    rgba(4, 32, 23, 0.08) 45%,
    rgba(4, 32, 23, 0.30) 100%
  );

  pointer-events: none;
}

/* НАДПИСИ ПОВЕРХ ФОТО */

.cb-hero .cb-hero__visual-text {
  position: absolute;
  top: 46px;
  right: 40px;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;

  color: #ffffff;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: right;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* СКРЫВАЕМ ПРЕЖНЮЮ КАРТОЧКУ С РОМБОМ */

.cb-hero .cb-hero__brand-card {
  display: none !important;
}

/* =========================================
   БОЛЬШИЕ ЭКРАНЫ
========================================= */

@media (min-width: 1600px) {
  .cb-hero .cb-hero__info {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 0.8fr)
      minmax(0, 1.4fr);

    gap: 20px;
  }

  .cb-hero .cb-hero__info-item--place {
    grid-column: auto;
  }
}

/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (min-width: 761px) and (max-width: 1100px) {
  .cb-hero {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    min-height: 700px;
  }

  .cb-hero .cb-hero__content {
    padding: 58px 30px;
  }

  .cb-hero .cb-hero__title {
    font-size: clamp(60px, 7.5vw, 82px);
  }

  .cb-hero .cb-hero__subtitle {
    font-size: 28px;
  }

  .cb-hero .cb-hero__description {
    font-size: 15px;
  }

  .cb-hero .cb-hero__visual {
    min-height: 700px;
  }

  .cb-hero .cb-hero__visual-text {
    top: 32px;
    right: 24px;
    font-size: 11px;
  }
}

/* =========================================
   ТЕЛЕФОНЫ
========================================= */

@media (max-width: 760px) {
  .cb-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .cb-hero .cb-hero__content {
    padding: 44px 22px 38px;
  }

  .cb-hero .cb-hero__eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .cb-hero .cb-hero__title {
    font-size: clamp(50px, 15.5vw, 88px);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .cb-hero .cb-hero__subtitle {
    max-width: 480px;
    margin: 28px 0 12px;

    font-size: 26px;
    line-height: 1.18;
  }

  .cb-hero .cb-hero__description {
    max-width: 540px;

    font-size: 15px;
    line-height: 1.55;
  }

  .cb-hero .cb-hero__info {
    gap: 24px 16px;
    margin-top: 28px;
    padding-top: 24px;
  }

  .cb-hero .cb-hero__info-item {
    gap: 10px;
  }

  .cb-hero .cb-hero__icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .cb-hero .cb-hero__info-main {
    font-size: 15px;
  }

  .cb-hero .cb-hero__info-small {
    font-size: 12px;
  }

  .cb-hero a.cb-hero__button {
    width: 100%;
    margin-top: 28px;
    padding: 16px 24px;
  }

  .cb-hero .cb-hero__visual {
    min-height: 0;
    height: clamp(300px, 80vw, 480px);
  }

  .cb-hero .cb-hero__visual-text {
    top: 26px;
    right: 24px;
    font-size: 11px;
  }
}

/* =========================================
   УЗКИЕ ЭКРАНЫ
========================================= */

@media (max-width: 380px) {
  .cb-hero .cb-hero__content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cb-hero .cb-hero__subtitle {
    font-size: 24px;
  }

  .cb-hero .cb-hero__info {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .cb-hero .cb-hero__info-item--place {
    grid-column: auto;
  }
}

/* УЧЁТ НАСТРОЕК АНИМАЦИИ */

@media (prefers-reduced-motion: reduce) {
  .cb-hero a.cb-hero__button {
    transition: none;
    transform: none;
  }
}