:root { --brand-green: #1f4420; --brand-cream: #fff7e7; --ink: #211f1d; }
body { font-family: "Barlow", Arial, sans-serif; color: #4b4b49; }
h1, h2, h3, h4 { font-family: "brandon-grotesque", sans-serif; color: #232221; }
:focus-visible { outline: 2px solid #fcbd02; outline-offset: 3px; }

/* Header e footer del sito filiera. */
.site-shell { max-width: 1680px; margin-inline: auto; }
.site-header, .site-footer { background: var(--brand-green); }
.brand-logo { width: 120px; height: 100px; object-fit: contain; }
.header-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header .nav-link, .site-header .dropdown-toggle { font-size: 18px; }
.site-header .dropdown-menu { min-width: 235px; }
.site-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: #fff; }
.social-link { width: 32px; height: 32px; }
.social-link img { width: 20px; height: 20px; }
@media (min-width: 1200px) {
    .site-header nav.d-lg-block { position: absolute; left: 50%; transform: translateX(-50%); margin: 0 !important; }
}

/* Homepage. */
.hero-image { height: clamp(330px, 40vw, 540px); background-position: center; background-size: cover; background-repeat: no-repeat; }
.home-content { max-width: 1120px; padding: 105px 20px 110px; }
.home-content h1 { font-size: clamp(42px, 4vw, 62px); font-weight: 700; line-height: 1.05; }
.home-subtitle { font-family: "brandon-grotesque", sans-serif; font-size: clamp(22px, 2.2vw, 34px); margin: 12px 0 42px; }
.home-copy { font-size: 16px; line-height: 1.5; }
.home-copy p { margin: 0; }
.home-cta { margin-top: 80px; }
.home-cta h2 { font-family: "Barlow", sans-serif; font-size: 25px; font-weight: 700; }
.home-cta p { margin: 16px 0 42px; }
.btn-brand, .btn-outline-brand { min-width: 202px; border-radius: 999px; padding: 11px 28px; font: 500 16px/1.4 "Barlow", sans-serif; }
.btn-brand { background: var(--brand-green); color: var(--brand-cream); border: 1px solid var(--brand-green); }
.btn-brand:hover { background: #163417; color: var(--brand-cream); }
.btn-outline-brand { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-brand:hover { background: var(--brand-cream); border-color: var(--brand-green); color: var(--brand-green); }

/* Posizioni aperte. */
.positions-page { min-height: 650px; max-width: 1050px; padding: 100px 20px; }
.positions-page h1 { font-size: clamp(38px, 4vw, 58px); font-weight: 700; }
.positions-empty { margin-top: 60px; }
.position-card { border: 1px solid #d5d5d5; border-radius: 12px; padding: 30px; }
.position-card h2 { font-size: 30px; }
.position-location { color: #777; }

/* Form candidatura. */
.application-container { max-width: 1000px; padding: 110px 24px 100px; }
.application-heading { text-align: center; margin-bottom: 82px; }
.application-heading h1 { font-size: clamp(42px, 4.5vw, 62px); font-weight: 700; margin-bottom: 24px; }
.application-heading p { font-family: "brandon-grotesque", sans-serif; font-size: clamp(22px, 2.8vw, 36px); color: var(--ink); }
.application-container form { font: 400 15.54px/25px "Barlow", sans-serif; letter-spacing: 0; }
.field-group { margin-bottom: 30px; }
.field-label { display: block; margin: 0 24px 12px; }
.application-container .form-control, .application-container .form-select {
    height: 66px; border: .6px solid var(--ink); border-radius: 12px; padding: 0 24px;
    color: var(--ink); font: 400 15.54px/25px "Barlow", sans-serif;
}
.application-container .form-control::placeholder { color: var(--ink); opacity: 1; }
.application-container .form-control:focus, .application-container .form-select:focus { border-color: var(--brand-green); box-shadow: 0 0 0 .2rem rgb(31 68 32 / 15%); }
.file-field { margin: 32px 24px 28px; }
.file-field label { display: block; margin-bottom: 12px; }
.file-field .form-control { height: auto; border: 0; border-radius: 0; padding: 0; }
.file-field small { display: block; margin-top: 8px; color: #888; }
.privacy-check { margin: 24px 24px 30px; color: #777; }
.privacy-check a { color: var(--brand-green); }
.privacy-check .form-check-input { margin-top: 5px; }
.form-submit { border-radius: 12px; min-width: 280px; padding: 18px 32px; font-weight: 400; font-size: 15.54px; line-height: 25px; }
.thanks-page { min-height: 550px; padding-top: 110px; padding-bottom: 110px; }
.thanks-page h1 { font-size: 48px; font-weight: 700; }
.thanks-subtitle { margin: 30px 0 18px; font-size: clamp(22px, 2.2vw, 28px); color: var(--ink); }
.thanks-message { max-width: 700px; margin: 0 auto 74px; font-size: 16px; line-height: 1.6; }

@media (max-width: 767.98px) {
    .brand-logo { width: 96px; height: 80px; }
    .hero-image { height: 330px; }
    .home-content { padding: 70px 20px 90px; }
    .home-cta { margin-top: 55px; }
    .application-container { padding-top: 70px; }
    .application-heading { margin-bottom: 50px; }
    .application-container .form-control, .application-container .form-select { height: 56px; }
    .file-field, .privacy-check { margin-left: 0; margin-right: 0; }
}
