:root {
    --sam-primary: #06275f;
    --sam-secondary: #0b3d85;
    --sam-accent: #ffd600;
    --sam-surface: #f5f7fb;
    --sam-ink: #071b3f;
    --sam-muted: #5d687c;
    --sam-line: #dfe4ee;
    --sam-white: #ffffff;
    --sam-shadow: 0 18px 45px rgba(3, 27, 71, .12);
    --sam-container: 1360px;
    --sam-radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--sam-ink);
    background: var(--sam-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.is-preview { padding-top: 38px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.container { width: min(calc(100% - 48px), var(--sam-container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -100px; background: var(--sam-accent); color: var(--sam-ink); padding: 10px 16px; font-weight: 800; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.preview-ribbon { position: fixed; inset: 0 0 auto; z-index: 9998; height: 38px; display: grid; place-items: center; background: #7b1b1b; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }

/* Header */
.site-header { position: relative; z-index: 50; background: #fff; }
.utility-bar { background: linear-gradient(90deg, #041d4d, var(--sam-secondary), #041d4d); color: #fff; }
.utility-inner { min-height: 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 13px; }
.utility-place, .utility-login { display: inline-flex; align-items: center; gap: 7px; }
.utility-place svg { color: var(--sam-accent); }
.utility-name { color: var(--sam-accent); text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.utility-login { justify-self: end; transition: opacity .15s ease; }
.utility-login:hover { opacity: .75; }
.main-header { border-bottom: 1px solid var(--sam-line); background: rgba(255, 255, 255, .98); }
.header-inner { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 20px; min-width: 420px; }
.brand-logo { width: 88px; height: 88px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-title { display: flex; align-items: center; color: var(--sam-primary); font-size: clamp(27px, 2.7vw, 43px); line-height: 1.2; font-weight: 850; letter-spacing: -.04em; }
.brand-accent { display: inline-flex; align-items: center; margin-left: .16em; line-height: 0; }
.brand-accent-image { width: auto; height: 52px; max-width: 112px; object-fit: contain; }
.brand-subtitle { margin-top: 8px; color: var(--sam-muted); font-size: 13px; font-weight: 650; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 3px; list-style: none; padding: 0; margin: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav a { display: flex; align-items: center; gap: 6px; padding: 17px 13px; color: var(--sam-ink); font-size: 13px; font-weight: 800; white-space: nowrap; border-bottom: 3px solid transparent; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.primary-nav > ul > li:first-child > a { border-color: var(--sam-accent); }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--sam-secondary); border-color: var(--sam-accent); }
.nav-chevron { width: 14px; height: 14px; }
.submenu { position: absolute; top: calc(100% - 3px); left: 0; min-width: 248px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--sam-line); border-top: 3px solid var(--sam-accent); border-radius: 0 0 10px 10px; box-shadow: var(--sam-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.submenu a { padding: 11px 12px; border: 0; border-radius: 7px; white-space: normal; }
.submenu a:hover, .submenu a:focus-visible { background: var(--sam-surface); border: 0; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--sam-primary); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 29px; height: 29px; }
.affiliation-strip { border-bottom: 1px solid var(--sam-line); background: linear-gradient(90deg, #f7f9fd, #fff 35%, #fff 65%, #f7f9fd); }
.affiliation-strip-inner { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.affiliation-strip-content { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 4px; }
.affiliation-strip--left .affiliation-strip-inner { justify-content: flex-start; }
.affiliation-strip--center .affiliation-strip-inner { justify-content: center; }
.affiliation-strip--right .affiliation-strip-inner { justify-content: flex-end; }
.affiliation-strip--left .affiliation-strip-content { justify-content: flex-start; text-align: left; }
.affiliation-strip--center .affiliation-strip-content { justify-content: center; text-align: center; }
.affiliation-strip--right .affiliation-strip-content { justify-content: flex-end; text-align: right; }
.affiliation-strip-logo { width: 90px; height: auto; flex: 0 0 auto; }
.affiliation-strip-copy { min-width: 0; overflow-wrap: anywhere; color: var(--sam-primary); font-size: 13px; font-weight: 750; line-height: 1.35; letter-spacing: .005em; }
a.affiliation-strip-content { transition: opacity .15s ease; }
a.affiliation-strip-content:hover { opacity: .76; }

/* Hero */
.hero { position: relative; min-height: 456px; isolation: isolate; background-image: var(--hero-image); background-position: center 47%; background-size: cover; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 30, 77, .98) 0%, rgba(4, 38, 95, .92) 34%, rgba(4, 38, 95, .50) 59%, rgba(4, 38, 95, .12) 100%); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(128deg, transparent 0 30%, rgba(255, 214, 0, .13) 30.2% 30.5%, transparent 30.7% 100%); }
/* Rotazione dello sfondo. I livelli stanno sopra il background di .hero e sotto
   il gradiente .hero::after (z-index -1), che resta invariato. Senza JavaScript
   resta visibile la prima immagine, già attiva lato server. */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; background-position: center 47%; background-size: cover; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide.is-active { opacity: 1; }
/* Chi ha chiesto meno animazioni non riceve né dissolvenza né rotazione: il
   timer viene proprio disattivato in site.js. */
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero-grid { min-height: 456px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .62fr); align-items: center; gap: 70px; padding-block: 54px 76px; }
.hero-copy { max-width: 690px; color: #fff; }
.section-kicker { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .055em; font-size: 14px; color: var(--sam-accent); }
.section-kicker span { width: 96px; height: 3px; background: var(--sam-accent); }
.hero h1 { margin: 19px 0 16px; font-size: clamp(48px, 5.4vw, 78px); line-height: .98; letter-spacing: -.055em; max-width: 650px; }
.accent-dot, .hero h1 span { color: var(--sam-accent); }
.hero-summary { max-width: 650px; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; color: rgba(255,255,255,.92); }
.hero-summary p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 850; letter-spacing: .01em; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-accent { color: #061b40; background: var(--sam-accent); box-shadow: 0 9px 22px rgba(0, 0, 0, .14); }
.button-accent:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.74); background: rgba(3, 28, 72, .22); }
.button-ghost:hover { background: rgba(3, 28, 72, .55); }
.hero-notice { justify-self: end; width: min(100%, 410px); min-height: 214px; padding: 27px 29px; color: #fff; background: rgba(4, 17, 43, .82); border: 1px solid rgba(255,255,255,.14); border-radius: 15px; box-shadow: 0 20px 55px rgba(0,0,0,.24); backdrop-filter: blur(8px); }
.notice-label { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.notice-label svg { color: var(--sam-accent); width: 20px; height: 20px; }
.hero-notice h2 { margin: 20px 0 17px; font-size: 23px; line-height: 1.28; letter-spacing: -.02em; }
.hero-notice > a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: #fff; }
.hero-notice > a svg { color: var(--sam-accent); }

/* Quick access */
.quick-section { position: relative; z-index: 5; margin-top: -44px; }
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; min-height: 92px; padding: 1px; background: var(--sam-line); border: 1px solid rgba(6,39,95,.1); border-radius: 15px; box-shadow: var(--sam-shadow); overflow: hidden; }
.quick-link { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; transition: background .15s ease; }
.quick-link:hover, .quick-link:focus-visible { background: #f8faff; }
.quick-icon { color: var(--sam-secondary); display: grid; place-items: center; }
.quick-icon svg { width: 34px; height: 34px; }
.quick-copy { min-width: 0; display: flex; flex-direction: column; }
.quick-copy strong { color: var(--sam-primary); font-size: 13px; text-transform: uppercase; }
.quick-copy small { margin-top: 3px; color: var(--sam-muted); font-size: 12px; line-height: 1.3; }

/* Main overview */
.overview-section { padding: 50px 0 42px; background: linear-gradient(#fff, #fbfcff); }
.overview-grid { display: grid; grid-template-columns: 1.13fr .92fr .92fr; gap: 24px; align-items: start; }
.overview-column { min-width: 0; }
.column-heading { min-height: 52px; display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 13px; }
.column-heading.compact { align-items: center; }
.column-heading h2 { margin: 2px 0 0; color: var(--sam-primary); font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em; }
.column-heading > a { display: inline-flex; align-items: center; gap: 5px; color: var(--sam-secondary); font-size: 12px; font-weight: 800; white-space: nowrap; }
.column-heading > a svg { width: 15px; height: 15px; }
.column-eyebrow { display: block; color: var(--sam-secondary); font-size: 11px; font-weight: 850; letter-spacing: .07em; }
.territory-card, .news-list, .deadline-list { border: 1px solid var(--sam-line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(6,39,95,.05); overflow: hidden; }
.territory-card > img { width: 100%; height: 176px; object-fit: cover; }
.territory-content { padding: 20px 22px 16px; }
.content-tag { display: inline-flex; padding: 5px 8px; border-radius: 4px; background: var(--sam-accent); color: var(--sam-ink); font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.territory-content h3 { margin: 13px 0 8px; font-size: 20px; line-height: 1.27; letter-spacing: -.02em; }
.territory-content p { margin: 0; color: var(--sam-muted); font-size: 13px; }
.territory-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--sam-muted); font-size: 11px; }
.territory-meta a { display: inline-flex; align-items: center; gap: 5px; color: var(--sam-secondary); font-weight: 800; }
.territory-links { border-top: 1px solid var(--sam-line); }
.territory-links > a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 20px; border-bottom: 1px solid var(--sam-line); }
.territory-links > a:last-child { border-bottom: 0; }
.territory-links > a:hover { background: var(--sam-surface); }
.territory-links span { display: flex; flex-direction: column; min-width: 0; }
.territory-links strong { font-size: 12px; line-height: 1.3; }
.territory-links small { color: var(--sam-muted); font-size: 10.5px; }
.territory-links svg { width: 15px; height: 15px; color: var(--sam-secondary); }
.news-row, .deadline-row { min-height: 132px; display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 19px 19px; border-bottom: 1px solid var(--sam-line); }
.news-row:last-child, .deadline-row:last-child { border-bottom: 0; }
.news-row time, .deadline-row time { width: 55px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; background: #f1f5fc; color: var(--sam-primary); text-align: center; }
.deadline-row time { background: #fff8c9; }
.news-row time strong, .deadline-row time strong { font-size: 22px; line-height: 1; }
.news-row time span, .deadline-row time span { margin-top: 3px; font-size: 10px; font-weight: 850; }
.row-meta { color: var(--sam-secondary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.news-row h3, .deadline-row h3 { margin: 5px 0 5px; font-size: 14px; line-height: 1.35; }
.news-row h3 a:hover, .deadline-row h3 a:hover { color: var(--sam-secondary); }
.row-link { display: inline-flex; align-items: center; gap: 5px; color: var(--sam-secondary); font-size: 11px; font-weight: 800; }
.row-link svg { width: 13px; height: 13px; }
.deadline-row { grid-template-columns: 62px 1fr; align-items: start; }
.deadline-home-empty { min-height: 396px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 28px; color: var(--sam-muted); text-align: center; }
.deadline-home-empty > span { color: var(--sam-secondary); }
.deadline-home-empty svg { width: 36px; height: 36px; }
.deadline-home-empty p { max-width: 300px; margin: 0; font-size: 13px; }
.deadline-home-empty a { min-height: 44px; display: inline-flex; align-items: center; color: var(--sam-secondary); font-size: 12px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.countdown { display: inline-flex; margin-top: 6px; padding: 5px 8px; border-radius: 5px; background: #fff8c9; color: #6e5b00; font-size: 10px; font-weight: 750; }

/* Public evidence areas */
.evidence-section { padding: 4px 0 46px; background: #fbfcff; }
.evidence-layout { display: grid; grid-template-columns: 250px 1fr; align-items: stretch; border: 1px solid var(--sam-line); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 7px 22px rgba(6,39,95,.05); }
.evidence-intro { padding: 25px 27px; background: linear-gradient(145deg, var(--sam-primary), var(--sam-secondary)); color: #fff; }
.evidence-intro .column-eyebrow { color: var(--sam-accent); }
.evidence-intro h2 { margin: 7px 0 0; font-size: 24px; line-height: 1.15; }
.evidence-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.evidence-item { position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 22px 21px; border-right: 1px solid var(--sam-line); transition: background .15s ease; }
.evidence-item:last-child { border-right: 0; }
.evidence-item:hover { background: var(--sam-surface); }
.evidence-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #edf3ff; color: var(--sam-secondary); }
.evidence-icon svg { width: 23px; height: 23px; }
.evidence-item > span:nth-child(2) { display: flex; flex-direction: column; }
.evidence-item strong { color: var(--sam-primary); font-size: 14px; }
.evidence-item small { margin-top: 3px; color: var(--sam-muted); font-size: 11px; line-height: 1.35; }
.evidence-arrow { width: 16px; height: 16px; color: var(--sam-secondary); }

/* Sede e contatti */
.contacts-section { background: #f7f9fd; }
.contacts-home-section { padding: 48px 0; border-top: 1px solid var(--sam-line); }
.contacts-page-section { padding: 54px 0 64px; background: linear-gradient(180deg, #f2f6fc, #fff 360px); }
.contacts-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.contacts-heading h1, .contacts-heading h2 { margin: 5px 0 7px; color: var(--sam-primary); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.contacts-heading .contacts-home-title { font-size: 32px; }
.contacts-heading p { max-width: 690px; margin: 0; color: var(--sam-muted); }
.contacts-detail-button { color: #fff; background: var(--sam-secondary); white-space: nowrap; }
.contacts-card-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.contact-card { min-width: 0; display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 15px; padding: 23px; border: 1px solid var(--sam-line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(6,39,95,.05); }
.contact-card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #edf3ff; color: var(--sam-secondary); }
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card > div { min-width: 0; }
.contact-card-label { display: block; margin-bottom: 5px; color: var(--sam-secondary); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .055em; }
.contact-card-title { margin: 0 0 5px; color: var(--sam-primary); font-size: 16px; line-height: 1.3; }
.contact-card address { margin-bottom: 13px; color: var(--sam-muted); font-size: 13px; font-style: normal; }
.contact-location-card a { display: flex; align-items: center; gap: 5px; width: fit-content; margin-top: 7px; color: var(--sam-secondary); font-size: 12px; font-weight: 800; }
.contact-location-card a svg { width: 14px; height: 14px; }
.contact-link-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.contact-link-list li { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px; }
.contact-link-list span { flex: 0 0 auto; color: var(--sam-muted); font-size: 10px; white-space: nowrap; }
.contact-link-list a { min-width: 0; overflow-wrap: anywhere; color: var(--sam-primary); font-size: 13px; font-weight: 780; }
.contact-link-list a:hover { color: var(--sam-secondary); text-decoration: underline; text-underline-offset: 3px; }
.opening-hours-card { display: grid; grid-template-columns: 265px 1fr; gap: 26px; margin-top: 16px; padding: 23px; border: 1px solid var(--sam-line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(6,39,95,.05); }
.opening-hours-title { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 15px; }
.opening-hours-title h2, .opening-hours-title h3 { margin: 0; color: var(--sam-primary); font-size: 16px; }
.opening-hours-title p { margin: 5px 0 0; color: var(--sam-muted); font-size: 11px; }
.opening-hours-list { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); margin: 0; padding: 0; border: 1px solid var(--sam-line); border-radius: 9px; overflow: hidden; list-style: none; }
.opening-hours-row { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 70px; padding: 11px; border-right: 1px solid var(--sam-line); background: #fbfcff; }
.opening-hours-row:last-child { border-right: 0; }
.opening-hours-row strong { color: var(--sam-primary); font-size: 11px; }
.opening-hours-row span { color: var(--sam-secondary); font-size: 10px; font-weight: 750; line-height: 1.35; }
.opening-hours-row .opening-hours-periods { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.opening-hours-row .opening-hours-period { white-space: nowrap; }
.opening-hours-row.is-closed { background: #f3f4f6; }
.opening-hours-row.is-closed span { color: var(--sam-muted); }
.opening-hours-note { grid-column: 1 / -1; margin: -8px 0 0 63px; color: var(--sam-primary); font-size: 11px; font-weight: 700; }
.contact-map { display: grid; grid-template-columns: minmax(300px, 1.25fr) minmax(280px, .75fr); min-height: 270px; margin-top: 16px; border: 1px solid var(--sam-line); border-radius: 12px; background: #fff; box-shadow: 0 7px 22px rgba(6,39,95,.05); overflow: hidden; }
.contact-map-preview { min-height: 270px; display: grid; place-items: center; background-color: #e8eef7; background-image: linear-gradient(30deg, transparent 47%, rgba(11,61,133,.1) 48% 52%, transparent 53%), linear-gradient(120deg, transparent 47%, rgba(11,61,133,.08) 48% 52%, transparent 53%); background-size: 72px 72px; color: var(--sam-secondary); }
.contact-map-preview span { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--sam-shadow); }
.contact-map-preview svg { width: 40px; height: 40px; }
.contact-map-preview.has-map { display: block; background: #e8eef7; }
.contact-map-preview.has-map img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.contact-map > div:last-child { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 30px; }
.contact-map strong { color: var(--sam-primary); font-size: 19px; line-height: 1.35; }
.contact-map p { margin: 9px 0 18px; color: var(--sam-muted); font-size: 12px; }

/* Information channels */
.channels-section { background: linear-gradient(90deg, #04235b, #0a4a9d, #04235b); color: #fff; }
.channels-grid { min-height: 110px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-block: 14px; }
.channels-title, .channel-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.channels-title { flex: 1.45 1 250px; }
.paper-plane { color: var(--sam-accent); }
.paper-plane svg { width: 40px; height: 40px; }
.channels-title > span:last-child, .channel-item > span:last-child { display: flex; flex-direction: column; }
.channels-title strong { font-size: 20px; }
.channels-title small, .channel-item small { color: rgba(255,255,255,.73); font-size: 11px; }
.compact-button { min-height: 42px; padding: 10px 24px; }
.channel-item { min-height: 50px; flex: .9 1 145px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.channel-item > span:first-child { color: var(--sam-accent); }
.channel-item svg { width: 29px; height: 29px; }
.channel-item strong { font-size: 13px; text-transform: uppercase; }
.channels-pwa { min-width: 0; flex: 1.35 1 250px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 11px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.channels-pwa-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--sam-accent); background: rgba(255,255,255,.09); }
.channels-pwa-icon svg { width: 19px; height: 19px; }
.channels-pwa-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.channels-pwa-eyebrow { color: var(--sam-accent); font-size: 9px; font-weight: 850; letter-spacing: .06em; }
.channels-pwa-copy > strong { margin-top: 1px; font-size: 13px; text-transform: uppercase; }
.channels-pwa-copy > small { margin-top: 2px; color: rgba(255,255,255,.76); font-size: 10px; line-height: 1.25; }
.channels-pwa-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.channels-pwa-actions a { padding: 4px 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; color: #fff; font-size: 9px; font-weight: 850; line-height: 1; text-transform: uppercase; }
.channels-pwa-actions a:hover, .channels-pwa-actions a:focus-visible { border-color: var(--sam-accent); }
.channels-pwa-actions .channels-pwa-access { border-color: var(--sam-accent); color: #061b40; background: var(--sam-accent); }

/* Footer */
.site-footer { background: #fff; }
.footer-grid { min-height: 118px; display: grid; grid-template-columns: .9fr 1.6fr; align-items: center; gap: 50px; }
.footer-identity { display: flex; align-items: center; gap: 16px; }
.footer-identity img { width: 66px; height: 66px; }
.footer-identity div { min-width: 0; display: flex; flex-direction: column; }
.footer-identity strong { color: var(--sam-primary); font-size: 14px; }
.footer-identity span { overflow-wrap: anywhere; color: var(--sam-muted); font-size: 12px; }
.footer-contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; color: var(--sam-muted); font-size: 12px; }
.footer-contact > * { min-width: 0; }
.footer-contact span, .footer-contact a { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--sam-secondary); }
.footer-contact svg { width: 17px; height: 17px; color: var(--sam-secondary); }
.footer-bottom { border-top: 1px solid var(--sam-line); color: var(--sam-muted); font-size: 11px; }
.footer-bottom .container { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--sam-secondary); }

/* Focus and responsive */
a:focus-visible, button:focus-visible { outline: 3px solid var(--sam-accent); outline-offset: 3px; }

@media (max-width: 1240px) {
    .header-inner { gap: 20px; }
    .brand { min-width: 340px; }
    .brand-subtitle { max-width: 300px; }
    .primary-nav a { padding-inline: 9px; font-size: 12px; }
    .quick-links { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
    .channels-grid { flex-wrap: wrap; padding-block: 18px; }
    .channels-pwa { flex-basis: 100%; padding: 15px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}

@media (max-width: 1020px) {
    .container { width: min(calc(100% - 34px), var(--sam-container)); }
    .utility-name { display: none; }
    .utility-inner { grid-template-columns: 1fr 1fr; }
    .header-inner { min-height: 92px; }
    .brand { min-width: 0; }
    .brand-logo { width: 66px; height: 66px; }
    .brand-title { font-size: 31px; }
    .brand-accent-image { height: 43px; max-width: 92px; }
    .brand-subtitle { display: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none; background: #fff; border-top: 1px solid var(--sam-line); border-bottom: 1px solid var(--sam-line); box-shadow: var(--sam-shadow); }
    .primary-nav.is-open { display: block; }
    .primary-nav > ul { display: block; padding: 10px 17px 17px; }
    .primary-nav a { justify-content: space-between; padding: 13px 10px; border-bottom: 1px solid var(--sam-line); }
    .primary-nav > ul > li:first-child > a { border-color: var(--sam-line); }
    .submenu { position: static; display: none; min-width: 0; padding: 0 0 8px 15px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
    .has-submenu.is-open > .submenu { display: block; }
    .submenu a { font-weight: 650; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 48px 92px; }
    .hero-notice { justify-self: start; width: min(100%, 520px); }
    .overview-grid { grid-template-columns: 1fr 1fr; }
    .territory-column { grid-column: 1 / -1; }
    .territory-card { display: grid; grid-template-columns: 38% 62%; }
    .territory-card > img { height: 100%; min-height: 330px; }
    .territory-links { grid-column: 1 / -1; }
    .evidence-layout { grid-template-columns: 1fr; }
    .evidence-intro { padding-block: 20px; }
    .contacts-card-grid { grid-template-columns: 1fr 1fr; }
    .contact-location-card { grid-column: 1 / -1; }
    .opening-hours-card { grid-template-columns: 1fr; }
    .opening-hours-list { grid-template-columns: repeat(4, 1fr); }
    .opening-hours-note { margin-left: 0; }
    .opening-hours-row { border-bottom: 1px solid var(--sam-line); }
    .opening-hours-row:nth-child(4n) { border-right: 0; }
    .opening-hours-row:nth-last-child(-n+3) { border-bottom: 0; }
    .channels-title { flex-basis: 260px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 25px; }
}

@media (max-width: 720px) {
    .container { width: min(calc(100% - 24px), var(--sam-container)); }
    .utility-inner { min-height: 32px; font-size: 11px; }
    .utility-place span, .utility-login span { display: none; }
    .header-inner { min-height: 80px; }
    .brand { gap: 12px; }
    .brand-logo { width: 58px; height: 58px; }
    .brand-title { font-size: 27px; }
    .brand-accent-image { height: 38px; max-width: 82px; }
    .affiliation-strip-inner { min-height: 58px; }
    .affiliation-strip-content { justify-content: flex-start; gap: 11px; padding-block: 7px; }
    .affiliation-strip-logo { width: 88px; }
    .affiliation-strip-copy { font-size: 11px; line-height: 1.3; }
    .hero { min-height: 0; background-position: 62% center; }
    .hero-slide { background-position: 62% center; }
    .hero::after { background: linear-gradient(90deg, rgba(3, 30, 77, .97) 0%, rgba(4, 38, 95, .9) 72%, rgba(4, 38, 95, .63) 100%); }
    .hero-grid { min-height: 0; padding-block: 42px 88px; }
    .section-kicker span { width: 62px; }
    .hero h1 { font-size: 50px; }
    .hero-summary { font-size: 17px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .hero-notice { padding: 22px; }
    .hero-notice h2 { font-size: 19px; }
    .quick-section { margin-top: -55px; }
    .quick-links { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
    .quick-link { min-height: 92px; padding: 15px 13px; }
    .quick-icon svg { width: 28px; height: 28px; }
    .quick-copy strong { font-size: 11px; }
    .quick-copy small { font-size: 10px; }
    .overview-section { padding-top: 38px; }
    .overview-grid { grid-template-columns: 1fr; gap: 34px; }
    .territory-column { grid-column: auto; }
    .territory-card { display: block; }
    .territory-card > img { height: 190px; min-height: 0; }
    .column-heading { min-height: 0; align-items: center; }
    .column-heading h2 { font-size: 16px; }
    .column-heading > a { font-size: 10px; }
    .evidence-items { grid-template-columns: 1fr; }
    .evidence-item { border-right: 0; border-bottom: 1px solid var(--sam-line); }
    .evidence-item:last-child { border-bottom: 0; }
    .contacts-home-section, .contacts-page-section { padding-block: 36px; }
    .contacts-heading { align-items: flex-start; flex-direction: column; }
    .contacts-heading .contacts-home-title { font-size: 29px; }
    .contacts-card-grid { grid-template-columns: 1fr; }
    .contact-location-card { grid-column: auto; }
    .contact-card { padding: 19px; }
    .opening-hours-card { padding: 19px; }
    .opening-hours-list { grid-template-columns: 1fr 1fr; }
    .opening-hours-row, .opening-hours-row:nth-child(4n) { border-right: 1px solid var(--sam-line); border-bottom: 1px solid var(--sam-line); }
    .opening-hours-row:nth-child(even) { border-right: 0; }
    .opening-hours-row:nth-last-child(-n+3) { border-bottom: 1px solid var(--sam-line); }
    .opening-hours-row:last-child { border-bottom: 0; }
    .contact-map { grid-template-columns: 1fr; }
    .contact-map-preview { min-height: 190px; }
    .contact-map-preview.has-map img { min-height: 190px; max-height: 260px; }
    .channels-grid { flex-direction: column; align-items: stretch; gap: 18px; padding-block: 26px; }
    .channels-title, .channel-item, .channels-pwa { flex: none; width: 100%; }
    .compact-button { width: auto; align-self: flex-start; }
    .channel-item { padding: 13px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
    .channels-pwa { padding-top: 14px; }
    .footer-contact { grid-template-columns: 1fr; }
    .footer-bottom .container { align-items: flex-start; flex-direction: column; padding-block: 15px; }
    .footer-bottom nav { flex-wrap: wrap; gap: 12px 18px; }
}

@media (max-width: 420px) {
    .contact-card { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .contact-card-icon { width: 40px; height: 40px; }
    .opening-hours-list { grid-template-columns: 1fr; }
    .opening-hours-row, .opening-hours-row:nth-child(4n), .opening-hours-row:nth-child(even), .opening-hours-row:nth-last-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--sam-line); }
    .opening-hours-row:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
