/* ==========================================================================
   КОМУНА / eDanoci.mk — Landing design system
   Автор: редизајн 2026
   Самостоен CSS за index.html. НЕ го заменува assets/css/style.css
   (кој продолжува да ги опслужува внатрешните .aspx страници).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand — институционално сино */
    --c-brand-950: #061B3C;
    --c-brand-900: #082B60;
    --c-brand-800: #0A3A80;
    --c-brand-700: #0D4AA3;
    --c-brand-600: #1259C4;
    --c-brand-500: #2A75E6;
    --c-brand-400: #5C99F0;
    --c-brand-100: #DCE9FD;
    --c-brand-50: #F0F6FF;

    /* Accent — тиркизна */
    --c-teal-700: #0A7F84;
    --c-teal-600: #0E9AA0;
    --c-teal-500: #14B8B1;
    --c-teal-100: #D6F5F3;

    /* Semantic */
    --c-success: #17924F;
    --c-success-bg: #E6F6ED;
    --c-warn: #B4690E;

    /* Neutrals */
    --c-ink: #0F1B2D;
    --c-ink-2: #35435A;
    --c-ink-3: #5D6B82;
    --c-line: #DFE7F1;
    --c-line-2: #EDF2F8;
    --c-surface: #FFFFFF;
    --c-surface-2: #F5F8FC;
    --c-surface-3: #EDF3FA;

    /* Typography */
    --ff-base: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --fs-hero: clamp(1.9rem, 1.15rem + 2.9vw, 3.5rem);
    --fs-h2: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
    --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    --fs-lead: clamp(1rem, 0.95rem + 0.35vw, 1.175rem);
    --fs-body: 1rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* Space */
    --sp-section: clamp(3.25rem, 2rem + 4.5vw, 6rem);
    --sp-gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
    --container: 1200px;
    --container-pad: clamp(1rem, 0.5rem + 2vw, 2rem);

    /* Effects */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-xs: 0 1px 2px rgba(15, 27, 45, .06);
    --shadow-sm: 0 2px 8px rgba(15, 27, 45, .06), 0 1px 2px rgba(15, 27, 45, .04);
    --shadow-md: 0 10px 28px rgba(15, 27, 45, .09), 0 2px 6px rgba(15, 27, 45, .05);
    --shadow-lg: 0 24px 60px rgba(8, 43, 96, .16);
    --header-h: 72px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--ff-base);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--c-ink-2);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--c-ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

p {
    margin: 0 0 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--c-brand-600);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--c-brand-800);
}

img,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

ul, ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

button {
    font: inherit;
    color: inherit;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: 1.5rem 0;
}

:focus-visible {
    outline: 3px solid var(--c-brand-500);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--c-brand-100);
    color: var(--c-brand-900);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 2000;
    background: var(--c-brand-700);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: var(--sp-section);
    position: relative;
}

.section--tint {
    background: var(--c-surface-2);
}

.section--brand {
    background: linear-gradient(160deg, var(--c-brand-900), var(--c-brand-700) 55%, var(--c-teal-700));
    color: #E8F0FC;
}

.section--brand h2,
.section--brand h3 {
    color: #fff;
}

.section-head {
    max-width: 62ch;
    margin: 0 auto clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
    text-align: center;
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    padding: .3rem .8rem;
    border-radius: var(--radius-pill);
    background: var(--c-brand-50);
    border: 1px solid var(--c-brand-100);
    color: var(--c-brand-700);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.section--brand .eyebrow {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    color: #DCE9FD;
}

.section-head h2 {
    font-size: var(--fs-h2);
    margin-bottom: .6rem;
}

.section-head p {
    font-size: var(--fs-lead);
    color: var(--c-ink-3);
}

.section--brand .section-head p {
    color: #C7DBF7;
}

.grid {
    display: grid;
    gap: var(--sp-gap);
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.btn svg {
    flex: none;
    width: 1.1em;
    height: 1.1em;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--c-brand-600);
    color: #fff;
    box-shadow: 0 8px 22px rgba(18, 89, 196, .28);
}

.btn--primary:hover {
    background: var(--c-brand-700);
    color: #fff;
    box-shadow: 0 12px 30px rgba(18, 89, 196, .34);
}

.btn--accent {
    background: var(--c-teal-600);
    color: #fff;
    box-shadow: 0 8px 22px rgba(14, 154, 160, .26);
}

.btn--accent:hover {
    background: var(--c-teal-700);
    color: #fff;
}

.btn--outline {
    background: var(--c-surface);
    color: var(--c-brand-700);
    border-color: var(--c-line);
    box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
    border-color: var(--c-brand-400);
    background: var(--c-brand-50);
    color: var(--c-brand-800);
}

.btn--ghost {
    background: transparent;
    color: var(--c-ink-2);
    padding-inline: .35rem;
}

.btn--ghost:hover {
    color: var(--c-brand-700);
}

.btn--lg {
    padding: 1.05rem 1.9rem;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
}

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
/* ВАЖНО: тука намерно НЕ се користи backdrop-filter.
   Елемент со backdrop-filter/filter/transform создава нов containing block,
   поради што `position: fixed` кај потомците (мобилното мени) престанува да се
   позиционира според viewport-от. Тоа беше причината за кршењето на менито. */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--c-line);
    box-shadow: 0 4px 20px rgba(15, 27, 45, .07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

/* Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    flex: none;
    color: var(--c-ink);
}

.brand:hover {
    color: var(--c-ink);
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--c-brand-700), var(--c-teal-600));
    color: #fff;
    box-shadow: 0 6px 16px rgba(10, 58, 128, .3);
    flex: none;
}

.brand__mark svg {
    width: 24px;
    height: 24px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.brand__sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--c-ink-3);
    letter-spacing: .03em;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: .1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .925rem;
    font-weight: 600;
    color: var(--c-ink-2);
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--c-brand-700);
    background: var(--c-brand-50);
}

.nav__link svg {
    width: 14px;
    height: 14px;
    transition: transform .2s var(--ease);
}

/* Dropdown */
.nav__item--drop {
    position: relative;
}

.nav__drop {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    margin: 0;
    padding: .5rem;
    list-style: none;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.nav__drop::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav__item--drop:hover .nav__drop,
.nav__item--drop:focus-within .nav__drop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__item--drop:hover .nav__link svg {
    transform: rotate(180deg);
}

.nav__drop a {
    display: block;
    padding: .5rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    color: var(--c-ink-2);
}

.nav__drop a:hover {
    background: var(--c-brand-50);
    color: var(--c-brand-700);
}

.nav__cta {
    margin-left: .6rem;
    padding: .6rem 1.15rem;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    position: relative;
    /* мора да е над панелот на менито (.nav има z-index: 999) */
    z-index: 1001;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-surface);
    color: var(--c-ink);
    cursor: pointer;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(6, 27, 60, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .nav__link {
        padding-inline: .5rem;
        font-size: .875rem;
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: block;
        width: min(88vw, 360px);
        padding: calc(var(--header-h) + 1rem) 1.25rem 2rem;
        background: var(--c-surface);
        box-shadow: -18px 0 50px rgba(6, 27, 60, .18);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform .3s var(--ease);
    }

    body.nav-open .nav {
        transform: translateX(0);
    }

    .nav__list {
        display: block;
    }

    .nav__link {
        justify-content: space-between;
        width: 100%;
        padding: .85rem .9rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .nav__item + .nav__item {
        border-top: 1px solid var(--c-line-2);
    }

    .nav__drop {
        position: static;
        transform: none;
        min-width: 0;
        margin: 0 0 .5rem;
        padding: .25rem 0 .25rem .75rem;
        border: 0;
        border-left: 2px solid var(--c-brand-100);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav__drop::before {
        display: none;
    }

    .nav__item--drop.is-open .nav__drop {
        display: block;
    }

    .nav__item--drop.is-open > .nav__link svg {
        transform: rotate(180deg);
    }

    .nav__item--drop:hover .nav__drop {
        opacity: 1;
        visibility: visible;
    }

    .nav__cta {
        margin: 1rem 0 0;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(2.25rem, 1rem + 4vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
    background:
        radial-gradient(1100px 520px at 82% -8%, var(--c-brand-50), transparent 62%),
        radial-gradient(760px 420px at 2% 12%, var(--c-teal-100), transparent 60%),
        var(--c-surface);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    gap: clamp(2rem, 1rem + 3vw, 3.5rem);
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.hero h1 {
    font-size: var(--fs-hero);
    font-weight: 800;
    letter-spacing: -0.028em;
    margin-bottom: 1rem;
}

.hero h1 .accent {
    background: linear-gradient(100deg, var(--c-brand-700), var(--c-teal-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Fallback за постари прелистувачи */
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 .accent {
        color: var(--c-brand-700);
        -webkit-text-fill-color: currentColor;
    }
}

.hero__lead {
    font-size: var(--fs-lead);
    color: var(--c-ink-2);
    max-width: 56ch;
    margin-bottom: 1.15rem;
}

.hero__note {
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
    max-width: 58ch;
    margin-bottom: 1.75rem;
}

.hero__cta {
    margin-bottom: 1.5rem;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink-3);
}

.hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.hero__trust svg {
    width: 16px;
    height: 16px;
    color: var(--c-success);
    flex: none;
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__media img {
    width: 100%;
    max-width: 560px;
    filter: drop-shadow(0 24px 48px rgba(8, 43, 96, .16));
    animation: float 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes float {
    from { transform: translateY(8px); }
    to { transform: translateY(-8px); }
}

@media (max-width: 991px) {
    .hero {
        padding-top: calc(var(--header-h) + 1.75rem);
    }

    .hero__grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    /* Насловот останува прв — сликата оди под текстот за да е содржината
       веднаш видлива на мал екран (важно и за LCP и за SEO). */
    .hero__media {
        order: 2;
        margin-top: .5rem;
    }

    .hero__media img {
        max-width: min(420px, 74%);
        animation: none;
    }

    .eyebrow {
        letter-spacing: .04em;
    }
}

@media (max-width: 575px) {
    .hero__cta .btn {
        width: 100%;
    }

    .hero__media img {
        max-width: 82%;
    }
}

/* --------------------------------------------------------------------------
   7. Quick actions
   -------------------------------------------------------------------------- */
.quick {
    padding-block: 0;
    margin-top: calc(-1 * clamp(1rem, .5rem + 2vw, 2.5rem));
    position: relative;
    z-index: 2;
}

.quick__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.quick-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--c-ink-2);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: var(--c-brand-400);
    box-shadow: var(--shadow-md);
    color: var(--c-ink-2);
}

.quick-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 12px;
    background: var(--c-brand-50);
    color: var(--c-brand-700);
}

.quick-card__icon svg {
    width: 24px;
    height: 24px;
}

.quick-card--accent .quick-card__icon {
    background: var(--c-teal-100);
    color: var(--c-teal-700);
}

.quick-card--success .quick-card__icon {
    background: var(--c-success-bg);
    color: var(--c-success);
}

.quick-card h3 {
    font-size: 1.05rem;
    margin-bottom: .2rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.quick-card h3 .arrow {
    width: 15px;
    height: 15px;
    transition: transform .25s var(--ease);
}

.quick-card:hover h3 .arrow {
    transform: translateX(4px);
}

.quick-card p {
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. Counters
   -------------------------------------------------------------------------- */
.counts__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    text-align: center;
}

.count__value {
    display: block;
    font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.count__label {
    margin: .35rem 0 0;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #BFD6F5;
}

/* --------------------------------------------------------------------------
   9. Service cards
   -------------------------------------------------------------------------- */
.card {
    height: 100%;
    padding: 1.75rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--c-brand-400);
    box-shadow: var(--shadow-md);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 14px;
    background: linear-gradient(150deg, var(--c-brand-50), var(--c-teal-100));
    color: var(--c-brand-700);
    border: 1px solid var(--c-brand-100);
}

.card__icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: var(--fs-h3);
    margin-bottom: .5rem;
}

.card p {
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
}

.card__tag {
    display: inline-block;
    margin-top: .9rem;
    padding: .2rem .6rem;
    border-radius: var(--radius-pill);
    background: var(--c-surface-3);
    color: var(--c-ink-3);
    font-size: var(--fs-xs);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Steps (Како функционира)
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    gap: var(--sp-gap);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    counter-reset: step;
    padding: 0;
    margin: 0;
    list-style: none;
}

.step {
    position: relative;
    padding: 1.6rem 1.35rem 1.35rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 1.35rem;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-brand-600);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(18, 89, 196, .3);
}

.step h3 {
    margin: .85rem 0 .4rem;
    font-size: 1.05rem;
}

.step p {
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */
.about__grid {
    display: grid;
    gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
    align-items: center;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.about__media img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about__quote {
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--c-teal-500);
    background: var(--c-surface-2);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--c-ink-2);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: .65rem;
}

.checklist li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    font-size: var(--fs-sm);
}

.checklist svg {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: .18rem;
    color: var(--c-success);
}

@media (max-width: 991px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__media {
        max-width: 460px;
        margin-inline: auto;
    }
}

/* --------------------------------------------------------------------------
   12. Municipalities
   -------------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.filter-btn {
    padding: .5rem 1.05rem;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-pill);
    background: var(--c-surface);
    color: var(--c-ink-2);
    font-size: var(--fs-xs);
    font-weight: 700;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.filter-btn:hover {
    border-color: var(--c-brand-400);
    color: var(--c-brand-700);
}

.filter-btn.is-active {
    background: var(--c-brand-600);
    border-color: var(--c-brand-600);
    color: #fff;
    box-shadow: 0 6px 16px rgba(18, 89, 196, .25);
}

.muni-grid {
    display: grid;
    gap: var(--sp-gap);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.muni {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}

.muni:hover {
    transform: translateY(-4px);
    border-color: var(--c-brand-400);
    box-shadow: var(--shadow-md);
}

.muni[hidden] {
    display: none;
}

.muni__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--c-surface-3);
    overflow: hidden;
}

.muni__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform .35s var(--ease);
}

.muni:hover .muni__thumb img {
    transform: scale(1.04);
}

.muni__year {
    position: absolute;
    top: .7rem;
    right: .7rem;
    padding: .2rem .65rem;
    border-radius: var(--radius-pill);
    background: rgba(6, 27, 60, .8);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.muni__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid var(--c-line-2);
}

.muni__body h3 {
    margin: 0;
    font-size: 1.02rem;
}

.muni__body span {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-ink-3);
}

.muni__link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--c-brand-50);
    color: var(--c-brand-700);
    transition: all .2s var(--ease);
}

.muni__link svg {
    width: 16px;
    height: 16px;
}

.muni__link:hover {
    background: var(--c-brand-600);
    color: #fff;
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq {
    max-width: 860px;
    margin-inline: auto;
    display: grid;
    gap: .75rem;
}

.faq__item {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq__item[open] {
    border-color: var(--c-brand-400);
    box-shadow: var(--shadow-sm);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--c-ink);
    font-size: 1rem;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::marker {
    content: "";
}

.faq__item summary:hover {
    color: var(--c-brand-700);
}

.faq__chevron {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--c-brand-600);
    transition: transform .25s var(--ease);
}

.faq__item[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__body {
    padding: 0 1.35rem 1.25rem;
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
}

.faq__body a {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Partner / support
   -------------------------------------------------------------------------- */
.partner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 760px;
    margin-inline: auto;
    padding: 1.75rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.partner__logo {
    width: 110px;
    flex: none;
}

.partner__logo img {
    width: 100%;
    border-radius: var(--radius-sm);
}

.partner__body {
    flex: 1 1 320px;
}

.partner__body h3 {
    margin-bottom: .15rem;
    font-size: 1.15rem;
}

.partner__role {
    display: block;
    margin-bottom: .6rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-teal-700);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.partner__body p {
    font-size: var(--fs-sm);
    color: var(--c-ink-3);
}

.social {
    display: flex;
    gap: .5rem;
    margin-top: .9rem;
}

.social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--c-ink-3);
    transition: all .2s var(--ease);
}

.social a:hover {
    background: var(--c-brand-600);
    color: #fff;
}

.social svg {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact__grid {
    display: grid;
    gap: var(--sp-gap);
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
}

.contact__cards {
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    background: var(--c-brand-50);
    color: var(--c-brand-700);
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card h3 {
    margin: 0 0 .1rem;
    font-size: .95rem;
    color: var(--c-ink-3);
    font-weight: 600;
}

.contact-card p,
.contact-card a {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-ink);
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--c-brand-700);
}

.map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    background: var(--c-surface-2);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .map-frame {
        aspect-ratio: 1 / 1;
        min-height: 300px;
    }
}

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
    background: linear-gradient(120deg, var(--c-brand-800), var(--c-brand-600) 60%, var(--c-teal-600));
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    font-size: var(--fs-h2);
    margin-bottom: .6rem;
}

.cta-band p {
    max-width: 60ch;
    margin: 0 auto 1.75rem;
    color: #D6E5FB;
    font-size: var(--fs-lead);
}

.cta-band .btn--primary {
    background: #fff;
    color: var(--c-brand-800);
    box-shadow: 0 12px 30px rgba(6, 27, 60, .3);
}

.cta-band .btn--primary:hover {
    background: #fff;
    color: var(--c-brand-900);
}

.cta-band .btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
    box-shadow: none;
}

.cta-band .btn--outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.cta-band .btn-row {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--c-brand-950);
    color: #A9BEDD;
    font-size: var(--fs-sm);
}

.footer-top {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
    padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.footer-brand .brand {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand .brand__sub {
    color: #8FA9CE;
}

.footer-brand p {
    max-width: 42ch;
    font-size: var(--fs-sm);
    color: #A9BEDD;
}

.footer-col h3 {
    margin-bottom: .9rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.footer-col a {
    color: #A9BEDD;
    font-size: .875rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: var(--fs-xs);
    color: #8FA9CE;
}

.footer-bottom a {
    color: #C4D6EF;
}

.footer-keywords {
    padding-bottom: 1.25rem;
    font-size: .75rem;
    line-height: 1.7;
    color: #6E88AC;
}

/* --------------------------------------------------------------------------
   18. Back to top
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 990;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--c-brand-600);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(18, 89, 196, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--c-brand-800);
}

.to-top svg {
    width: 22px;
    height: 22px;
}

/* --------------------------------------------------------------------------
   19. Cookie banner
   -------------------------------------------------------------------------- */
.cookie {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 1200;
    width: min(940px, calc(100vw - 32px));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(6, 27, 60, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #DCE9FD;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(6, 27, 60, .38);
    font-size: var(--fs-xs);
    line-height: 1.6;
}

.cookie[hidden] {
    display: none;
}

.cookie p {
    flex: 1 1 340px;
    margin: 0;
}

.cookie a {
    color: #8FC7FF;
    font-weight: 600;
    text-decoration: underline;
}

.cookie button {
    flex: none;
    padding: .55rem 1.25rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--c-brand-900);
    font-weight: 700;
    font-size: var(--fs-xs);
    cursor: pointer;
    transition: background-color .2s var(--ease);
}

.cookie button:hover {
    background: var(--c-brand-100);
}

@media (max-width: 575px) {
    .cookie {
        bottom: 10px;
        padding: .9rem 1rem;
    }

    .cookie button {
        width: 100%;
    }

    .to-top {
        bottom: 96px;
    }
}

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
/* Содржината е видлива по дифолт. Анимацијата се активира само ако JS работи
   (html.js се додава од inline скрипта во <head>), за да нема празна страница
   доколку JS падне или е блокиран. */
html.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    will-change: opacity, transform;
}

html.js .reveal.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;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .nav,
    .to-top,
    .cookie,
    .map-frame,
    .hero__media {
        display: none !important;
    }

    body {
        color: #000;
    }

    .section {
        padding-block: 1rem;
        page-break-inside: avoid;
    }
}
