/* Approved reference: 02 — Рамка с разрывом, 05.11.2026.
   The cutout is photographic; all framing and typography remain native CSS. */
.header-framed {
  min-height: 100px;
  border-bottom: 0;
  gap: 34px;
  z-index: 4;
}
.header-framed .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  color: #51635c;
}
.header-framed .wordmark::after {
  content: "";
  width: 72px;
  height: 2px;
  background: #9eb9ad;
}
.header-framed .header-link {
  margin-left: 0;
  color: #68756e;
  font-size: 15px;
}
.hero-framed {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 28px;
  min-height: 780px;
  padding-top: 38px;
  padding-bottom: 56px;
  align-items: start;
}
.hero-framed .hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 18px 30px;
  align-self: start;
}
.hero-framed .hero-question {
  font-size: clamp(42px, 4.7vw, 68px);
  margin-bottom: 22px;
}
.hero-framed .hero-offer {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.17;
}
.hero-framed .text-emphasis {
  position: relative;
  text-decoration: none;
  margin-bottom: 6px;
}
.hero-framed .text-emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: calc(100% + 70px);
  height: 2px;
  background: var(--forest);
}
.hero-framed .hero-description {
  margin-top: 34px;
  max-width: 565px;
  font-size: 22px;
}
.hero-framed .hero-action { margin-top: 36px; }
.hero-framed .hero-button { max-width: 560px; min-height: 62px; }
.hero-framed .hero-frame {
  position: absolute;
  z-index: 1;
  top: -46px;
  right: 3px;
  bottom: 24px;
  left: 43%;
  border-top: 1.5px solid var(--forest);
  border-right: 1.5px solid var(--forest);
  pointer-events: none;
}
.hero-framed .hero-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 1.5px;
  background: var(--forest);
}
.hero-framed .hero-photo {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: 5px;
  bottom: 26px;
  left: 49%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: transparent;
}
.hero-framed .hero-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(to right, transparent, #000 11%);
}
@media (min-width: 1101px) {
  .hero-framed .hero-copy { padding-top: 34px; }
  .hero-framed .hero-question { font-size: clamp(42px, 5.3vw, 76px); }
  .hero-framed .hero-offer { font-size: clamp(36px, 4.6vw, 66px); }
  .hero-framed .text-emphasis { font-size: 1.09em; }
  .hero-framed .hero-description { max-width: 605px; font-size: 25px; margin-top: 32px; }
  .hero-framed .hero-button { max-width: 600px; font-size: 22px; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .header-framed { min-height: 88px; gap: 24px; }
  .header-framed .wordmark { gap: 20px; }
  .header-framed .wordmark::after { width: 48px; }
  .hero-framed { min-height: 580px; padding-top: 28px; padding-bottom: 40px; }
  .hero-framed .hero-copy { padding-top: 10px; }
  .hero-framed .hero-question { font-size: clamp(32px, 4.2vw, 46px); margin-bottom: 18px; }
  .hero-framed .hero-offer { font-size: clamp(32px, 3.7vw, 42px); }
  .hero-framed .hero-photo { left: 52%; top: 2px; right: 5px; }
  .hero-framed .hero-frame { left: 49%; top: -20px; }
  .hero-framed .hero-description { font-size: 19px; margin-top: 27px; max-width: 400px; }
  .hero-framed .hero-action { margin-top: 28px; }
  .hero-framed .hero-button { font-size: 16px; padding-inline: 16px; min-height: 58px; }
  .hero-framed .text-emphasis::after { width: calc(100% + 40px); }
}
@media (max-width: 850px) and (min-width: 701px) {
  .header-framed .wordmark { font-size: 19px; gap: 16px; }
  .header-framed .wordmark::after { width: 42px; }
  .header-framed .header-link { font-size: 14px; margin-left: 0; }
  .hero-framed { min-height: 500px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .hero-framed .hero-question, .hero-framed .hero-offer { font-size: 32px; }
  .hero-framed .hero-description { font-size: 18px; }
}
@media (max-width: 700px) {
  .header-framed { min-height: 66px; gap: 16px; }
  .header-framed .wordmark { font-size: 18px; gap: 0; font-weight: 400; }
  .header-framed .wordmark::after { display: none; }
  .header-framed .menu-toggle span { background: #8ba79a; }
  .hero-framed {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 42px;
  }
  .hero-framed .hero-copy { padding: 0; }
  .hero-framed .hero-frame { display: none; }
  .hero-framed .hero-question { font-size: clamp(29px, 8.8vw, 37px); margin-bottom: 12px; }
  .hero-framed .hero-offer { font-size: clamp(27px, 8.1vw, 34px); line-height: 1.18; }
  .hero-framed .hero-offer .desktop-break { display: inline; }
  .hero-framed .text-emphasis { margin-bottom: 5px; }
  .hero-framed .text-emphasis::after { width: calc(100% + 48px); height: 1.5px; bottom: -2px; }
  .hero-framed .hero-description { font-size: 17px; line-height: 1.5; margin-top: 23px; max-width: 390px; }
  .hero-framed .hero-action { margin-top: 25px; }
  .hero-framed .hero-button { min-height: 64px; font-size: 17px; padding: 8px 30px; }
  .hero-framed .hero-photo { display: none; }
}
@media (max-width: 359px) {
  .header-framed .wordmark { font-size: 16px; }
  .hero-framed .hero-description { font-size: 16px; }
  .hero-framed .hero-button { font-size: 16px; padding-inline: 24px; }
}
