/* ============================================
   NEXT GENERATION BUSINESS — Main Landing
   Monochromatic navy palette.
   Layout: single-viewport split — left brand/hero
   (dark navy, left-aligned) + right stacked
   Eventi & Contenuti (light). Different from Roma.
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #0A2844;
    --navy: #164068;
    --navy-light: #2A5A85;
    --navy-soft: #3C6FA0;
    --navy-glow: #5B89B8;
    /* Accent is now just a navy alias — no gold, no red */
    --accent: #2A5A85;
    --accent-dark: #164068;
    --accent-light: #5B89B8;
    --white: #FFFFFF;
    --cream: #FAFBFC;
    --light-gray: #F3F5F8;
    --medium-gray: #DFE3EA;
    --hairline: #D0D6DF;
    --text-dark: #1A2332;
    --text-muted: #5A6270;
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(10, 40, 68, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 40, 68, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 40, 68, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 40, 68, 0.16);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 40, 68, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 40, 68, 0.97);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.brand-mark-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: var(--white);
}

.brand-subtitle {
    font-size: 0.66rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

/* ===== Submenu dropdown ===== */
.has-submenu {
    position: relative;
}

/* Invisible bridge between trigger and submenu so the hover
   state survives the vertical gap */
.has-submenu::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    height: 16px;
}

.submenu-caret {
    opacity: 0.7;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.has-submenu:hover .submenu-caret,
.has-submenu:focus-within .submenu-caret {
    transform: rotate(-180deg);
    opacity: 1;
}

.submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: -16px;
    min-width: 280px;
    padding: 10px;
    background: rgba(10, 40, 68, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    z-index: 100;
    margin: 0;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    display: block;
}

.submenu a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: all 0.2s ease;
    position: relative;
}

.submenu a::after {
    display: none;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.submenu-label {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 0.86rem;
}

.submenu-meta {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
}

.submenu a:hover .submenu-meta {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   LANDING SPLIT — 3-column full-viewport grid:
   BRAND (dark) | EVENTI (light) | CONTENUTI rail (light)
   ============================================ */
.landing-split {
    display: grid;
    grid-template-columns: 38% 42% 20%;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ===== LEFT: brand block ===== */
.split-brand {
    position: relative;
    background: linear-gradient(158deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
    color: var(--white);
    padding: 140px 56px 80px 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.brand-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 30%, rgba(60, 111, 160, 0.32) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(42, 90, 133, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 40% 90%, rgba(10, 40, 68, 0.55) 0%, transparent 60%);
    pointer-events: none;
}

.brand-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    text-align: left;
    animation: fadeInUp 0.9s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--white);
    line-height: 0.98;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    text-align: left;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    animation: fadeInUp 0.8s ease both;
}

.hero-title-line:nth-child(2) { animation-delay: 0.12s; }
.hero-title-line:nth-child(3) { animation-delay: 0.24s; }

.hero-title-line.accent {
    display: inline-block;
    color: var(--white);
    position: relative;
}

/* Left-aligned underline (Roma has it centered) */
.hero-title-line.accent::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: 0;
    width: 72px;
    height: 3px;
    background: var(--white);
    opacity: 0.85;
}

.hero-subtitle {
    font-size: clamp(0.96rem, 1.15vw, 1.08rem);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
    max-width: 440px;
    margin: 0 0 44px;
    line-height: 1.75;
    text-align: left;
    animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

.brand-curator {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.curator-label {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.curator-name {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
}

/* ===== CORE SERVICE SEAL =====
   Static "REVISIONE LEGALE" + dynamic sweeping arc that rotates
   around the circle. The text stays readable while the seal
   feels alive. */
.core-seal {
    position: absolute;
    top: 118px;
    right: 32px;
    width: 200px;
    height: 200px;
    display: block;
    cursor: pointer;
    z-index: 3;
    color: var(--white);
    text-decoration: none;
    animation: fadeInUp 0.9s ease 0.6s both;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.core-seal::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 137, 184, 0.22) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.core-seal:hover { transform: scale(1.05); }
.core-seal:hover::before { opacity: 1; }

.core-seal-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Dynamic sweep: rotating arc segment */
.core-seal-sweep {
    transform-origin: 110px 110px;
    animation: coreSealSweep 3.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    filter: drop-shadow(0 0 6px rgba(127, 186, 255, 0.5));
}

@keyframes coreSealSweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.core-seal:hover .core-seal-sweep {
    animation-duration: 1.8s;
}

.core-seal-top-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    fill: #ffffff;
}

.core-seal-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    fill: rgba(255, 255, 255, 0.55);
}

.core-seal-dot {
    fill: rgba(127, 186, 255, 0.75);
    animation: coreSealDotPulse 2s ease-in-out infinite;
}
.core-seal-dot:last-of-type { animation-delay: 1s; }

@keyframes coreSealDotPulse {
    0%, 100% { opacity: 0.4; r: 2.5; }
    50%      { opacity: 1;   r: 3.5; }
}

.core-seal-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.core-seal:hover .core-seal-center {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.55);
}

.core-seal-arrow {
    width: 28px;
    height: 28px;
    color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.core-seal:hover .core-seal-arrow {
    transform: translate(3px, -3px);
}

.core-seal-ripple {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(127, 186, 255, 0.55);
    animation: coreSealRipple 2.8s ease-out infinite;
}

@keyframes coreSealRipple {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== MIDDLE: events column ===== */
.split-content {
    background: var(--light-gray);
    padding: 128px 48px 80px 48px;
    display: flex;
    align-items: center;
    position: relative;
}

.content-inner {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

/* ===== RIGHT: contenuti vertical rail =====
   Slightly darker background than events column, hairline
   border plus an inset left-edge shadow so it reads as a
   clearly separated recessed surface. */
.split-rail {
    background: #E6EAF0;
    border-left: 1px solid rgba(22, 64, 104, 0.22);
    box-shadow: inset 22px 0 34px -22px rgba(10, 40, 68, 0.18);
    padding: 128px 30px 80px 38px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rail-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== Numbered section header (01 / 02) ===== */
.sect-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(22, 64, 104, 0.16);
}

.sect-number {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--navy-light);
    letter-spacing: 1px;
    line-height: 1;
    padding-top: 6px;
    position: relative;
    padding-right: 18px;
}

.sect-number::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 22px;
    background: rgba(22, 64, 104, 0.2);
}

.sect-head-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sect-eyebrow {
    font-family: var(--font-display);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--navy-light);
}

.sect-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.sect-events { }

/* ============================================
   EVENT CARDS — refined editorial layout
   Left date block + right info block with inline pill
   badge, hairline dividers, generous padding
   ============================================ */
.events-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    position: relative;
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 28px;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    padding: 30px 30px 26px 30px;
    box-shadow: 0 2px 10px rgba(10, 40, 68, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: rgba(22, 64, 104, 0.14);
    transition: all 0.3s ease;
}

.event-upcoming::before {
    background: var(--navy);
}

.event-card:hover {
    transform: translateY(-3px);
    border-color: rgba(22, 64, 104, 0.32);
    box-shadow: 0 18px 42px rgba(10, 40, 68, 0.11);
}

.event-card:hover::before {
    width: 4px;
    background: var(--navy-dark);
}

/* ---- Date column ---- */
.event-date-col {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.event-day {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 0.9;
    letter-spacing: -2.5px;
}

.event-date-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(22, 64, 104, 0.18);
}

.event-month {
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.event-year {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}

/* ---- Info column ---- */
.event-info-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    background: rgba(22, 64, 104, 0.06);
    border: 1px solid rgba(22, 64, 104, 0.18);
    font-family: var(--font-display);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 14px;
}

.event-upcoming .event-badge {
    background: rgba(22, 64, 104, 0.1);
    border-color: rgba(22, 64, 104, 0.34);
    color: var(--navy-dark);
}

.event-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--navy-light);
    flex-shrink: 0;
}

.event-upcoming .event-badge-dot {
    background: var(--navy);
    animation: pulse 2.5s ease-in-out infinite;
}

.event-city {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.event-title {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.32;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}

.event-venue {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.event-venue-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--navy-light);
    margin-top: 2px;
}

.event-collab {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px dashed rgba(22, 64, 104, 0.14);
    border-bottom: 1px dashed rgba(22, 64, 104, 0.14);
}

.event-collab-label {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.event-collab-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.92;
    filter: grayscale(0.08);
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
}

.event-card:hover .event-collab-logo {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.03);
}

.event-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 14px 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(22, 64, 104, 0.1);
    width: 100%;
    transition: all 0.3s ease;
}

.event-link svg {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.event-card:hover .event-link {
    color: var(--navy-dark);
    border-top-color: rgba(22, 64, 104, 0.2);
}

.event-card:hover .event-link svg {
    transform: translateX(4px);
}

/* ---- Preparing event variant (non-clickable, status banner) ---- */
.event-preparing {
    cursor: default;
}

.event-preparing:hover {
    transform: none;
    border-color: var(--hairline);
    box-shadow: 0 2px 10px rgba(10, 40, 68, 0.04);
}

.event-preparing::before {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.event-preparing:hover::before {
    width: 3px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.event-preparing .event-day {
    color: var(--navy);
}

.event-preparing .event-badge {
    background: rgba(22, 64, 104, 0.06);
    border: 1px solid rgba(22, 64, 104, 0.22);
    color: var(--navy);
}

.event-preparing .event-badge-dot {
    background: var(--navy);
    animation: pulse 2.2s ease-in-out infinite;
}

.event-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-top: auto;
    background: rgba(22, 64, 104, 0.05);
    border-left: 3px solid var(--navy);
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.event-status svg {
    flex-shrink: 0;
    color: var(--navy);
    margin-top: 2px;
}

.event-status strong {
    display: block;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 3px;
}

/* ---- Past event variant ---- */
.event-past::before {
    background: rgba(22, 64, 104, 0.16);
}

.event-past .event-day,
.event-past .event-month {
    color: rgba(22, 64, 104, 0.55);
}

.event-past .event-date-meta {
    border-top-color: rgba(22, 64, 104, 0.1);
}

.event-past .event-city {
    color: var(--text-muted);
}

.event-past .event-title {
    color: var(--navy);
}

/* ============================================
   CONTENUTI — rail column on light background
   Filter nav (compact vertical) + content TOC menu
   ============================================ */

/* Filter toolbar as a vertical compact nav */
.contents-toolbar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 22px 0 18px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(22, 64, 104, 0.12);
    min-height: 0;
}

.contents-toolbar:empty {
    display: none;
}

.content-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    position: relative;
}

.content-filter::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--navy);
    transition: height 0.25s ease;
}

.content-filter:hover {
    background: rgba(22, 64, 104, 0.06);
    color: var(--navy);
}

.content-filter:focus-visible {
    outline: 2px solid var(--navy-light);
    outline-offset: 2px;
}

.content-filter.is-active {
    background: rgba(22, 64, 104, 0.08);
    color: var(--navy-dark);
}

.content-filter.is-active::before {
    height: 64%;
}

.filter-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(22, 64, 104, 0.1);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    flex-shrink: 0;
}

.content-filter.is-active .filter-count {
    background: var(--navy);
    color: var(--white);
}

/* Content items as vertical TOC menu on light bg */
.contents-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(22, 64, 104, 0.12);
}

.content-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px 14px 14px;
    background: transparent;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    min-width: 0;
    border-bottom: 1px solid rgba(22, 64, 104, 0.1);
}

.content-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: rgba(22, 64, 104, 0.18);
    transition: all 0.3s ease;
}

.content-card:hover {
    background: rgba(22, 64, 104, 0.04);
}

.content-card:hover::before {
    background: var(--navy);
    top: 0;
    bottom: 0;
}

.content-card.is-hidden {
    display: none;
}

.content-card-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.content-tag {
    display: inline;
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy-light);
    background: transparent;
    border: none;
    padding: 0;
    white-space: nowrap;
}

.content-title {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.35;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(22, 64, 104, 0.22);
    color: var(--navy);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.content-card:hover .content-link {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.content-card:hover .content-link svg {
    transform: translateX(2px);
}

.content-link svg {
    transition: transform 0.3s ease;
}

.contents-empty {
    margin: 16px 0 0;
    padding: 18px 16px;
    border: 1px dashed rgba(22, 64, 104, 0.22);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-style: italic;
    text-align: center;
}

.contents-count {
    margin-top: 16px;
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left;
    opacity: 0.75;
}

/* ============================================
   CHI SIAMO section (Revilaw + motto + brochure)
   ============================================ */
.chi-siamo {
    background: var(--light-gray);
    padding: 112px 0 104px;
    border-top: 1px solid rgba(22, 64, 104, 0.08);
    position: relative;
}

.chi-siamo .container {
    max-width: 1180px;
}

.chi-siamo-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 64px;
}

.chi-siamo-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--navy-light);
    margin-bottom: 14px;
}

.chi-siamo-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.18;
    letter-spacing: -0.6px;
    margin-bottom: 22px;
}

.chi-siamo-title-accent {
    display: inline-block;
    font-weight: 400;
    color: var(--navy-light);
    font-size: 0.78em;
    letter-spacing: 0.2px;
}

.chi-siamo-divider {
    width: 48px;
    height: 2px;
    background: var(--navy);
    margin: 0 auto;
}

.chi-siamo-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.chi-siamo-body {
    min-width: 0;
}

.chi-siamo-body p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin-bottom: 22px;
}

.chi-siamo-body p strong {
    color: var(--navy-dark);
    font-weight: 700;
}

/* --- Motto "Oltre la verifica, verso il valore" ---
   Centering is forced via the nested .chi-siamo-body selector
   so the motto paragraph always wins over the .chi-siamo-body p
   justified alignment. */
.chi-siamo-motto {
    display: block;
    text-align: center;
    margin: 52px auto 46px;
    padding: 0;
    max-width: 560px;
    border: none;
    background: transparent;
    position: relative;
}

.chi-siamo-motto::before {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: var(--navy);
    margin: 0 auto 22px;
}

.chi-siamo-motto-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--navy-light);
    margin: 0 auto 24px;
    text-align: center;
}

.chi-siamo-body .chi-siamo-motto .chi-siamo-motto-text {
    display: block;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 500;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    line-height: 1.32;
    letter-spacing: -0.5px;
    color: var(--navy-dark);
    margin: 0 auto;
    text-align: center;
    hyphens: manual;
    -webkit-hyphens: manual;
    word-spacing: normal;
    max-width: 100%;
}

.chi-siamo-motto-highlight {
    position: relative;
    display: inline-block;
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
}

.chi-siamo-motto-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1em;
    height: 3px;
    background: var(--navy-light);
    opacity: 0.32;
    border-radius: 2px;
}

.chi-siamo-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(22, 64, 104, 0.14);
}

.chi-siamo-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chi-siamo-fact-label {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--navy-light);
}

.chi-siamo-fact-value {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.35;
}

/* --- Brochure card (download only) --- */
.chi-siamo-brochure {
    background: var(--white);
    border: 1px solid rgba(22, 64, 104, 0.14);
    border-radius: 16px;
    box-shadow: 0 20px 56px rgba(10, 40, 68, 0.1);
    padding: 44px 38px 38px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

/* Decorative accent stripe on top of the card */
.chi-siamo-brochure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-light) 100%);
}

/* Soft radial flourish behind the icon */
.chi-siamo-brochure::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(22, 64, 104, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.brochure-icon {
    align-self: flex-start;
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(10, 40, 68, 0.26);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.brochure-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.brochure-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.brochure-meta-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--navy-light);
    padding-bottom: 14px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(22, 64, 104, 0.14);
}

.brochure-meta-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.22;
    letter-spacing: -0.3px;
    margin: 0;
}

.brochure-meta-description {
    font-size: 0.9rem;
    line-height: 1.72;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.brochure-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 17px 26px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--navy);
    margin-top: 6px;
    width: 100%;
}

.brochure-btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(22, 64, 104, 0.22);
}

.brochure-btn-primary:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 40, 68, 0.3);
}

.brochure-btn-primary:hover svg {
    transform: translateY(2px);
}

.brochure-btn svg {
    transition: transform 0.3s ease;
}

/* ============================================
   SEDI section (interactive Italy map)
   ============================================ */
.sedi {
    background: var(--white);
    padding: 112px 0 104px;
    border-top: 1px solid rgba(22, 64, 104, 0.08);
    position: relative;
}

.sedi .container {
    max-width: 1180px;
}

.sedi-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 64px;
}

.sedi-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--navy-light);
    margin-bottom: 14px;
}

.sedi-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.18;
    letter-spacing: -0.6px;
    margin-bottom: 22px;
}

.sedi-divider {
    width: 48px;
    height: 2px;
    background: var(--navy);
    margin: 0 auto 26px;
}

.sedi-intro {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 680px;
}

.sedi-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.sedi-map-wrap {
    position: relative;
}

.sedi-map {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.sedi-dot {
    fill: rgba(22, 64, 104, 0.28);
    transition: fill 0.4s ease;
}

.sedi-map-wrap:hover .sedi-dot {
    fill: rgba(22, 64, 104, 0.4);
}

.sedi-marker {
    fill: var(--navy);
    stroke: #FFFFFF;
    stroke-width: 1.4;
    cursor: pointer;
    transition: transform 0.2s ease, fill 0.2s ease, stroke-width 0.2s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.sedi-marker:hover,
.sedi-marker:focus,
.sedi-marker.is-active {
    fill: var(--navy-dark);
    stroke-width: 2;
    transform: scale(1.7);
    outline: none;
}

.sedi-marker-pulse {
    fill: var(--navy-light);
    opacity: 0.35;
    transform-origin: center;
    transform-box: fill-box;
    pointer-events: none;
    animation: sediPulse 2.6s ease-out infinite;
}

@keyframes sediPulse {
    0% { transform: scale(1); opacity: 0.5; }
    80% { transform: scale(3.2); opacity: 0; }
    100% { transform: scale(3.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sedi-marker-pulse { animation: none; opacity: 0; }
    .sedi-marker { transition: fill 0.2s ease; }
}

.sedi-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--navy-dark);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(10, 40, 68, 0.32);
    transform: translate(-50%, calc(-100% - 16px));
    font-family: var(--font-display);
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.sedi-tooltip[data-visible="true"] {
    opacity: 1;
}

.sedi-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: var(--navy-dark);
    transform: translateX(-50%) rotate(45deg);
}

.sedi-tooltip-label {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 3px;
}

.sedi-tooltip-city {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.sedi-list-wrap {
    position: sticky;
    top: 100px;
}

.sedi-list-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(22, 64, 104, 0.15);
    margin-bottom: 22px;
}

.sedi-list-count {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1;
    letter-spacing: -1px;
}

.sedi-list-label {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy-light);
    max-width: 160px;
    line-height: 1.4;
}

.sedi-index {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sedi-index-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(22, 64, 104, 0.08);
}

.sedi-index-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sedi-index-letter {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.3;
    letter-spacing: -0.3px;
    position: relative;
    padding-top: 2px;
}

.sedi-index-letter::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 14px;
    height: 2px;
    background: var(--navy);
    opacity: 0.5;
}

.sedi-index-cities {
    font-family: var(--font-display);
    font-size: 0.8rem;
    line-height: 1.9;
    color: rgba(22, 64, 104, 0.55);
}

.sedi-index-city {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    user-select: none;
    font-weight: 500;
}

.sedi-index-city:hover,
.sedi-index-city.is-active {
    color: var(--navy-dark);
    background: rgba(22, 64, 104, 0.08);
    font-weight: 700;
}

@media (max-width: 960px) {
    .sedi {
        padding: 88px 0 80px;
    }
    .sedi-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .sedi-list-wrap {
        position: static;
    }
}

@media (max-width: 600px) {
    .sedi {
        padding: 72px 0 64px;
    }
    .sedi-header {
        margin-bottom: 44px;
    }
    .sedi-list-count {
        font-size: 2.2rem;
    }
    .sedi-index-cities {
        font-size: 0.78rem;
    }
}

/* ============================================
   OBIETTIVI section (between chi-siamo and partners)
   ============================================ */
.objectives {
    background: var(--white);
    padding: 104px 0 96px;
    position: relative;
}

.objectives .container {
    max-width: 1140px;
}

.objectives-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 44px;
}

.objectives-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--navy-light);
    margin-bottom: 14px;
}

.objectives-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.22;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
}

.objectives-divider {
    width: 48px;
    height: 2px;
    background: var(--navy);
    margin: 0 auto;
}

.objectives-lead {
    max-width: 780px;
    margin: 0 auto 64px;
}

.objectives-lead p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    margin-bottom: 20px;
}

.objectives-lead p:last-child {
    margin-bottom: 0;
}

.objectives-lead p strong {
    color: var(--navy-dark);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.objective-card {
    background: var(--white);
    border: 1px solid rgba(22, 64, 104, 0.14);
    border-radius: 12px;
    padding: 30px 26px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.objective-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 64, 104, 0.32);
    box-shadow: 0 16px 40px rgba(10, 40, 68, 0.09);
}

.objective-card:hover::before {
    transform: scaleX(1);
}

.objective-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--navy-light);
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(22, 64, 104, 0.12);
}

.objective-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}

.objective-card p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ============================================
   PARTNERS (solo "A cura di")
   ============================================ */
.partners {
    background: var(--white);
    padding: 72px 0;
    position: relative;
}

.partners::before,
.partners::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 960px);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(22, 64, 104, 0.25), transparent);
}

.partners::before { top: 28px; }
.partners::after  { bottom: 28px; }

.partners-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.partners-label {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(22, 64, 104, 0.3), transparent);
}

.label-text {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.partner-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.15);
    opacity: 0.9;
}

.partner-brand:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
}

.partner-brand-img {
    max-width: 260px;
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

/* Unindustria logo: just a touch smaller than Revilaw so
   the two brands feel balanced side by side */
.partner-brand-img-lg {
    max-width: 250px;
    max-height: 84px;
}

/* === Footer === */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 28px;
}

/* ===== Newsletter subscription ===== */
.footer-newsletter {
    display: grid;
    grid-template-columns: 0.85fr 1.25fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-copy {
    max-width: 460px;
    padding-top: 6px;
}

.footer-newsletter-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-newsletter-title {
    font-family: var(--font-display);
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.footer-newsletter-description {
    font-size: 0.86rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.newsletter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.newsletter-field-full {
    grid-column: 1 / -1;
}

.newsletter-field label {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-optional {
    font-weight: 500;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: none;
    margin-left: 4px;
}

.newsletter-field input {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.86rem;
    transition: all 0.25s ease;
    min-width: 0;
    width: 100%;
}

.newsletter-field input::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.newsletter-field input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.38);
}

.newsletter-field.is-error input {
    border-color: rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.05);
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.54);
    line-height: 1.55;
}

.newsletter-consent input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    accent-color: var(--white);
    flex-shrink: 0;
    cursor: pointer;
}

.newsletter-consent span {
    flex: 1;
}

.newsletter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    padding: 13px 30px;
    margin-top: 4px;
    background: var(--white);
    color: var(--navy-dark);
    border: 2px solid var(--white);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-1px);
}

.newsletter-submit:hover svg {
    transform: translateX(4px);
}

.newsletter-submit svg {
    transition: transform 0.3s ease;
}

.newsletter-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-col ul li a:hover {
    color: var(--navy-glow, #5B89B8);
}

.footer-brand .brand-logo {
    margin-bottom: 18px;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.footer p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer ul a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================
   RESPONSIVE
   - >=1200: 3-col as-is (38/42/20)
   - 1100-1199: 3-col with tighter paddings
   - 900-1099: 2-col, rail drops below events (grid-areas)
   - <900: full stack
   ============================================ */
@media (max-width: 1100px) {
    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }

    .chi-siamo-layout {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .chi-siamo-layout {
        grid-template-columns: 1fr;
        gap: 56px;
        max-width: 640px;
    }

    .chi-siamo-brochure {
        position: static;
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .objectives-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 18px;
    }

    .objectives,
    .chi-siamo {
        padding: 80px 0 72px;
    }

    .objectives-lead,
    .chi-siamo-header {
        margin-bottom: 44px;
    }

    .chi-siamo-motto {
        margin: 32px auto 30px;
    }

    .chi-siamo-motto::before {
        margin-bottom: 18px;
    }

    .chi-siamo-motto-eyebrow {
        margin-bottom: 18px;
        letter-spacing: 2.4px;
    }

    .chi-siamo-motto-text {
        font-size: 1.4rem;
    }

    .chi-siamo-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .chi-siamo-brochure {
        padding: 36px 28px 30px;
    }

    .brochure-icon {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .brochure-icon svg {
        width: 40px;
        height: 40px;
    }

    .event-collab {
        flex-wrap: wrap;
        gap: 10px;
    }

    .event-collab-logo {
        height: 40px;
    }
}

@media (max-width: 1200px) {
    .landing-split {
        grid-template-columns: 38% 42% 20%;
    }

    .split-brand {
        padding: 124px 32px 64px 40px;
    }

    .split-content {
        padding: 124px 36px 64px 36px;
    }

    .split-rail {
        padding: 124px 22px 64px 22px;
    }

    .content-inner {
        max-width: 480px;
    }
}

@media (max-width: 1099px) {
    /* 3-col is too cramped; collapse the rail under events */
    .landing-split {
        grid-template-columns: 44% 56%;
        grid-template-rows: auto auto;
        grid-template-areas:
            "brand content"
            "brand rail";
    }

    .core-seal {
        width: 170px; height: 170px;
        top: 110px; right: 22px;
    }
    .core-seal-top-text { font-size: 15px; letter-spacing: 2.5px; }
    .core-seal-tagline { font-size: 7.5px; letter-spacing: 2px; }
    .core-seal-center { width: 72px; height: 72px; }
    .core-seal-arrow { width: 24px; height: 24px; }

    .split-brand { grid-area: brand; }
    .split-content { grid-area: content; }
    .split-rail {
        grid-area: rail;
        border-left: none;
        border-top: 1px solid rgba(22, 64, 104, 0.12);
        padding: 40px 44px 72px 44px;
    }

    .rail-inner {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-title-line {
        font-size: clamp(2.2rem, 4.8vw, 3.6rem);
    }

    .content-inner {
        max-width: 520px;
    }
}

@media (max-width: 900px) {
    /* Full stack: brand / events / rail */
    .landing-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "brand"
            "content"
            "rail";
        min-height: auto;
    }

    .split-brand {
        padding: 120px 28px 70px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Re-position seal on stacked layout: centered above hero text */
    .core-seal {
        position: relative;
        top: auto; right: auto;
        margin: 0 auto 32px;
        width: 170px; height: 170px;
        order: -1;
    }
    .split-brand {
        flex-direction: column;
    }

    .brand-inner {
        margin: 0 auto;
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-title-line.accent::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .brand-curator {
        justify-content: center;
    }

    .split-content {
        padding: 72px 28px 56px;
        align-items: flex-start;
    }

    .content-inner {
        max-width: 560px;
        margin: 0 auto;
    }

    .split-rail {
        padding: 32px 28px 72px;
    }

    .rail-inner {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-title-line {
        font-size: clamp(2.8rem, 9vw, 4rem);
    }
}

@media (max-width: 860px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-title {
        font-size: 1.22rem;
    }

    .brand-subtitle {
        display: none;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    .brand-mark-img {
        height: 34px;
    }

    .split-brand {
        padding: 110px 22px 60px;
    }

    .hero-badge {
        font-size: 0.62rem;
        padding: 7px 18px;
        margin-bottom: 26px;
        letter-spacing: 2.2px;
    }

    .hero-title {
        margin-bottom: 22px;
    }

    .hero-title-line {
        font-size: 2.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 34px;
    }

    .split-content {
        padding: 58px 22px 48px;
    }

    .split-rail {
        padding: 28px 22px 64px;
    }

    .sect-head {
        gap: 14px;
    }

    .sect-number {
        font-size: 0.96rem;
        padding-right: 14px;
    }

    .sect-title {
        font-size: 1.08rem;
    }

    .event-card {
        padding: 24px 22px 22px;
        grid-template-columns: 92px 1fr;
        gap: 22px;
    }

    .event-day {
        font-size: 2.7rem;
        letter-spacing: -1.8px;
    }

    .event-month {
        font-size: 0.78rem;
    }

    .event-date-meta {
        margin-top: 10px;
        padding-top: 10px;
    }

    .event-title {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .event-badge {
        margin-bottom: 12px;
    }

    .content-card {
        padding: 14px 8px 14px 14px;
    }

    .content-title {
        font-size: 0.9rem;
    }

    .content-link {
        width: 28px;
        height: 28px;
    }

    .partners {
        padding: 54px 0;
    }

    .partners::before { top: 22px; }
    .partners::after  { bottom: 22px; }

    .partners-row {
        gap: 22px;
    }

    .partners-logos {
        gap: 48px;
    }

    .partner-brand-img {
        max-width: 200px;
        max-height: 68px;
    }

    .partner-brand-img-lg {
        max-width: 192px;
        max-height: 66px;
    }

    .footer {
        padding: 48px 0 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title-line {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .brand-curator {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .event-card {
        grid-template-columns: 84px 1fr;
        gap: 18px;
        padding: 22px 20px 20px;
    }

    .event-day {
        font-size: 2.4rem;
    }

    .event-month {
        font-size: 0.74rem;
    }

    .event-title {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .content-card {
        padding: 12px 10px 12px 14px;
        gap: 12px;
    }

    .content-title {
        font-size: 0.88rem;
    }

    .content-tag {
        font-size: 0.54rem;
        letter-spacing: 1.4px;
    }

    .content-link {
        width: 28px;
        height: 28px;
    }
}
