/* Stile rivisitato per la pagina "Chi Siamo" */

body {
    background-color: #f8f9fa;
}

.chi-siamo-page-revised .section-label {
    display: block;
    text-transform: uppercase;
    color: #007bff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.chi-siamo-page-revised .section-header {
    text-align: left;
    margin-bottom: 3rem;
}

.chi-siamo-page-revised .section-header h3 {
    font-size: var(--chi-section-title);
    color: #0a192f;
    margin-bottom: 0.5rem;
}

.chi-siamo-page-revised .section-header p {
    font-size: var(--chi-section-subtitle);
    color: #555;
    max-width: 700px;
}

.chi-siamo-page-revised {
    --chi-section-title: clamp(2.2rem, 4vw, 2.6rem);
    --chi-section-subtitle: clamp(1.05rem, 2.5vw, 1.2rem);
    --chi-card-title: 1.2rem;
    --chi-body-text: 1rem;
}

/* Intro Section */
.intro-revised {
    padding: 1rem 0 0;
    text-align: left;
    background-color: #fff;
}

.intro-revised .container {
    padding-bottom: 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
}

.intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
    margin-left: auto;
}

.intro-revised h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 1.5rem;
    max-width: 520px;
    line-height: 1.1;
}

.intro-revised .subtitle {
    font-size: 1.25rem;
    color: #495057;
    max-width: 520px;
    line-height: 1.7;
}

.intro-visual {
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 500px;
    align-self: stretch;
}

.intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Manifesto Section */
.manifesto-section {
    padding: 1rem 0 6rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.manifesto-modern {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.manifesto-hero {
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(2.5rem, 5vw, 3.75rem);
    box-shadow: 0 35px 80px rgba(13, 33, 64, 0.08);
    display: grid;
    gap: 1.5rem;
    max-width: 1040px;
}

.manifesto-hero h2 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    color: #0a192f;
    line-height: 1.15;
    margin: 0;
}

.manifesto-lead {
    font-size: 1.25rem;
    color: #314158;
    line-height: 1.75;
}

.manifesto-hero p {
    margin: 0;
    color: #46556a;
    line-height: 1.7;
}

.impact-panel {
    border-top: 1px solid rgba(13, 33, 64, 0.12);
    padding-top: 1.75rem;
    display: grid;
    gap: 1rem;
}

.impact-panel h3 {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a192f;
    margin: 0;
}

.impact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.impact-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(0, 95, 163, 0.08);
    color: #0a1a2b;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 95, 163, 0.18);
    backdrop-filter: blur(6px);
}


/* Closing Quote - Sezione di transizione dolce verso il footer */
.closing-quote {
    padding: 2rem 0 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 40%, #dde5ee 100%);
    position: relative;
    overflow: hidden;
}

.closing-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        transparent 20%,
        rgba(70, 130, 180, 0.3) 35%,
        rgba(70, 130, 180, 0.6) 60%, 
        rgba(70, 130, 180, 0.3) 65%,
        transparent 80%,
        transparent 100%);
}

.quote-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: min(1100px, 90vw);
    margin: 0 auto;
}

.quote-text {
    font-size: clamp(1.15rem, 2.4vw, 1.7rem);
    font-weight: 500;
    line-height: 1.65;
    color: #0e1c3b;
    margin: 0;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: -0.25rem;
    top: -0.5rem;
    font-size: 5rem;
    color: rgba(0, 95, 163, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text p {
    margin: 0;
}

.quote-signature {
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.6rem;
}

.signature-role {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #142747;
    text-transform: uppercase;
    opacity: 0.75;
}

.quote-signature img {
    width: 180px;
    max-width: 100%;
    height: auto;
    margin-right: -0.5rem;
    filter: contrast(1.1);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.manifesto-hero .btn-outline {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.manifesto-pillars {
    display: grid;
    gap: 1.75rem;
}

.pillars-header h3 {
    font-size: var(--chi-section-title);
    color: #0a192f;
    margin-bottom: 0.4rem;
}

.pillars-header p {
    margin: 0;
    color: #536379;
    max-width: 100%;
    line-height: 1.6;
    font-size: var(--chi-section-subtitle);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 24px 48px rgba(10, 26, 43, 0.08);
    border: 1px solid rgba(13, 33, 64, 0.08);
    display: grid;
    gap: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card::before {
    content: '';
    display: inline-block;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0066ff, #4dc7ff);
}

.pillar-card h4 {
    font-size: var(--chi-card-title);
    font-weight: 700;
    color: #172a46;
    margin: 0;
}

.pillar-card p {
    margin: 0;
    color: #536379;
    line-height: 1.65;
    font-size: var(--chi-body-text);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 56px rgba(10, 26, 43, 0.12);
}

/* Leadership Section */

.leadership-section {
    padding: 2.4rem 0 3rem;
    background: linear-gradient(180deg, #f6f8fc 0%, #ffffff 65%);
}

.leadership-section .section-header {
    margin-bottom: 1.35rem;
    max-width: none;
    margin-left: 0;
}

.leadership-section .section-header p {
    color: #4b5c71;
    max-width: none;
    white-space: nowrap;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.05rem;
}

.leader-profile {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1.55rem 1.65rem;
    box-shadow: 0 14px 28px rgba(10, 26, 43, 0.07);
    border: 1px solid rgba(10, 26, 43, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-profile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(10, 26, 43, 0.12);
}

.leader-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #e7f0ff 100%);
    color: #0a192f;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    box-shadow: 0 12px 24px rgba(10, 26, 43, 0.16);
    position: relative;
    overflow: hidden;
}

.leader-photo::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(10, 26, 43, 0.08);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leader-info h4 {
    font-size: var(--chi-card-title);
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.45rem;
}


.leader-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 98, 228, 0.12);
    color: #0e62c4;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.leader-bio {
    font-size: var(--chi-body-text);
    color: #4b5c71;
    line-height: 1.6;
}

.leadership-mobile {
    display: none;
}

.leader-dot-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0.25rem 0;
}

.leader-dot {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
}

.leader-dot:focus-visible {
    outline: 2px solid #0f62fe;
    outline-offset: 4px;
    border-radius: 50%;
}

.leader-dot:active {
    transform: translateY(2px);
}

.leader-dot-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(10, 26, 43, 0.08);
    box-shadow: 0 12px 24px rgba(10, 26, 43, 0.12);
}

.leader-dot-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-dot-name {
    font-weight: 700;
    color: #11223c;
    font-size: 0.95rem;
}

.leader-dot-role {
    font-size: 0.85rem;
    color: #5b6c80;
}

.leader-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.leader-modal.is-open {
    display: flex;
}

.leader-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 28, 0.65);
}

.leader-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem;
    width: min(420px, 90vw);
    box-shadow: 0 35px 70px rgba(7, 19, 35, 0.35);
    z-index: 1;
    border: 1px solid rgba(14, 32, 58, 0.08);
}

.leader-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(9, 22, 40, 0.06);
    border: none;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
    color: #061428;
    cursor: pointer;
}

.leader-modal__close:focus-visible {
    outline: 2px solid #0f62fe;
    outline-offset: 2px;
}

.leader-modal__header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.leader-modal__photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(15, 45, 78, 0.1);
    box-shadow: 0 18px 28px rgba(9, 25, 43, 0.15);
    flex-shrink: 0;
}

.leader-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-modal__role {
    display: block;
    font-size: 0.9rem;
    color: #5e6f83;
}

.leader-modal__bio {
    margin: 0;
    color: #3a4b60;
    line-height: 1.6;
    font-size: 0.95rem;
}

body.leader-modal-open {
    overflow: hidden;
}

/* Commitment Section */
.commitment-section {
    padding: 6rem 0;
    background-color: #0a192f;
    color: #fff;
}

.commitment-section .section-header h3 {
    color: #e6f1ff;
}

.commitment-section .section-header p {
    color: #a8b2d1;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.commitment-item {
    background-color: #172a46;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #2c3e5a;
}

.commitment-item h4 {
    font-size: 1.4rem;
    color: #e6f1ff;
    margin-bottom: 1rem;
}

.commitment-item p {
    color: #a8b2d1;
    line-height: 1.7;
}

/* Pact (Do & Don't) Section */
.pact-section {
    padding: 1rem 0;
    background-color: #fff;
}

.pact-section .section-header {
    padding-left: 0;
    margin-left: 0;
    max-width: 100%;
}

.pact-section .section-header p {
    white-space: nowrap;
}

.pact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* first definition replaced by final stylized version */
.pact-mobile {
    display: none;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 26, 43, 0.15);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 18px 30px rgba(10, 26, 43, 0.08);
    background: #fff;
}
.pact-mobile h4 {
    color: #172a46;
    margin: 0 0 0.75rem;
}
.pact-mobile ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.pact-mobile li {
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}
.pact-mobile li::before {
    content: '✓';
    color: var(--color-secondary, #008e6e);
    position: absolute;
    left: 0;
    top: 0;
}

.pact-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    font-size: 2rem;
}
.pact-heading--desktop {
    display: none;
}
.pact-heading-word {
    display: inline-flex;
    align-items: baseline;
}
.pact-switch-wrapper {
    display: inline-flex;
    align-items: baseline;
    position: relative;
}
.pact-switch {
    font-family: inherit;
    font-size: 2rem;
    border: none;
    background: transparent;
    padding: 0 0.1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #005fa3;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}
.pact-switch:focus-visible {
    outline: none;
    text-decoration: underline;
}

.pact-heading--mobile {
    display: flex;
}

@media (min-width: 769px) {
    .pact-heading--desktop {
        display: flex;
    }
    .pact-heading--mobile {
        display: none;
    }
}

.pact-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e0e6ef);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 24px rgba(10, 26, 43, 0.06);
}

.pact-card h4 {
    color: #172a46;
    margin-bottom: 1rem;
    font-size: var(--chi-card-title);
}

.pact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pact-list li {
    position: relative;
    padding-left: 1.75rem;
    color: #555;
    line-height: 1.6;
    font-size: var(--chi-body-text);
}

.pact-list li.ok::before,
.pact-list li.no::before {
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-weight: 800;
}

.pact-list li.ok::before {
    content: '✓';
    color: var(--color-secondary, #008e6e);
}

.pact-list li.no::before {
    content: '×';
    color: #c03a2b;
}

.pact-note {
    margin-top: 1.25rem;
    color: #687684;
}

/* Rituali & Governance Section */
/* Rituali section */
.rituali-section {
    padding: 1rem 0 1.5rem;
    background-color: #f5f8fc;
}

.rituali-section .section-header {
    margin-left: 2%;
    max-width: 96%;
}

/* Horizontal steps with glowing dots and popovers */
/* Desktop timeline */
.rituali-steps {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2.5rem 0 4.5rem 0; /* space for popovers above */
}

/* Override global .step card styles inside rituali-steps to match the original minimal aesthetic */
.rituali-steps .step {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none !important;
    display: flex;
    align-items: center; /* center the dot vertically to cross the line */
    justify-content: center;
}
.rituali-steps .step:not(:last-child)::after { display: none !important; content: none !important; }

.rituali-steps::before {
    content: '';
    position: absolute;
    left: 2%;
    right: 2%;
    top: calc(50% - 1px); /* center the 2px line exactly on mid */
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        rgba(10, 26, 43, 0.22),
        rgba(10, 26, 43, 0.22) 10px,
        transparent 10px,
        transparent 20px
    );
}

.rituali-node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.step {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.step-dot {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent, #f2b705), #ffd86f);
    border: 0;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 0 0 rgba(242, 183, 5, 0.45);
    animation: pulse-glow 2.4s ease-in-out infinite;
    transform: translateY(16px);
}

.step-dot:focus-visible {
    outline: 2px solid var(--color-primary, #005fa3);
    outline-offset: 3px;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(242, 183, 5, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0); }
}

.step-popover {
    position: absolute;
    bottom: calc(50% + 24px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.98);
    background: #fff;
    border: 1px solid var(--color-border, #e0e6ef);
    border-radius: 8px;
    box-shadow: 0 20px 36px rgba(10, 26, 43, 0.15);
    width: min(320px, 90vw);
    padding: 0.85rem 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.step-popover p {
    margin: 0;
    color: #45566c;
    line-height: 1.55;
}

.step-popover::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.step.open .step-popover,
.step:hover .step-popover,
.step:focus-within .step-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.popover-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.popover-head h4 {
    margin: 0;
    color: #0a192f;
    font-size: 1.05rem;
    line-height: 1.3;
    max-width: 75%;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #eef3fb;
    color: #0a1a2b;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--color-border, #e0e6ef);
    white-space: nowrap;
    align-self: flex-start;
}

.artifact-list {
    margin: 0.6rem 0 0 0;
    padding-left: 1rem;
    color: #687684;
}

.artifact-list li { list-style: disc; }

.step-label {
    position: absolute;
    top: calc(50% + 38px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #0a1a2b;
    font-weight: 700;
    font-size: 0.92rem;
    max-width: 170px;
}

.rituali-mobile {
    display: none;
}

.impegni-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.impegni-col h4 {
    color: #172a46;
    margin-bottom: 0.75rem;
}

.rituali-footnote {
    margin-top: 2rem;
    padding-top: 0.85rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #6f7c8d;
    letter-spacing: 0.02em;
    margin-left: 2%;
    max-width: 96%;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .manifesto-modern {
        gap: 3rem;
    }
    .manifesto-hero {
        max-width: none;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .leadership-section .section-header {
        margin-left: 0;
    }
    .leadership-grid {
        gap: 1.05rem;
        margin-top: 1.05rem;
    }
    .leader-profile {
        padding: 1.55rem 1.35rem 1.45rem;
    }
    .quote-layout {
        align-items: flex-start;
        gap: 1.5rem;
    }
    .leadership-section .section-header p {
        white-space: normal;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .intro-copy {
        margin-left: 0;
        max-width: none;
        transform: none;
    }
    .intro-visual {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .intro-revised {
        padding: 3rem 0 2.5rem;
    }
    .intro-revised .container {
        padding-bottom: 1rem;
    }
    .intro-grid {
        gap: 1.75rem;
    }
    .intro-revised h1 {
        font-size: 2.5rem;
    }
    .intro-visual {
        min-height: 320px;
    }
    .manifesto-hero {
        padding: 2.25rem;
        gap: 1.25rem;
    }
    .manifesto-hero h2 {
        font-size: 2.25rem;
    }
    .impact-panel {
        padding-top: 1.35rem;
    }
    .impact-tags {
        gap: 0.5rem;
    }
    .impact-chip {
        font-size: 0.9rem;
        padding: 0.35rem 0.8rem;
    }
    .pillars-grid[data-mobile-carousel="true"] {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        margin: 0 -0.2rem;
        padding-right: 0.2rem;
    }
    .pillars-grid[data-mobile-carousel="true"]::-webkit-scrollbar {
        display: none;
    }
    .pillars-grid[data-mobile-carousel="true"] .pillar-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
    }
    .pillars-header h3 {
        font-size: 1.75rem;
    }
    .pillar-card {
        padding: 1.85rem;
    }
    .chi-siamo-page-revised .section-header h3 {
        font-size: 2rem;
    }
    .leadership-section .section-header {
        margin-left: 0;
    }
    .leadership-section {
        padding: 2.6rem 0 2.6rem;
    }
    .leader-profile {
        padding: 1.55rem 1.3rem 1.4rem;
    }
    .leader-photo {
        width: 64px;
        height: 64px;
    }
    .leadership-grid {
        display: none;
    }
    .leadership-mobile {
        display: block;
        margin-top: 0.5rem;
    }
    .leader-dot-list {
        justify-content: space-around;
        gap: 0.75rem;
    }
    .leader-dot-photo {
        width: 80px;
        height: 80px;
    }
    .rituali-section .section-header {
        margin-left: 0;
        max-width: 100%;
    }
    .rituali-footnote {
        margin-left: 0;
        max-width: 100%;
    }
    .pact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .pact-grid [data-pact-content] {
        display: none;
    }
    .pact-mobile {
        display: block;
    }
    .rituali-steps {
        display: none;
    }
    .rituali-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .rituali-track {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 2px solid var(--color-primary, #0a192f);
        border-radius: 999px;
        padding: 0.65rem 1rem;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: inset 0 3px 6px rgba(5, 18, 41, 0.12), 0 10px 22px rgba(9, 21, 40, 0.12);
    }
    .rituali-track::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 1.6rem;
        right: 1.6rem;
        height: 6px;
        background: linear-gradient(90deg, var(--color-primary, #0a192f), #09446f);
        transform: translateY(-50%);
        border-radius: 999px;
    }
    .rituali-pill {
        position: relative;
        width: 34px;
        height: 20px;
        border-radius: 999px;
        background: var(--color-accent, #f2b705);
        box-shadow: 0 6px 12px rgba(10, 26, 43, 0.18);
        border: none;
        flex-shrink: 0;
        z-index: 1;
        cursor: pointer;
        padding: 0;
    }
    .rituali-pill.is-active {
        border: 2px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 20px rgba(46, 71, 146, 0.4);
        transform: scale(1.08);
    }
    .rituali-pill:focus-visible {
        outline: 2px solid #1f3ebd;
        outline-offset: 2px;
    }
    .rituali-card {
        border: 2px solid rgba(10, 26, 43, 0.15);
        border-radius: 26px;
        padding: 1.35rem 1.5rem;
        background: #fff;
        box-shadow: 0 24px 40px rgba(10, 26, 43, 0.15);
    }
    .rituali-card h4 {
        margin: 0 0 0.45rem;
        font-size: 1.2rem;
        color: var(--color-primary, #0a192f);
    }
    .rituali-card p {
        margin: 0 0 0.85rem;
        color: rgba(6, 24, 41, 0.74);
        line-height: 1.55;
    }
    .rituali-card .meta-pill {
        display: inline-flex;
        align-self: flex-end;
        margin-left: auto;
        margin-bottom: 0.75rem;
        font-size: 0.82rem;
        border: 1px solid rgba(7, 25, 45, 0.25);
        background: rgba(241, 248, 255, 0.9);
        color: var(--color-primary, #0a192f);
    }
    .rituali-card ul {
        margin: 0;
        padding-left: 1rem;
        color: #4b5c71;
        line-height: 1.5;
        list-style: disc;
    }
    .rituali-card li::marker {
        color: #0a192f;
        font-size: 0.85rem;
    }
    .pact-section .section-header { padding-left: 0; max-width: 100%; }
    .pact-section .section-header p { white-space: normal; }
    .closing-quote { padding: 1.5rem 0 1.25rem; }
    .quote-layout { gap: 1.25rem; }
    .quote-text { 
        font-size: 1.5rem; 
        padding-left: 1.5rem;
    }
    .quote-text::before {
        font-size: 4rem;
        left: -0.15rem;
    }
    .quote-signature {
        padding: 0;
    }
    .quote-signature img {
        width: 150px;
    }
}
