/*
 * LA RIPARERIA — header.css
 * Copyright (c) 2026 Noccioli Carlo — Noccioli Tecnologie Srl.
 * Tutti i diritti riservati.
 * File CSS documentato e indentato; selettori e dichiarazioni invariati.
 */
/* Header pubblico isolato dal contenuto del sito */
.site-header {
    display: block;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7e3;
    position: relative;
    z-index: 10;
}
.site-header__inner {
    min-height: 116px;
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.site-header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
    text-decoration: none;
}
.site-header__brand img {
    display: block;
    width: clamp(180px,26vw,310px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.site-header__nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-header__access,.site-header__access:link,.site-header__access:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #426c5a;
    color: #fff;
    border: 1px solid #426c5a;
    border-radius: 8px;
    padding: 13px 19px;
    font: 700 13px/1.2 'DM Sans',Arial,sans-serif;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 5px #00000012;
    transition: background .2s,box-shadow .2s;
}
.site-header__access:hover {
    background: #2e5140;
    box-shadow: 0 5px 12px #0000001c;
}
.site-header__access:focus-visible {
    outline: 3px solid #8ebca1;
    outline-offset: 3px;
}
.site-header__access svg {
    display: block;
    flex-shrink: 0;
}
#societa.section {
    padding-top: 24px;
}
.private-footer {
    padding: 24px 0 45px;
    text-align: right;
}
.private-footer a {
    font-size: 13px;
    font-weight: 700;
    color: #426c5a;
    text-decoration: none;
}
.private-footer a:hover {
    text-decoration: underline;
}
@media(max-width:600px) {
    .site-header__inner {
        min-height: 90px;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .site-header__brand img {
        width: clamp(125px,39vw,210px);
    }
    .site-header__access,.site-header__access:link,.site-header__access:visited {
        padding: 11px 12px;
        font-size: 12px;
        gap: 6px;
    }
    .site-header__access svg {
        width: 16px;
        height: 16px;
    }
    #societa.section {
        padding-top: 12px;
    }
}
@media(max-width:365px) {
    .site-header__brand img {
        width: 120px;
    }
    .site-header__access {
        padding: 10px 8px!important;
        font-size: 11px!important;
    }
}
