/* =========================================================
   DESIGN TOKENS — Geo Studio
   Paleta: tamno-šumsko zelena + terakota akcenat
   Ton: pouzdanost/preciznost, tehnički, ne igriv (CLAUDE.md Deo 2.4)
   ========================================================= */

:root {
    /* Boje — baza */
    --gst-color-dark: #0A1F19;
    --gst-color-dark-hover: #162B24;
    --gst-color-light: #F7FAF7;
    --gst-color-surface: #FFFFFF;
    --gst-color-surface-alt: #F1F4F1;
    --gst-color-surface-alt-2: #E6E9E6;
    --gst-color-input-bg: #F5F1E8;
    --gst-color-accent: #A23E18;
    --gst-color-accent-light: #FFDBCF;
    --gst-color-accent-hover: #822801;
    --gst-color-text: #181C1B;
    --gst-color-text-muted: #424845;
    --gst-color-text-on-dark: #F7FAF7;
    --gst-color-text-on-dark-muted: #B4CCC1;
    --gst-color-border: rgba(10, 31, 25, 0.1);
    --gst-color-border-dark: rgba(247, 250, 247, 0.12);

    /* Boje — po elementu */
    --gst-btn-primary-bg: var(--gst-color-dark);
    --gst-btn-primary-bg-hover: var(--gst-color-dark-hover);
    --gst-btn-primary-text: var(--gst-color-light);

    --gst-btn-secondary-bg: var(--gst-color-accent);
    --gst-btn-secondary-bg-hover: var(--gst-color-accent-hover);
    --gst-btn-secondary-text: #FFFFFF;

    --gst-link-color: var(--gst-color-dark);
    --gst-link-color-hover: var(--gst-color-accent);

    /* Tipografija — max 2 fonta */
    --gst-font-heading: 'Plus Jakarta Sans', Georgia, serif;
    --gst-font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing skala */
    --gst-space-xs: 0.5rem;
    --gst-space-sm: 1rem;
    --gst-space-md: 2rem;
    --gst-space-lg: 4rem;
    --gst-space-xl: 6rem;
    --gst-space-2xl: 9rem;

    /* Radius */
    --gst-radius-sm: 8px;
    --gst-radius-md: 16px;
    --gst-radius-lg: 24px;
    --gst-radius-pill: 999px;

    /* Container */
    --gst-container-max: 1200px;

    /* Motion */
    --gst-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --gst-transition-fast: 0.2s var(--gst-ease);
    --gst-transition-base: 0.35s var(--gst-ease);

    /* Shadows */
    --gst-shadow-sm: 0 1px 2px rgba(10, 31, 25, 0.04), 0 1px 1px rgba(10, 31, 25, 0.03);
    --gst-shadow-md: 0 8px 24px rgba(10, 31, 25, 0.08), 0 2px 8px rgba(10, 31, 25, 0.04);
    --gst-shadow-lg: 0 24px 48px rgba(10, 31, 25, 0.12), 0 4px 16px rgba(10, 31, 25, 0.06);
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
    font-family: var(--gst-font-body);
    color: var(--gst-color-text);
    background: var(--gst-color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#gst-main { flex: 1 0 auto; width: 100%; min-width: 0; }
.gst-footer { flex-shrink: 0; }

::selection {
    background: var(--gst-color-accent-light);
    color: var(--gst-color-dark);
}

/* !important na font-family: GeneratePress ubacuje sopstveni typography CSS preko
   wp_add_inline_style('generate-style', ...) koji se štampa POSLE ovog fajla u <head> —
   bez ovoga naslovi kratko prikažu Plus Jakarta Sans pa se vrate na GP-ov default font. */
h1, h2, h3, h4, .gst-heading {
    font-family: var(--gst-font-heading) !important;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 var(--gst-space-sm);
    color: var(--gst-color-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--gst-space-sm); color: var(--gst-color-text-muted); }

a {
    color: var(--gst-link-color);
    text-decoration: none;
    transition: color var(--gst-transition-fast);
}
a:hover { color: var(--gst-link-color-hover); }

img { max-width: 100%; display: block; }

.gst-img-fade { opacity: 0; transition: opacity 0.5s var(--gst-ease); }
.gst-img-fade.is-loaded { opacity: 1; }

/* Focus visibility — WCAG 2.2 AA, never remove without replacement */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--gst-color-accent);
    outline-offset: 2px;
}

body.gst-nav-is-open { overflow: hidden; }

/* =========================================================
   LAYOUT / CONTAINER
   ========================================================= */

.gst-container {
    max-width: var(--gst-container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gst-section { padding: var(--gst-space-xl) 0; }
.gst-section--tight { padding: var(--gst-space-lg) 0; }
.gst-section--alt { background: #F2F0E8; }
.gst-section--dark {
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark);
}
.gst-section--dark h1,
.gst-section--dark h2,
.gst-section--dark h3,
.gst-section--dark h4 { color: var(--gst-color-text-on-dark); }
.gst-section--dark p { color: var(--gst-color-text-on-dark-muted); }

.gst-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gst-color-accent);
    margin-bottom: var(--gst-space-xs);
}
.gst-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gst-color-accent);
    display: inline-block;
}

/* Scroll reveal */
.gst-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--gst-ease), transform 0.6s var(--gst-ease);
}
.gst-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .gst-reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   SKIP LINK
   ========================================================= */

.gst-skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--gst-radius-sm);
    z-index: 9999;
    transition: top var(--gst-transition-fast);
}
.gst-skip-link:focus { top: 1rem; color: var(--gst-color-text-on-dark); }

/* =========================================================
   TOPBAR + HEADER / NAV
   ========================================================= */

.gst-topbar {
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark-muted);
    font-size: 0.8rem;
}
.gst-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
}
.gst-topbar__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.gst-topbar__phone-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gst-color-accent-light);
    font-weight: 600;
}
.gst-topbar__phone-pill:hover { color: var(--gst-color-text-on-dark); }

.gst-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.gst-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.gst-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.gst-nav__logo-img { height: 58px; width: auto; object-fit: contain; }
.gst-nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.gst-nav__logo-title {
    font-family: var(--gst-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gst-color-dark);
}
.gst-nav__logo-subtitle {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gst-color-accent);
}

.gst-nav__links,
.gst-nav__links ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.gst-nav__links li { list-style: none; margin: 0; }
.gst-nav__links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: var(--gst-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gst-color-text-muted);
    white-space: nowrap;
}
.gst-nav__links a:hover,
.gst-nav__links a[aria-current="page"],
.gst-nav__links li.current-menu-item > a {
    color: var(--gst-color-accent);
}
.gst-nav__links-head,
.gst-nav__links-close { display: none; }
.gst-nav__links .gst-nav__cta-mobile { display: none; }

.gst-nav__right { display: flex; align-items: center; gap: 1rem; }
.gst-nav__cta-desktop {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    background: var(--gst-btn-secondary-bg);
    color: #FFFFFF;
    border-radius: var(--gst-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--gst-shadow-sm);
    transition: background var(--gst-transition-fast);
}
.gst-nav__cta-desktop:hover,
.gst-nav__cta-desktop:focus,
.gst-nav__cta-desktop:active { background: var(--gst-btn-secondary-bg-hover); color: #FFFFFF !important; }

.gst-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.gst-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--gst-color-dark);
    transition: transform var(--gst-transition-fast), opacity var(--gst-transition-fast);
}
.gst-nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.gst-nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.gst-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 25, 0.5);
    z-index: 55;
}
.gst-nav-overlay.is-open { display: block; }

@media (max-width: 991px) {
    .gst-nav__links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--gst-color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0.25rem;
        transform: translateX(100%);
        transition: transform var(--gst-transition-base);
        z-index: 60;
        overflow-y: auto;
    }
    .gst-nav__links.is-open { transform: translateX(0); }
    .gst-nav__links ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0.25rem; }
    .gst-nav__links-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
    .gst-nav__links-title { display: none !important; }
    button.gst-nav__links-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 15px;
        right: 0;
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        color: #000;
        transition: transform var(--gst-transition-fast);
    }
    .gst-nav__links-close:hover,
    .gst-nav__links-close:active { transform: rotate(90deg); }
    .gst-nav-toggle:focus,
    .gst-nav-toggle:hover,
    .gst-nav-toggle:active { outline: none; background: none; }
    .gst-nav__links-close:focus-visible,
    .gst-nav-toggle:focus-visible { outline: 2px solid var(--gst-color-accent); outline-offset: 2px; }
    .gst-nav__links-close .material-symbols-outlined {
        font-family: 'Material Symbols Outlined';
        font-size: 24px;
    }
    .gst-nav__links a { padding: 0.85rem 1rem; border-radius: var(--gst-radius-sm); }
    .gst-nav__links .gst-nav__cta-mobile {
        display: inline-flex;
        justify-content: center;
        margin-top: 1rem;
        padding: 0.85rem 1rem;
        border-radius: var(--gst-radius-sm);
        color: var(--gst-btn-primary-text) !important;
    }
    .gst-nav__cta-desktop { display: none; }
    .gst-nav-toggle { display: flex; }
    .gst-topbar__item--hours span:last-child { display: none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */

.gst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--gst-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background var(--gst-transition-fast), transform var(--gst-transition-fast);
}
.gst-btn--primary { background: var(--gst-btn-primary-bg); color: var(--gst-btn-primary-text); }
.gst-btn--primary:hover { background: var(--gst-btn-primary-bg-hover); color: var(--gst-btn-primary-text); transform: translateY(-1px); }
.gst-btn--secondary { background: var(--gst-btn-secondary-bg); color: var(--gst-btn-secondary-text); }
.gst-btn--secondary:hover { background: var(--gst-btn-secondary-bg-hover); color: var(--gst-btn-secondary-text); transform: translateY(-1px); }
.gst-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gst-color-text-on-dark);
}
.gst-btn--ghost:hover { background: rgba(255, 255, 255, 0.18); color: var(--gst-color-text-on-dark); }
.gst-btn--outline {
    background: transparent;
    border: 1px solid var(--gst-color-border);
    color: var(--gst-color-dark);
}
.gst-btn--outline:hover { background: var(--gst-color-surface-alt); color: var(--gst-color-dark); }
.gst-btn--block { width: 100%; }
.gst-btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.gst-btn.is-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: gst-spin 0.7s linear infinite;
}
.gst-btn--outline.is-loading::after { border-color: rgba(10, 31, 25, 0.25); border-top-color: var(--gst-color-dark); }
@keyframes gst-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gst-btn.is-loading::after { animation-duration: 1.4s; } }

/* GP parent tema ima globalno a:hover/:focus/:active { color: var(--contrast) } (plava) —
   nadjača naše dugmiće jer su i oni <a>. Zaključavamo boju teksta na svako stanje po varijanti. */
.gst-btn--primary:hover, .gst-btn--primary:focus, .gst-btn--primary:active { color: var(--gst-btn-primary-text) !important; }
.gst-btn--secondary:hover, .gst-btn--secondary:focus, .gst-btn--secondary:active { color: var(--gst-btn-secondary-text) !important; }
.gst-btn--ghost:hover, .gst-btn--ghost:focus, .gst-btn--ghost:active { color: var(--gst-color-text-on-dark) !important; }
.gst-btn--outline:hover, .gst-btn--outline:focus, .gst-btn--outline:active { color: var(--gst-color-dark) !important; }

/* =========================================================
   HERO
   ========================================================= */

.gst-hero {
    position: relative;
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark);
    overflow: hidden;
    padding: var(--gst-space-xl) 0;
}
.gst-hero::before {
    content: '';
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 219, 207, 0.12);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.gst-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--gst-space-xl);
    align-items: center;
}
.gst-hero__bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}
.gst-hero__bg-overlay--img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.gst-hero__bg-scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
.gst-hero__bg-scrim + .gst-container,
.gst-hero__bg-overlay + .gst-container,
.gst-hero__bg-video + .gst-hero__bg-scrim + .gst-container { position: relative; z-index: 1; }

/* Video pozadina — isti prigušen/luminosity tretman kao slika, autoplay/muted/loop u markup-u */
.gst-hero__bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: luminosity;
    pointer-events: none;
}
.gst-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gst-color-accent-light);
    border-left: 2px solid var(--gst-color-accent-light);
    padding-left: 0.75rem;
    margin-bottom: var(--gst-space-sm);
}
.gst-hero h1 { color: var(--gst-color-text-on-dark); }
.gst-hero h1 .gst-accent-text { color: var(--gst-color-accent-light); }
.gst-hero p { color: rgba(247, 250, 247, 0.85); }

.gst-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 34rem;
    margin-top: var(--gst-space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gst-hero__stat {
    padding: 0.9rem 1rem 0 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}
.gst-hero__stat:first-child { padding-left: 0; }
.gst-hero__stat:last-child { border-right: none; padding-right: 0; }

.gst-hero__google {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(247, 250, 247, 0.8);
}
.gst-hero__google-stars { display: flex; gap: 1px; color: var(--gst-color-accent-light); }
.gst-hero__google-stars .material-symbols-outlined { font-size: 15px; font-variation-settings: 'FILL' 1; }
.gst-hero__google-text strong { color: var(--gst-color-text-on-dark); }
.gst-hero__google-text a { color: var(--gst-color-accent-light); font-weight: 600; margin-left: 0.4rem; }
.gst-hero__google-text a:hover { color: var(--gst-color-text-on-dark); }
.gst-hero__stat-value {
    display: block;
    font-family: var(--gst-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gst-color-accent-light);
}
.gst-hero__stat-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(247, 250, 247, 0.65);
    margin-top: 0.25rem;
}

/* Booking / kalkulator widget kartica (glass panel na tamnoj hero pozadini) */
.gst-widget {
    background: rgba(10, 31, 25, 0.92);
    backdrop-filter: blur(20px);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-md);
    box-shadow: var(--gst-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--gst-space-sm);
}
.gst-widget input,
.gst-widget select {
    width: 100%;
    background: #F3EFE7;
    color: var(--gst-color-dark);
    border: none;
    border-radius: var(--gst-radius-pill);
    padding: 0.85rem 1.25rem;
    font-family: var(--gst-font-body);
    font-size: 0.85rem;
}
.gst-widget input::placeholder { color: rgba(10, 31, 25, 0.5); }
.gst-widget label {
    font-size: 0.75rem;
    color: rgba(247, 250, 247, 0.8);
    margin-bottom: 0.35rem;
    display: block;
}
.gst-widget__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }

/* Booking widget service tabs — podeljeni na jednake kolone, aktivan tab ima donju liniju
   umesto pill/badge tretmana (namerna odluka, ne pill dugmad). */
.gst-widget-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.gst-widget-tab {
    background: none;
    border: none;
    padding: 0.6rem 0.3rem;
    font-family: var(--gst-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(247, 250, 247, 0.6);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--gst-transition-fast), border-color var(--gst-transition-fast);
}
.gst-widget-tab.is-active {
    color: var(--gst-color-text-on-dark);
    border-bottom-color: var(--gst-color-accent-light);
}
.gst-widget__urgent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    color: rgba(247, 250, 247, 0.75);
}
.gst-widget__urgent a { color: var(--gst-color-accent-light); font-weight: 600; }

/* =========================================================
   CARDS — usluge/oprema/projekti/tim
   ========================================================= */

.gst-card {
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-md);
    box-shadow: var(--gst-shadow-md);
    transition: box-shadow var(--gst-transition-base), transform var(--gst-transition-base);
}
.gst-card:hover { box-shadow: var(--gst-shadow-lg); transform: translateY(-4px); }
.gst-review-slider__slide .gst-card { box-shadow: var(--gst-shadow-sm); }
.gst-review-slider__slide .gst-card:hover { box-shadow: var(--gst-shadow-sm); transform: none; }

.gst-grid {
    display: grid;
    gap: var(--gst-space-md);
}
.gst-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gst-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gst-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) {
    .gst-grid--2, .gst-grid--3, .gst-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .gst-grid--2, .gst-grid--3, .gst-grid--4 { grid-template-columns: 1fr; }
}

.gst-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gst-usluge-hero__topo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--gst-color-dark);
    opacity: 0.12;
    pointer-events: none;
}
.gst-usluge-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}
.gst-usluge-hero__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
}
.gst-usluge-hero--media .gst-eyebrow,
.gst-usluge-hero--media h1,
.gst-usluge-hero--media p { color: var(--gst-color-text-on-dark); }
.gst-usluge-hero--media p { color: rgba(247, 250, 247, 0.85); }
.gst-step-card { display: flex; flex-direction: column; }
.gst-step-card__tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gst-color-dark);
}
.gst-step-card__tag .material-symbols-outlined { font-size: 16px; color: var(--gst-color-accent); }
.gst-calc__total-rsd { display: block; font-size: 0.7rem; color: var(--gst-color-text-muted); text-align: right; }
.gst-saveti__image {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 8;
    border-radius: var(--gst-radius-lg);
    overflow: hidden;
    margin-bottom: var(--gst-space-md);
    box-shadow: var(--gst-shadow-md);
}
.gst-saveti__image img { width: 100%; height: 100%; object-fit: cover; }
.gst-saveti__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
.gst-service-card__image {
    width: calc(100% + 2 * var(--gst-space-md));
    margin: calc(-1 * var(--gst-space-md)) calc(-1 * var(--gst-space-md)) var(--gst-space-sm);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--gst-radius-lg) var(--gst-radius-lg) 0 0;
}
.gst-service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gst-service-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gst-space-sm);
}
.gst-service-card__icon {
    padding: 0.8rem;
    background: var(--gst-color-surface-alt);
    border-radius: var(--gst-radius-md);
    color: var(--gst-color-dark);
    display: inline-flex;
}
.gst-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--gst-radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--gst-color-accent-light);
    color: var(--gst-color-accent-hover);
}
.gst-badge--neutral { background: var(--gst-color-surface-alt-2); color: var(--gst-color-dark); }
.gst-service-card__items {
    list-style: none;
    margin: var(--gst-space-sm) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.gst-service-card__items li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gst-color-text);
}
.gst-service-card__items .material-symbols-outlined { font-size: 16px; color: var(--gst-color-accent); }
.gst-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--gst-space-sm);
    margin-top: var(--gst-space-sm);
    border-top: 1px solid var(--gst-color-border);
}
.gst-service-card__price-label { display: block; font-size: 0.65rem; text-transform: uppercase; color: var(--gst-color-text-muted); }
.gst-service-card__price { font-family: var(--gst-font-heading); font-weight: 700; color: var(--gst-color-dark); }

/* Filter pills (Usluge/Reference stranica) */
.gst-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.gst-filter-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--gst-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--gst-color-surface);
    color: var(--gst-color-text-muted);
    border: none;
    cursor: pointer;
    box-shadow: var(--gst-shadow-sm);
    transition: background var(--gst-transition-fast), color var(--gst-transition-fast);
}
.gst-filter-btn.is-active,
.gst-filter-btn:hover { background: var(--gst-color-accent); color: var(--gst-color-text-on-dark); }

/* Team member card */
.gst-team-card { overflow: hidden; padding: 0; }
.gst-team-card__photo { position: relative; aspect-ratio: 4 / 5; background: var(--gst-color-surface-alt-2); overflow: hidden; }
.gst-team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.gst-team-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gst-color-accent-light);
    color: var(--gst-color-accent-hover);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: var(--gst-radius-pill);
}
.gst-team-card__body { padding: var(--gst-space-sm); }
.gst-team-card__role { color: var(--gst-color-accent); font-weight: 600; font-size: 0.85rem; }
.gst-team-card__license {
    font-size: 0.75rem;
    color: var(--gst-color-text-muted);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gst-color-border);
}

/* Equipment / hardware bento cards */
.gst-hw-card {
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-md);
    box-shadow: var(--gst-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--gst-space-sm);
}
.gst-hw-card__image { position: relative; width: 100%; height: 16rem; border-radius: var(--gst-radius-md); overflow: hidden; background: var(--gst-color-surface-alt); }
.gst-hw-card__image img { width: 100%; height: 100%; object-fit: cover; }
.gst-hw-card__tag { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: var(--gst-radius-pill); background: var(--gst-color-surface-alt-2); color: var(--gst-color-dark); margin-bottom: 0.4rem; }

.gst-hw-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gst-space-lg); }
.gst-hw-card { grid-column: span 6; }
.gst-hw-card--wide { grid-column: span 7; }
.gst-hw-card--wide + .gst-hw-card:not(.gst-hw-card--wide) { grid-column: span 5; }
@media (max-width: 900px) {
    .gst-hw-bento { grid-template-columns: 1fr; }
    .gst-hw-card,
    .gst-hw-card--wide,
    .gst-hw-card--wide + .gst-hw-card:not(.gst-hw-card--wide) { grid-column: span 1; }
}
.gst-hw-card__overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 31, 25, 0.8);
    backdrop-filter: blur(6px);
    color: var(--gst-color-text-on-dark);
    padding: 0.4rem 0.85rem;
    border-radius: var(--gst-radius-pill);
    font-size: 0.75rem;
}
.gst-hw-card__overlay .material-symbols-outlined { font-size: 16px; color: var(--gst-color-accent-light); }
.gst-hw-card__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.75rem; padding-top: 0.5rem; }
.gst-hw-card__spec { display: flex; flex-direction: column; gap: 0.2rem; }
.gst-hw-card__spec-label { font-size: 0.7rem; color: var(--gst-color-text-muted); }
.gst-hw-card__spec-value { font-family: var(--gst-font-heading); font-weight: 600; font-size: 0.95rem; color: var(--gst-color-dark); }

.gst-ot-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}
.gst-ot-hero__blob--1 { top: -6rem; right: -6rem; width: 24rem; height: 24rem; background: rgba(162, 62, 24, 0.12); }
.gst-ot-hero__blob--2 { top: 40%; left: -5rem; width: 20rem; height: 20rem; background: rgba(10, 31, 25, 0.08); }

.gst-ot-hero__side-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--gst-radius-lg);
    overflow: hidden;
    box-shadow: var(--gst-shadow-lg);
}
.gst-ot-hero__side-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .gst-ot-hero__side-image { aspect-ratio: 16 / 9; } }

.gst-ot-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.gst-ot-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.3) 100%);
}
.gst-ot-hero--bckg .gst-eyebrow,
.gst-ot-hero--bckg h1 { color: var(--gst-color-text-on-dark); }
.gst-ot-hero--bckg p { color: rgba(247, 250, 247, 0.85); }
.gst-ot-hero { overflow: hidden; }
.gst-ot-hero--bckg { overflow: visible; padding-top: 6rem; padding-bottom: 8rem; width: 100%; min-width: 0; }
.gst-ot-hero--bckg h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); }

.gst-ot-stats-overlap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    transform: translateY(50%);
}
.gst-ot-stats-spacer { height: 3.5rem; }
@media (max-width: 900px) { .gst-ot-stats-spacer { height: 5.5rem; } }

/* Na uskim ekranima traka postaje previsoka (1 kolona) za overlap efekat —
   vraća se u normalan flow ispod hero-a bez preklapanja teksta. */
@media (max-width: 640px) {
    .gst-ot-hero--bckg { padding-top: 3rem; padding-bottom: var(--gst-space-xl); }
    .gst-ot-stats-overlap { position: relative; transform: none; margin-top: var(--gst-space-lg); }
    .gst-ot-stats-spacer { display: none; }
}

.gst-ot-stats-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--gst-color-dark);
    border-radius: var(--gst-radius-lg);
    box-shadow: var(--gst-shadow-lg);
    overflow: hidden;
}
.gst-ot-stats-bar__item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.75rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}
.gst-ot-stats-bar__item:last-child { border-right: none; }
.gst-ot-stats-bar__item .material-symbols-outlined { color: var(--gst-color-accent-light); font-size: 22px; }
.gst-ot-stats-bar__value { font-family: var(--gst-font-heading); font-weight: 700; font-size: 1.5rem; color: var(--gst-color-text-on-dark); }
.gst-ot-stats-bar__label { font-size: 0.75rem; color: rgba(247, 250, 247, 0.6); line-height: 1.4; }
.gst-ot-stats-bar__item--rgz { background: rgba(162, 62, 24, 0.18); }
@media (max-width: 900px) {
    .gst-ot-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .gst-ot-stats-bar__item:nth-child(2n) { border-right: none; }
    .gst-ot-stats-bar__item:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 560px) {
    .gst-ot-stats-bar { grid-template-columns: 1fr; }
    .gst-ot-stats-bar__item { border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .gst-ot-stats-bar__item:last-child { border-bottom: none; }
}

.gst-cloud-mockup {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-md);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.gst-cloud-mockup__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 1rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--gst-color-text-on-dark);
}
.gst-cloud-mockup__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gst-color-accent); flex-shrink: 0; }
.gst-cloud-mockup__status { margin-left: auto; font-size: 0.75rem; color: rgba(247, 250, 247, 0.6); }
.gst-cloud-mockup__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: var(--gst-radius-md);
    background: rgba(255, 255, 255, 0.03);
}
.gst-cloud-mockup__row .material-symbols-outlined { color: var(--gst-color-accent-light); font-size: 22px; flex-shrink: 0; }
.gst-cloud-mockup__row div { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.gst-cloud-mockup__row strong { font-size: 0.82rem; color: var(--gst-color-text-on-dark); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gst-cloud-mockup__row span { font-size: 0.72rem; color: rgba(247, 250, 247, 0.55); }
.gst-cloud-mockup__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem;
    margin-top: 0.2rem;
    border-radius: var(--gst-radius-md);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    color: rgba(247, 250, 247, 0.75);
}
.gst-cloud-mockup__footer .material-symbols-outlined { font-size: 16px; color: var(--gst-color-accent-light); }
.gst-cloud-mockup__disclaimer { text-align: center; font-size: 0.7rem; color: rgba(247, 250, 247, 0.4); margin-top: 0.2rem; }

/* Distribucija realizacije panel (Reference i Projekti) */
.gst-distrib-panel {
    background: var(--gst-color-surface-alt);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-lg);
}
.gst-distrib-legend { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; font-size: 0.88rem; }
.gst-distrib-legend__row { display: flex; align-items: center; justify-content: space-between; }
.gst-distrib-legend__row strong { font-weight: 700; color: var(--gst-color-dark); }
.gst-distrib-legend__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.5rem; }
.gst-distrib-chart { background: var(--gst-color-surface); border-radius: var(--gst-radius-md); padding: var(--gst-space-md); }
.gst-distrib-chart__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--gst-color-text-muted); letter-spacing: 0.03em; }
.gst-distrib-chart__legend { display: flex; gap: 1.5rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--gst-color-text-muted); }
.gst-distrib-chart__legend span { display: flex; align-items: center; gap: 0.4rem; }
.gst-distrib-chart__line { display: inline-block; width: 14px; height: 2px; }
.gst-distrib-chart__line--solid { background: var(--gst-color-accent); }
.gst-distrib-chart__line--dashed { background: repeating-linear-gradient(90deg, var(--gst-color-dark) 0 3px, transparent 3px 6px); }

/* CTA status kartica (Reference i Projekti) */
.gst-cta-status {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--gst-radius-md);
    padding: var(--gst-space-md);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.gst-cta-status__head { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--gst-color-accent-light); font-size: 0.9rem; }
.gst-cta-status__head .material-symbols-outlined { font-size: 20px; }
.gst-cta-status__row { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(247, 250, 247, 0.75); padding: 0.3rem 0; }
.gst-cta-status__row strong { color: var(--gst-color-text-on-dark); font-weight: 600; }
.gst-cta-status__accent { color: var(--gst-color-accent-light) !important; }
.gst-cta-status__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.6rem; margin-top: 0.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: rgba(247, 250, 247, 0.75); }
.gst-cta-status__footer strong { color: var(--gst-color-text-on-dark); }
.gst-cta-status__pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gst-color-accent-light);
    margin-right: 0.5rem;
    animation: gst-pulse 2s ease-out infinite;
}
@keyframes gst-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 219, 207, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(255, 219, 207, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 219, 207, 0); }
}
@media (prefers-reduced-motion: reduce) { .gst-cta-status__pulse { animation: none; } }

/* Project / reference bento cards */
.gst-project-card {
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-md);
    box-shadow: var(--gst-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gst-project-card--dark { background: var(--gst-color-dark); color: var(--gst-color-text-on-dark); }
.gst-project-card--dark h3, .gst-project-card--dark h2 { color: var(--gst-color-text-on-dark); }
.gst-project-card--dark p { color: var(--gst-color-text-on-dark-muted); }
.gst-project-card__image { position: relative; width: 100%; height: 20rem; border-radius: var(--gst-radius-md); overflow: hidden; background: var(--gst-color-surface-alt); }
.gst-project-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
.gst-project-card__image img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   REVIEW SLIDER
   ========================================================= */

.gst-review-slider__viewport { overflow: hidden; }
.gst-review-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--gst-space-md);
    transition: transform 0.5s var(--gst-ease);
}
.gst-review-slider__slide {
    flex: 0 0 calc((100% - 2 * var(--gst-space-md)) / 3);
    min-width: 0;
    display: flex;
}
.gst-review-slider__slide .gst-card { width: 100%; }
@media (max-width: 900px) {
    .gst-review-slider__slide { flex-basis: calc((100% - var(--gst-space-md)) / 2); }
}
@media (max-width: 640px) {
    .gst-review-slider__slide { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .gst-review-slider__track { transition: none; }
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.gst-faq {
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-lg);
    padding: var(--gst-space-sm) var(--gst-space-md);
    box-shadow: var(--gst-shadow-sm);
}
.gst-faq__question,
.gst-faq__question:hover,
.gst-faq__question:focus,
.gst-faq__question:active {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gst-space-sm);
    background: none !important;
    border: none;
    text-align: left;
    padding: var(--gst-space-sm) 0;
    cursor: pointer;
    font-family: var(--gst-font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gst-color-dark) !important;
}
.gst-faq__question:focus-visible { outline: 2px solid var(--gst-color-accent); outline-offset: 2px; border-radius: var(--gst-radius-sm); }
.gst-faq__icon { color: var(--gst-color-accent); transition: transform var(--gst-transition-fast); flex-shrink: 0; }
.gst-faq[data-open="true"] .gst-faq__icon { transform: rotate(180deg); }
.gst-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--gst-transition-base);
    color: var(--gst-color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.gst-faq__answer-inner { padding-bottom: var(--gst-space-sm); }

/* =========================================================
   FORMS
   ========================================================= */

.gst-form { display: flex; flex-direction: column; gap: var(--gst-space-sm); }
.gst-field { display: flex; flex-direction: column; gap: 0.4rem; }
.gst-field label { font-size: 0.85rem; font-weight: 600; color: var(--gst-color-dark); }

/* Kontakt forma — tamna kartica varijanta */
.gst-kt-form-card { background: var(--gst-color-dark); }
.gst-kt-form-card .gst-field label { color: var(--gst-color-text-on-dark); }
.gst-kt-form-card .gst-checkbox span:last-child { color: rgba(247, 250, 247, 0.85); }
.gst-kt-form-card .gst-field__error { color: #ff9b8a; }
.gst-field .required { color: var(--gst-color-accent); }
.gst-field input,
.gst-field select,
.gst-field textarea {
    width: 100%;
    background: var(--gst-color-input-bg);
    border: 1.5px solid var(--gst-color-border);
    border-radius: var(--gst-radius-pill);
    padding: 0.9rem 1.25rem;
    font-family: var(--gst-font-body);
    font-size: 0.9rem;
    color: var(--gst-color-text);
    transition: background var(--gst-transition-fast), border-color var(--gst-transition-fast), box-shadow var(--gst-transition-fast);
}
.gst-field textarea { border-radius: var(--gst-radius-md); resize: vertical; }
.gst-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23424845' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}
.gst-field input:focus,
.gst-field select:focus,
.gst-field textarea:focus {
    background-color: var(--gst-color-surface);
    border-color: var(--gst-color-accent);
    box-shadow: 0 0 0 3px rgba(162, 62, 24, 0.12);
    outline: none;
}
.gst-field select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A23E18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); }
.gst-field input.is-invalid,
.gst-field select.is-invalid,
.gst-field textarea.is-invalid { border-color: #BA1A1A; }
.gst-field__error { font-size: 0.75rem; color: #BA1A1A; min-height: 1em; }

.gst-field input[type="date"] { cursor: pointer; }
.gst-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 0.3rem;
    border-radius: var(--gst-radius-sm);
    filter: invert(28%) sepia(23%) saturate(1900%) hue-rotate(343deg) brightness(90%) contrast(90%);
    opacity: 0.75;
    transition: opacity var(--gst-transition-fast);
}
.gst-field input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Custom select — native <select> stays for form submit + a11y fallback (visually hidden),
   .gst-select__trigger/__list render the actual premium dropdown UI. */
.gst-select { position: relative; }
.gst-select__native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.gst-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--gst-color-input-bg);
    border: 1px solid transparent;
    border-radius: var(--gst-radius-pill);
    padding: 0.9rem 1.25rem;
    font-family: var(--gst-font-body);
    font-size: 0.9rem;
    color: var(--gst-color-text);
    cursor: pointer;
    text-align: left;
    transition: background var(--gst-transition-fast), border-color var(--gst-transition-fast), box-shadow var(--gst-transition-fast);
}
.gst-select__trigger .material-symbols-outlined { font-size: 20px; color: var(--gst-color-text-muted); transition: transform var(--gst-transition-fast); flex-shrink: 0; }
.gst-select__trigger:hover { background: var(--gst-color-surface-alt); }
.gst-select__trigger:hover,
.gst-select__trigger:focus,
.gst-select__trigger:active,
.gst-select.is-open .gst-select__trigger,
.gst-select__trigger:focus-visible {
    color: var(--gst-color-text) !important;
}
.gst-select.is-open .gst-select__trigger,
.gst-select__trigger:focus-visible {
    background: var(--gst-color-surface);
    border-color: var(--gst-color-accent);
    box-shadow: 0 0 0 3px rgba(162, 62, 24, 0.12);
    outline: none;
}
.gst-select.is-open .gst-select__trigger .material-symbols-outlined { transform: rotate(180deg); }
.gst-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gst-select__list {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0.4rem;
    list-style: none;
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-md);
    box-shadow: var(--gst-shadow-lg);
    max-height: 16rem;
    overflow-y: auto;
}
.gst-select__option {
    padding: 0.7rem 0.9rem;
    border-radius: var(--gst-radius-sm);
    font-size: 0.88rem;
    color: var(--gst-color-text);
    cursor: pointer;
    transition: background var(--gst-transition-fast);
}
.gst-select__option:hover,
.gst-select__option.is-active { background: var(--gst-color-surface-alt); color: var(--gst-color-dark); }
.gst-select__option.is-selected { font-weight: 600; color: var(--gst-color-accent); }
/* Custom date picker — isti pattern kao .gst-select, native <input type="date"> skriven ispod. */
.gst-datepicker { position: relative; }
.gst-datepicker__native {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.gst-datepicker__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: var(--gst-color-input-bg);
    border: 1.5px solid var(--gst-color-border);
    border-radius: var(--gst-radius-pill);
    padding: 0.9rem 1.25rem;
    font-family: var(--gst-font-body);
    font-size: 0.9rem;
    color: var(--gst-color-text-muted);
    cursor: pointer;
    text-align: left;
    transition: background var(--gst-transition-fast), border-color var(--gst-transition-fast), box-shadow var(--gst-transition-fast);
}
.gst-datepicker__trigger.has-value { color: var(--gst-color-text); }
.gst-datepicker__trigger .material-symbols-outlined { font-size: 20px; color: var(--gst-color-text-muted); flex-shrink: 0; }
.gst-datepicker__trigger:hover,
.gst-datepicker__trigger:focus,
.gst-datepicker__trigger:active { background: var(--gst-color-input-bg); outline: none; color: #000; }
.gst-datepicker.is-open .gst-datepicker__trigger,
.gst-datepicker__trigger:focus-visible {
    background: var(--gst-color-surface);
    border-color: var(--gst-color-accent);
    box-shadow: 0 0 0 3px rgba(162, 62, 24, 0.12);
    outline: none;
}
.gst-datepicker__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 20;
    width: 18rem;
    max-width: 90vw;
    background: var(--gst-color-surface);
    border-radius: var(--gst-radius-md);
    box-shadow: var(--gst-shadow-lg);
    padding: 1rem;
}
.gst-datepicker__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.gst-datepicker__nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gst-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--gst-radius-sm);
}
.gst-datepicker__nav-btn:hover,
.gst-datepicker__nav-btn:focus,
.gst-datepicker__nav-btn:active { background: var(--gst-color-surface-alt); outline: none; color: var(--gst-color-dark); }
.gst-datepicker__month-label { font-weight: 600; font-size: 0.9rem; color: var(--gst-color-dark); text-transform: capitalize; }
.gst-datepicker__weekdays,
.gst-datepicker__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.15rem; text-align: center; }
.gst-datepicker__weekdays span { font-size: 0.7rem; color: var(--gst-color-text-muted); padding: 0.3rem 0; }
.gst-datepicker__day {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--gst-color-text);
    padding: 0.45rem 0;
    border-radius: var(--gst-radius-sm);
    transition: background var(--gst-transition-fast);
}
.gst-datepicker__day:hover,
.gst-datepicker__day:focus,
.gst-datepicker__day:active { background: var(--gst-color-surface-alt); outline: none; color: var(--gst-color-text); }
.gst-datepicker__day.is-selected:hover,
.gst-datepicker__day.is-selected:focus,
.gst-datepicker__day.is-selected:active { background: var(--gst-color-accent); color: #fff; }
.gst-datepicker__day.is-outside { color: var(--gst-color-text-muted); opacity: 0.4; }
.gst-datepicker__day.is-disabled { color: var(--gst-color-text-muted); opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.gst-datepicker__day.is-today { font-weight: 700; color: var(--gst-color-accent); }
.gst-datepicker__day.is-selected { background: var(--gst-color-accent); color: #fff; font-weight: 600; }

.gst-form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gst-space-sm); }
@media (max-width: 640px) { .gst-form__row { grid-template-columns: 1fr; } }
.gst-form__row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .gst-form__row--3 { grid-template-columns: 1fr; } }
.gst-form__status {
    display: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--gst-radius-pill);
    background: var(--gst-color-accent-light);
    color: var(--gst-color-accent-hover);
    font-size: 0.85rem;
    font-weight: 600;
}
.gst-form__status.is-error { background: #FFDAD6; color: #93000A; }

.gst-checkbox { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.85rem; color: var(--gst-color-text); }
.gst-checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gst-checkbox__box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--gst-color-surface-alt-2);
    border: 1.5px solid var(--gst-color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--gst-transition-fast), border-color var(--gst-transition-fast);
}
.gst-checkbox input:checked + .gst-checkbox__box { background: var(--gst-color-accent); border-color: var(--gst-color-accent); }
.gst-checkbox input:checked + .gst-checkbox__box .material-symbols-outlined { opacity: 1; }
.gst-checkbox__box .material-symbols-outlined { font-size: 14px; color: #fff; opacity: 0; transition: opacity var(--gst-transition-fast); }
.gst-checkbox input:focus-visible + .gst-checkbox__box { outline: 2px solid var(--gst-color-accent); outline-offset: 2px; }

/* Kalkulator troškova (Usluge stranica) */
.gst-calc { background: var(--gst-color-surface); border-radius: var(--gst-radius-lg); padding: var(--gst-space-md); box-shadow: var(--gst-shadow-md); }
.gst-calc__summary { background: var(--gst-color-surface-alt); border-radius: var(--gst-radius-md); padding: var(--gst-space-sm); display: flex; flex-direction: column; gap: 0.5rem; }
.gst-calc__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; color: var(--gst-color-text-muted); }
.gst-calc__row strong { color: var(--gst-color-dark); font-family: var(--gst-font-heading); }
.gst-calc__total { display: flex; align-items: center; justify-content: space-between; padding-top: 0.5rem; border-top: 1px solid var(--gst-color-border); }
.gst-calc__total-value { font-family: var(--gst-font-heading); font-size: 1.5rem; font-weight: 700; color: var(--gst-color-accent); }

/* =========================================================
   FOOTER
   ========================================================= */

.gst-footer {
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark-muted);
    padding: var(--gst-space-xl) 0 var(--gst-space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.gst-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--gst-space-lg);
    padding-bottom: var(--gst-space-lg);
}
@media (max-width: 991px) { .gst-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gst-footer__top { grid-template-columns: 1fr; } }
.gst-footer__logo-text { font-family: var(--gst-font-heading); font-weight: 700; font-size: 1.25rem; color: var(--gst-color-text-on-dark); }
.gst-footer__logo-img { height: 40px; width: auto; }
.gst-footer__desc { font-size: 0.85rem; margin-top: 0.75rem; color: rgba(247, 250, 247, 0.6); }
.gst-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 2px solid var(--gst-color-accent-light);
    padding-left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 1rem;
    color: var(--gst-color-accent-light);
}
.gst-footer__badge .material-symbols-outlined { font-size: 16px; }
.gst-footer__col-title { display: block; font-family: var(--gst-font-heading); font-weight: 600; color: var(--gst-color-text-on-dark); margin-bottom: 0.9rem; }
.gst-footer__col-links { display: flex; flex-direction: column; gap: 0.6rem; }
.gst-footer__col-links a { color: var(--gst-color-text-on-dark-muted); font-size: 0.85rem; }
.gst-footer__col-links a:hover { color: var(--gst-color-text-on-dark); }
.gst-footer__contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; margin-bottom: 0.6rem; color: var(--gst-color-text-on-dark-muted); }
.gst-footer__contact-item .material-symbols-outlined { margin-top: 0.1rem; }
.gst-footer__contact-item .material-symbols-outlined { font-size: 18px; color: var(--gst-color-accent-light); }
.gst-footer__contact-item:hover { color: var(--gst-color-text-on-dark); }
.gst-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gst-space-sm);
    padding-top: var(--gst-space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    flex-wrap: wrap;
    color: rgba(247, 250, 247, 0.55);
}
.gst-footer__bottom p { color: rgba(247, 250, 247, 0.55); margin: 0; }
.gst-footer__legal-links { display: flex; align-items: center; gap: var(--gst-space-sm); }
.gst-footer__legal-links a { color: var(--gst-color-text-on-dark-muted); }
.gst-footer__legal-links a:hover { color: var(--gst-color-text-on-dark); }

.gst-whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 40;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gst-shadow-lg);
    transition: transform var(--gst-transition-fast);
}
.gst-whatsapp-btn:hover { transform: scale(1.08); color: #FFFFFF; }
@media (max-width: 640px) { .gst-whatsapp-btn { width: 46px; height: 46px; bottom: 1rem; left: 1rem; } }

.gst-scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gst-color-dark);
    color: var(--gst-color-text-on-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--gst-transition-fast), transform var(--gst-transition-fast), visibility var(--gst-transition-fast);
    box-shadow: var(--gst-shadow-md);
    z-index: 40;
}
.gst-scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; padding: 0; }

/* =========================================================
   RESPONSIVE — hero grid stack, spacing scale down
   ========================================================= */

@media (max-width: 991px) {
    .gst-hero__grid { grid-template-columns: 1fr; }
    :root {
        --gst-space-xl: 4rem;
        --gst-space-2xl: 5rem;
    }
}
@media (max-width: 640px) {
    .gst-container { padding: 0 1rem; }
    :root {
        --gst-space-lg: 2.5rem;
        --gst-space-xl: 3rem;
    }
}
