/* ==========================================================================
   ПОЧЕТНА СТРАНА — само она што го има единствено почетната страна
   (сцената „Еден работен ден“). Сè друго е во zaednicko.css.
   ========================================================================== */

/* ---------- Еден работен ден ---------- */

.day { background: var(--sand); scroll-margin-top: var(--top); }
.day__stage { position: relative; z-index: 2; padding-block: var(--sec); }
.day__in { display: grid; gap: clamp(28px, 4vw, 44px); }
.day__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.day__lead { margin-top: 12px; color: var(--muted); max-width: 30em; }
.day__clock, .board__cols, .rail, .ev.ev--keep { display: none; }

/* Основен изглед: листа (телефон, таблет, или без анимации) */
.ev {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 4px 14px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.ev:last-child { border-bottom: 1px solid var(--line); }
.ev__time { font: 700 1rem/1.6 var(--font-d); color: var(--deep); font-variant-numeric: tabular-nums; }
.ev__chip { display: block; }
.ev__problem {
  display: block; color: var(--muted);
  text-decoration: line-through; text-decoration-color: transparent;
  transition: text-decoration-color .5s ease .1s;
}
.ev__sol {
  display: block; margin-top: 10px; padding: 13px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  font-weight: 500;
}
.ev__tag { display: block; margin-top: 2px; font-size: .84rem; font-weight: 400; color: var(--teal); }
.day__end { font: 700 clamp(1.15rem, 1vw + 1rem, 1.45rem)/1.35 var(--font-d); letter-spacing: -.015em; max-width: 30em; }

.js .day:not(.is-pin) .ev__sol { opacity: 0; transform: translateY(12px); transition: opacity .6s ease .15s, transform .7s var(--ease) .15s; }
.js .day:not(.is-pin) .ev.is-done .ev__sol { opacity: 1; transform: none; }
.js .day:not(.is-pin) .ev.is-done .ev__problem { text-decoration-color: currentColor; }

/* Закочена сцена: само на поширок екран, ја вклучува JavaScript (класа is-pin) */
.day.is-pin { height: 420vh; }
.day.is-pin .day__stage {
  position: sticky; top: var(--top); height: calc(100vh - var(--top));
  padding-block: 0; display: flex; align-items: center;
}
.day.is-pin .day__in {
  --tc: 76px; --gap: clamp(18px, 2.6vw, 44px);
  --cols: 58px 18px minmax(0, 1fr) var(--gap) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto; align-content: center;
  gap: clamp(12px, 2.4vh, 26px);
  padding-block: clamp(12px, 2.6vh, 32px);
}
.day.is-pin .h2 { font-size: clamp(1.7rem, 5.2vh, 3rem); }
.day.is-pin .day__lead { margin-top: 6px; font-size: clamp(.92rem, 2.3vh, 1.06rem); }
.day.is-pin .day__clock {
  display: block; font: 800 clamp(3rem, 12vh, 7.25rem)/.9 var(--font-d);
  letter-spacing: -.05em; color: var(--deep); font-variant-numeric: tabular-nums;
  min-width: 2.9em; text-align: right;
}
.day.is-pin .board { display: grid; gap: clamp(6px, 1.1vh, 12px); }
.day.is-pin .board__cols {
  display: grid; grid-template-columns: var(--cols);
  font: 700 .95rem/1.3 var(--font-d); color: var(--muted);
}
.day.is-pin .board__cols span:first-child { grid-column: 3; }
.day.is-pin .board__cols span:last-child { grid-column: 5; }
.day.is-pin .board__rows { display: grid; gap: clamp(5px, 1.1vh, 12px); }
.day.is-pin .ev, .day.is-pin .ev--keep {
  display: grid; grid-template-columns: var(--cols); gap: 0;
  padding: 0; border: 0; position: relative;
}
.day.is-pin .ev__time {
  grid-column: 1; grid-row: 1; align-self: center; font-size: .95rem; line-height: 1.2;
  color: var(--muted); font-weight: 600; transition: color .4s;
}
.day.is-pin .ev.is-done .ev__time { color: var(--deep); font-weight: 800; }
.day.is-pin .ev::after {
  content: ""; grid-column: 3; grid-row: 1; border: 1.5px dashed rgba(16, 41, 43, .24);
  border-radius: 12px; opacity: 0; transition: opacity .4s ease .25s;
}
/* празни места на страната на AI, каде што ќе слетаат задачите */
.day.is-pin .ev[data-i]::before {
  content: ""; grid-column: 5; grid-row: 1; border: 1.5px dashed rgba(16, 41, 43, .16);
  border-radius: 12px;
}
.day.is-pin .ev.is-done::after { opacity: 1; }
.day.is-pin .ev__chip {
  grid-column: 3; grid-row: 1; position: relative; z-index: 1;
  display: grid; align-items: center;
  min-height: clamp(38px, 6.4vh, 62px); padding: 5px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  font-size: clamp(.9rem, 2.3vh, 1rem); line-height: 1.3;
  transition: transform .85s var(--ease), background-color .5s ease, color .5s ease, border-color .5s ease;
}
.day.is-pin .ev__problem, .day.is-pin .ev__sol {
  grid-area: 1 / 1; margin: 0; padding: 0; border: 0; background: none; border-radius: 0;
  color: inherit; text-decoration: none; transform: none;
  transition: opacity .35s ease;
}
.day.is-pin .ev__sol {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 14px;
  opacity: 0; font-weight: 500;
}
.day.is-pin .ev__tag { margin: 0; color: #A9CFCB; font-size: .82rem; }
.day.is-pin .ev.is-done .ev__chip {
  transform: translateX(calc(100% + var(--gap)));
  background: var(--deep); border-color: var(--deep); color: #fff;
}
.day.is-pin .ev.is-done .ev__problem { opacity: 0; }
.day.is-pin .ev.is-done .ev__sol { opacity: 1; transition-delay: .3s; }
.day.is-pin .ev--keep .ev__chip { border: 1.5px solid var(--deep); font-weight: 600; }
.day.is-pin .day__end {
  margin-left: var(--tc); max-width: none; font-size: clamp(1rem, 2.6vh, 1.3rem);
  opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease);
}
.day.is-pin.is-end .day__end { opacity: 1; transform: none; }

.day.is-pin .rail {
  display: block; position: relative; height: 34px; margin-left: var(--tc);
  border-top: 1px solid rgba(16, 41, 43, .3);
}
.rail__fill {
  position: absolute; top: -1.5px; left: 0; width: 100%; height: 2px; background: var(--deep);
  transform-origin: 0 50%; transform: scaleX(var(--tp, 0));
}
.rail__now {
  position: absolute; top: -6px; left: calc(var(--tp, 0) * 100%); width: 11px; height: 11px;
  margin-left: -5.5px; border-radius: 50%; background: var(--orange);
}
.rail__hours {
  display: flex; justify-content: space-between; padding-top: 10px; margin-inline: -1ch;
  font: 600 .8rem/1 var(--font-d); color: var(--muted); font-variant-numeric: tabular-nums;
}

/* На телефон (кога сцената не е закочена) ги покажуваме само првите три настани */
.day:not(.is-pin) .ev[data-i="3"], .day:not(.is-pin) .ev[data-i="4"] { display: none; }

/* ==========================================================================
   НОВА ПОЧЕТНА (ноември 2026): асистент во херото, дејности, процес
   ========================================================================== */

/* ---------- Херо ---------- */
.hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.h1 .ln--o { color: var(--orange); }
.fakti { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.fakti div { padding-right: clamp(18px, 2.4vw, 30px); margin-right: clamp(18px, 2.4vw, 30px); border-right: 1px solid var(--line); }
.fakti div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fakti dt { font: 800 1.3rem/1.2 var(--font-d); letter-spacing: -.02em; }
.fakti dd { margin: 0; font-size: .9rem; color: var(--muted); }

/* Асистентот (прво се гледа преглед, вистинскиот разговор се вчитува на клик) */
.bot {
  display: flex; flex-direction: column; height: 520px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 44px 70px -52px rgba(16, 41, 43, .5);
}
.bot__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--deep); color: #fff; }
.bot__logo { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; }
.bot__logo svg { width: 24px; height: 24px; }
.bot__ime { display: grid; gap: 2px; line-height: 1.2; }
.bot__ime strong { font: 700 1.02rem/1.2 var(--font-d); }
.bot__ime span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: #C7DAD8; }
.bot__ime span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7FD1B0; }
.bot__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; background: #F6F2EA; overflow: hidden; }
.bot__body .msg { max-width: 92%; font-size: .97rem; }
.bot__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bot__chips .chip-btn { border-color: rgba(46, 111, 115, .5); color: var(--teal); font-size: .9rem; }
.bot__chips .chip-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.bot__input {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 14px 14px; min-height: 54px; padding: 0 6px 0 16px;
  border: 1.5px solid rgba(16, 41, 43, .2); border-radius: 14px; background: var(--white);
  color: var(--muted); font: 400 1rem/1 var(--font-t); text-align: left; cursor: text;
  transition: border-color .25s;
}
.bot__input:hover { border-color: var(--orange); }
.bot__send { width: 42px; height: 42px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.bot__send svg { width: 18px; height: 18px; }
.bot__frame { flex: 1; width: 100%; border: 0; display: block; background: var(--white); }
.bot__load { flex: 1; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-size: .95rem; background: #F6F2EA; }
.bot.is-live .bot__head { display: none; }
.bot__note { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.bot.is-flash { animation: botflash 1.2s var(--ease); }
@keyframes botflash { 0%, 100% { box-shadow: 0 44px 70px -52px rgba(16, 41, 43, .5); } 30% { box-shadow: 0 0 0 4px rgba(181, 84, 26, .35), 0 44px 70px -52px rgba(16, 41, 43, .5); } }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .bot { height: 520px; }
}
@media (max-width: 599px) {
  .bot { height: 500px; border-radius: 18px; }
  .fakti { justify-content: space-between; }
  .fakti div { flex: 1; text-align: center; padding-right: 8px; margin-right: 8px; }
  .fakti dt { font-size: 1.05rem; }
  .fakti dd { font-size: .78rem; }
}

/* ---------- Дејности ---------- */
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: end; gap: 16px 48px; }
.dej__list { border-top: 1.5px solid var(--ink); }
.dej__list li + li { border-top: 1px solid var(--line); }
.dej__row {
  display: grid; grid-template-columns: 64px minmax(0, 18rem) minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px);
  align-items: center; padding: clamp(22px, 3vw, 36px) clamp(8px, 1.6vw, 20px);
  text-decoration: none; border-radius: 18px; transition: background-color .35s ease;
}
.dej__row:hover { background: var(--white); }
.dej__ik { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--deep); transition: background-color .35s, color .35s, border-color .35s; }
.dej__ik svg { width: 28px; height: 28px; }
.dej__row:hover .dej__ik { background: var(--deep); border-color: var(--deep); color: #fff; }
.dej__ime { font: 800 clamp(1.5rem, 1.6vw + 1rem, 2.25rem)/1.08 var(--font-d); letter-spacing: -.035em; transition: transform .35s var(--ease); }
.dej__row:hover .dej__ime { transform: translateX(6px); }
.dej__txt { display: grid; gap: 10px; justify-items: start; color: var(--muted); }
.dej__q { padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: .92rem; }
.dej__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 8px; background: rgba(46, 111, 115, .1); color: var(--deep); font-size: .8rem; font-weight: 600; }
.dej__str { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color .35s, border-color .35s, color .35s; }
.dej__str svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.dej__row:hover .dej__str { background: var(--orange); border-color: var(--orange); color: #fff; }
.dej__row:hover .dej__str svg { transform: translateX(4px); }

@media (max-width: 899px) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .dej__row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 6px; }
  .dej__ik { width: 52px; height: 52px; border-radius: 15px; grid-row: span 2; align-self: start; }
  .dej__ik svg { width: 24px; height: 24px; }
  .dej__ime { grid-column: 2; font-size: 1.3rem; }
  .dej__txt { grid-column: 2; font-size: .95rem; }
  .dej__str { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .dej__q, .dej__tags { display: none; }
}

/* ---------- Демо (закажување) ---------- */
.demo { background: var(--paper); border-top: 1px solid var(--line-soft); }

/* ---------- Процес ---------- */
.how { padding-top: 0; }
.how__line { margin-left: 34px; margin-right: 34px; margin-bottom: -35px; position: relative; z-index: 0; }
.how__steps li { position: relative; z-index: 1; justify-items: start; }
.how__ik { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line); color: var(--deep); margin-bottom: 10px; transition: background-color .3s, color .3s, border-color .3s; }
.how__ik svg { width: 28px; height: 28px; }
.how__steps li:hover .how__ik { background: var(--deep); border-color: var(--deep); color: #fff; }
.how__t { margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: rgba(181, 84, 26, .1); color: var(--orange-d); font-size: .82rem; font-weight: 600; }
@media (max-width: 899px) { .how__line { display: none; } }

/* ---------- Цени и прашања: простор над нив ---------- */
.price { padding-top: var(--sec); }
