@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('assets/fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f8f7f6;
    --text: #081d2d;
    --teal: #1a8b94;
    --teal-soft: #37949a;
    --line: #86b9c0;
    --navy: #073f52;
    --white: #ffffff;
    --pill: #fafafa;
    --shell: 1480px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --header-h: 88px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 18px);
    background: var(--bg);
}

main,
section {
    background: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Anuphan', 'SF Pro Display', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-shell {
    width: min(calc(100% - 72px), var(--shell));
    margin: 0 auto;
}

.section-space {
    padding: 0 0 96px;
}

.section-space--sm {
    padding-bottom: 88px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 247, 245, 0.85);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo img {
    width: 220px;
}

.main-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 54px;
    margin-left: auto;
    padding-top: 8px;
    padding-inline: 30px;
}

.main-nav__curve {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 14px;
    border-top: 1.5px solid var(--line);
    border-radius: 999px 999px 0 0;
}

.site-header .main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #82a2a6;
    letter-spacing: -.02em;
    padding-top: 8px;
}

.site-header .main-nav a.is-active,
.site-header .main-nav a:hover {
    color: var(--teal);
}

.site-header .main-nav a.is-active {
    font-weight: 700;
}

.site-header .main-nav a.is-active::before {
    content: '';
    position: absolute;
    left: -22px;
    right: -22px;
    top: -5px;
    height: 10px;
    border-top: 1.5px solid var(--line);
    border-radius: 999px 999px 0 0;
}

/* BOTTONE CONTATTACI - BLINDATO */
.site-header .btn-contact,
.site-header a.btn-contact,
a.btn-contact {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    background: #37949a;
    color: #ffffff !important;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 12px;
    line-height: 44px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    border: 0;
    box-shadow: none;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
}

.site-header .btn-contact:hover,
.site-header .btn-contact:focus,
.site-header .btn-contact:active,
.site-header .btn-contact:visited,
.site-header a.btn-contact:hover,
.site-header a.btn-contact:focus,
.site-header a.btn-contact:active,
.site-header a.btn-contact:visited,
a.btn-contact:hover,
a.btn-contact:focus,
a.btn-contact:active,
a.btn-contact:visited {
    background: #2f868c;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: none;
}

.menu-toggle {
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.menu-toggle span:nth-child(1),
.menu-toggle span:nth-child(2) {
    width: 28px;
}

.menu-toggle span:nth-child(3) {
    width: 18px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(8, 29, 45, 0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__close {
    position: absolute;
    top: 22px;
    right: 22px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 40px;
    line-height: 1;
}

.mobile-menu__nav {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px;
    text-align: center;
}

.mobile-menu__nav a {
    color: var(--white);
    font-family: 'SF Pro Display', sans-serif;
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero {
    padding-top: 18px;
}

.hero-copy {
    min-height: 100px;
    display: flex;
    align-items: flex-start;
}

.hero-title {
    margin: 0;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    letter-spacing: -0.055em;
    line-height: .9;
}


.hero-title__top,
.hero-title__bottom{
display:block;
}

.hero-title__top{
font-size: clamp(28px, 2.6vw, 42px);
font-weight:700;
color:var(--text);
}

.hero-title__bottom{
font-size: clamp(64px, 8.2vw, 94px);
font-weight:500;
color:#006672;
margin-top:4px;
}


.section-headline-line {
    position: relative;
    width: 100%;
    height: 6px; /* molto più bassa */
    margin-bottom: 43px;

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);

    border-top-left-radius: 6px;
    border-top-right-radius: 6px;

    background: transparent;
}

.section-headline-line--short {
    margin-bottom: 42px;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 28px;
    border-radius: 999px;
    padding: 5px 15px 4px 12px;
    background: var(--pill);
    font-family: 'SF Pro Display', sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    color: #2d6870;
    letter-spacing: -.015em;
}

.eyebrow-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
}

.who-grid {
    display: grid;
    grid-template-columns: 308px minmax(0, 1fr);
    gap: 48px 92px;
    align-items: start;
}

.who-text,
.section-text,
.values-closure,
.site-footer__claim p,
.partner-card__back p {
    font-family: 'Anuphan', sans-serif;
    font-weight: 400;
}

.who-text {
    margin: auto;
    max-width: 305px;
    font-size: 19px;
    line-height: 1.34;
    color: #2f8a8e;
    letter-spacing: -0.03em;
}

.who-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.leader-card {
    background: var(--teal-soft);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 640px;
}

.leader-card__media {
    position: relative;
    height: 410px;
    margin: 8px;
    border: 8px solid var(--teal-soft);
    border-radius: 21px;
    background: var(--white);
    overflow: hidden;
}

.leader-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.linkedin-badge {
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 37px;
    height: 37px;
    border-radius: 6px;
    background: #050505;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.hero-title--section {
    margin: 0 0 32px;
}

.hero-title--section .hero-title__top {
    font-size: clamp(28px, 2.6vw, 42px);
    font-weight: 400;
    color: #214568;
}

.hero-title--section .hero-title__bottom {
    display: none;
}

.leader-card__body {
    padding: 17px 22px 22px;
    color: var(--text);
}

.leader-card__body h3 {
    margin: 0 0 5px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.leader-card__body p,
.leader-card__body a {
    margin: 0;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 1.25;
    text-transform: uppercase;
}

.leader-card__body a,
.leader-card__body a:link,
.leader-card__body a:visited {
    display: inline-block;
    margin-top: 58px;
    color: var(--text);
    text-decoration: none;
}

.leader-card__body a:hover,
.leader-card__body a:focus,
.leader-card__body a:active {
    color: var(--text);
    text-decoration: none;
}

.values-top {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.section-title,
.partners-title {
    margin: 0 0 24px;
    max-width: 480px;
    font-size: clamp(34px, 2.35vw, 34px);
    line-height: 1.2;
    font-weight: 400;
}

.section-title {
    margin: 0;
    max-width: 990px;
    font-size: clamp(34px, 3.1vw, 52px);
    line-height: 0.99;
    font-weight: 500;
    color: #126c78;
}

.section-text {
    margin: 31px 0 0;
    max-width: 665px;
    font-size: 18px;
    line-height: 1.38;
    color: #16687a;
    letter-spacing: -0.035em;
}

.values-grid {
    margin-top: 88px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.value-card {
    position: relative;
    min-height: 400px;
    padding: 56px 32px 52px;
    color: var(--white);
}

.value-card--teal { background: #0b7580; }
.value-card--navy { background: #083f52; }
.value-card--mint { background: #439aa0; }

.value-card__icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 78px;
}

.value-card__num {
    position: absolute;
    top: 18px;
    right: 16px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255,255,255,0.95);
}

.value-card__title {
    margin: 0 0 12px;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 19px;
    line-height: 0.6;
    font-weight: 400;
    text-transform: uppercase;
    white-space: pre-line;
    letter-spacing: -0.02em;
    color: #c8dde0;
}

.value-card__subtitle {
    margin: 0 0 30px;
    max-width: 320px;   /* 👈 più stretto */
    font-family: 'Anuphan', sans-serif;
    font-size: 21px;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.value-card__text {
    margin: 0;
    max-width: clamp(320px, 28vw, 460px);
    font-family: 'Anuphan', sans-serif;
    font-size: 15px;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #c8dde0;
}

.values-closure {
    max-width: 700px;
    margin: 58px 0 0 430px;
    text-align: left;
    font-size: 21px;
    line-height: 1.28;
    color: #16687a;
    letter-spacing: -0.035em;
}

.partners-title {
    margin: 0 0 64px;
    max-width: 1200px; /* leggermente più largo */
    font-size: clamp(28px, 2.3vw, 40px); /*  un filo più piccolo */
    line-height: 1.05; /* un pelo più arioso */
    font-weight: 600;
    color: #2f868c;
}

.partners-grid {
    margin-top: 84px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.partner-card {
    min-height: 369px;
    perspective: 1000px;
}

.partner-card__link {
    position: relative;
    display: block;
    height: 100%;
    min-height: inherit;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    transform-style: preserve-3d;
}

.partner-card__front,
.partner-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    transition: transform .45s ease, opacity .45s ease;
    border-radius: 24px;
}

.partner-card__front {
    background: #ffffff;
    color: var(--text);
}

.partner-card__media {
    height: 245px;
    padding: 10px 10px 0;
    overflow: hidden; /* AGGIUNGI QUESTO */
}

.partner-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 22px;
    background: #ffffff;
}

.partner-card__body {
    height: calc(100% - 245px);
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
}

.partner-card__body h3,
.partner-card__back h3 {
    margin: 0;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 21px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.partner-card__company {
    margin: 6px 0 10px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: rgba(8, 29, 45, 0.72);
}

.partner-card__company--back {
    color: rgba(255,255,255,0.72);
}

.partner-card__linkedin {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.02em;
    color: var(--text);
}

.partner-card__linkedin--back {
    color: var(--white);
}

.partner-card__back {
    background: #073f52;
    color: var(--white);
    padding: 22px 18px 16px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.partner-card__back p {
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.19;
    letter-spacing: -0.03em;
}

@media (hover: hover) and (pointer: fine) {
    .partner-card:hover .partner-card__front {
        transform: rotateY(180deg);
    }

    .partner-card:hover .partner-card__back {
        transform: rotateY(0deg);
    }
}

.press-review__spacer {
    min-height: 353px;
}



@media (max-width: 1199.98px) {
    :root {
        --shell: 1080px;
        --header-h: 88px;
    }

    .site-shell {
        width: min(calc(100% - 48px), var(--shell));
    }

    .who-grid,
    .values-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .who-text {
        max-width: 520px;
    }

    .values-top__left {
        max-width: 360px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__inner {
        grid-template-columns: 1.4fr .8fr .9fr;
    }

    .site-footer__backtop {
        grid-column: 3;
        justify-self: end;
    }
}

@media (max-width: 991.98px) {
    .hero-copy {
        min-height: 230px;
    }

    .who-right,
    .partners-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-card {
        min-height: 420px;
    }

    .value-card {
        min-height: 320px;
    }

}

@media (max-width: 767.98px) {
    :root {
        --header-h: 78px;
    }

    .site-shell {
        width: min(calc(100% - 30px), var(--shell));
    }

    .section-space {
        padding-bottom: 40px;
    }

    .hero {
        padding-top: 12px;
    }

    .hero-copy {
        min-height: auto;
        padding-bottom: 30px;
    }

    /* TITOLINO SOPRA (più piccolo) */
    .hero-title__top {
        font-size: clamp(20px, 5.5vw, 28px);
        line-height: 1.05;
        font-weight: 700; /* 👈 AGGIUNGI QUESTO */
    }

    /* TITOLO GRANDE (ridotto ma ancora importante) */
    .hero-title__bottom {
        font-size: clamp(34px, 9vw, 52px);
        line-height: 0.95;
        letter-spacing: -0.04em;
    }

    .section-headline-line {
        margin-bottom: 14px;
    }

    .who-grid,
    .values-top {
        gap: 12px;
    }

    .who-text,
    .section-text,
    .values-closure {
        font-size: 16px;
    }

    .values-closure {
        max-width: 100%;
        margin-left: 0;
    }

    .who-right,
    .partners-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

   .leader-card__media {
        height: 360px;
    }

    .partners-title,
    .section-title,
    .site-footer__claim h2 {
        max-width: 100%;
        font-size: 30px;
        line-height: 1.12;
    }

    .partners-title {
        margin-top: 36px;
    }

    .partners-grid {
        margin-top: 42px;
    }

    .partner-card,
    .partner-card__link {
        min-height: 356px;
    }

    .partner-card__back p {
        font-size: 15px;
    }

    .press-review__spacer {
        min-height: 220px;
    }

    .site-footer__claim img {
        width: 245px;
    }
}


.site-footer {
    background: #013e4b;
    color: #ffffff;
    overflow: hidden;
}

.site-footer__inner {
    position: relative;
    padding-top: 54px;
    padding-bottom: 42px;
}

.site-footer__top {
    padding-bottom: 68px;
}

.site-footer__intro {
    margin: 0;
    max-width: 1320px; /* ← più larga = meno a capo */
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: clamp(28px, 2.2vw, 42px); /* ← ridotta */
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: 430px minmax(520px, 1fr);
    gap: 64px 120px;
    align-items: start;
}

.site-footer__claim {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.site-footer__claim h2 {
    margin: 0;
    max-width: 430px;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 37px;
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.site-footer__identity {
    margin-top: auto;
    padding-top: 78px;
}

.site-footer__identity img {
    width: 318px;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.site-footer__identity p {
    margin: 14px 0 0;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
}

.site-footer__contacts-wrap {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 24px;
    align-items: start;
}

.site-footer__contacts {
    width: fit-content; /* ← fondamentale */
    max-width: none;
    justify-self: center;
    text-align: center;
}

.site-footer__contacts h3 {
    margin: 4px 0 34px;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: clamp(28px, 2.2vw, 36px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-align: center;
}

.site-footer__contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, auto); /* ← NON più 1fr */
    gap: 28px 80px;
    align-items: start;
    justify-content: center;
}

.site-footer__contact-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← prima era left */
    text-align: center;
    gap: 8px;
}

.site-footer__contact-col h4 {
    margin: 0 0 10px;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.site-footer__contact-col a,
.site-footer__contact-col a:link,
.site-footer__contact-col a:visited {
    color: #ffffff;
    text-decoration: none;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
}

.site-footer__contact-col a:hover,
.site-footer__contact-col a:focus,
.site-footer__contact-col a:active {
    color: #ffffff;
    text-decoration: none;
}

.site-footer__backtop,
.site-footer__backtop:link,
.site-footer__backtop:visited {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
    box-shadow: none;
    justify-self: end;
    align-self: start;
    margin-top: 2px;
}

.site-footer__backtop:hover,
.site-footer__backtop:focus,
.site-footer__backtop:active {
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(255,255,255,0.8);
    box-shadow: none;
}

.site-footer__backtop span {
    display: block;
    color: #ffffff;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .site-footer__bottom {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 56px 72px;
    }

    .site-footer__intro {
        max-width: 980px;
    }

    .site-footer__contacts-grid {
        gap: 28px 44px;
    }

    .site-footer__identity img {
        width: 280px;
    }
}

@media (max-width: 991.98px) {
    .site-footer__inner {
        padding-top: 42px;
        padding-bottom: 34px;
    }

    .site-footer__top {
        padding-bottom: 40px;
    }

    .site-footer__intro {
        max-width: 100%;
        font-size: clamp(30px, 6.3vw, 48px);
        line-height: 1.04;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__claim {
        min-height: auto;
    }

    .site-footer__claim h2 {
        max-width: 430px;
    }

    .site-footer__identity {
        margin-top: 0;
        padding-top: 26px;
    }

    .site-footer__contacts-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__backtop,
    .site-footer__backtop:link,
    .site-footer__backtop:visited {
        order: -1;
        justify-self: end;
        margin-top: 0;
    }

    .site-footer__contacts {
        max-width: 100%;
        text-align: left;
        justify-self: start;
    }

    .site-footer__contacts h3 {
        text-align: left;
        margin: 0 0 20px;
    }

    .site-footer__contacts-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        justify-content: start;
    }

    .site-footer__contact-col a,
    .site-footer__contact-col a:link,
    .site-footer__contact-col a:visited {
        word-break: break-word;
        overflow-wrap: anywhere;
        font-size: 17px;
        line-height: 1.35;
    }

    .site-footer__identity img {
        width: min(240px, 72vw);
    }
}

@media (max-width: 767.98px) {
    .site-footer__inner {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .site-footer__top {
        padding-bottom: 34px;
    }

    .site-footer__intro {
        font-size: clamp(24px, 9vw, 38px);
        line-height: 1.06;
        letter-spacing: -0.04em;
    }

    .site-footer__claim h2 {
        max-width: 320px;
        font-size: 30px;
        line-height: 1.04;
    }

    .site-footer__identity {
        padding-top: 22px;
    }

    .site-footer__identity img {
        width: min(220px, 70vw);
    }

    .site-footer__identity p {
        margin-top: 12px;
        max-width: 260px;
        font-size: 15px;
        line-height: 1.28;
    }

    .site-footer__contacts h3 {
        font-size: 28px;
    }

    .site-footer__contact-col h4 {
        margin: 0 0 6px;
        font-size: 19px;
        line-height: 1.12;
    }
}












@media (min-width: 992px) {
  .hero-title--section .hero-title__top {
    font-size: clamp(26px, 2.2vw, 38px);
  }
}


/* BOTTONE SCOPRI DI PIU PER CARD PARTNER */

.partners-toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .partners-grid {
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .partners-grid:not(.is-expanded) {
        max-height: 1490px;
    }

    .partners-grid.is-expanded {
        max-height: 5000px;
    }

    .partners-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 22px auto 0;
        padding: 0;
        border: 0;
        background: transparent;
        font-family: 'SF Pro Display', 'Anuphan', sans-serif;
        font-size: 21px;;
        line-height: 1;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: -0.02em;
        color: #0b5a6a;
        cursor: pointer;
    }

    .partners-toggle:focus,
    .partners-toggle:active {
        outline: none;
        box-shadow: none;
    }
}

@media (min-width: 1200px) {
    .hero-title .hero-title__top {
        font-size: clamp(34px, 3.2vw, 50px);
        font-weight: 700;
    }
}

/* ==============================
   MODAL PROFILI LEADER
   ============================== */

#leaderModal .modal-dialog {
    max-width: 640px;
    margin: 40px auto;
    padding: 0 20px;
}

#leaderModal .modal-content {
    border-radius: 16px;
    padding: 22px 26px;
    border: none;
}

#leaderModal .modal-body {
    padding: 0;
}

/* Titolo */
#leaderModal h3 {
    margin: 0 0 6px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Ruolo */
#leaderModal #modalRole {
    margin: 0 0 14px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #6b8f94;
}

/* Bio */
#leaderModal #modalBio {
    margin: 0;
    font-family: 'Anuphan', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #2f4f54;
}

/* ==============================
   LEADER CARD TUNING
   ============================== */

/* Riduco spazio interno parte verde */
.leader-card__body {
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Nome leggermente più grande */
.leader-card__body h3 {
    font-size: 21px;
    margin-bottom: 4px;
}

/* Ruolo un filo più compatto */
.leader-card__body p {
    font-size: 12px;
    margin-bottom: 12px;
}

/* Spingo "Vedi profilo" in fondo */
.leader-card__body a {
    margin-top: auto;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Se vuoi ancora meno “vuoto” generale */
.leader-card {
    min-height: 600px;
}

/* ==============================
   LEADER OFFCANVAS
   ============================== */

.leader-offcanvas {
    --bs-offcanvas-width: min(560px, 92vw);
    background: #173236;
    color: #ffffff;
    border-left: 0;
}

.leader-offcanvas__header {
    justify-content: flex-end;
    padding: 14px 16px 0;
}

.leader-offcanvas__close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    opacity: 0.7;
    transition: opacity .2s ease;
}

.leader-offcanvas__close:hover {
    opacity: 1;
}

.leader-offcanvas__body {
    padding: 12px 28px 30px;
}

.leader-offcanvas__image-wrap {
    margin-bottom: 26px;
    border-radius: 22px;
    overflow: hidden;
    background: #f3f3f1;
}

.leader-offcanvas__image {
    display: block;
    width: 100%;
    aspect-ratio: 1.1 / 0.92;
    object-fit: cover;
    object-position: center top;
}

.leader-offcanvas__name {
    margin: 0 0 6px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 26px;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.leader-offcanvas__role {
    margin: 0 0 22px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.72);
}

.leader-offcanvas__bio {
    margin: 0;
    font-family: 'Anuphan', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .leader-offcanvas__body {
        padding: 10px 18px 22px;
    }

    .leader-offcanvas__name {
        font-size: 22px;
    }

    .leader-offcanvas__bio {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* =========================================================
   FOOTER MOBILE FIX
   Ordine:
   1. claim
   2. contatti
   3. logo + indirizzo
   4. freccia
   ========================================================= */
@media (max-width: 767.98px) {
    .site-footer__bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        text-align: center;
    }

    /* "smonta" i wrapper per poter riordinare i blocchi */
    .site-footer__claim,
    .site-footer__contacts-wrap {
        display: contents;
    }

    /* 1. claim */
    .site-footer__claim h2 {
        order: 1;
        max-width: 320px;
        margin: 0;
        text-align: center;
        font-size: 30px;
        line-height: 1.04;
    }

    /* 2. contatti */
    .site-footer__contacts {
        order: 2;
        width: 100%;
        max-width: 320px;
        justify-self: center;
        text-align: center;
    }

    .site-footer__contacts h3 {
        margin: 0 0 18px;
        text-align: center;
        font-size: 28px;
    }

    .site-footer__contacts-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        justify-content: center;
    }

    .site-footer__contact-col {
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .site-footer__contact-col h4 {
        margin: 0 0 6px;
        font-size: 19px;
        line-height: 1.12;
    }

    .site-footer__contact-col a,
    .site-footer__contact-col a:link,
    .site-footer__contact-col a:visited {
        font-size: 17px;
        line-height: 1.35;
        text-align: center;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* 3. logo + indirizzo */
    .site-footer__identity {
        order: 3;
        margin: 0;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer__identity img {
        width: min(220px, 70vw);
        margin: 0 auto;
    }

    .site-footer__identity p {
        margin: 12px 0 0;
        max-width: 260px;
        text-align: center;
        font-size: 15px;
        line-height: 1.28;
    }

    /* 4. freccia */
    .site-footer__backtop,
    .site-footer__backtop:link,
    .site-footer__backtop:visited {
        order: 4;
        justify-self: center;
        align-self: center;
        margin-top: 8px;
    }
}

/* =========================================================
   FOOTER LEGAL
   ========================================================= */
.site-footer__legal {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
}

.site-footer__legal p {
    margin: 0;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.82);
}

.site-footer__legal p + p {
    margin-top: 4px;
}

.site-footer__legal a,
.site-footer__legal a:link,
.site-footer__legal a:visited {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus,
.site-footer__legal a:active {
    color: #3a9598;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .site-footer__legal {
        margin-top: 26px;
        padding-top: 18px;
    }

    .site-footer__legal p {
        font-size: 11px;
        line-height: 1.5;
    }
}

@media (min-width: 1200px) {
    .value-card__text {
        font-size: 17px;
        line-height: 1.28;
    }
}

@media (min-width: 992px) {
    .site-logo img {
        width: 260px; /* prova 250-280 a seconda di quanto lo vuoi grande */
    }
}

@media (min-width: 992px) {
    .site-header .btn-contact,
    .site-header a.btn-contact,
    a.btn-contact {
        font-size: 15px; /* prova 14-16 a seconda di quanto lo vuoi evidente */
        padding: 0 26px; /* leggermente più largo per equilibrio */
    }
}

@media (max-width: 767.98px) {
    #chi-siamo {
        padding-bottom: 14px;
    }

    #chi-siamo .hero-copy {
        padding-bottom: 8px;
    }
}

@media (max-width: 767.98px) {
    .leader-card {
        min-height: auto;
    }

    .leader-card__media {
        height: 280px; /* 👈 abbassata */
    }

    .leader-card__body {
        height: auto;
        min-height: 160px; /* 👈 più compatta */
        padding: 16px 20px 14px; /* 👈 meno spazio interno */
        display: flex;
        flex-direction: column;
    }

    .leader-card__body h3 {
        margin-bottom: 4px;
        font-size: 19px;
    }

    .leader-card__body p {
        margin-bottom: 6px; /* 👈 meno spazio */
    }

    .leader-card__body a {
        margin-top: auto;
        padding-top: 18px; /* 👈 prima era 28px */
        font-size: 14px;
    }
}


@media (max-width: 767.98px) {
    .values-top .section-text {
        margin-top: 14px;
    }
}

@media (max-width: 767.98px) {
    .values-grid {
        margin-top: 32px;
    }
}

@media (max-width: 767.98px) {
    .value-card__icon {
        margin-bottom: 34px;
    }

    .value-card__subtitle {
        margin-bottom: 14px;
    }
}

@media (max-width: 767.98px) {
    .hero-title__top {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.1;
        font-weight: 600;
    }
}


@media (max-width: 767.98px) {
    .partner-card__link {
        pointer-events: none !important;
        cursor: default;
        -webkit-tap-highlight-color: transparent;
    }

    .partner-card {
        pointer-events: auto !important;
    }

    .partner-card__front,
    .partner-card__back {
        transition: transform .45s ease;
    }

    .partner-card.is-flipped .partner-card__front {
        transform: rotateY(180deg);
    }

    .partner-card.is-flipped .partner-card__back {
        transform: rotateY(0deg);
    }

    .partner-card__linkedin {
        pointer-events: auto !important;
        position: relative;
        z-index: 999;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
}

@media (max-width: 767.98px) {
    .section-headline-line {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title--section .hero-title__top {
        font-weight: 700;
    }
}