/* ============================================
   S.T. RETI S.R.L. — tema custom sopra Bootstrap 5
   ============================================ */

:root {
    --navy: #0d1b2e;
    --navy-dark: #0a1524;
    --navy-soft: #16273d;
    --blue: #074297;
    --blue-mid: #2f6fd6;
    --blue-soft: #5b95ea;
    --green: #019c48;
    --green-light: #23b56b;
    --light: #eef2f6;
    --text-light: #e7edf5;
    --muted-1: #c4d0df;
    --muted-2: #a7b8cd;
    --muted-3: #9fb0c6;
    --ink: #0d1b2e;
    --ink-muted: #5a6b80;
    --ink-faint: #8a99ab;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--navy);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: #4f8ae6; }
::selection { background: var(--green); color: #fff; }

.shell { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.accent-green { color: var(--green); }
.accent-green-light { color: var(--green-light); }

/* placeholder foto (righe diagonali) */
.ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(135deg, #dfe6ee 0 12px, #e8edf3 12px 24px);
}
.ph span {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--ink-faint);
    text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 46, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    transition: transform .3s cubic-bezier(.22, .8, .3, 1);
    will-change: transform;
}

/* Scroll verso il basso: la barra esce dallo schermo per liberare viewport.
   Torna appena si risale (classe gestita da app.js). */
.site-header.is-hidden { transform: translateY(-100%); }

/* Le ancore non devono finire sotto la barra quando ricompare. */
[id] { scroll-margin-top: 84px; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
    background: #fff;
    border-radius: 12px;
    padding: 6px 8px;
    display: flex;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.brand-logo img { height: 40px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .5px; color: #fff; }
.brand-sub { font-weight: 600; font-size: 10.5px; letter-spacing: 3px; color: var(--green); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav .nav-link { color: var(--muted-1); font-weight: 600; font-size: 15px; padding: 0; }
.main-nav .nav-link:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* hamburger */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }

.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .28s ease, opacity .2s ease, top .28s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(6, 13, 24, .6);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .3s ease;
}
.mobile-menu-backdrop.is-visible { opacity: 1; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: min(380px, 88vw);
    display: flex;
    flex-direction: column;
    padding: 18px 22px 26px;
    background:
        radial-gradient(600px 320px at 100% 0%, rgba(7, 66, 151, .35), transparent 60%),
        linear-gradient(180deg, #0f1f36, #0a1524);
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22, .8, .3, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, .12); }

.mobile-menu-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(35, 181, 107, .4);
    transform: translateX(3px);
}
.mobile-menu-link svg { flex: none; color: var(--green-light); }

.mobile-menu-label { display: block; font-weight: 800; font-size: 17px; letter-spacing: -.2px; }
.mobile-menu-desc { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted-3); margin-top: 3px; }

.mobile-menu-link.is-cta {
    background: var(--blue);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(7, 66, 151, .45);
}
.mobile-menu-link.is-cta:hover { background: #0a52b8; border-color: transparent; }
.mobile-menu-link.is-cta svg { color: #fff; }
.mobile-menu-link.is-cta .mobile-menu-desc { color: rgba(255, 255, 255, .75); }

.mobile-menu-foot {
    margin-top: auto;
    padding-top: 22px;
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.mobile-menu-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--muted-1);
}
.mobile-menu-contact:hover { color: #fff; }
.mobile-menu-contact.is-static { font-weight: 600; color: var(--muted-3); }
.mobile-menu-contact svg { flex: none; }

body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(7, 66, 151, .4);
}
.btn-cta:hover { background: #0a52b8; color: #fff; }

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 26px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(7, 66, 151, .45);
}
.btn-primary-lg:hover { background: #0a52b8; color: #fff; }

.btn-ghost-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .06);
    color: var(--text-light);
    font-weight: 700;
    font-size: 16px;
    padding: 15px 26px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
}
.btn-ghost-lg:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(900px 500px at 12% -10%, rgba(7, 66, 151, .38), transparent 60%),
        radial-gradient(700px 500px at 100% 20%, rgba(1, 156, 72, .16), transparent 55%),
        linear-gradient(180deg, #0d1b2e, #0a1524);
}
.hero-inner {
    padding-top: 76px;
    padding-bottom: 88px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(47, 111, 214, .12);
    border: 1px solid rgba(47, 111, 214, .3);
    margin-bottom: 26px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .4px;
    color: #cfe0f5;
}

.hero-title {
    font-weight: 800;
    font-size: 60px;
    line-height: 1.03;
    letter-spacing: -1.5px;
    margin: 0 0 24px;
    color: #fff;
}
.hero-text {
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted-2);
    max-width: 520px;
    margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
    aspect-ratio: 4 / 4.4;
    background: var(--navy-soft);
}
.hero-card > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(10, 21, 38, .72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .14);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-light);
}

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 24px;
    background: linear-gradient(180deg, transparent, rgba(8, 17, 30, .9));
}
.hero-caption strong { display: block; font-weight: 800; font-size: 30px; color: #fff; line-height: 1; }
.hero-caption span { display: block; font-weight: 600; font-size: 13px; color: var(--muted-3); margin-top: 4px; }

/* ---------- Sezioni chiare ---------- */
.section-light { background: var(--light); color: var(--ink); }
.section-inner { padding-top: 88px; padding-bottom: 88px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head.narrow { max-width: 600px; }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: 3px; color: var(--green); margin-bottom: 14px; }
.eyebrow-light { color: var(--green-light); }
.section-head h2 { font-weight: 800; font-size: 42px; line-height: 1.1; letter-spacing: -1px; margin: 0 0 16px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

/* ---------- Card servizi ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-3-tight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Griglie a 3 elementi: 3 col -> 2 col (tablet / finestra ridotta) -> 1 col.
   Con 3 card lo stadio a 2 colonne lascia un elemento solo sull'ultima riga:
   lo si centra alla larghezza di una colonna invece di lasciarlo ancorato a
   sinistra con mezza riga vuota. */
@media (max-width: 991.98px) and (min-width: 700px) {
    .grid-3, .grid-3-tight { grid-template-columns: repeat(2, 1fr); }

    .grid-3 > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 13px);
        margin-inline: auto;
    }
    .grid-3-tight > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        margin-inline: auto;
    }
}

@media (max-width: 699.98px) {
    .grid-3, .grid-3-tight { grid-template-columns: 1fr; }
}

.service-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(13, 27, 46, .08);
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
}
.service-card .ph { aspect-ratio: 16 / 10; }
.service-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.service-card-body { padding: 26px 24px 28px; }
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.service-icon.blue { background: rgba(7, 66, 151, .1); }
.service-icon.green { background: rgba(1, 156, 72, .12); }
.service-card h3 { font-weight: 800; font-size: 20px; margin: 0 0 10px; }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

/* ---------- Banner chi siamo ---------- */
.banner {
    position: relative;
    background: url('../img/squadra-al-lavoro.jpg') center / cover no-repeat var(--navy-soft);
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 16, 28, .92), rgba(8, 16, 28, .55));
}
.banner-inner {
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.banner-copy { max-width: 560px; }
.banner-copy h2 { font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -1px; margin: 0 0 18px; color: #fff; }
.banner-copy p { font-size: 17px; line-height: 1.65; color: var(--muted-1); margin: 0; max-width: 480px; }

.banner-stats { display: flex; gap: 56px; }
.banner-stat strong { display: block; font-weight: 800; font-size: 54px; color: #fff; line-height: 1; }
.banner-stat > span { display: block; font-weight: 600; font-size: 14px; color: var(--muted-3); margin-top: 6px; }

/* ---------- Numeri ---------- */
.section-numbers { background: linear-gradient(180deg, #0a1524, #0d1b2e); }
.section-numbers .section-head { margin-bottom: 48px; }
.section-numbers .section-head h2 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.8px; margin: 0; color: #fff; }


.stat-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
}
.stat-card.green { background: rgba(1, 156, 72, .08); border-color: rgba(1, 156, 72, .22); }
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(7, 66, 151, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.stat-icon.green { background: rgba(1, 156, 72, .2); }
.stat-value { font-weight: 800; font-size: 44px; color: #fff; line-height: 1; }
.stat-label { font-weight: 600; font-size: 15px; color: var(--muted-3); margin-top: 8px; }

/* ---------- Contatti ---------- */
.contact-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 27, 46, .08);
    padding: 34px 26px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}
a.contact-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(13, 27, 46, .12); }
.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(7, 66, 151, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.contact-icon.green { background: rgba(1, 156, 72, .12); }
.contact-label { font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--ink-faint); margin-bottom: 8px; }
.contact-value { font-weight: 800; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-inner {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo { border-radius: 10px; padding: 5px 7px; box-shadow: none; }
.footer-brand .brand-logo img { height: 32px; }
.footer-brand-name { font-weight: 800; font-size: 16px; color: #fff; letter-spacing: .3px; }
.footer-legal { text-align: right; display: grid; gap: 4px; }
.footer-address { font-size: 13px; color: #9fb0c6; }
.copyright { font-size: 13px; color: #7b8ca2; }

/* ---------- Responsive ---------- */
/* tablet + mobile: nav desktop nascosta, resta solo CTA + hamburger */
@media (max-width: 1023.98px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu, .mobile-menu-backdrop, .nav-toggle-bars span, .site-header { transition: none; }
}

@media (max-width: 991.98px) {
    .shell { padding-left: 20px; padding-right: 20px; }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
    .hero-title { font-size: 42px; letter-spacing: -1px; }
    .hero-card { aspect-ratio: 4 / 3; }

    .section-inner { padding-top: 64px; padding-bottom: 64px; }
    .section-head h2 { font-size: 32px; }
    .banner-copy h2 { font-size: 34px; }
    .banner-stats { gap: 36px; }
    .banner-stat strong { font-size: 42px; }
}

@media (max-width: 575.98px) {
    .header-inner .btn-cta { padding: 10px 14px; font-size: 13px; }
    .header-inner .btn-cta svg { display: none; }
    .brand-logo img { height: 34px; }

    .hero-title { font-size: 34px; }
    .banner-stats { flex-direction: column; gap: 22px; }
    .footer-inner { justify-content: center; text-align: center; }
    .footer-legal { text-align: center; }
}

/* ============================================
   Pagina contatti
   ============================================ */

.page-hero {
    position: relative;
    padding: 72px 0 78px;
    background:
        radial-gradient(760px 420px at 10% -20%, rgba(7, 66, 151, .4), transparent 60%),
        radial-gradient(620px 420px at 100% 10%, rgba(1, 156, 72, .16), transparent 55%),
        linear-gradient(180deg, #0d1b2e, #0a1524);
}
.page-hero-title { font-weight: 800; font-size: clamp(32px, 4vw, 46px); color: #fff; margin: 0 0 18px; letter-spacing: -1px; }
.page-hero-text { max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--muted-2); margin: 0 0 30px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }

/* --- form --- */
.contact-form-wrap {
    background: #fff;
    border: 1px solid rgba(13, 27, 46, .08);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
}
.contact-form-title { font-weight: 800; font-size: 26px; margin: 0 0 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; color: var(--ink); }
.req { color: var(--green); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d7dfe9;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5a6b80 50%), linear-gradient(135deg, #5a6b80 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }

.field :is(input, select, textarea):focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(7, 66, 151, .14);
}
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: #d6455a; }

.field-error { margin: 7px 0 0; font-size: 13px; color: #c23146; }

.field-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.field-check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--blue); }

.contact-form-wrap button[type="submit"] { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; margin-top: 6px; }

/* honeypot: fuori schermo, non display:none (alcuni bot lo rilevano) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
}
.alert svg { flex: none; margin-top: 1px; }
.alert-success { background: rgba(1, 156, 72, .1); border: 1px solid rgba(1, 156, 72, .3); color: #0b6b39; }
.alert-error { background: rgba(214, 69, 90, .08); border: 1px solid rgba(214, 69, 90, .28); color: #a92639; }

/* --- colonna info + mappa --- */
.contact-aside { display: grid; gap: 22px; }

.info-card {
    background: var(--navy);
    color: #fff;
    border-radius: 18px;
    padding: 28px 26px;
}
.info-card-title { font-weight: 800; font-size: 20px; margin: 0 0 20px; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-list strong { display: block; font-weight: 700; font-size: 15.5px; color: #fff; }
.info-list a { color: #fff; }
.info-list a:hover { color: var(--green-light); }
.info-sub { display: block; font-size: 13px; color: var(--muted-3); margin-top: 3px; }

.info-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 11px;
    background: #fff;
}

.map-card {
    margin: 0;
    background: #fff;
    border: 1px solid rgba(13, 27, 46, .08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
}
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; }
.map-card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--ink-muted);
    border-top: 1px solid rgba(13, 27, 46, .08);
}
.map-card figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }

@media (max-width: 991.98px) {
    .contact-layout { grid-template-columns: 1fr; }
    .page-hero { padding: 52px 0 58px; }
}

@media (max-width: 575.98px) {
    .contact-form-wrap { padding: 24px 20px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
}

.contact-form-wrap button[type="submit"]:disabled {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}
.contact-form-wrap button[type="submit"]:disabled:hover { background: var(--blue); }

/* ============================================
   Pagina chi siamo
   ============================================ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-title { font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -.8px; margin: 0 0 20px; }
.split p { font-size: 16.5px; line-height: 1.7; color: var(--ink-muted); margin: 0 0 16px; }
.split p:last-child { margin-bottom: 0; }

/* tappe */
.milestones { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid rgba(7, 66, 151, .18); display: grid; gap: 28px; }
.milestones li { position: relative; display: grid; gap: 8px; }
.milestones li::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(1, 156, 72, .16);
}
.milestone-year { font-weight: 800; font-size: 13px; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; }
.milestone-text { font-size: 15.5px; line-height: 1.65; color: var(--ink-muted); }
.milestone-text strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }

/* card settori (riuso .stat-card allineata a sinistra) */
.stat-card.text-start { text-align: left; }
.stat-card.text-start .stat-icon { margin: 0 0 18px; }
.feature-title { font-weight: 800; font-size: 19px; color: #fff; margin: 0 0 10px; }
.feature-text { font-size: 15px; line-height: 1.65; color: var(--muted-3); margin: 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted-1);
}
.pill-tag em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; color: var(--green-light); text-transform: uppercase; }

/* committenti */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.client-card {
    background: #fff;
    border: 1px solid rgba(13, 27, 46, .08);
    border-left: 3px solid var(--green);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
}
.client-card h3 { font-weight: 800; font-size: 18px; margin: 0 0 8px; }
.client-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

.note-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 28px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-muted);
}
.note-line svg { flex: none; margin-top: 3px; }

/* certificazioni: 5 card, l'ultima riga resta centrata invece di allinearsi a sinistra */
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cert-card { flex: 1 1 300px; max-width: calc(33.333% - 15px); }
.cert-card {
    position: relative;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 28px 24px;
}
.cert-badge {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(1, 156, 72, .18);
    margin-bottom: 18px;
}
.cert-tag { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-light); margin-bottom: 8px; }
.cert-card h3 { font-weight: 800; font-size: 18px; color: #fff; margin: 0 0 10px; }
.cert-card p { font-size: 14px; line-height: 1.6; color: var(--muted-3); margin: 0; }

/* valori */
.value-card {
    background: #fff;
    border: 1px solid rgba(13, 27, 46, .08);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 10px 30px rgba(13, 27, 46, .06);
}
.value-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    margin-bottom: 18px;
}
.value-icon.blue { background: rgba(7, 66, 151, .1); }
.value-icon.green { background: rgba(1, 156, 72, .12); }
.value-card h3 { font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.value-card p { font-size: 15px; line-height: 1.65; color: var(--ink-muted); margin: 0; }

/* fascia CTA */
.cta-band { background: linear-gradient(120deg, #0a1524, #123163); }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 58px;
    padding-bottom: 58px;
}
.cta-inner h2 { font-weight: 800; font-size: clamp(24px, 2.8vw, 32px); color: #fff; margin: 0 0 10px; }
.cta-inner p { font-size: 16px; color: var(--muted-2); margin: 0; }

@media (max-width: 991.98px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .client-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 11px); margin-inline: auto; }
    .cert-card { max-width: calc(50% - 11px); }
}

@media (max-width: 699.98px) {
    .client-grid { grid-template-columns: 1fr; }
    .client-grid > :last-child:nth-child(odd) { width: 100%; }
    .cert-card { max-width: 100%; }
}
