/* ==========================================================================
   ЗАЕДНИЧКИ СТИЛ — го користат СИТЕ страни
   Бои, фонтови, мени, подножје, копчиња, наслови, анимации.
   Боите се на едно место (веднаш подолу). Смени ги таму и се менуваат насекаде.
   Само за почетната страна: pocetna.css. Само за другите страни: stranici.css.
   ========================================================================== */

/* ---------- Фонтови (во папката fontovi, за ништо да не се вчитува од Google) ---------- */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fontovi/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fontovi/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fontovi/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(fontovi/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Бои */
  --paper: #FAF7F2;      /* позадина на страната */
  --sand: #EFE5D6;       /* крем ленти */
  --white: #FFFFFF;      /* листови и табели */
  --ink: #10292B;        /* текст */
  --deep: #0F3D3E;       /* длабок тиркиз */
  --teal: #2E6F73;       /* тиркиз за линкови и детали */
  --orange: #B5541A;     /* само главното копче и стрелката на бројчаникот */
  --orange-d: #9A4513;
  --muted: #46595B;      /* споредна боја за текст */
  --line: rgba(16, 41, 43, .16);
  --line-soft: rgba(16, 41, 43, .09);

  /* Фонтови */
  --font-d: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-t: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Мерки */
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --top: 68px;
  --sec: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --peek: clamp(96px, calc((100vw - 1200px) / 2 - 12px), 230px);
}

/* ---------- Основа ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-t);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (min-width: 900px) { body { font-size: 1.0625rem; } }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--pad));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--deep); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Текст само за читачи на екран */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Типографија ---------- */

.h1 {
  font: 800 clamp(2.6rem, 6.2vw + .4rem, 5.25rem)/.98 var(--font-d);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.h2 {
  font: 800 clamp(1.9rem, 3.2vw + .6rem, 3.25rem)/1.06 var(--font-d);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h3 {
  font: 700 clamp(1.3rem, 1vw + 1rem, 1.6rem)/1.2 var(--font-d);
  letter-spacing: -.02em;
}
.lead { font-size: clamp(1.08rem, .5vw + 1rem, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--muted); }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: var(--line);
  transition: text-decoration-color .25s, color .25s;
}
.link:hover { color: var(--teal); text-decoration-color: currentColor; }

/* Местата што треба да ги пополниш се означени вака, за лесно да ги најдеш */
.ph {
  padding: 1px 6px; border-radius: 4px;
  background: rgba(181, 84, 26, .1);
  outline: 1px dashed rgba(181, 84, 26, .6);
  font-size: .92em; white-space: nowrap;
}
.cta .ph { background: rgba(255, 255, 255, .1); outline-color: rgba(255, 255, 255, .55); }

/* ---------- Копчиња ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-t); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--go { background: var(--orange); color: #fff; }
.btn--go:hover { background: var(--orange-d); }
.btn--ink { background: var(--deep); color: #fff; }
.btn--ink:hover { background: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- Појавување на наслови (само кога има JavaScript) ---------- */

.rise { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.rise > span { display: block; }
.js .rise > span { transform: translateY(108%); transition: transform 1s var(--ease); }
.js .rise.is-in > span { transform: none; }

/* ---------- Бројчаник во позадина (само на широк екран) ---------- */

.dial {
  position: fixed; z-index: 1; top: 50%; right: calc(var(--peek) - 1120px);
  width: 1200px; height: 1200px; max-width: none; margin-top: -600px;
  color: rgba(16, 41, 43, .3);
  pointer-events: none; display: none; will-change: transform;
}
.dial-mark {
  position: fixed; z-index: 1; top: 50%; right: calc(var(--peek) - 50px);
  width: 50px; height: 3px; margin-top: -1.5px; border-radius: 3px;
  background: var(--orange); pointer-events: none; display: none;
}
@media (min-width: 1400px) { .dial, .dial-mark { display: block; } }

/* Тенка линија за напредок на врвот (кога бројчаникот не се гледа) */
.pbar {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--teal); transform-origin: 0 50%; transform: scaleX(0);
}
@media (min-width: 1400px) { .pbar { display: none; } }

/* ---------- Мени ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.is-stuck { border-bottom-color: var(--line-soft); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--top); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 1.3rem/1 var(--font-d); letter-spacing: -.03em;
}
.brand svg { width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav__a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; font-size: .98rem; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease), color .25s;
}
.nav__a:hover { color: var(--teal); background-size: 100% 1.5px; }

.burger {
  display: none; width: 46px; height: 46px; padding: 0; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); margin-inline: auto; transition: transform .3s var(--ease), opacity .2s;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 819px) {
  .js .burger { display: block; }
  .js .nav {
    position: absolute; top: 100%; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad));
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--pad) 22px; background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .js .nav.is-open { display: flex; }
  .js .nav .nav__a { min-height: 54px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); background: none; }
  .js .nav .btn { margin-top: 18px; min-height: 54px; font-size: 1rem; }
  html:not(.js) .top__in { height: auto; padding-block: 12px; flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 4px 18px; }
}

/* ---------- Херо ---------- */

.hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.hero__text { display: grid; gap: clamp(22px, 2.6vw, 32px); justify-items: start; }
.h1 .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.h1 .ln > span { display: block; }
.hero__for { font-size: .98rem; color: var(--muted); max-width: 30em; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Лист со дневник */
.sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 44px 70px -52px rgba(16, 41, 43, .5); overflow: hidden;
}
.sheet__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.sheet__title { font: 800 1.15rem/1.2 var(--font-d); letter-spacing: -.02em; }
.sheet__note { font-size: .86rem; color: var(--muted); }
.log__row {
  display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 2px 8px;
  padding: 14px 22px; border-top: 1px solid var(--line-soft);
}
.log__row:first-child { border-top: 0; }
.log__t { font: 700 1rem/1.5 var(--font-d); color: var(--teal); font-variant-numeric: tabular-nums; }
.log__what { font-size: .97rem; line-height: 1.45; }
.by {
  grid-column: 2; display: inline-flex; align-items: center; gap: 7px;
  font-size: .84rem; color: var(--muted);
}
.by::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.by--auto::before { background: transparent; box-shadow: inset 0 0 0 2px var(--teal); }

/* Низа при вчитување (само кога има JavaScript) */
.js .hero .ln > span { transform: translateY(110%); }
.js .hero [data-fade] { opacity: 0; transform: translateY(14px); }
.js .hero .log__row { opacity: 0; clip-path: inset(0 100% 0 0); }
.js .hero.is-in .ln > span {
  transform: none; transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms);
}
.js .hero.is-in [data-fade] {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .9s var(--ease);
  transition-delay: calc(300ms + var(--i, 0) * 90ms);
}
.js .hero.is-in .log__row {
  opacity: 1; clip-path: inset(0 0 0 0);
  transition: clip-path .8s var(--ease), opacity .3s ease;
  transition-delay: calc(750ms + var(--i, 0) * 360ms);
}

/* ---------- Услуги ---------- */

.sec { padding-block: var(--sec); scroll-margin-top: var(--top); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 46rem; }

.svc__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.svc-main {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 3.4vw, 46px); display: grid; gap: clamp(20px, 2.4vw, 30px);
}
.svc-main__list { border-top: 1px solid var(--line); }
.svc-main__row {
  display: grid; grid-template-columns: minmax(0, 11.5rem) minmax(0, 1fr); gap: 4px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.svc-main__row dt { font: 700 1.05rem/1.4 var(--font-d); letter-spacing: -.01em; }
.svc-main__row dd { color: var(--muted); font-size: .98rem; }
.svc-main__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.from__n { font: 800 clamp(1.7rem, 2.4vw, 2.2rem)/1 var(--font-d); letter-spacing: -.035em; }
.from__t { font-size: .92rem; color: var(--muted); }

.svc-side { display: grid; gap: clamp(28px, 3.4vw, 44px); }
.svc-side__item { display: grid; gap: 12px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.svc-side__item p { color: var(--muted); }

.custom {
  margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: end;
}
.custom__q { font: 800 clamp(1.6rem, 3.2vw, 2.75rem)/1.08 var(--font-d); letter-spacing: -.035em; margin-top: 10px; text-wrap: balance; }

@media (max-width: 899px) {
  .svc__grid { grid-template-columns: minmax(0, 1fr); }
  .custom { grid-template-columns: minmax(0, 1fr); align-items: start; justify-items: start; }
}
@media (max-width: 559px) {
  .svc-main__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Демо ---------- */

.demo { background: var(--sand); }
.demo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.demo__text { display: grid; gap: clamp(18px, 2.2vw, 26px); justify-items: start; }
.demo__fine { margin-top: 12px; font-size: .86rem; color: var(--muted); }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: .42em; width: 13px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

.ui {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.pane { display: flex; flex-direction: column; min-width: 0; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane__head { display: grid; gap: 1px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.pane__who { font-size: .82rem; color: var(--muted); }
.pane__name { font: 700 1rem/1.3 var(--font-d); letter-spacing: -.01em; }

.chat {
  flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px;
  min-height: 304px; background: #F6F2EA;
}
.msg {
  align-self: flex-start; max-width: 88%; padding: 10px 14px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 14px 14px 14px 4px;
  font-size: .94rem; line-height: 1.45;
}
.msg--me { align-self: flex-end; background: var(--deep); border-color: var(--deep); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg--ok { background: #E1EEEB; border-color: #A9CFC6; color: #0C3A33; }
.msg--dots { display: inline-flex; gap: 5px; padding: 14px; }
.msg--dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s ease-in-out infinite; }
.msg--dots i:nth-child(2) { animation-delay: .15s; }
.msg--dots i:nth-child(3) { animation-delay: .3s; }
.msg.is-new { animation: pop .4s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.chat__reply {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  min-height: 70px; padding: 12px 14px; border-top: 1px solid var(--line-soft);
}
.chat__hint { font-size: .86rem; color: var(--muted); }
.chip-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--deep);
  background: var(--white); color: var(--deep); font: 600 .94rem/1 var(--font-t); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chip-btn:hover { background: var(--deep); color: #fff; }
.chip-btn--quiet { border-color: var(--line); color: var(--ink); }
.chip-btn--quiet:hover { background: var(--ink); border-color: var(--ink); }

.sched { flex: 1; }
.sched li {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 18px; border-bottom: 1px solid var(--line-soft); font-size: .94rem;
}
.sched time { font: 700 .92rem/1 var(--font-d); font-variant-numeric: tabular-nums; }
.free { justify-self: start; padding: 2px 11px; border: 1px dashed rgba(16, 41, 43, .35); border-radius: 999px; color: var(--muted); font-size: .86rem; }
.newp { display: grid; gap: 3px; justify-items: start; }
.newp strong { font-weight: 600; }
.newp span { padding: 1px 9px; border-radius: 999px; background: #E1EEEB; color: #0C3A33; font-size: .8rem; font-weight: 500; }
.sched li.is-new .newp { animation: pop .5s var(--ease) both; }
.sched__note { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: .86rem; color: #0C3A33; background: #F0F7F5; }
.sched__note[hidden] { display: none; }
.sched__note svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 999px) {
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .ui { grid-template-columns: minmax(0, 1fr); }
  .pane + .pane { border-left: 0; border-top: 1px solid var(--line); }
  .chat { min-height: 280px; }
}

/* ---------- Цени ---------- */

.tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.tier { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); }
.tier + .tier { border-left: 1px solid var(--line); }
.tier--rec { background: var(--sand); }
.tier__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 30px; }
.tier__rec { padding: 3px 12px; border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 600; color: var(--deep); }
.tier__price { font: 800 clamp(2.2rem, 3.4vw, 3rem)/1 var(--font-d); letter-spacing: -.045em; }
.tier__per { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.tier .ticks { flex: 1; align-content: start; font-size: .98rem; }
.tier .btn { align-self: stretch; }
.price__note { margin-top: 22px; color: var(--muted); font-size: .98rem; }

@media (max-width: 899px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Како работиме ---------- */

.how { padding-top: 0; }
.how__line { position: relative; height: 2px; background: var(--line); margin-bottom: clamp(24px, 3vw, 36px); }
.how__line span { position: absolute; inset: 0; background: var(--deep); transform-origin: 0 50%; }
.how__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.how__steps li { display: grid; gap: 10px; align-content: start; }
.how__n { font: 800 2.4rem/1 var(--font-d); letter-spacing: -.04em; color: var(--teal); }
.how__steps p { color: var(--muted); }

@media (max-width: 899px) { .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .how__steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Чести прашања ---------- */

.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 700 clamp(1.05rem, .5vw + 1rem, 1.2rem)/1.35 var(--font-d); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 16px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 2px 16px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 40em; }

@media (max-width: 899px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Завршен повик ---------- */

.cta { position: relative; z-index: 2; background: var(--deep); color: #fff; padding-block: clamp(64px, 9vw, 128px); scroll-margin-top: var(--top); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.cta .h2 { font-size: clamp(2.1rem, 4.4vw + .4rem, 4.25rem); line-height: 1.02; }
.cta__side { display: grid; gap: 22px; justify-items: start; }
.cta__side p { color: #C7DAD8; }
.cta__contact { display: grid; gap: 6px; font-size: .96rem; color: #C7DAD8; }
.cta__alt { margin-top: -8px; }
.cta .link { text-decoration-color: rgba(255, 255, 255, .4); }
.cta .link:hover { color: #fff; }
.cta :focus-visible { outline-color: #fff; }

@media (max-width: 899px) { .cta__grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- Подножје ---------- */

.foot { padding-block: clamp(36px, 5vw, 56px); }
.foot__in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; }
.foot__about { display: grid; gap: 10px; max-width: 22rem; }
.foot__about p { color: var(--muted); font-size: .95rem; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 30px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .96rem; text-decoration: none; }
.foot__nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 5px; }
.foot__base {
  margin-top: clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .88rem; color: var(--muted);
}

/* Означена тековна страна во менито и подножјето */
.nav__a[aria-current="page"] { background-size: 100% 1.5px; font-weight: 600; }
.foot__nav a[aria-current="page"] { font-weight: 600; }

/* ---------- Појавување на блокови при скролање (само кога има JavaScript) ---------- */

.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- Намалено движење ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
}

/* ---------- Копче за јазик (MK / EN) во менито ---------- */
.top__in .nav { margin-left: auto; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font: 600 .82rem/1 var(--font-t); letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
  transition: border-color .25s, color .25s;
}
.lang:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 819px) {
  .js .top__in .lang { margin-left: auto; margin-right: -10px; }
}
/* Англиската верзија: „Custom quote“ наместо цена */
.tier__price--q { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.03em; }

/* ---------- Телефон: дотерување ---------- */
@media (max-width: 819px) {
  /* MK/EN копчето доволно големо за прст */
  .lang { min-height: 44px; min-width: 48px; }
}
@media (max-width: 599px) {
  /* Демо разговорот без празен простор на почеток */
  .chat { min-height: 150px; }
  /* Подножје: уредно во редови од по 3 */
  .foot__nav { display: grid; grid-template-columns: repeat(3, max-content); column-gap: 28px; row-gap: 0; }
}
@media (max-width: 400px) {
  /* Копчињата да не се кршат во два реда на мали телефони */
  .btn { padding: 0 20px; font-size: .95rem; gap: 8px; }
}
@media (max-width: 599px) {
  /* Главно копче и линк под него: две копчиња со иста ширина, едно под друго */
  .actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; justify-self: stretch; align-self: stretch; }
  .actions > .btn { width: 100%; }
  .actions > .link {
    display: flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px;
    text-decoration: none; text-align: center;
  }
  .actions > .link:hover { background: var(--ink); color: #fff; }
}

/* ---------- Копче „Назад на врвот“ ---------- */
.gore {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 8px 22px rgba(16,41,43,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background-color .2s;
}
.gore.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s, background-color .2s; }
.gore:hover { background: var(--teal); }
.gore:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 599px) {
  .gore { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .gore, .gore.is-on { transition: none; } }
@media print { .gore { display: none; } }
