:root {
  --page-pad: 1.25rem;
  --section-y: 2.5rem;
  /* ширина контентной колонки секций, выровненной по правому краю контейнера */
  --content-col: 1044px;
}

.section {
  background: var(--bg-base);
  padding-block: var(--section-y);
}
.section__inner {
  width: min(var(--container), 100% - 2 * var(--page-pad));
  margin-inline: auto;
}

.display-accent--watermark {
  font-style: italic;
  font-size: 2.5rem; /* 40px */
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow__rule {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.section-head__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  color: var(--text-body);
}

.block-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-body);
}

.liora-btn {
  --_bg: var(--ink); --_fg: var(--white); --_bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .85em;
  font-family: var(--font-sans); font-weight: var(--fw-semibold); letter-spacing: .14em;
  text-transform: uppercase; line-height: 1; white-space: nowrap; cursor: pointer;
  border-radius: 0; border: 1px solid var(--_bd);
  background: var(--_bg); color: var(--_fg);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.liora-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--focus-ring); }

.liora-btn--sm { font-size: 11px; padding: 14px 20px; }
.liora-btn--md { font-size: 12px; padding: 18px 24px; }
.liora-btn--lg { font-size: 13px; padding: 22px 28px; }

.liora-btn--primary { --_bg: var(--ink); --_fg: var(--white); --_bd: var(--ink); }
.liora-btn--primary:hover { --_bg: var(--accent-ink); --_bd: var(--accent-ink); }
.liora-btn--outline { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-strong); }
.liora-btn--outline:hover { --_bg: var(--ink); --_fg: var(--white); --_bd: var(--ink); }
.liora-btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: transparent; padding-inline: 0; letter-spacing: .16em; }
.liora-btn--ghost:hover { --_fg: var(--accent-ink); }
.liora-btn--light { --_bg: transparent; --_fg: var(--white); --_bd: var(--line-ondark); }
.liora-btn--light:hover { --_bg: var(--white); --_fg: var(--ink); --_bd: var(--white); }

.liora-btn__arrow {
  flex: none; line-height: 1;
  transition: transform var(--dur-base) var(--ease-out);
}
.liora-btn:hover .liora-btn__arrow { transform: translateX(3px); }

.brand { display: inline-flex; align-items: center; gap: var(--space-2); }
.brand__mark { width: 28px; height: 28px; flex: none; color: var(--accent); }
.brand__logo { display: block; height: 40px; width: auto; flex: none; }
.brand__logo--footer { height: 36px; }
.brand__name {
  font-family: var(--font-accent);
  font-weight: var(--fw-medium);
  font-size: var(--text-lg);
  letter-spacing: var(--ls-normal);
  line-height: 1;
}

.image-slot {
  background: var(--bg-panel);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  overflow: hidden;
}
.image-slot__label {
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  :root {
    --page-pad: 5rem;
    --section-y: 5rem;
  }

  .section__content {
    width: min(var(--content-col), 100%);
    margin-left: auto;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-7);
  }
  .section-head__title {
    max-width: var(--content-col);
    /* абзацный отступ первой строки заголовка из макета */
    text-indent: 2.5em;
  }

  .display-accent--watermark { font-size: clamp(4rem, 10.4vw, 9.375rem); }
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lightbox--open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  width: min(90vw, 1200px);
  height: min(85vh, 800px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22%3E%3Cline x1=%223%22 y1=%2210%22 x2=%2217%22 y2=%2210%22 stroke=%22%23F4F1EC%22 stroke-width=%221.5%22 stroke-linecap=%22round%22/%3E%3C/svg%3E') 10 10, zoom-out;
}
.lightbox__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-on-dark);
  font-size: 1.75rem;
  line-height: 44px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.lightbox__close:hover { opacity: 1; }
