/* ============================================================
   Комплект: общите стилове на нашите елементи (само вътре в .pfx).
   Променливи (CSS на страницата може да ги смени):
     --max      ширина на съдържанието (1320px)
     --label    цвят на надзаглавията
     --muted    цвят на тихия текст
     --space    въздух между големите секции, --space-s между по-малките
   ============================================================ */

/* ---------- нулиране (Salient слага свои отстъпи на заглавия, абзаци и списъци) ---------- */
.pfx, .pfx *, .pfx *::before, .pfx *::after { box-sizing: border-box; }
.pfx :is(h1, h2, h3, h4, h5, h6) { margin: 0; padding: 0; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }
.pfx :is(p, figure, blockquote) { margin: 0; padding: 0; }
.pfx :is(ul, ol), .pfx :is(ul, ol) li { margin: 0; padding: 0; list-style: none; }
.pfx a, .pfx a:hover, .pfx a:focus { color: inherit; text-decoration: none; }
.pfx button { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; cursor: pointer; }
.pfx img, .pfx video, .pfx canvas, .pfx svg { display: block; max-width: 100%; }
.pfx img { height: auto; }

/* ---------- контейнер ---------- */
.pfx .wrap { width: min(100% - 2 * var(--pad, 24px), var(--max, 1320px)); margin-inline: auto; }
/* секция с въздух горе и долу (--space / --space-s от CSS на страницата, иначе като в прототипа) */
.pfx.section { position: relative; padding-block: var(--space, clamp(96px, 13vh, 180px)); }
.pfx.section-s { position: relative; padding-block: var(--space-s, clamp(64px, 9vh, 120px)); }

/* ---------- типография ---------- */
.pfx .label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--label, currentColor); }
.pfx .label::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.pfx .label.no-line::before { display: none; }
.pfx .wt-xl { font-size: clamp(40px, 6.2vw, 96px); line-height: 1.04; letter-spacing: -.04em; }
.pfx .wt-l { font-size: clamp(36px, 4.8vw, 74px); line-height: 1.04; letter-spacing: -.035em; }
.pfx .wt-m { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.pfx .lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }
.pfx .muted { color: var(--muted, #5C6166); }
.pfx .small { font-size: 14px; }
.pfx .thin { font-weight: 200; }
.pfx .light { font-weight: 300; }
.pfx .medium { font-weight: 500; }
.pfx .semi { font-weight: 600; }
.pfx .bold { font-weight: 800; }
.pfx .black { font-weight: 900; }
.pfx .it { font-style: italic; }

/* ---------- черта с диамант ---------- */
.pfx .diamond { display: inline-block; flex: none; width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.pfx .rule { display: flex; align-items: center; gap: 14px; color: var(--rule, currentColor); }
.pfx .rule::before, .pfx .rule::after { content: ''; width: 64px; height: 1px; background: var(--rule-line, currentColor); opacity: .5; }

/* ---------- бутони и връзки ---------- */
.pfx .btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; line-height: 1.2; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  background: var(--room, #2AC4EA); color: var(--room-ink, #0B2530);
  transition: transform .5s var(--ease-out), background-color .35s, color .35s, box-shadow .5s var(--ease-out);
}
.pfx .btn:hover { color: var(--room-ink, #0B2530); box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--room, #2AC4EA) 70%, transparent); }
.pfx .btn-ghost, .pfx .btn-ghost:hover { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.pfx .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 14px 40px -16px rgba(0, 0, 0, .25); }
.pfx .btn-ink, .pfx .btn-ink:hover { background: var(--ink, #16181B); color: #fff; }
.pfx .btn-white, .pfx .btn-white:hover { background: #fff; color: var(--ink, #16181B); }
.pfx .btn .arr { transition: transform .5s var(--ease-out); }
.pfx .btn:hover .arr { transform: translateX(4px); }
.pfx .link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font-weight: 700; }
.pfx .link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.pfx .link:hover::after { transform: scaleX(0); }
.pfx .link .arr { transition: transform .5s var(--ease-out); }
.pfx .link:hover .arr { transform: translateX(5px); }

/* ---------- снимки ---------- */
.pfx .img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- заглавие и текст един до друг ---------- */
.pfx .eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pfx .intro { max-width: 520px; }

/* ---------- мека дъга над или под секцията (plabo_fx_arc) ---------- */
.pfx .arc { position: absolute; left: 0; right: 0; z-index: 2; height: clamp(36px, 5.6vw, 96px); pointer-events: none; }
.pfx .arc svg { width: 100%; height: 100%; max-width: none; }
.pfx .arc.top { bottom: calc(100% - 1px); }
.pfx .arc.bottom { top: calc(100% - 1px); }

/* видимо само за екранните четци */
.pfx .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Salient слага отстъп под всяка снимка в ред (img { margin-bottom: 15px }); в нашите елементи го няма */
#ajax-content-wrap .pfx img { margin-bottom: 0; }
