.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-list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--color-on-dark);
    font-size: var(--text-small);
    font-weight: 700;
    letter-spacing: 0.01em;
}

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

.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: 72em) {
    .site-header,
    .header-inner {
        height: var(--header-height);
    }
}

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

    .js .header-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        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);
    }

    .js .header-menu.is-open {
        display: flex;
    }

    .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-list a,
    .header-cta {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
        white-space: normal;
    }

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

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