/*
 * LA RIPARERIA — layout.css
 * Copyright (c) 2026 Noccioli Carlo — Noccioli Tecnologie Srl.
 * Tutti i diritti riservati.
 * File CSS documentato e indentato; selettori e dichiarazioni invariati.
 */
.container {
    width: min(var(--width),calc(100% - 72px));
    margin: auto;
}
.site-header {
    height: 86px;
    background: var(--paper);
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.wordmark {
    font-size: 21px;
    letter-spacing: -1.3px;
    font-weight: 900;
    white-space: nowrap;
}
.wordmark span,.footer-brand span {
    color: #7eae21;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    font-weight: 700;
}
.main-nav>a:not(.nav-cta):hover {
    opacity: .55;
}
.nav-cta {
    background: var(--ink);
    color: white;
    padding: 14px 20px;
    border-radius: 99px;
}
.menu-toggle {
    display: none;
}
.hero {
    background: #171d19;
    color: #fff;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 620px;
}
.hero-copy {
    padding: 100px 0 85px;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: clamp(58px,6.3vw,100px);
    line-height: .99;
    letter-spacing: -6px;
    font-weight: 800;
    margin: 33px 0 29px;
}
.hero h1 em,.manifesto h2 em,.section-heading h2 em,.final-cta h2 em {
    font-style: normal;
    color: var(--accent);
}
.hero-lead {
    font-size: 17px;
    line-height: 1.7;
    max-width: 510px;
    color: #c6ccc6;
}
.hero-bottom {
    border-top: 1px solid #465047;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: #b4bdb5;
    font-size: 10px;
    letter-spacing: 2px;
}
.section {
    padding: 105px 0;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}
.section-heading h2,.manifesto h2,.final-cta h2 {
    font-size: clamp(44px,5.4vw,76px);
    letter-spacing: -4px;
    line-height: 1.03;
    margin: 20px 0 0;
}
.section-heading h2 em,.final-cta h2 em {
    color: #82a92f;
}
.section-heading>p {
    max-width: 330px;
    line-height: 1.7;
    color: var(--muted);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}
.manifesto {
    background: var(--accent);
    padding: 110px 0;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 80px;
    align-items: end;
}
.manifesto h2 em {
    color: #2f5020;
}
.manifesto-grid>div:last-child p {
    font-size: 23px;
    line-height: 1.55;
}
.final-cta {
    text-align: center;
}
.final-cta h2 {
    margin: 25px 0 38px;
}
.site-footer {
    background: #151917;
    color: white;
    padding: 75px 0 25px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 60px;
}
.footer-brand {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.5px;
}
.footer-grid p {
    color: #b2bcb5;
    line-height: 1.6;
}
.footer-grid h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}
.footer-grid a {
    display: block;
    color: #c5cec7;
    margin: 0 0 13px;
    font-size: 14px;
}
.footer-bottom {
    border-top: 1px solid #39413b;
    margin-top: 65px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    color: #a4afa6;
    font-size: 12px;
}
.footer-bottom div {
    display: flex;
    gap: 25px;
}
.inner-hero {
    padding: 120px 0 105px;
    background: #e8eddf;
}
.inner-hero h1 {
    font-size: clamp(46px,7vw,94px);
    letter-spacing: -5px;
    line-height: 1.05;
    max-width: 900px;
    margin: 25px 0;
}
.inner-lead {
    max-width: 680px;
    color: #4d554d;
    font-size: 21px;
    line-height: 1.65;
}
