:root {
    --spd-ink: #172d38;
    --spd-blue: #12b3e9;
    --spd-muted: #617079;
    --spd-line: #dce4e7;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
.spd-page {
    margin: 0;
    background: #fefefe;
    color: var(--spd-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.spd-page *, .spd-page *::before, .spd-page *::after {
    box-sizing: border-box;
}
.spd-page a {
    color: inherit;
    text-decoration: none;
}
.spd-page button {
    font: inherit;
    cursor: pointer;
}
.spd-page a:focus-visible, .spd-page button:focus-visible {
    outline: 3px solid var(--spd-blue);
    outline-offset: 5px;
}
.spd-page img {
    display: block;
    max-width: 100%;
}
.spd-page h1, .spd-page h2, .spd-page h3, .spd-page p, .spd-page figure {
    margin: 0;
}
.spd-container {
    width: min(1200px, calc(100% - 80px));
    margin-inline: auto;
}
.spd-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}
.spd-skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 12px 18px;
    background: #fff;
}
.spd-skip:focus {
    top: 10px;
}
.spd-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fefefef5;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--spd-line);
}
.spd-header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 96px;
    transition: min-height 250ms ease;
}
.spd-header.spd-compact:not(:hover):not(:focus-within) .spd-header-inner {
    min-height: 72px;
}
.spd-logo {
    display: inline-block;
    flex-shrink: 0;
}
.spd-logo img {
    width: 205px;
    height: auto;
}
.spd-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
}
.spd-nav a:hover, .spd-footer a:hover {
    color: var(--spd-blue);
}
.spd-languages {
    display: flex;
    gap: 5px;
}
.spd-languages button {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #687982;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}
.spd-languages button.active {
    border-color: var(--spd-blue);
    color: var(--spd-ink);
}
.spd-flag {
    width: 22px;
    height: 14px;
    border-radius: 1px;
}
.spd-flag-sr {
    background: linear-gradient(#c6363c 0 33.33%, #17377a 33.33% 66.66%, #fff 66.66%);
    box-shadow: 0 0 0 1px #0001;
}
.spd-menu-toggle {
    display: none;
}
.spd-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
    color: #fff;
    background: var(--spd-ink);
}
.spd-hero-copy {
    padding: 74px 50px 54px max(40px, calc((100vw - 1200px) / 2));
    align-self: center;
}
.spd-eyebrow {
    color: #087d9f;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
}
.spd-hero .spd-eyebrow {
    color: #6fd7f7;
    margin-bottom: 25px;
}
.spd-hero h1 {
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.spd-hero h1 span:last-child {
    color: #79dcfa;
}
.spd-hero-description {
    margin-top: 25px !important;
    max-width: 430px;
    color: #d4e0e5;
    font-size: 16px;
}
.spd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 54px;
    padding: 15px 23px;
    color: #102d3c !important;
    background: var(--spd-blue);
    font-size: 14px;
    font-weight: 650;
    transition: background 200ms ease;
}
.spd-button:hover {
    background: #79dcfa;
}
.spd-hero .spd-button {
    margin-top: 32px;
}
.spd-hero-places {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 38px;
    color: #c4d5dd;
    font-size: 12px;
}
.spd-hero-places a:hover {
    color: #fff;
    text-decoration: underline;
}
.spd-hero-places > span {
    color: #65838f;
}
.spd-hero-image {
    position: relative;
    overflow: hidden;
}
.spd-hero-image > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;
}
.spd-hero-image::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, #0b233bcc);
}
.spd-hero-caption {
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
}
.spd-hero-caption strong {
    display: block;
    font-size: 17px;
    font-weight: 500;
}
.spd-offices {
    padding-block: 85px 90px;
}
.spd-section-heading {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 40px;
}
.spd-page h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.2;
}
.spd-section-heading h2 {
    margin-top: 15px;
    max-width: 400px;
}
.spd-section-heading > p {
    color: var(--spd-muted);
    font-size: 15px;
}
.spd-trebinje {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 30px;
    padding: 32px 36px;
    margin-top: 64px;
    border-left: 3px solid var(--spd-blue);
    background: #f0f5f7;
}
.spd-page h3 {
    font-size: 35px;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.25;
    margin-top: 9px;
}
.spd-office-name {
    font-size: 11px;
    letter-spacing: .1em;
    margin-top: 10px !important;
    color: var(--spd-muted);
}
.spd-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 26px;
    margin: 27px 0;
}
.spd-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}
.spd-contact-row > .spd-icon {
    color: #0a87ac;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}
.spd-contact-row dt {
    font-size: 11px;
    color: var(--spd-muted);
    margin-bottom: 2px;
}
.spd-contact-row dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.spd-contact-row a:hover {
    color: #087d9f;
    text-decoration: underline;
}
.spd-contact-row:last-child {
    grid-column: 1 / -1;
}
.spd-trebinje .spd-contact-list {
    grid-template-columns: 1fr 1fr;
    margin: 0;
}
.spd-office {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
    padding-bottom: 55px;
    border-bottom: 1px solid var(--spd-line);
}
.spd-office + .spd-office {
    margin-top: 55px;
    padding-bottom: 0;
    border: 0;
}
.spd-office-reverse .spd-office-photo {
    order: 2;
}
.spd-office-photo img {
    width: 100%;
    height: auto;
}
.spd-map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    padding-block: 8px;
    border-bottom: 1px solid #89b5c4;
}
.spd-map-link:hover {
    color: #087d9f;
}
.spd-contact {
    background: #eaf4f8;
    padding-block: 54px;
}
.spd-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.spd-contact h2 {
    font-size: 31px;
}
.spd-contact p {
    max-width: 510px;
    margin-top: 13px;
    color: var(--spd-muted);
}
.spd-contact-actions {
    flex-shrink: 0;
    display: grid;
    gap: 14px;
}
.spd-email-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}
.spd-footer {
    background: #172d38;
    color: #ced9de;
    padding-top: 55px;
    font-size: 13px;
}
.spd-footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}
.spd-footer-main p {
    max-width: 250px;
    margin-top: 20px;
}
.spd-footer nav, .spd-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.spd-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.spd-footer-contact .spd-icon {
    width: 16px;
    height: 16px;
}
.spd-footer-contact strong {
    color: #fff;
    font-weight: 600;
}
.spd-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 20px;
    border-top: 1px solid #ffffff24;
    font-size: 11px;
}
@media (max-width: 1000px) {
    .spd-header-inner {
        gap: 24px;
    }
    .spd-nav {
        gap: 20px;
    }
    .spd-hero-copy {
        padding-right: 30px;
    }
    .spd-office {
        gap: 35px;
    }
    .spd-contact-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .spd-section-heading {
        gap: 40px;
    }
    .spd-footer-main {
        gap: 30px;
    }
}
@media (max-width: 760px) {
    html {
        scroll-padding-top: 85px;
    }
    .spd-container {
        width: calc(100% - 40px);
    }
    .spd-header-inner {
        gap: 13px;
        min-height: 78px;
    }
    .spd-logo img {
        width: 155px;
    }
    .spd-languages {
        margin-left: auto;
        gap: 0;
    }
    .spd-languages button {
        padding: 6px;
        gap: 4px;
    }
    .spd-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 40px;
        height: 44px;
        padding: 8px;
        border: 0;
        background: transparent;
    }
    .spd-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--spd-ink);
        transition: transform 180ms ease;
    }
    .spd-menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }
    .spd-menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }
    .spd-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 15px 20px 25px;
        background: #fff;
        border-bottom: 1px solid var(--spd-line);
        box-shadow: 0 16px 24px #172d3810;
    }
    .spd-nav.spd-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .spd-nav a {
        padding: 13px 6px;
    }
    .spd-hero {
        grid-template-columns: 1fr;
    }
    .spd-hero-copy {
        padding: 48px 24px 40px;
    }
    .spd-hero h1 {
        font-size: clamp(40px, 8vw, 58px);
    }
    .spd-hero-image {
        min-height: 310px;
    }
    .spd-hero-image > img {
        object-position: center 65%;
    }
    .spd-hero-caption {
        left: 24px;
        bottom: 22px;
    }
    .spd-offices {
        padding-block: 55px;
    }
    .spd-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .spd-trebinje {
        grid-template-columns: 1fr;
        padding: 27px 24px;
        margin-top: 42px;
    }
    .spd-trebinje .spd-contact-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .spd-office {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-bottom: 38px;
    }
    .spd-office + .spd-office {
        margin-top: 38px;
    }
    .spd-office-reverse .spd-office-photo {
        order: 0;
    }
    .spd-contact-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
    .spd-contact-row dd {
        font-size: 14px;
    }
    .spd-contact-row {
        gap: 8px;
    }
    .spd-contact-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    .spd-contact h2 {
        font-size: 29px;
    }
    .spd-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .spd-footer-main > div:first-child {
        grid-column: 1 / -1;
    }
    .spd-footer .spd-logo img {
        width: 190px;
    }
}
@media (max-width: 380px) {
    .spd-header-inner {
        gap: 5px;
    }
    .spd-header .spd-logo img {
        width: 125px;
    }
    .spd-flag {
        width: 18px;
        height: 12px;
    }
    .spd-contact-list, .spd-footer-main {
        grid-template-columns: 1fr;
    }
    .spd-contact-row dd {
        font-size: 16px;
    }
    .spd-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .spd-page *, .spd-page *::before, .spd-page *::after {
        transition: none !important;
    }
}

.apis-author-credit {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}
.apis-author-credit a {
    display: inline;
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.apis-author-credit a:hover {
    opacity: .75;
}
.apis-author-credit a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.spd-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.spd-footer-bottom .apis-copyright-line {
    display: block;
    margin: 0;
    font-size: clamp(8px, 2.2vw, 11px);
    line-height: 1.5;
    white-space: nowrap;
}
.spd-footer-bottom .apis-author-credit {
    display: inline;
    margin: 0;
    font-size: inherit;
}
