/* AI vouchery (/aivouchery) - the look of wocabee.app (orange, Montserrat, soft cards), mobile first */
:root {
  --av-orange: #f5a623; --av-orange-dark: #c97800; --av-green: #28a745; --av-green-dark: #1f8c38;
  --av-dark: #23282d; --av-text: #2d3238; --av-muted: #5f666d; --av-light: #fff9ef; --av-line: #f0e6d4;
}
* { -webkit-font-smoothing: antialiased; }
body { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--av-text); background: #fff; padding-bottom: 72px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; }
/* bold Montserrat kerns "ľ" + "k" so close that the caron merges into the k ("Kolko") - no kerning in the bold texts */
h1, h2, h3, .av-acc .btn, .av-seg span, .av-res-grid span, label, b, strong { font-kerning: none; }
a { color: var(--av-orange-dark); }
a:hover { color: #a86400; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.btn:focus { box-shadow: 0 0 0 3px rgba(26, 115, 232, .45); }

/* nav */
.av-nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1030; }
.av-nav .navbar-brand img { height: 38px; width: auto; }
.av-nav .nav-link { font-weight: 600; color: var(--av-text) !important; font-size: .92rem; }
.av-nav .nav-link:hover { color: var(--av-orange-dark) !important; }
/* the trial is secondary in December (the goal is the calculation + PDF) - an outline button, the green fill belongs to "Vypočítať ponuku" */
.av-btn-trial { background: #fff; color: var(--av-green-dark) !important; border: 2px solid var(--av-green); font-weight: 700; border-radius: 999px; padding: 6px 18px; white-space: nowrap; }
.av-btn-trial:hover { background: #eef9f1; }

/* hero */
.av-hero { background: linear-gradient(135deg, #f5a623 0%, #f7b733 55%, #ffcf6b 100%); padding: 36px 0 44px; color: #2b2112; }
.av-status { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .78); color: #fff; font-weight: 800; border-radius: 999px; padding: 6px 16px; font-size: .84rem; margin-bottom: 14px; }
.av-status i { font-size: .55rem; color: #ffd36b; }
.av-status--otvorena i { color: #5fe07c; }
.av-hero h1 { font-size: 1.75rem; font-weight: 900; line-height: 1.18; margin-bottom: 12px; color: #1d1608; }
.av-hero .lead { font-size: 1.02rem; font-weight: 600; color: #3b2e14; }
.av-hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 16px; }
.av-btn-cta { background: var(--av-green); color: #fff; font-weight: 800; border-radius: 999px; padding: 13px 26px; border: none; box-shadow: 0 6px 18px rgba(40, 167, 69, .3); }
.av-btn-cta:hover, .av-btn-cta:focus { background: var(--av-green-dark); color: #fff; }
.av-btn-cta:disabled { opacity: .6; }
.av-btn-ghost { background: rgba(255, 255, 255, .9); color: #6b4300; font-weight: 700; border-radius: 999px; padding: 12px 24px; border: 2px solid #fff; }
.av-btn-ghost:hover { background: #fff; color: #4a2e00; }
.av-btn-outline { background: #fff; color: var(--av-text); font-weight: 700; border-radius: 999px; padding: 11px 22px; border: 2px solid var(--av-line); }
.av-btn-outline:hover { border-color: var(--av-orange); color: var(--av-orange-dark); }
.av-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; font-size: .88rem; }
.av-trust li { display: flex; align-items: center; gap: 6px; }
.av-trust i { color: #1f6f32; }
.av-trust a { color: #2b2112; text-decoration: underline; }
.av-hero-img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.av-ph { border: 2px dashed rgba(255, 255, 255, .9); border-radius: 22px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(0, 0, 0, .55); font-weight: 700; text-align: center; background: rgba(255, 255, 255, .25); }
.av-ph i { font-size: 2rem; margin-bottom: 6px; }

/* sections */
.av-section { padding: 44px 0; scroll-margin-top: 64px; }
.av-section.alt { background: var(--av-light); }
.av-head { text-align: center; margin-bottom: 26px; }
.av-head h2 { font-size: 1.55rem; margin: 0; }
.av-h2 { font-size: 1.3rem; margin-bottom: 10px; }
.av-narrow { max-width: 820px; }
.av-card { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }
.av-eyebrow { display: inline-block; background: var(--av-orange); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 14px; margin-bottom: 8px; }
.av-link { font-weight: 700; }

/* facts */
.av-facts { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 10px; }
.av-facts li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--av-line); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: .96rem; }
.av-facts-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: rgba(245, 166, 35, .18); color: var(--av-orange-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.av-source { text-align: center; color: var(--av-muted); font-size: .88rem; margin: 16px 0 0; }

/* steps */
.av-step { background: #fff; border-radius: 18px; padding: 22px 20px; height: 100%; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.av-step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--av-orange); color: #fff; font-weight: 900; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.av-step h3, .av-feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.av-step p, .av-feat p { color: var(--av-muted); font-size: .94rem; margin-bottom: 6px; }

/* calculator */
.av-calc label, .av-label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; }
.av-seg { display: flex; background: #f6f1e7; border-radius: 999px; padding: 4px; margin-bottom: 18px; gap: 4px; }
.av-seg--wrap { flex-wrap: wrap; border-radius: 16px; margin-bottom: 0; }
.av-seg label { flex: 1 1 0; margin: 0; min-width: 110px; }
.av-seg--wrap label { min-width: 0; }   /* months: three short chips share one row even on a phone */
.av-seg input { position: absolute; opacity: 0; pointer-events: none; }
.av-seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--av-muted); }
.av-seg input:checked + span { background: #fff; color: var(--av-text); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.av-seg input:focus-visible + span { outline: 3px solid #1a73e8; }
.av-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.av-chip { border: 1.5px solid var(--av-line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; color: var(--av-text); }
.av-chip:hover { border-color: var(--av-orange); }
.av-chip--soft { font-weight: 600; font-size: .82rem; }
.av-bands { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; font-size: .84rem; color: var(--av-muted); }
.av-bands > span { width: 100%; font-weight: 700; }
.av-bands small { width: 100%; }
.av-calc.is-voucher .av-only-pupils { display: none; }
.av-calc .form-control-lg { font-weight: 700; border-radius: 12px; }
.av-calc .form-control::placeholder { color: #a7adb3; font-weight: 500; }

/* result */
.av-result { border: 2px solid rgba(245, 166, 35, .55); }
.av-res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.av-res-grid div { background: var(--av-light); border-radius: 14px; padding: 10px 12px; }
.av-res-grid span { display: block; font-size: .78rem; font-weight: 700; color: var(--av-muted); text-transform: uppercase; letter-spacing: .03em; }
.av-res-grid b { font-size: 1.45rem; font-weight: 900; }
.av-res-grid .av-res-total { grid-column: 1 / -1; background: #fff3dc; }
.av-res-total b { font-size: 2rem; color: var(--av-orange-dark); }
.av-res-period, .av-res-line { margin: 0 0 6px; font-weight: 600; font-size: .94rem; }
.av-res-period i, .av-res-line i { color: var(--av-orange); width: 20px; }
.av-res-msg { background: #e9f7ee; color: #1b5e2f; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .93rem; margin: 10px 0 0; }
.av-res-msg.is-warn { background: #fff1e6; color: #8a3b00; }
.av-res-warn { background: #fff8e1; color: #7a5a00; border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: .86rem; margin: 10px 0 0; }
.av-hint { display: block; color: #8a5a00; font-size: .82rem; margin-top: 4px; }
.av-res-tip { background: #eef5ff; color: #1b4b8a; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .93rem; margin: 10px 0 0; }
.av-res-tip:before { content: "💡 "; }
.av-res-vat { color: var(--av-muted); font-size: .8rem; margin: 10px 0 14px; }
/* "Vypočítať": the result is already there (it recalculates while typing) - the card flashes so the click has a visible answer */
@keyframes avFlash { 0% { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); transform: scale(1); }
  30% { box-shadow: 0 0 0 6px rgba(245, 166, 35, .55), 0 12px 32px rgba(245, 166, 35, .35); transform: scale(1.025); }
  100% { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); transform: scale(1); } }
.av-result.is-flash { animation: avFlash .9s ease-out; }
.av-result.is-flash .av-res-total { animation: avTotalGlow .9s ease-out; }
@keyframes avTotalGlow { 30% { background: #ffd98a; } }
/* a changed number pops a little */
@keyframes avPop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.av-res-grid b { display: inline-block; transform-origin: left center; }
.av-res-grid b.is-pop { animation: avPop .35s ease-out; }
.av-btn-pdf { background: var(--av-dark); color: #fff; font-weight: 800; border-radius: 999px; padding: 13px 22px; }
.av-btn-pdf:hover { background: #000; color: #fff; }

/* offer form */
.av-offer { margin-top: 18px; }
.av-offer h3 { font-size: 1.2rem; }
.av-offer-sum { background: var(--av-light); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .92rem; }
.av-offer label { font-weight: 700; font-size: .9rem; }
.av-offer .custom-control-label { font-weight: 600; }
.av-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.av-privacy { font-size: .8rem; color: var(--av-muted); margin: 10px 0 0; }
.av-ok { text-align: center; padding: 10px 0; }
.av-ok > i { font-size: 2.6rem; color: var(--av-green); margin-bottom: 8px; }
.av-suggest-wrap { position: relative; }
.av-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; list-style: none; margin: 2px 0 0; padding: 4px; background: #fff; border: 1.5px solid var(--av-line); border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); max-height: 260px; overflow: auto; }
.av-suggest li { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: .9rem; }
.av-suggest li:hover, .av-suggest li.is-active { background: var(--av-light); }

/* forward + template */
.av-text { white-space: pre-wrap; font-family: inherit; font-size: .9rem; background: var(--av-light); border-radius: 12px; padding: 12px 14px; color: var(--av-text); max-height: 320px; overflow: auto; }
.av-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.av-note { color: var(--av-muted); font-size: .84rem; margin: 10px 0 0; }

/* why + admin + webinar */
.av-feat { background: #fff; border-radius: 16px; padding: 20px 18px; height: 100%; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.av-feat-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(245, 166, 35, .15); color: var(--av-orange-dark); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 10px; }
.av-checks { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; }
.av-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--av-line); }
.av-checks li:last-child { border-bottom: 0; }
.av-checks i { color: var(--av-green); margin-top: 4px; }
.av-webinar { display: flex; flex-direction: column; gap: 14px; }

/* FAQ */
.av-acc .card { border: none; border-radius: 14px !important; margin-bottom: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .07); overflow: hidden; }
.av-acc .card-header { background: #fff; border: none; padding: 0; }
.av-acc .card-header .btn { width: 100%; text-align: left; padding: 16px 18px; font-weight: 700; font-size: .98rem; color: var(--av-text); display: flex; justify-content: space-between; gap: 12px; white-space: normal; }
.av-acc .card-header .btn:after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .8rem; color: var(--av-orange); transition: transform .25s; }
.av-acc .card-header .btn[aria-expanded="true"]:after { transform: rotate(180deg); }
.av-acc .card-body { padding: 0 18px 18px; color: var(--av-muted); }

/* closing + footer */
.av-end { background: linear-gradient(135deg, #28a745 0%, #34c759 100%); color: #fff; text-align: center; padding: 44px 0; }
.av-end h2 { font-size: 1.6rem; margin-bottom: 16px; }
.av-end .btn { background: #fff; color: var(--av-green-dark); font-weight: 800; border-radius: 999px; padding: 13px 30px; }
.av-end-contact { margin: 18px 0 0; font-weight: 600; }
.av-end-contact a { color: #fff; text-decoration: underline; }
.av-footer { background: var(--av-dark); color: #aeb5bc; padding: 28px 0; font-size: .85rem; }
.av-footer a { color: #e1e5e9; }

/* sticky "Vypočítať ponuku" (mobile) */
.av-sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1040; background: var(--av-green); color: #fff; font-weight: 800; text-align: center; border-radius: 999px; padding: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .25s, opacity .25s; }
.av-sticky:hover { color: #fff; text-decoration: none; background: var(--av-green-dark); }
.av-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }

@media (min-width: 576px) {
  .av-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .av-card { padding: 26px; }
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .av-sticky { display: none; }
  .av-hero { padding: 56px 0 64px; }
  .av-hero h1 { font-size: 2.35rem; }
  .av-hero .lead { font-size: 1.12rem; }
  .av-section { padding: 62px 0; }
  .av-head h2 { font-size: 2rem; }
  .av-facts { grid-template-columns: 1fr 1fr; }
  .av-res-grid { grid-template-columns: 1fr 1fr 1.3fr; }
  .av-res-grid .av-res-total { grid-column: auto; }
  .av-webinar { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
