/* ——— Baseline moderno, mobile-first ——— */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');

* {
    font-family: "Stack Sans Text", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

:root {
    /* Scala di grigi chiari */
    --bg: #f7f7f8;
    --surface: #eeeeef;
    --surface-2: #e7e7e9;
    --ink: #101113;
    --muted: #6a6a73;
    --radius: 22px;
    --shadow-surface: 0 14px 40px hsl(0 0% 0% / .08), 0 1px 0 hsl(0 0% 100% / .9) inset;
    --maxw: 440px;
    /* larghezza massima della struttura */

    --buttons-bg: #c5c5c5;
    --buttons-txt: #fff;
    --buttons-bg-hover: #1a5ea9;
    --buttons-txt-hover: #fff;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    display: grid;
    place-items: center;
    /* centra tutta la struttura nella pagina */
    min-height: 100svh;
}

/* Colonna centrale compatta: ignora spazio laterale, mantiene max width */
.wrapper {
    inline-size: min(100svw, var(--maxw));
    margin-inline: auto;
    padding: clamp(16px, 4vi, 28px);
    display: grid;
    gap: clamp(18px, 4vi, 26px);
    max-width: 360px;
}

.logo {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom:6px;
  margin-top:15px;
    /* margin-bottom:10px; */
}

.logo img {
    width: 100%;
    /* width: 80%; */
}

/* Griglia tondi */
.round-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    place-items: center;
}

.round {
    --size: 58px;
    inline-size: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--buttons-bg);
    display: grid;
    place-items: center;
    touch-action: manipulation;
    cursor: pointer;
    border: 0;
    cursor: pointer;
}

.round:hover {
    background: var(--buttons-bg-hover);
}

.round i {
    /* icona sempre proporzionata al cerchio */
    font-size: calc(var(--size) * 0.6);
    line-height: 1;
    color: var(--buttons-txt);
}

.round:hover i {
    color: var(--buttons-txt-hover);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top:35px;
    padding:8px 7px 7px 14px;
    border-left:4px solid #1a5ea9;
}

.section-title h2 {
    margin: 0;
    letter-spacing: .01em;
    font-size: 22px;
    line-height:26px;
}

/* CTA: senza bordi, elevate, testo a sinistra e freccia a destra */
.ctas {
    display: grid;
    gap: clamp(10px, 2.8vi, 14px);
}

.cta {
    padding: 10px 12px 9px 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    background: var(--buttons-bg);
    border-radius: 10px;
    color: var(--buttons-txt);
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}

.cta .label {
    justify-self: start;
}

.cta .icon {
    justify-self: end;
    font-size: 1.5em;
    color: #fff
}

.cta:active,
.cta:hover {
    background-color: var(--buttons-bg-hover);
}

/* Micro-animazioni
@media (prefers-reduced-motion: no-preference) {

    .round,
    .cta {
        transition: transform .15s ease, filter .2s ease;
    }

    .cta:hover .arrow,
    .cta:focus-visible .arrow {
        transform: translateX(2px);
    }

    .round:active {
        transform: translateY(1px) scale(.995);
    }
} */

/* Accessibilità utile per icone senza testo visibile */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.textlabel {
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    text-transform: uppercase;
    margin:0;
    display: none;
}