html, body {
    background: #020617;
    overflow-x: clip;
    font-family: 'Open Sans', sans-serif;
}

/* Bez focus outline / ringa pri kliku (miš, touch) */
:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

a,
button,
input,
select,
textarea,
summary,
[tabindex]:not([tabindex="-1"]) {
    -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL HERO TITLE  —  jedna klasa za sve h1 na svim stranicama
   ═══════════════════════════════════════════════════════════════════ */

.hero-title {
    font-family: 'Fraunces', serif !important;
    font-optical-sizing: none;
    font-variation-settings: "wght" 700, "opsz" 144, "SOFT" 100, "WONK" 0;
    font-size: clamp(2.4rem, 5.5vw, 6.25rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.1 !important;
    margin-bottom: 1.75rem !important;
    letter-spacing: 2px;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

/* Single shared class for all hero paragraphs */
.hero-sub {
    font-family: 'Open Sans', sans-serif !important;
    font-size: clamp(0.95rem, 1.4vw, 2.25rem) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}
/* ═══════════════════════════════════════════════════════════════════
   GLOBAL SECTION TITLES
   h1  →  .hero-title      (hero sekcija, sve stranice)
   h2  →  .section-title   (sve sekcije, svuda)
   h3  →  h3.section-title (automatski manji putem tag selektora)
   Boja se kontroliše CSS kontekstom — bez modifikatora.
   ═══════════════════════════════════════════════════════════════════ */

.section-title {
    font-family: 'Fraunces', serif;
    font-variation-settings: "WONK" 0;
    font-size: clamp(1.5rem, 3vw, 2.75rem);
    color: #000;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: none !important;
    -webkit-text-fill-color: #000;
}

/* h3 je automatski manji */
h3.section-title {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-variation-settings: "WONK" 0;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

/* Step h3 — lakša težina */
.svc-ai-step h3.section-title {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-variation-settings: "WONK" 0;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

/* Service “How it works” steps — staggered reveal */
.svc-ai-how__right .svc-ai-step {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-ai-how__right .svc-ai-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bijeli tekst kada je naslov unutar tamne sekcije */
.svc-ai-banner .section-title,
.svc-ai-safety .section-title,
.svc-ai-intro__card .section-title,
.about-tl .section-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* FAQ h2 — centriran */
.svc-ai-faq .section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* Services bento cards */
.bento-card__header .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.875rem;
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL BODY TEXT
   Jedna klasa za sve paragrafe na svim stranicama.
   Boja se kontroliše CSS kontekstom — bez modifikatora.
   ═══════════════════════════════════════════════════════════════════ */

.body-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #000;
    background: none !important;
    -webkit-text-fill-color: #000;
}

/* Service banner — CSS parallax (background-attachment: fixed) */
section.svc-ai-banner {
    overflow: visible;
}

section.svc-ai-banner .svc-ai-banner__bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.svc-ai-banner:not(.is-parallax-fallback) .svc-ai-banner__bg {
    transform: none;
}

/* Bijeli tekst unutar tamnih sekcija */
.svc-ai-banner .body-text,
.svc-ai-safety .body-text,
.svc-ai-intro__card .body-text,
.mission-cell--dark .body-text,
.about-tl .body-text {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.mission-cell--dark .section-title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL TYPOGRAPHY SYSTEM
   H1  — Fraunces, page/section hero titles
   H2  — Fraunces, section headings
   H3  — Fraunces, card/block headings
   .lead / p.lead — Open Sans 600, intro paragraph under a heading
   p   — Open Sans 400, body text
   ═══════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* H1 — hero / page title */
h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
}

/* H2 — section headings */
h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
}

/* H3 — card / block headings */
h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

/* H4 — smaller block labels */
h4 {
    font-size: clamp(1rem, 1.75vw, 1.25rem);
    font-weight: 600;
}

/* Body text */
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
}

/* Lead paragraph — bold intro text under a heading */
.lead, p.lead {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    line-height: 1.7;
}

/* Section label / eyebrow text above a heading */
.eyebrow {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Navbar absolute over hero */
#site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Navbar menu items — Fraunces (body uses font-sans / Open Sans) */
#site-header ul[role="list"] a,
#site-header .nav-dropdown-trigger,
#site-header .nav-dropdown__link {
    font-family: 'Fraunces', serif !important;
}

.nav-search {
    position: relative;
    flex-shrink: 0;
}

.nav-search__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-search__toggle:hover,
.nav-search__toggle--active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-search__icon {
    display: block;
    height: 1.5rem;
    width: auto;
    object-fit: contain;
}

/* Search modal overlay */
.nav-search-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: min(14vh, 7rem) 1.25rem 2rem;
}

.nav-search-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
}

.nav-search-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(40rem, 100%);
}

.nav-search-modal__close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.nav-search-modal__close:hover {
    color: #fff;
}

.nav-search-modal__form {
    margin: 0;
}

.nav-search-modal__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.25rem 0 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s ease;
}

.nav-search-modal__bar:focus-within {
    border-bottom-color: #fff;
}

.nav-search-modal__icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
}

.nav-search-modal__input {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0.35rem 0;
    border: none;
    background: transparent;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 500;
    color: #fff;
    outline: none;
}

.nav-search-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nav-search-modal__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* reCAPTCHA widget (contact / referral forms) */
.g-recaptcha {
    display: inline-block;
}

.recaptcha-setup-hint {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: #9a3412;
}

:root {
    --brand:      #3a56ff;
    --brand-dark: #1826e1;
    --accent:     #ec4899;
    --glow-brand: rgba(58, 86, 255, 0.4);
    --glow-accent: rgba(236, 72, 153, 0.3);
}

/* Scrollbar  */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #020617; }
::-webkit-scrollbar-thumb  { background: #3a56ff55; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a56ff99; }

/* Selection  */
::selection { background: rgba(58, 86, 255, 0.3); color: #fff; }

/* Typography helpers */
.gradient-text {
    background: linear-gradient(135deg, #607cff 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 4rem;
    background: black;
    color: white;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.4s ease, color 0.4s ease;
    box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
    -webkit-box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
    -moz-box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -120px;
    width: 50px;
    height: 200px;
    background: rgba(255, 255, 255, 0.55);
    transform: rotate(35deg);
    transition: left 2s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    pointer-events: none;
}
.btn-primary:hover::after {
    left: 120%;
}
.btn-primary:hover {
    background: white;
    color: black;
    box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 5px -3px rgba(0,0,0,0.75);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
}

/* Form elements */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: #f1f5f9;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    font-family: inherit;
}
.form-input::placeholder { color: #475569; }
.form-input:focus {
    border-color: rgba(58, 86, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(58, 86, 255, 0.1);
    background: rgba(255,255,255,0.06);
}

/* Section helpers */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #607cff;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 6vw, 2.75rem);
    color: #fff;
    line-height: 1.3;
}
.section-sub {
    font-size: 1.0625rem;
    color: #94a3b8;
    line-height: 1.7;
}

/* Gradient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(58,86,255,0.18) 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: orb-drift-1 18s ease-in-out infinite;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.12) 0%, transparent 70%);
    top: 20%; right: -150px;
    animation: orb-drift-2 22s ease-in-out infinite;
}
.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    bottom: 10%; left: 30%;
    animation: orb-drift-1 16s ease-in-out infinite reverse;
}

@keyframes orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -30px) scale(1.05); }
    66%       { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-50px, 40px) scale(1.08); }
}

/* Section glows */
.section-glow {
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    top: 50%; transform: translateY(-50%);
}
.section-glow-left {
    left: -400px;
    background: radial-gradient(circle, rgba(58,86,255,0.08) 0%, transparent 70%);
}
.section-glow-right {
    right: -400px;
    background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, transparent 70%);
}

/* Social icons */
.social-icon {
    width: 2.25rem; height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.social-icon:hover {
    color: #fff;
    background: rgba(58,86,255,0.15);
    border-color: rgba(58,86,255,0.3);
    transform: translateY(-2px);
}

.btn-icon-wrapper {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.icon-default {
    width: 1.7rem !important;
    height: 1.7rem !important;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.4s ease;
}
.icon-hover {
    display: none;
}
.btn-primary:hover .icon-default {
    filter: invert(1);
}

/* Apply / book-meeting modal (shared) */
.apply-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.apply-modal.is-open {
    display: flex;
}

.apply-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.apply-modal__box {
    position: relative;
    z-index: 1;
    width: min(886px, 92vw);
    border-radius: 1.25rem;
    overflow: hidden;
}

.apply-modal__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.45);
    transform: scale(1.05);
    z-index: 0;
}

.apply-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.72);
    z-index: 1;
}

.apply-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.apply-modal__close:hover {
    opacity: 1;
}

.apply-modal__content {
    position: relative;
    z-index: 5;
    padding: 3rem 3rem 3rem;
}

.apply-modal__title {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 1.5rem;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.apply-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.apply-form__input,
.apply-form__select {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.8rem 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    color: #000;
    outline: none;
    appearance: none;
}

.apply-form__input::placeholder {
    color: #000;
}

.apply-form__textarea {
    resize: vertical;
    min-height: 110px;
}

.apply-form__select {
    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 d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.apply-form__file-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.apply-form__file-label {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.apply-form__file {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #333;
    width: 100%;
}

.apply-form__check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    margin-top: 0.25rem;
}

/* Consent checkbox label — shared (contact, referral, careers apply) */
.form-consent-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #fff;
}

.form-consent-check span {
    font-family: 'Fraunces', serif;
    font-variation-settings: "wght" 500, "opsz" 144, "SOFT" 100, "WONK" 0;
    letter-spacing: 1px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.55;
    -webkit-text-fill-color: #fff !important;
}

.apply-form__captcha {
    margin-top: 0.25rem;
}

.apply-form__error {
    margin: 0;
    font-size: 0.875rem;
    color: #fca5a5;
}

.apply-form__hint {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
}

.apply-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: 'Fraunces', serif;
    padding: 0.75rem 5.25rem;
    border: none;
    border-radius: 0.6rem;
    margin-top: 0.25rem;
    background: #000;
    color: #fff;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    transition: background 0.4s ease, color 0.4s ease;
}

.apply-form__submit:hover {
    background: #fff;
    color: #000;
}

/* Footer */
.site-footer {
    position: relative;
    width: 100%;
    isolation: isolate;
    background: #020617;
}
.site-footer__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.site-footer__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.site-footer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.site-footer__inner {
    position: relative;
    z-index: 1;
    
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 0;
    align-items: stretch;
    padding-top: 6rem;
}
.site-footer__brand {
    position: relative;
    padding-right: 2.5rem;
}
.site-footer__brand::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: -3.5rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}
.site-footer__right {
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.site-footer__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}
.site-footer__heading {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
}
.site-footer__links,
.site-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer__links li + li,
.site-footer__contact li + li {
    margin-top: 0.35rem;
}
.site-footer__links a,
.site-footer__contact a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer__links a:hover,
.site-footer__contact a:hover {
    color: #fff;
}
.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
}
.site-footer__newsletter {
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
    -webkit-box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
    -moz-box-shadow: 0px 3px 5px -3px rgba(255,255,255,0.75);
}
.site-footer__newsletter input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}
.site-footer__newsletter input::placeholder {
    color: #fff;
    font-family: 'Fraunces', serif;
}
.site-footer__newsletter button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
}
.site-footer__newsletter button:hover {
    color: #fff;
}
.site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.375rem;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.site-footer__social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.875rem;
    padding-bottom: 4rem;
}
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.site-footer__legal a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer__legal a:hover {
    color: #fff;
}
/* Navigation scroll effect */
.nav-scrolled {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
}

/* Floating badges */
.float-badge { animation: float-badge 4s ease-in-out infinite; }
.float-badge-2 { animation-delay: -2s; animation-duration: 5s; }
@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* Ticker */
.ticker-track {
    animation: ticker-scroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* Background grid pattern */
.bg-grid-pattern {
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 80px 80px;
}

.container {
    width: 100%;
    max-width: 1650px !important;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ══════════════════════════════════════════════
   HERO BREADCRUMB — all inner pages (right synced in main.js)
   ══════════════════════════════════════════════ */
.hero-breadcrumb {
    position: absolute;
    bottom: 2rem;
    right: 1rem;
    z-index: 10;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: right;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.45;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.hero-breadcrumb a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════
   BLOG CARD — shared component (home slider + news grid)
   ══════════════════════════════════════════════ */
.blog-card {
    flex: 0 0 clamp(220px, calc(28vw - 28px), 360px);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform, opacity;
    cursor: grab;
    box-shadow: 0px 6px 16px -4px rgba(0,0,0,0.18);
    
}
.blog-card__top {
    height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem;
    position: relative;
}
.blog-card__icon {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-family: monospace;
    font-weight: 700;
}
.blog-card__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
}
.blog-card__body {
    padding: 1.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    overflow: hidden;
}
.blog-card__num {
    position: absolute;
    bottom: -0.5rem;
    right: 0.5rem;
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}
.blog-card:hover .blog-card__num {
    color: rgba(0, 0, 0, 0.1);
}
.blog-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    border-color: #d0d0d0;
}
.blog-card__title {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-card__desc {
    font-size: 0.8125rem;
    color: #000;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}
.blog-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
    transition: opacity 0.2s;
}
.blog-card__link:hover {
    opacity: 0.6;
}

/* Breadcrumb horizontal position: synced in main.js to #nav-cta-anchor (Get started) */

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — jedan blok po breakpointu
   ═══════════════════════════════════════════════════════════════════ */

/* Desktop (lg+) */
@media (min-width: 1024px) {
    .nav-search__icon {
        height: 1.75rem;
    }
}

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .hero-breadcrumb {
        left: 1rem;
        right: auto;
        text-align: left;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .site-footer__brand {
        padding-right: 0;
        padding-bottom: 2.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .site-footer__brand::after {
        display: none;
    }

    .site-footer__right {
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2.5rem;
    }

    .site-footer__row,
    .site-footer__row--bottom {
        display: contents;
    }

    .site-footer__row--bottom > div:nth-child(2) {
        display: none;
    }

    .site-footer__row--bottom > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
   .hero-sub {
    font-size: 1.2rem !important;
   }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3.section-title {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }

    section.svc-ai-banner.is-parallax-fallback .svc-ai-banner__bg {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem) !important;
    }

    .hero-title br {
        display: none;
    }

    .hero-sub {
        font-size: 1rem !important;
    }

    .container {
        padding: 0 1.25rem;
    }

    .site-footer__inner {
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }

    .site-footer__right {
        gap: 1.5rem 2rem;
    }

    .site-footer__heading {
        font-size: 1.25rem;
    }

    .hero-slider,
    .careers-hero,
    .about-hero,
    .contact-hero,
    .referral-hero,
    .news-hero,
    .npost-hero,
    .privacy-hero,
    .imprint-hero,
    .svc-hero,
    .svc-detail-hero {
        height: 50vh;
        min-height: 260px;
    }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
    .nav-search-modal {
        padding-top: 5.5rem;
    }

    .contact-form__captcha .g-recaptcha,
    .referral-form__captcha .g-recaptcha,
    .apply-form__captcha .g-recaptcha {
        transform: scale(0.92);
        transform-origin: left top;
    }

    .apply-form__row {
        grid-template-columns: 1fr;
    }

    .apply-modal__content {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-breadcrumb {
        font-size: 0.75rem;
        bottom: 1.25rem;
        line-height: 1.4;
    }

    .site-footer__right {
        gap: 1.25rem 1.5rem;
    }

    .site-footer__row > div:nth-child(3),
    .site-footer__row--bottom > div:first-child {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .site-footer__legal {
        gap: 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    section.svc-ai-banner .svc-ai-banner__bg {
        background-attachment: scroll;
    }
}

