.container {
    width: min(100% - (var(--gutter) * 2), var(--content-max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--color-ink);
    min-height: var(--header-height);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    min-height: var(--header-height);
}

.signal-line-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 1;
    transition: opacity 160ms ease;
}

.site-header.is-scrolled .signal-line-header {
    opacity: 0;
}

.header-inner > :not(.signal-line-header) {
    position: relative;
    z-index: 2;
}

.site-logo {
    position: relative;
    z-index: 42;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
}

.site-logo:hover {
    color: inherit;
}

.site-logo img {
    width: clamp(7.5rem, 22vw, 10.125rem);
    height: auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.6vw, 2rem);
    min-width: 0;
}

.header-cta {
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius-button);
    font-size: var(--text-small);
    white-space: nowrap;
}

.site-nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 1.15rem;
}

.site-nav-item {
    position: relative;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-on-dark);
    font-family: inherit;
    font-size: var(--text-small);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: inherit;
    text-align: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.site-nav-link:hover {
    color: var(--color-orange);
}

.site-nav-item--services .site-nav-link {
    position: relative;
}

.site-nav-item--services .site-nav-link::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.55rem;
    width: 1.35rem;
    height: 2px;
    background: var(--color-orange);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 200ms ease;
}

.site-nav-item--services.is-current .site-nav-link::before,
.site-nav-item--services.is-open .site-nav-link::before,
.site-nav-item--services:hover .site-nav-link::before,
.site-nav-item--services:focus-within .site-nav-link::before {
    opacity: 1;
}

.site-nav-item--services .site-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.05rem;
    border: 5px solid transparent;
    border-top-color: var(--color-orange);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 200ms ease;
    pointer-events: none;
}

.site-submenu {
    display: none;
}

.site-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: var(--color-on-dark);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease;
}

.site-submenu-link .icon-line {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    transition: stroke 200ms ease;
}

.site-submenu-link span {
    min-width: 0;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 42;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-on-dark);
    font: inherit;
    font-size: var(--text-small);
    font-weight: 700;
    cursor: pointer;
}

.no-js .nav-toggle {
    display: none;
}

.nav-toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 1.1rem;
}

.nav-toggle-bars span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
}

.site-footer {
    padding: 2.1rem 0 1.25rem;
    background: var(--color-ink);
    color: var(--color-on-dark-muted);
}

.footer-inner {
    display: flex;
    flex-direction: column;
}

.footer-main {
    display: grid;
    grid-template-columns: auto minmax(26rem, 1fr) auto minmax(10rem, auto);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
    padding-bottom: 1.45rem;
}

.footer-logo img {
    display: block;
    width: 9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 0.45rem clamp(1.2rem, 2.25vw, 2.3rem);
}

.footer-nav a {
    color: var(--color-on-dark-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.footer-nav a:hover,
.footer-details a:hover,
.footer-bottom a:hover { color: var(--color-orange); }

.footer-social-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-end;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    color: var(--color-on-dark);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-orange);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 1.3rem;
    height: 1.3rem;
}

.social-facebook svg,
.social-youtube svg,
.social-x svg {
    fill: currentColor;
    stroke: none;
}

.social-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-instagram circle:last-child { fill: currentColor; stroke: none; }

.footer-social .footer-youtube-play { fill: var(--color-ink); }

.footer-review {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.74rem;
}

.footer-review a {
    color: var(--color-on-dark);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.footer-review a + a::before {
    content: "/";
    margin-right: 0.4rem;
    color: #60727c;
}

.footer-claim {
    max-width: 13rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--color-orange);
    color: var(--color-on-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-details {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding: 1.4rem 0;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.footer-company,
.footer-contact,
.footer-documents {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    font-size: 0.76rem;
    line-height: 1.45;
}

.footer-contact strong,
.footer-documents strong {
    margin-bottom: 0.18rem;
    color: var(--color-on-dark);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-details a,
.footer-bottom a { color: var(--color-on-dark-muted); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    font-size: 0.72rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 72rem) {
    .footer-main {
        grid-template-columns: auto 1fr auto;
    }

    .footer-claim { display: none; }
}

@media (max-width: 52rem) {
    .footer-main { grid-template-columns: 1fr auto; }

    .footer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
    .site-footer { padding-top: 1.75rem; }

    .footer-main,
    .footer-details { grid-template-columns: 1fr; }

    .footer-social-wrap { align-items: flex-start; }

    .footer-nav {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom { flex-direction: column; }
}

@media (min-width: 80em) {
    .site-header,
    .header-inner {
        height: var(--header-height);
    }

    .site-nav-item--services.is-open .site-nav-link::after,
    .site-nav-item--services:hover .site-nav-link::after,
    .site-nav-item--services:focus-within .site-nav-link::after {
        opacity: 1;
    }

    .site-submenu--services {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 50;
        width: 39rem;
        max-width: min(39rem, calc(100vw - 2rem));
        padding: 1rem 0 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-nav-item--services:hover .site-submenu--services,
    .site-nav-item--services:focus-within .site-submenu--services,
    .site-nav-item--services.is-open .site-submenu--services {
        visibility: visible;
        pointer-events: auto;
    }

    .site-submenu-grid {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
        width: 100%;
        padding: 0.55rem;
        border: 1px solid rgba(168, 186, 196, 0.18);
        border-radius: 0.5625rem;
        background: #0d2530;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    }

    .site-submenu-grid::before {
        content: "";
        position: absolute;
        top: 0.7rem;
        bottom: 0.7rem;
        left: 50%;
        width: 1px;
        background: rgba(168, 186, 196, 0.26);
        pointer-events: none;
    }

    .site-submenu-link {
        position: relative;
        min-height: 2.65rem;
        padding: 0.55rem 0.85rem 0.55rem 0.9rem;
        border-radius: 0.35rem;
    }

    .site-submenu-link::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.4rem;
        bottom: 0.4rem;
        width: 2px;
        background: var(--color-orange);
        opacity: 0;
        transition: opacity 200ms ease;
    }

    .site-submenu-link:hover,
    .site-submenu-link:focus-visible {
        background: rgba(255, 255, 255, 0.055);
        color: var(--color-on-dark);
    }

    .site-submenu-link:hover::before,
    .site-submenu-link:focus-visible::before {
        opacity: 1;
    }

    .site-submenu-link:hover .icon-line,
    .site-submenu-link:focus-visible .icon-line {
        stroke: #ff7d4d;
    }

    .site-submenu--hosting {
        width: max-content;
        max-width: min(max-content, calc(100vw - 2rem));
    }

    .site-submenu--hosting .site-submenu-grid {
        grid-template-columns: max-content;
        grid-template-rows: none;
        grid-auto-flow: row;
        width: max-content;
        max-width: 100%;
    }

    .site-submenu--hosting .site-submenu-grid::before {
        display: none;
    }

    .site-submenu--hosting .site-submenu-link,
    .site-submenu--hosting .site-submenu-link span {
        white-space: nowrap;
    }
}

@media (max-width: 79.99em) {
    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .js .header-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        padding: var(--space-md) var(--gutter) var(--space-xl);
        background: var(--color-ink);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-md);
    }

    body.nav-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 70;
        overflow: visible;
        transform: none;
        filter: none;
        contain: none;
    }

    .js .nav-toggle[aria-expanded="true"] {
        position: fixed;
        top: calc((var(--header-height) - 2.75rem) / 2);
        right: var(--gutter);
        z-index: 75;
        margin-left: 0;
        pointer-events: auto;
    }

    .js .header-menu.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        z-index: 65;
        padding-top: calc(var(--header-height) + var(--space-md));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: none;
        filter: none;
        contain: none;
    }

    .no-js .header-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: var(--space-sm);
        padding: 0 0 var(--space-md);
    }

    .no-js .header-inner {
        flex-wrap: wrap;
    }

    .site-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav-link,
    .header-cta {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
        white-space: normal;
    }

    .site-nav-link {
        padding: 0.35rem 0.5rem;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .js .site-submenu--services {
        display: none;
        width: 100%;
        padding: 0.15rem 0 0.35rem;
    }

    .js .site-nav-item.is-open > .site-submenu--services {
        display: block;
    }

    .no-js .site-submenu--services {
        display: block;
        width: 100%;
        padding: 0.15rem 0 0.35rem;
    }

    .site-submenu-grid {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .site-submenu-link {
        width: 100%;
        justify-content: flex-start;
        min-height: 2.5rem;
        padding: 0.35rem 0.65rem;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
    }

    .site-submenu-link:hover,
    .site-submenu-link:focus-visible {
        background: rgba(255, 255, 255, 0.05);
        color: var(--color-on-dark);
    }

    .site-nav-item--services .site-nav-link::after {
        display: none;
    }

    body.nav-open {
        overscroll-behavior: none;
    }
}
