/* Stile allineato a www.cassaedileawards.it (tema YOOtheme) - Proposta 2 "Verde istituzionale" */
:root {
    --dark: #223046;      /* titoli, footer */
    --text: #5f7391;      /* testo */
    --orange: #ff9d3b;    /* colore primario */
    --teal: #188887;      /* colore secondario */
    --bg: #fdfeff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Header */
.hdr { background: var(--bg); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); position: relative; z-index: 20; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.hdr-logo { width: 240px; }

/* Pulsante come .uk-button-primary del sito */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid var(--orange);
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: .15s;
}
.btn:hover { background: var(--orange); color: #fff; }

/* Contenuto su sfondo verde */
main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 70px 20px;
    background: var(--teal);
    color: #fff;
}
.in {
    max-width: 1100px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffd29e;
    margin-bottom: 12px;
}

h1 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 50px;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 30px;
    overflow-wrap: anywhere;
}

.f { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.f:last-child { border-bottom: 1px solid rgba(255, 255, 255, .25); }

.lbl {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 4px;
}

.val { display: block; font-size: 18px; color: #fff; overflow-wrap: anywhere; }
.cat .val { color: var(--orange); font-family: 'DM Sans', sans-serif; font-weight: 700; }

/* Bollino su cerchio bianco */
.circle {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 8px solid var(--orange);
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}
.circle img { width: 42%; }

/* Footer */
.ftr { background: var(--dark); border-top: 4px solid var(--orange); color: rgba(255, 255, 255, .7); }
.ftr-in { display: flex; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.ftr-logo { width: 170px; }
.ftr p { margin: 0 0 8px; font-size: 15px; }
.ftr .legal { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
.ftr a { color: var(--orange); text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
    .wrap { padding: 0 16px; }
    .hdr-logo { width: 160px; }
    .btn { padding: 8px 12px; font-size: 12px; }
    main { padding: 50px 16px; }
    .in { grid-template-columns: 1fr; gap: 40px; }
    .circle { max-width: 260px; margin: auto; order: -1; }
    h1 { font-size: 32px; }
    .ftr-in { flex-direction: column; text-align: center; gap: 20px; }
}
