:root {
    --background: #f4f0e7;
    --surface: #ffffff;
    --dark: #18211d;
    --dark-soft: #2b3731;
    --text: #29332e;
    --muted: #68736d;
    --accent: #c8754e;
    --accent-dark: #a95e3d;
    --sand: #dcc7a7;
    --border: rgba(35, 48, 42, 0.15);
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px;
}

/* HEADER */

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
}

.header-inner {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    line-height: 1;
}

.brand-symbol {
    color: var(--sand);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
}

.brand-text small {
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    color: white;
    font-size: 15px;
}

.main-navigation a {
    transition: opacity 160ms ease, background-color 160ms ease, color 160ms ease;
}

.main-navigation a:hover {
    opacity: 0.75;
}

.nav-button {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-button:hover {
    background: white;
    color: var(--dark);
    opacity: 1 !important;
}

/* COPERTINA */

.hero {
    position: relative;
    min-height: 860px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(17, 25, 22, 0.50), rgba(17, 25, 22, 0.64)),
        url("images/hero.jpg") center 55% / cover no-repeat;
    color: white;
}

.hero::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.20) 100%);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1450px, calc(100% - 60px));
    padding: 145px 0 95px;
    text-align: center;
}

/* I tre loghi partner devono esistere una sola volta nell'HTML. */
.hero-logos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(35px, 6vw, 95px);
    margin: 0 auto 34px;
    padding: 0 clamp(20px, 5vw, 80px);
}

.hero-logos img {
    width: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

/* Dimensioni individuali: modifica solo questi tre valori. */
.hero-logos .logo-selmer {
    height: 150px;
}

.hero-logos .logo-vandoren {
    height: 170px;
}

.hero-logos .logo-buffet {
    height: 230px;
}

.hero-eyebrow,
.section-label {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-eyebrow {
    color: var(--sand);
}

.hero h1 {
    max-width: 1050px;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 7vw, 90px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-subtitle {
    margin: 25px 0 0;
    font-size: clamp(21px, 3vw, 30px);
    line-height: 1.3;
}

.hero-tagline {
    margin: 5px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 3vw, 29px);
    font-style: italic;
}

.hero-organizer {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    letter-spacing: 0.04em;
}

.hero-organizer-logo {
    width: auto;
    max-width: 170px;
    height: 100px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.scroll-down {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    transform: translateX(-50%);
    font-size: 21px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-50%) translateY(3px);
}

/* PULSANTI */

.button {
    min-height: 52px;
    display: inline-flex;
    padding: 12px 27px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: white;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-light {
    background: white;
    color: var(--dark);
}

.button-light:hover {
    background: var(--background);
}

/* INFORMAZIONI */

.information-section {
    padding: 110px 20px;
    background: var(--background);
}

.section-inner {
    width: min(calc(100% - 40px), 1400px);
    margin: 0 auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading h2,
.contact-section h2 {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(39px, 5vw, 59px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-heading h2 {
    color: var(--dark);
}

.section-introduction {
    margin: 0 auto;
    color: var(--muted);
    font-size: 19px;
}

.information-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.information-card {
    min-height: 140px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
    border-top: 4px solid var(--accent);
    box-shadow: 0 18px 45px rgba(35, 48, 42, 0.06);
}

.information-label {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.information-card strong {
    color: var(--dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.35;
}

/* CONTATTI */

.contact-section {
    padding: 115px 20px;
    background:
        linear-gradient(rgba(200, 117, 78, 0.95), rgba(200, 117, 78, 0.95)),
        url("images/hero.jpg") center / cover no-repeat;
    color: white;
}

.contact-inner {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.contact-label {
    color: var(--sand);
}

.contact-section h2 {
    color: white;
}

.contact-description {
    max-width: 650px;
    margin: 0 auto 36px;
    font-size: 19px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* FOOTER */

.site-footer {
    padding: 29px 20px;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
}

.footer-inner {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a:hover {
    color: white;
}

/* TABLET */

@media (max-width: 900px) {
    .hero {
        min-height: 820px;
    }

    .hero-content {
        width: calc(100% - 36px);
        padding-top: 130px;
    }

    .hero-logos {
        gap: 24px;
        padding: 0 15px;
    }

    .hero-logos .logo-selmer {
        height: 95px;
    }

    .hero-logos .logo-vandoren {
        height: 78px;
    }

    .hero-logos .logo-buffet {
        height: 86px;
    }

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

/* SMARTPHONE */

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .header-inner {
        width: calc(100% - 30px);
        min-height: 86px;
    }

    .brand-symbol {
        font-size: 34px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        margin-top: 5px;
        font-size: 9px;
    }

    .main-navigation {
        gap: 12px;
        font-size: 13px;
    }

    .main-navigation > a:first-child {
        display: none;
    }

    .nav-button {
        padding: 8px 13px;
    }

    .hero {
        min-height: 706px;
        background-position: 58% center;
    }

    .hero-content {
        width: calc(100% - 24px);
        padding: 120px 0 90px;
    }

    .hero-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 22px;
        padding: 0;
    }

    .hero-logos .logo-selmer {
        height: 80px;
    }

    .hero-logos .logo-vandoren {
        height: 90px;
    }

    .hero-logos .logo-buffet {
        height: 120px;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 57px);
        line-height: 1.04;
    }

    .hero-subtitle {
        margin-top: 22px;
        font-size: 20px;
    }

    .hero-tagline {
        margin-bottom: 18px;
        font-size: 23px;
    }

    .hero-eyebrow {
        font-size: 10px;
    }

    .hero-organizer {
        margin: 0 10px 8px;
        font-size: 11px;
        line-height: 1.4;
    }

    .hero-organizer-logo {
        max-width: 115px;
        height: 65px;
        margin-bottom: 20px;
    }

    .information-section,
    .contact-section {
        padding: 78px 20px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h2,
    .contact-section h2 {
        font-size: 38px;
    }

    .section-introduction,
    .contact-description {
        font-size: 17px;
    }

    .information-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .information-card {
        min-height: 120px;
        padding: 24px;
    }

    .information-card strong {
        font-size: 17px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        width: calc(100% - 24px);
        padding-top: 80px;
    }
}


/* AZIONI COPERTINA */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.78);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--dark);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, 0.75);
    color: white;
}

.button-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.information-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* ISCRIZIONE */

.registration-section {
    padding: 115px 20px;
    background: var(--surface);
}

.registration-inner {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: center;
    gap: clamp(45px, 8vw, 110px);
}

.registration-copy h2 {
    max-width: 720px;
    margin: 0 0 26px;
    color: var(--dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(39px, 5vw, 59px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.registration-copy > p {
    max-width: 710px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 18px;
}

.registration-copy strong {
    color: var(--dark);
}

.registration-privacy {
    font-size: 14px !important;
}

.registration-privacy a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.registration-card {
    padding: 38px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--dark);
    color: white;
    box-shadow: 0 24px 60px rgba(24, 33, 29, 0.20);
}

.registration-kicker {
    margin-bottom: 18px;
    color: var(--sand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.registration-price {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 70px);
    font-weight: 400;
    line-height: 1;
}

.registration-deadline {
    margin: 15px 0 29px;
    color: rgba(255, 255, 255, 0.76);
}

.registration-button {
    width: 100%;
    gap: 10px;
}

.registration-card small {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .registration-inner {
        grid-template-columns: 1fr;
    }

    .registration-card {
        width: min(100%, 560px);
    }
}

@media (max-width: 600px) {
    .main-navigation > a:first-child {
        display: none;
    }

    .main-navigation > a:nth-child(2) {
        display: none;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .registration-section {
        padding: 78px 20px;
    }

    .registration-inner {
        width: 100%;
        gap: 38px;
    }

    .registration-copy h2 {
        font-size: 38px;
    }

    .registration-copy > p {
        font-size: 17px;
    }

    .registration-card {
        padding: 30px 24px;
    }
}

/* STATO POST-EVENTO */
.information-card-highlight {
    background: var(--dark);
    border-top-color: var(--sand);
}

.information-card-highlight .information-label,
.information-card-highlight strong {
    color: white;
}

.information-card-highlight .information-note {
    color: rgba(255, 255, 255, 0.68);
}
