.sg-root {
    --navy: #001f5c;
    --navy-deep: #00143d;
    --green: #4e8a2a;
    --green-dark: #3c6d20;
    --gold: #ffc000;
    --ink: #162033;
    --muted: #5a6878;
    --line: #e6ebf2;
    --paper: #f4f7fb;
    --header: 84px;
    color: var(--ink);
    background: #fff;
    font-family: Montserrat, "Segoe UI", sans-serif;
    line-height: 1.55;
    min-height: 100vh;
}

.sg-root *,
.sg-root *::before,
.sg-root *::after { box-sizing: border-box; }

.sg-root img { max-width: 100%; display: block; }
.sg-root a { color: inherit; text-decoration: none; }
.sg-root h1, .sg-root h2, .sg-root h3, .sg-root p { margin: 0; }
.sg-root ul { margin: 0; padding: 0; list-style: none; }

.sg-wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.sg-kicker {
    color: var(--green);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .78rem;
}

.sg-kicker--light { color: var(--gold); }

.sg-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(0, 31, 92, .08);
    backdrop-filter: blur(10px);
}

.sg-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sg-logo img { height: 62px; width: auto; }

.sg-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sg-nav a {
    font-size: .84rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .01em;
}

.sg-nav a:hover,
.sg-nav a.active,
.sg-nav__link:hover { color: var(--green); }
.sg-nav__link {
    font-size: .84rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .01em;
}

.sg-nav__cta {
    background: var(--navy);
    color: #fff !important;
    padding: .65rem 1rem;
    border-radius: 999px;
}

.sg-nav__cta:hover,
.sg-nav__cta.active { background: var(--green-dark); color: #fff !important; }

.sg-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.sg-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: #fff;
    padding: 0;
    font: inherit;
}
.sg-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
}

.sg-hero {
    position: relative;
    min-height: calc(100vh - var(--header));
    min-height: calc(100dvh - var(--header));
    color: #fff;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--navy-deep);
}

.sg-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.sg-hero__bg--team { object-position: center 28%; }

.sg-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 20, 61, .25) 0%, rgba(0, 20, 61, .18) 38%, rgba(0, 15, 48, .88) 100%);
}

.sg-hero__content {
    position: relative;
    z-index: 1;
    padding: 72px 0 64px;
    max-width: 760px;
}

.sg-hero h1 {
    margin-top: 12px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.03em;
}

.sg-hero__lead {
    margin-top: 18px;
    margin-bottom: 4px;
    max-width: 62ch;
    font-size: 1.02rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
}

.sg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
}

.sg-btn--gold { background: var(--gold); color: var(--navy-deep); }
.sg-btn--gold:hover { filter: brightness(.96); }
.sg-btn--ghost {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .7);
}
.sg-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.sg-section { padding: 84px 0; }
.sg-section--paper { background: var(--paper); }
.sg-section--navy { background: var(--navy); color: #fff; }

.sg-head { max-width: 760px; margin-bottom: 32px; }
.sg-head h2, .sg-block h3 {
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.sg-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 8px; }
.sg-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.sg-section--navy .sg-lead { color: rgba(255, 255, 255, .82); }
.sg-section--navy .sg-duo article p { color: rgba(255, 255, 255, .82); }
.sg-section--navy .sg-duo article { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }

.sg-about {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.sg-copy p + p { margin-top: 16px; }
.sg-copy p { font-size: 1.02rem; }

.sg-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.sg-photos img, .sg-frame img, .sg-card img, .sg-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}
.sg-photos img { height: 280px; }

.sg-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
}
.sg-frame img { height: 420px; border-radius: 16px; }

.sg-objectives { display: grid; gap: 12px; }
.sg-objectives li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 600;
}
.sg-objectives li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--green);
    transform: rotate(45deg);
}

.sg-services {
    columns: 2;
    column-gap: 36px;
}
.sg-services li {
    break-inside: avoid;
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}
.sg-services { counter-reset: svc; }
.sg-services li::before {
    counter-increment: svc;
    content: counter(svc, decimal-leading-zero);
    color: var(--green);
    font-weight: 800;
    font-size: .82rem;
    padding-top: 3px;
}

.sg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sg-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 31, 92, .05);
}
.sg-section--paper .sg-card { background: #fff; }
.sg-card img { height: 190px; border-radius: 0; }
.sg-card div { padding: 16px 16px 18px; }
.sg-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sg-card p { color: var(--muted); font-size: .95rem; }

.sg-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.sg-duo article {
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.sg-duo article p { color: var(--muted); }
.sg-duo img { height: 240px; width: 100%; object-fit: cover; }
.sg-duo div { padding: 20px 22px 24px; }
.sg-duo h3 { font-size: 1.2rem; margin: 8px 0 10px; }

.sg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.sg-gallery img { height: 240px; }

.sg-partners {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}
.sg-partners img { width: 100%; height: auto; object-fit: contain; border-radius: 8px; }

.sg-clients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 8px;
}
.sg-clients li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 16px;
}
.sg-clients img {
    max-height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.sg-contact {
    background: var(--gold);
    color: var(--navy-deep);
}
.sg-contact__grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 32px;
    align-items: center;
}
.sg-contact h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.sg-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 16px;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
}
.sg-mails { margin-top: 14px; display: grid; gap: 4px; font-weight: 600; }
.sg-mails a, .sg-web { color: var(--navy); }
.sg-web { display: inline-block; margin-top: 8px; font-weight: 800; font-style: italic; }
.sg-address { margin-top: 16px; font-weight: 700; }
.sg-qr {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    justify-self: end;
    width: min(220px, 100%);
}
.sg-qr img { width: 100%; height: auto; border-radius: 8px; }

.sg-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .88);
    padding: 36px 0 28px;
}
.sg-footer__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.sg-footer__brand img {
    height: 54px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 4px 8px;
}
.sg-legal {
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.6;
}
.sg-footer small {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: rgba(255, 255, 255, .55);
    font-size: .75rem;
}

html:has(.sg-root) { scroll-behavior: smooth; }
html:has(.sg-root) { scroll-padding-top: 96px; }

@media (max-width: 980px) {
    .sg-burger { display: flex; }
    .sg-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: var(--header);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 16px;
    }
    .sg-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .sg-nav__cta { margin-top: 10px; text-align: center; }
    .sg-nav.is-open { display: flex; }
    .sg-header { position: sticky; }
    .sg-header__inner { position: static; }
    .sg-header { position: sticky; }
    .sg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

    .sg-about, .sg-split, .sg-duo, .sg-contact__grid, .sg-services { grid-template-columns: 1fr; columns: 1; }
    .sg-grid, .sg-clients { grid-template-columns: 1fr 1fr; }
    .sg-gallery { grid-template-columns: 1fr 1fr; }
    .sg-gallery img { height: 200px; }
    .sg-photos img, .sg-photos img:first-child, .sg-frame img { height: 220px; grid-row: auto; }
    .sg-qr { justify-self: start; }
}

@media (max-width: 640px) {
    .sg-logo img { height: 46px; }
    .sg-wrap { width: min(1120px, calc(100% - 28px)); }
    .sg-section { padding: 64px 0; }
    .sg-grid, .sg-clients, .sg-photos, .sg-gallery { grid-template-columns: 1fr; }
    .sg-hero__content { padding: 48px 0 40px; }
}

.sg-pagehead {
    background: var(--navy);
    color: #fff;
    padding: 48px 0 36px;
}

.sg-pagehead--photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--navy-deep);
    min-height: clamp(220px, 32vw, 300px);
    display: flex;
    align-items: flex-end;
}

.sg-pagehead__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
}

.sg-pagehead__bg--about { object-position: center 28%; }
.sg-pagehead__bg--profil { object-position: center 42%; }
.sg-pagehead__bg--vision { object-position: center 38%; }

.sg-pagehead--profil {
    min-height: clamp(248px, 38vw, 340px);
    align-items: flex-end;
}

.sg-pagehead--profil .sg-pagehead__content {
    padding-bottom: 44px;
}

.sg-pagehead--profil .sg-pagehead__shade {
    background:
        linear-gradient(105deg, rgba(0, 15, 48, .95) 0%, rgba(0, 20, 61, .82) 48%, rgba(0, 20, 61, .45) 78%, rgba(0, 31, 92, .32) 100%),
        linear-gradient(180deg, rgba(0, 20, 61, .12) 0%, rgba(0, 15, 48, .58) 100%);
}

.sg-pagehead__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 15, 48, .94) 0%, rgba(0, 20, 61, .78) 42%, rgba(0, 20, 61, .42) 72%, rgba(0, 31, 92, .28) 100%),
        linear-gradient(180deg, rgba(0, 20, 61, .15) 0%, rgba(0, 15, 48, .55) 100%);
}

.sg-pagehead__content {
    position: relative;
    z-index: 1;
    padding: 52px 0 40px;
}
.sg-pagehead h1 {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.sg-pagehead__lead {
    margin-top: 14px;
    max-width: 68ch;
    color: rgba(255, 255, 255, .86);
}
.sg-subhead { margin: 22px 0 14px; font-size: 1.2rem; font-weight: 800; }
.sg-textlink { color: var(--navy); font-weight: 800; border-bottom: 2px solid var(--gold); }
.sg-section[id], article[id] { scroll-margin-top: 100px; }

.sg-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
}
.sg-subnav a { color: var(--gold); font-weight: 700; font-size: .88rem; }
.sg-subnav a:hover { color: #fff; }

.sg-entries {
    display: grid;
    grid-template-columns: 1.15fr .9fr .9fr;
    gap: 16px;
}
.sg-entry {
    position: relative;
    display: block;
    min-height: 340px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
}
.sg-entry img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sg-entry__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 20, 61, .08) 15%, rgba(0, 15, 48, .88) 100%);
}
.sg-entry__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 22px;
}
.sg-entry__body strong {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.sg-entry__body em {
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
}

.sg-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.sg-pillar {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px 24px;
    min-height: 180px;
}
.sg-pillar:hover { border-color: var(--green); }
.sg-pillar h3 { margin: 10px 0 8px; font-size: 1.12rem; font-weight: 800; }
.sg-pillar p { color: var(--muted); }

.sg-banner {
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
}
.sg-banner img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 35%;
}

.sg-note {
    display: flex;
    align-items: center;
}
.sg-note div { padding: 28px 26px; }

.sg-gallery--caption { align-items: start; }
.sg-gallery--caption figure { margin: 0; }
.sg-gallery--caption img { height: 280px; border-radius: 14px; }
.sg-gallery--caption figcaption {
    margin-top: 10px;
    font-weight: 700;
    color: var(--navy);
}
.sg-gallery--six { grid-template-columns: repeat(3, 1fr); }

.sg-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.sg-footer__nav a { color: #fff; font-weight: 600; }
.sg-footer__nav a:hover { color: var(--gold); }
.sg-footer__address {
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .sg-entries, .sg-pillars { grid-template-columns: 1fr 1fr; }
    .sg-entry { min-height: 260px; }
    .sg-banner img { height: 240px; }
}
@media (max-width: 640px) {
    .sg-entries, .sg-pillars, .sg-gallery--caption { grid-template-columns: 1fr; }
    .sg-pagehead:not(.sg-pagehead--photo) { padding: 36px 0 28px; }
    .sg-pagehead__content { padding: 40px 0 32px; }
}

.sg-pillar--link {
    display: block;
    transition: border-color .2s ease, transform .2s ease;
}
.sg-pillar--link:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
    .sg-reveal {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        will-change: opacity, transform;
    }
    .sg-reveal.is-visible {
        opacity: 1;
        transform: none;
        will-change: auto;
    }
    .sg-hero__motion > * {
        animation: sg-rise 0.65s ease backwards;
    }
    .sg-hero__motion > *:nth-child(1) { animation-delay: 0.05s; }
    .sg-hero__motion > *:nth-child(2) { animation-delay: 0.12s; }
    .sg-hero__motion > *:nth-child(3) { animation-delay: 0.18s; }
    .sg-hero__motion > *:nth-child(4) { animation-delay: 0.24s; }
}

@keyframes sg-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-reveal { opacity: 1; transform: none; }
    .sg-hero__motion > * { animation: none; }
}
