/* V2 — Комбинирана: V3 hero + V1 everything else (copied from v1.css, edit freely) */
.wrap--narrow { max-width: 860px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; list-style: none; }
.topbar__list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 18px; height: 18px; color: var(--plum-light); }
.topbar a { color: var(--ink); }
.topbar__loc li + li::before { content: "·"; margin-right: 8px; color: var(--muted); }
@media (max-width: 900px) { .topbar__hours { display: none !important; } }
@media (max-width: 640px) { .topbar { display: none; } }

.bar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.hdr { position: relative; }
.bar__in { display: flex; align-items: center; gap: 20px; min-height: 84px; max-width: 1360px; }
.logo { display: inline-flex; flex: none; }
.bar .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__list { display: flex; list-style: none; white-space: nowrap; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-size: var(--fs-ui); border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--plum); text-decoration: underline; }
.nav__link[aria-current="page"] { color: var(--plum); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.nav__cta { margin-left: 8px; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; color: var(--plum); }

@media (max-width: 1300px) {
  .menu-btn { display: inline-flex; }
  .bar__in { min-height: 72px; }
  .bar .logo img { height: 44px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { width: 100%; min-height: 52px; font-size: var(--fs-m); border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 720px) { .bar .logo img { height: 40px; } }

/* ---------- dark header (as in V3) ---------- */
.hdr--dark .bar { background: var(--plum-dark); border-bottom-color: rgba(255,255,255,.08); }
.hdr--dark .nav__link { color: var(--on-dark-muted); }
.hdr--dark .nav__link:hover { color: var(--white); }
.hdr--dark .nav__link[aria-current="page"] { color: var(--white); text-decoration-color: var(--plum-light); }
.hdr--dark .menu-btn { color: var(--white); }
.hdr--dark .lang a { color: var(--white); }
@media (max-width: 1300px) {
  .hdr--dark .nav { background: var(--plum-dark); border-bottom-color: rgba(255,255,255,.08); }
  .hdr--dark .nav__link { border-bottom-color: rgba(255,255,255,.12); }
}

/* ---------- sections ---------- */
.sec { padding-block: var(--section); }
.sec--soft { background: var(--soft); }
.sec--tight { padding-block: clamp(48px, 6vw, 72px); }
.sec--top0 { padding-top: clamp(40px, 5vw, 64px); }
.sec--blank { min-height: 30vh; }
.sec__h { margin-bottom: 28px; }
.sec__h--c { text-align: center; }
.sec__intro { color: var(--muted); max-width: 52ch; }
.sec__more { margin-top: 28px; text-align: center; }

/* ---------- hero (from V3: split, plum fading into dark plum) ---------- */
:root { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
/* one background for the whole hero: plum fades into dark plum around the split (≈ 62%) */
.hero { display: grid; grid-template-columns: 66fr 34fr; min-height: min(78vh, 760px);
  background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 54%, var(--plum-dark) 80%, var(--plum-dark) 100%); }
.hero__left { color: var(--white); display: flex; align-items: center; padding: clamp(56px, 8vw, 112px) clamp(24px, 3vw, 48px) clamp(56px, 8vw, 112px) var(--edge); }
.hero__text { max-width: 820px; }
.hero__h1 { color: var(--white); font-size: clamp(2.125rem, 0.5rem + 3.2vw, 3.375rem); line-height: 1.12; text-wrap: balance; }
.hero__lead, .hero__under { max-width: 620px; }
.hero__lead { margin: 24px 0 36px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 500; color: var(--on-dark-muted); font-style: italic; }
.hero__under { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--plum-light); max-width: 54ch; color: var(--on-dark-muted); font-size: var(--fs-s); }
.hero__right { display: flex; align-items: center; justify-content: center; padding: 48px; }
.hero__mark { height: min(58%, 380px); width: auto; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0;
    background: linear-gradient(180deg, var(--plum-dark) 0, var(--plum-dark) 120px, var(--plum) 340px, var(--plum) 100%); }
  .hero__right { order: -1; padding: 32px; }
  .hero__mark { height: 140px; }
  .hero__left { padding-left: var(--gutter); }
}

/* ---------- why (cards) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
@media (max-width: 1024px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }
.why__item { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.sec:not(.sec--soft) .why__item { background: var(--soft); border-color: transparent; }
.why__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 50%; background: var(--soft); color: var(--plum); }
.sec:not(.sec--soft) .why__icon { background: var(--white); }
.why__icon .icon { width: 26px; height: 26px; }
.why__title { font-size: var(--fs-l); margin-bottom: 10px; }
.why__item p { color: var(--muted); font-size: var(--fs-s); }

/* ---------- „Зошто Литера?“ (V2 redesign, all rules scoped to .whyx) ---------- */
.whyx { background: var(--soft); padding-block: var(--section); }
.whyx__h { font-weight: 600; font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); margin-bottom: clamp(28px, 3.5vw, 48px); }
.whyx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; /* every card as tall as the tallest */ gap: clamp(16px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.whyx__card { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); padding: clamp(24px, 2.6vw, 36px); cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  transition: background-color .2s ease, border-color .2s ease; }
.whyx__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; background: #F3ECF1; color: var(--plum);
  transition: background-color .2s ease, color .2s ease; }
.whyx__icon .icon { width: 30px; height: 30px; }
.whyx__body { min-width: 0; }
.whyx__title { font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 8px; transition: color .2s ease; }
.whyx__text { margin: 0; font-size: var(--fs-s); line-height: 1.6; color: var(--ink); transition: color .2s ease; }

/* hover = the highlighted card in the mockup (plum card, white text, translucent icon tile) */
@media (hover: hover) {
  .whyx__card:hover { background: var(--plum); border-color: var(--plum); }
  .whyx__card:hover .whyx__icon { background: rgba(255, 255, 255, .16); color: var(--white); }
  .whyx__card:hover .whyx__title { color: var(--white); }
  .whyx__card:hover .whyx__text { color: var(--on-dark-muted); }
}

/* mobile: cards stacked, icon stays beside the text */
@media (max-width: 760px) {
  .whyx__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .whyx__card { border-radius: 14px; }
  .whyx__icon { width: 52px; height: 52px; border-radius: 12px; }
  .whyx__icon .icon { width: 26px; height: 26px; }
  .whyx__title { margin: 0 0 6px; }
}

/* ---------- „Најбарани документи“ (V2 redesign, all rules scoped to .docx) ---------- */
.docx { background: var(--white); padding-block: var(--section); }
.docx__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.docx__h { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 20px; }
.docx__lead { margin: 0 0 32px; max-width: 36ch; color: var(--muted); }
.docx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(16px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.docx__card { padding: clamp(22px, 2.2vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.docx__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.docx__icon { flex: none; display: inline-flex; color: var(--plum); }
.docx__icon .icon { width: 36px; height: 36px; }
.docx__title { font-size: clamp(1.0625rem, .98rem + .3vw, 1.1875rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.docx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.docx__list li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-s); line-height: 1.5; color: var(--ink); }
.docx__list .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--plum); stroke-width: 2; }
@media (max-width: 1024px) {
  .docx__in { grid-template-columns: 1fr; align-items: start; }
  .docx__lead { max-width: 60ch; }
}
@media (max-width: 640px) {
  .docx__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .docx__icon .icon { width: 34px; height: 34px; }
}

/* ---------- documents ---------- */
.docs-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .docs-split { grid-template-columns: 1fr; } }
.docs-split__intro .sec__intro { margin-bottom: 24px; }
.docs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; list-style: none; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .docs { grid-template-columns: 1fr; } }
.docs li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.docs .icon { color: var(--plum-light); margin-top: 2px; }

/* ---------- calculator strip ---------- */
.calcstrip { background: var(--plum); color: var(--white); padding-block: 40px; }
.calcstrip__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.calcstrip__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 1px solid var(--plum-light); border-radius: 50%; }
.calcstrip__icon .icon { width: 28px; height: 28px; }
.calcstrip__text { flex: 1 1 380px; margin: 0; font-size: var(--fs-l); }

/* ---------- steps (home) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: var(--plum-light); }
.steps__item { position: relative; text-align: center; }
.steps__num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--plum); color: var(--plum); font-size: 1.25rem; font-weight: 600; position: relative; }
.steps__title { font-size: var(--fs-l); margin-bottom: 10px; }
.steps__item p { color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; }
  .steps__num { margin: 0; }
}

/* ---------- business strip ---------- */
.biz { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.biz__icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--plum); flex: none; }
.biz__icon .icon { width: 34px; height: 34px; }
.biz__text { flex: 1 1 420px; }
.biz__text .sec__h { margin-bottom: 8px; }
.biz__text p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }

/* ---------- locations + form ---------- */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
@media (max-width: 760px) { .locs { grid-template-columns: 1fr; } }
.loc { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.loc__city { font-size: var(--fs-h3); }
.loc__rows { display: grid; gap: 10px; }
.loc__row { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-s); }
.loc__row .icon { color: var(--plum-light); width: 22px; height: 22px; margin-top: 1px; }
.loc .map-ph { min-height: 180px; }
.loc__more { margin: 0; }

.formcard { padding: clamp(24px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.formcard__head { margin-bottom: 28px; }
.formcard__head h2 { margin-bottom: 10px; }
.formcard__head p { color: var(--muted); }
.formcard--split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .formcard--split { grid-template-columns: 1fr; } }

/* ---------- inner page header ---------- */
.phead { background: var(--soft); padding-block: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.phead .crumbs { margin-bottom: 20px; color: var(--muted); }
.phead .crumbs a { color: var(--muted); }
.phead__h1 { max-width: 24ch; }
.phead__lead { margin-top: 16px; max-width: 62ch; font-size: var(--fs-l); color: var(--muted); }

/* ---------- CTA band ---------- */
.ctaband { background: var(--plum); color: var(--white); padding-block: 48px; }
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ctaband__text { flex: 1 1 420px; margin: 0; font-size: var(--fs-l); max-width: 46ch; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.cert { margin: 0; padding: 40px 32px; text-align: center; border: 1px solid var(--plum); border-radius: var(--radius); outline: 1px solid var(--plum-light); outline-offset: -10px; }
.cert__mark { height: 72px; width: auto; margin: 0 auto 24px; }
.cert__title { font-size: var(--fs-l); font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: 16px; }
.cert__num { font-size: var(--fs-m); font-weight: 600; color: var(--plum); margin-bottom: 4px; }
.cert__issuer { color: var(--muted); font-size: var(--fs-s); }
.about__note { display: flex; gap: 12px; margin-top: 24px; color: var(--muted); font-size: var(--fs-s); }
.about__note .icon { color: var(--plum-light); }
.mission p:first-child { font-size: var(--fs-l); line-height: 1.55; }
.mission p + p { padding-left: 16px; border-left: 2px solid var(--plum-light); color: var(--muted); }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: 20px; }
.svc-grid--big { grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
.svc-grid--small { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .svc-grid--big, .svc-grid--small { grid-template-columns: 1fr; } }
.svc { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); scroll-margin-top: 100px; }
.svc--big { background: var(--soft); border-color: transparent; }
.svc__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.svc__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--plum); flex: none; }
.svc:not(.svc--big) .svc__icon { background: var(--soft); margin-bottom: 18px; }
.svc__title { font-size: var(--fs-h3); }
.svc:not(.svc--big) .svc__title { margin-bottom: 10px; }
.svc__text { color: var(--muted); }
.svc__docs { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.svc__docs li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.svc__docs .icon { color: var(--plum-light); width: 20px; height: 20px; margin-top: 2px; }

/* ---------- prices ---------- */
.prices { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
.prices__rule { color: var(--muted); margin-bottom: 28px; }
.prices__side { padding: 28px; background: var(--soft); border-radius: var(--radius); }
.extras__block + .extras__block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.extras__h { font-size: var(--fs-l); margin-bottom: 10px; }
.extras ul { list-style: none; display: grid; gap: 8px; }
.extras li strong { color: var(--plum); }
.prices__closing { display: flex; gap: 10px; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.prices__closing .icon { color: var(--plum); }
.calc { scroll-margin-top: 100px; }
.calc__title { margin-bottom: 28px; }

/* ---------- how (timeline) ---------- */
.timeline { list-style: none; position: relative; }
.timeline__item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
.timeline__item:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.timeline__num { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--plum); color: var(--white); font-size: 1.5rem; font-weight: 600; }
.timeline__title { font-size: var(--fs-h3); margin: 14px 0 10px; }
.timeline__body p { color: var(--muted); }

/* ---------- location page ---------- */
.locpage { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
@media (max-width: 860px) { .locpage { grid-template-columns: 1fr; } }
.locd { margin: 0 0 32px; display: grid; gap: 20px; }
.locd div { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.locd dt { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 6px; }
.locd dt .icon { color: var(--plum-light); }
.locd dd { margin: 0 0 0 34px; color: var(--muted); }
.locpage .map-ph { min-height: 320px; }
.locpage .map { min-height: 320px; }
.locpage--nomap { grid-template-columns: minmax(0, 720px); }

/* ---------- 404 ---------- */
.phead--404 { padding-block: clamp(64px, 10vw, 128px); }
.phead--404 .btns { margin-top: 32px; }

/* ---------- footer ---------- */
.ftr { background: var(--plum-dark); color: var(--on-dark-muted); padding-top: 72px; font-size: var(--fs-ui); }
.ftr a { color: var(--white); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr .9fr 1.4fr 1fr; gap: 40px; }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr .logo img { height: 52px; width: auto; }
.ftr__tag { margin-top: 20px; font-size: var(--fs-s); font-weight: 500; color: var(--white); font-style: italic; }
.ftr__h { font-size: var(--fs-xs); font-weight: 600; color: var(--white); margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.ftr__h--sp { margin-top: 28px; }
.ftr__links { list-style: none; display: grid; gap: 2px; }
.ftr__link { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-muted) !important; text-decoration: none; }
.ftr__link:hover, .ftr__link[aria-current] { color: var(--white) !important; text-decoration: underline; }
.ftr__contact { list-style: none; display: grid; gap: 10px; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.ftr__contact a { overflow-wrap: normal; word-break: normal; }
.ftr__contact .icon { color: var(--plum-light); width: 20px; height: 20px; margin-top: 3px; }
.ftr__hours { color: var(--on-dark-muted); }
.ftr__base { font-size: var(--fs-xs); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.ftr__base p { margin: 0; }
