/* ============================================================
   CSS VARIJABLE – ovde menjajte boje, fontove i veličine
   ============================================================ */
:root {
    /* Boje pozadine */
    --bg:          #070d1a;
    --bg-alt:      #0c1225;
    --surface:     #111d38;
    --surface-2:   #1a2a4a;

    /* Akcentne boje */
    --accent:      #3b82f6;
    --accent-2:    #06b6d4;
    --accent-glow: rgba(59, 130, 246, 0.25);

    /* Tekst */
    --text:        #eef2ff;
    --text-muted:  #7c8fa8;
    --text-subtle: #3d5269;

    /* Ivice */
    --border:      rgba(59, 130, 246, 0.12);
    --border-hover:rgba(59, 130, 246, 0.35);

    /* Efekti */
    --radius:      16px;
    --radius-sm:   10px;
    --shadow:      0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-blue: 0 6px 36px rgba(59, 130, 246, 0.22);
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Tipografija */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* Accessibility: skip link / screen-reader only */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   TIPOGRAFIJA
   ============================================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section--alt {
    background-color: var(--bg-alt);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section__subtitle,
.section__desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
}

/* ============================================================
   DUGMAD
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

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

/* ============================================================
   NAVIGACIJA
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding var(--transition), background var(--transition), border var(--transition);
}

.nav.scrolled {
    background: rgba(7, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.logo-text span { color: var(--accent); }

/* Nav links */
.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav__links a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
.nav__links a.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

.nav__cta {
    background: linear-gradient(135deg, var(--accent), #1d4ed8) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    box-shadow: 0 2px 16px rgba(59,130,246,0.25);
}
.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(59,130,246,0.4) !important;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 0 90px;
}

/* Background */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}
.hero__orb--1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -250px; left: -150px;
}
.hero__orb--2 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -150px; right: -100px;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Content */
.hero__content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-2);
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero__title {
    font-size: clamp(44px, 7.5vw, 88px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 44px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat__number {
    display: block;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat__divider {
    width: 1px;
    height: 44px;
    background: var(--border);
}

/* Scroll arrow */
.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 14px;
    animation: heroScroll 2.4s ease-in-out infinite;
    transition: var(--transition);
}
.hero__scroll:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   O NAMA
   ============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Visual side */
.about__visual {
    position: relative;
    height: 420px;
}

.about__card-main {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    box-shadow: var(--shadow-blue);
}

.about__icon-wrap {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 14px;
}

.about__card-main h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.about__card-main p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Floating chips */
.about__chip {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.about__chip i {
    color: var(--accent);
    font-size: 15px;
    flex-shrink: 0;
}

.about__chip--1 { top: 24px;   left: 10px; }
.about__chip--2 { top: 24px;   right: 10px; }
.about__chip--3 { bottom: 48px; left: 10px; }
.about__chip--4 { bottom: 48px; right: 10px; }

/* Text side */
.about__text .section__label { margin-bottom: 16px; }
.about__text .section__title { margin-bottom: 20px; }
.about__text .section__desc  { margin-bottom: 14px; }

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.feature i {
    color: var(--accent-2);
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================================
   USLUGE
   ============================================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-blue);
}

.service-card__icon {
    width: 54px; height: 54px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================================
   PROJEKTI
   ============================================================ */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-blue);
    border-color: var(--border-hover);
}

.project-card__img {
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: var(--surface-2);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.04);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,13,26,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 6px;
}

.project-card__body {
    padding: 24px;
}

.project-card__body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-card__body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.project-card__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-card__chips span {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.15);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ============================================================
   CENOVNIK – TABOVI
   ============================================================ */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    transition: var(--transition);
}

.pricing-tab:hover {
    border-color: var(--border-hover);
    color: var(--text);
}

.pricing-tab.active {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

/* ============================================================
   CENOVNIK – KARTICE
   ============================================================ */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing__grid.pricing__grid--centered {
    grid-template-columns: repeat(2, minmax(0, 360px));
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
    transition: var(--transition);
}

.pricing-card--featured {
    background: linear-gradient(160deg, rgba(59,130,246,0.08), rgba(6,182,212,0.05));
    border-color: rgba(59,130,246,0.35);
    box-shadow: var(--shadow-blue);
    transform: scale(1.04);
}

.pricing-card__crown {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 100px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-247 {
    display: inline-block;
    background: rgba(6,182,212,0.15);
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 6px;
}

.pricing-card__header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
}

.pricing-card__price .price {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

.price-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-meta .currency {
    font-size: 16px;
    font-weight: 700;
}

.price-meta .period {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 28px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.pricing-card__features li.ok i  { color: var(--accent-2); }
.pricing-card__features li.no    { color: var(--text-subtle); }
.pricing-card__features li.no i  { color: var(--text-subtle); }

/* ============================================================
   TIM
   ============================================================ */
.team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team__grid .team-card {
    flex: 0 0 calc(33.333% - 14px);
}

.team__spacer {
    flex: 0 0 calc(33.333% - 14px);
    visibility: hidden;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-blue);
}

.team-card__avatar {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--c1, var(--accent)), var(--c2, #1d4ed8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.team-card__avatar--photo {
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
}

.team-card__role {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
    text-align: center;
}

.team-card__email {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    word-break: break-all;
    line-height: 1.4;
}

.team-card__email:hover { color: var(--accent); }

/* ============================================================
   PARTNERI
   ============================================================ */
.partners .section__header { margin-bottom: 44px; }

.partners__marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.partners__track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: marquee 18s linear infinite;
}

.partners__track span {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-subtle);
    white-space: nowrap;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.partners__track span:hover { color: var(--text-muted); }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact__grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 46px; height: 46px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 18px;
}

.contact-item h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.contact-item a:hover { color: var(--accent); }

/* Social links in contact */
.social__links {
    display: flex;
    gap: 12px;
    padding-top: 4px;
}

.social__links a {
    width: 46px; height: 46px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
}

.social__links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* Forma */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-subtle);
}

.form__group select {
    color: var(--text-subtle);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237c8fa8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__group select option { background: var(--surface); color: var(--text); }
.form__group select.selected { color: var(--text); }

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: rgba(59,130,246,0.5);
    background: var(--surface-2);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.08);
}

.form__group textarea { resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 0 56px;
}

.footer__brand p {
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer__social a {
    width: 38px; height: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.footer__col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    margin-bottom: 20px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col ul a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__col ul a:hover { color: var(--accent); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__bottom p {
    font-size: 13px;
    color: var(--text-subtle);
}

/* Back to top */
.back-to-top {
    width: 38px; height: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   REVEAL ANIMACIJE (Intersection Observer)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE – 1100px
   ============================================================ */
@media (max-width: 1100px) {

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* ============================================================
   RESPONSIVE – 900px
   ============================================================ */
@media (max-width: 900px) {

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__visual {
        height: 320px;
        max-width: 440px;
        margin: 0 auto;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card--featured {
        transform: none;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

/* ============================================================
   RESPONSIVE – 768px  (mobile)
   ============================================================ */
@media (max-width: 768px) {

    .section { padding: 72px 0; }

    /* Mobile nav */
    .nav__links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(7, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
    }

    .nav__links.open { display: flex; }

    .nav__links a {
        font-size: 20px;
        font-weight: 600;
        padding: 14px 32px;
        width: 100%;
        text-align: center;
    }

    .nav__burger { display: flex; }

    /* Hero */
    .hero__title { letter-spacing: -1px; }
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__stats { gap: 18px; }

    /* Projects */
    .projects__grid { grid-template-columns: 1fr; }

    /* Team */
    .team__grid .team-card { flex: 0 0 calc(50% - 10px); }

    /* Form */
    .form__row { grid-template-columns: 1fr; }

    /* Footer */
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px 0 36px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

/* ============================================================
   RESPONSIVE – 480px
   ============================================================ */
@media (max-width: 480px) {

    .container { padding: 0 16px; }

    .services__grid { grid-template-columns: 1fr; }

    .about__features { grid-template-columns: 1fr; }

    .team__grid .team-card { flex: 0 0 calc(50% - 10px); }

    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat__divider { display: none; }

    .about__chip--3,
    .about__chip--4 { font-size: 11px; padding: 10px 12px; }
}

/* ============================================================
   ČUVEČULJAK – Mario varijanta
   ============================================================ */

/* Bubble je samostalan element, van walkera – nikad se ne flipuje */
#walker-bubble {
    position: fixed;
    bottom: 100px;
    z-index: 10000;
    pointer-events: none;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 14px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transition: opacity 0.3s, transform 0.3s;
}
#walker-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--accent);
    border-bottom: none;
}
#walker-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#walker {
    position: fixed;
    bottom: 14px;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    width: 48px;
}

/* ---- FIGURE ---- */
.walker__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CAP */
.walker__cap {
    width: 34px;
    height: 15px;
    background: #dc2626;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: -2px;
}
.walker__cap span {
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    font-style: italic;
    line-height: 1;
}
.walker__cap::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -6px;
    width: 46px;
    height: 7px;
    background: #dc2626;
    border-radius: 3px;
    z-index: 1;
}

/* HEAD */
.walker__head {
    width: 30px;
    height: 26px;
    background: #fbbf24;
    border-radius: 6px 6px 10px 10px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    gap: 3px;
    border: 1px solid #d97706;
}
.walker__head::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -1px;
    right: -1px;
    height: 8px;
    background: #92400e;
    border-radius: 4px 4px 0 0;
    z-index: -1;
}

.walker__eyes {
    display: flex;
    gap: 6px;
}
.walker__eye {
    width: 6px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    border: 1px solid #d97706;
}
.walker__eye::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 4px;
    background: #1e293b;
    border-radius: 50%;
    top: 1px;
    right: 0;
}

.walker__mustache {
    width: 24px;
    height: 8px;
    background: #92400e;
    border-radius: 4px 4px 12px 12px;
}

/* UPPER BODY */
.walker__upper {
    display: flex;
    align-items: flex-start;
    margin-top: 1px;
}
.walker__torso {
    width: 22px;
    height: 18px;
    background: #dc2626;
    border-radius: 2px 2px 0 0;
    position: relative;
}
.walker__torso::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    right: 4px;
    bottom: 0;
    background: #2563eb;
    border-radius: 2px 2px 0 0;
}

/* ARMS */
.walker__arm {
    width: 7px;
    height: 16px;
    background: #dc2626;
    border-radius: 3px;
    margin-top: 3px;
    transform-origin: top center;
    position: relative;
}
.walker__arm::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 9px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
}
.walker__tool {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    line-height: 1;
}

/* LEGS */
.walker__legs {
    display: flex;
    gap: 3px;
    margin-top: 0;
}
.walker__leg {
    width: 9px;
    height: 13px;
    background: #2563eb;
    border-radius: 2px;
    transform-origin: top center;
    position: relative;
}

/* SHOES */
.walker__shoe {
    position: absolute;
    bottom: -6px;
    left: -4px;
    width: 17px;
    height: 8px;
    background: #78350f;
    border-radius: 2px 5px 5px 2px;
    box-shadow: 0 2px 0 #5c2d00;
}

/* ---- WALKING animations ---- */
@keyframes wLegL {
    0%,100% { transform: rotate(-28deg); }
    50%     { transform: rotate(28deg); }
}
@keyframes wLegR {
    0%,100% { transform: rotate(28deg); }
    50%     { transform: rotate(-28deg); }
}
@keyframes wArmL {
    0%,100% { transform: rotate(35deg); }
    50%     { transform: rotate(-35deg); }
}
@keyframes wArmR {
    0%,100% { transform: rotate(-35deg); }
    50%     { transform: rotate(35deg); }
}
@keyframes wBob {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-4px); }
}

#walker.state-walking .walker__leg--l { animation: wLegL 0.36s ease-in-out infinite; }
#walker.state-walking .walker__leg--r { animation: wLegR 0.36s ease-in-out infinite; }
#walker.state-walking .walker__arm--l { animation: wArmL 0.36s ease-in-out infinite; }
#walker.state-walking .walker__arm--r { animation: wArmR 0.36s ease-in-out infinite; }
#walker.state-walking .walker__figure { animation: wBob 0.36s ease-in-out infinite; }

/* ---- WORKING animations ---- */
@keyframes wArmWork {
    0%,100% { transform: rotate(-70deg); }
    50%     { transform: rotate(-40deg); }
}
@keyframes wBodyWork {
    0%,100% { transform: rotate(-4deg); }
    50%     { transform: rotate(4deg); }
}
#walker.state-working .walker__arm--r { animation: wArmWork 0.2s ease-in-out infinite; }
#walker.state-working .walker__figure { animation: wBodyWork 0.25s ease-in-out infinite; }

/* ---- Text bump effect ---- */
.walker-text-hit {
    animation: walkerHit 0.6s ease forwards;
}
@keyframes walkerHit {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.06); color: var(--accent); text-shadow: 0 0 16px rgba(99,102,241,0.4); }
    70%  { transform: scale(0.97); }
    100% { transform: scale(1); color: inherit; text-shadow: none; }
}
