:root {
    /* Palette ispirata al poster: crema + rosso + giallo + nero */
    --cream: #f6efdc;
    --cream2: #efe3c6;
    --ink: #111111;
    --ink2: #1a1a1a;
    --red: #b73a2b;
    /* rosso vintage */
    --red2: #8f2b22;
    /* ombra */
    --yellow: #f0cf4a;
    /* giallo poster */
    --muted: rgba(17, 17, 17, .70);
    --line: rgba(17, 17, 17, .14);
    --shadow: 0 20px 55px rgba(0, 0, 0, .18);
    --radius: 18px;
    --max: 1120px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 20% -10%, rgba(240, 207, 74, .35), transparent 60%),
        radial-gradient(900px 500px at 95% 10%, rgba(183, 58, 43, .18), transparent 55%),
        linear-gradient(180deg, var(--cream), var(--cream2));
    line-height: 1.35;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

a {
    color: inherit
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 239, 220, .78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--yellow));
    box-shadow: 0 10px 26px rgba(183, 58, 43, .20);
    border: 1px solid rgba(17, 17, 17, .18);
}

.brand__name {
    font-weight: 950;
    letter-spacing: .4px;
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.nav a {
    text-decoration: none;
    font-weight: 850;
    font-size: 13px;
    color: rgba(17, 17, 17, .78);
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid transparent;
}

.nav a:hover {
    border-color: rgba(183, 58, 43, .25);
    background: rgba(183, 58, 43, .06);
    color: var(--ink);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, .18);
    background: rgba(246, 239, 220, .35);
    font-weight: 950;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn--primary {
    border-color: rgba(17, 17, 17, .18);
    color: #1a0f0f;
    background: linear-gradient(135deg, var(--yellow), rgba(240, 207, 74, .65));
    box-shadow: 0 10px 28px rgba(240, 207, 74, .22);
}

/* Hero full width */
.hero {
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 17, 17, .06);
}

.hero__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 15 / 5;
    object-fit: cover;
}

.hero__ph {
    width: 100%;
    aspect-ratio: 16 / 5;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(183, 58, 43, .22), rgba(240, 207, 74, .22)),
        rgba(17, 17, 17, .06);
}

.hero__phBox {
    background: rgba(246, 239, 220, .85);
    border: 1px dashed rgba(17, 17, 17, .30);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.hero__phBox strong {
    display: block;
    font-weight: 950
}

.hero__phBox span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px
}

.hero__phBox code {
    font-weight: 950
}

/* Sections */
.section {
    padding: 36px 0
}

.section--alt {
    background: rgba(17, 17, 17, .04);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__head {
    margin-bottom: 16px
}

.h1 {
    margin: 0 0 10px;
    font-size: 40px;
    letter-spacing: -.7px;
    line-height: 1.05;
}

.h2 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -.4px;
}

.lead {
    margin: 0;
    max-width: 68ch;
    font-size: 16px;
    color: rgba(17, 17, 17, .78);
}

.sublead {
    margin: 0;
    max-width: 78ch;
    font-size: 14px;
    color: var(--muted);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px
}

.tag {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, .16);
    background: rgba(246, 239, 220, .55);
    font-weight: 900;
    font-size: 12px;
}

/* Cards */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.grid5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px
}

.card {
    background: rgba(246, 239, 220, .68);
    border: 1px solid rgba(17, 17, 17, .16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
}

.card--flat {
    box-shadow: none
}

.card__kicker {
    margin: 0 0 8px;
    font-weight: 950;
    letter-spacing: .8px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(183, 58, 43, .92);
}

.card__title {
    margin: 0 0 8px;
    font-size: 15px
}

.card__text {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

/* Steps */
.step {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(17, 17, 17, .14);
    background: rgba(246, 239, 220, .55);
}

.step__num {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 950;
    background: rgba(183, 58, 43, .10);
    border: 1px solid rgba(183, 58, 43, .22);
}

.step__title {
    margin: 0 0 6px;
    font-size: 15px
}

.step__text {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

/* Lenses */
.lens {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, .14);
    background: rgba(246, 239, 220, .55);
    min-height: 132px;
}

.lens__label {
    font-weight: 950;
    letter-spacing: .9px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(183, 58, 43, .92);
    margin-bottom: 8px;
}

.lens__title {
    font-weight: 950;
    margin-bottom: 6px;
}

.lens__text {
    color: var(--muted);
    font-size: 12px;
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 14px;
    align-items: start;
}

.contactFull {
    width: 100%;
}

.contact__mail {
    margin: 0;
    font-weight: 950;
    font-size: 14px
}

.note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px
}

.form {
    display: grid;
    gap: 10px
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
    color: rgba(17, 17, 17, .86);
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, .18);
    background: rgba(255, 255, 255, .40);
    outline: none;
    font-size: 14px;
}

.field textarea {
    min-height: 120px;
    resize: vertical
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(183, 58, 43, .35);
    box-shadow: 0 0 0 4px rgba(183, 58, 43, .10);
}

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    padding: 22px 0 34px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
}

.footer a {
    text-decoration: none
}

.footer a:hover {
    text-decoration: underline
}

/* Responsive */
@media (max-width: 980px) {
    .grid3 {
        grid-template-columns: 1fr
    }

    .grid2 {
        grid-template-columns: 1fr
    }

    .grid5 {
        grid-template-columns: 1fr 1fr
    }

    .contact {
        grid-template-columns: 1fr
    }

    .h1 {
        font-size: 34px
    }
}

@media (max-width: 560px) {
    .nav {
        display: none
    }

    .row {
        grid-template-columns: 1fr
    }

    .grid5 {
        grid-template-columns: 1fr
    }
}

.formStatus {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, .18);
    font-weight: 900;
    font-size: 13px;
}

.formStatus.is-ok {
    background: rgba(240, 207, 74, .25);
    border-color: rgba(240, 207, 74, .55);
}

.formStatus.is-error {
    background: rgba(183, 58, 43, .10);
    border-color: rgba(183, 58, 43, .30);
}