:root {
    --dm27-navy: #061a38;
    --dm27-navy-deep: #031329;
    --dm27-blue: #075ee8;
    --dm27-red: #f20d2f;
    --dm27-white: #fff;
    --dm27-ink: #071633;
    --dm27-muted: #4f5b6d;
    --dm27-line: #d7dde6;
    --dm27-shell: min(1380px, calc(100% - 56px));
}

.dm27-page, .dm27-page * { box-sizing: border-box; }
.dm27-page { margin: 0; overflow-x: hidden; background: var(--dm27-white); color: var(--dm27-ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.35; }
.dm27-page img { display: block; max-width: 100%; }
.dm27-page h1, .dm27-page h2, .dm27-page h3, .dm27-page p { margin-top: 0; }
.dm27-page h1, .dm27-page h2, .dm27-page h3 { color: inherit; font-family: "Segoe UI", Arial, sans-serif; letter-spacing: -0.04em; }
.dm27-shell { width: var(--dm27-shell); margin-inline: auto; }
.dm27-skip { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 11px 16px; background: #fff; color: var(--dm27-navy); transform: translateY(-160%); }
.dm27-skip:focus { transform: translateY(0); }
.dm27-page :focus-visible { outline: 3px solid #ffd34f; outline-offset: 4px; }

.dm27-header { position: absolute; z-index: 30; inset: 0 0 auto; height: 74px; border-bottom: 1px solid rgba(255,255,255,.3); background: rgba(4,20,47,.96); color: #fff; }
.dm27-header.is-scrolled { position: fixed; box-shadow: 0 8px 28px rgba(0,0,0,.24); }
.dm27-header__inner { display: grid; height: 74px; grid-template-columns: auto auto 1fr; align-items: center; gap: 28px; }
.dm27-lockup { display: flex; min-height: 48px; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.dm27-lockup__text { display: grid; }
.dm27-lockup__text strong { font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 850; letter-spacing: -.035em; line-height: .95; }
.dm27-lockup__text small { margin-top: 4px; font-size: .63rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.dm27-symbol { position: relative; display: inline-block; width: 62px; height: 46px; flex: 0 0 auto; }
.dm27-symbol i, .dm27-symbol b { position: absolute; top: 7px; width: 32px; height: 32px; transform: rotate(45deg); }
.dm27-symbol i { left: 4px; background: var(--dm27-red); }
.dm27-symbol b { right: 4px; background: var(--dm27-blue); }
.dm27-audience { display: grid; min-width: 250px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.6); text-transform: uppercase; }
.dm27-audience strong { font-size: .77rem; letter-spacing: .06em; }
.dm27-audience span { margin-top: 2px; font-size: .68rem; letter-spacing: .03em; }
.dm27-nav { display: flex; justify-content: flex-end; align-self: stretch; align-items: center; gap: clamp(18px, 2vw, 34px); }
.dm27-nav a { position: relative; display: grid; height: 100%; place-items: center; color: #fff; font-size: .84rem; font-weight: 700; text-decoration: none; }
.dm27-nav a::after { position: absolute; right: 0; bottom: 9px; left: 0; height: 4px; background: transparent; content: ""; }
.dm27-nav a:hover::after, .dm27-nav a.is-active::after { background: var(--dm27-red); }
.dm27-menu-button { display: none; }

.dm27-hero { position: relative; min-height: 590px; padding: 116px 0 54px; background-color: var(--dm27-navy); background-image: linear-gradient(90deg, rgba(2,16,40,.76), rgba(2,16,40,.2)), var(--hero-image); background-position: center; background-size: cover; color: #fff; overflow: hidden; }
.dm27-hero__grid { display: grid; grid-template-columns: minmax(470px,.82fr) minmax(620px,1.18fr); align-items: center; gap: 30px; }
.dm27-hero__copy { position: relative; z-index: 3; max-width: 560px; padding-left: 18px; }
.dm27-hero h1 { margin-bottom: 18px; color: #fff; font-size: clamp(2.6rem, 3.45vw, 3.55rem); font-weight: 850; line-height: 1.04; }
.dm27-red-rule { display: block; width: 64px; height: 6px; margin: 0 0 18px; background: var(--dm27-red); }
.dm27-hero__copy p { max-width: 520px; margin-bottom: 26px; color: #fff; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.42; }
.dm27-button { display: inline-flex; min-height: 50px; align-items: center; gap: 26px; padding: 12px 25px; font-size: 1rem; font-weight: 850; text-decoration: none; }
.dm27-button--red { background: var(--dm27-red); color: #fff; }
.dm27-button span { font-size: 1.55rem; line-height: 1; }
.dm27-hero__accent { position: absolute; z-index: 2; bottom: -58px; width: 270px; height: 110px; transform: skewX(-28deg); }
.dm27-hero__accent--red { left: -80px; background: var(--dm27-red); }
.dm27-hero__accent--blue { right: -70px; background: var(--dm27-blue); }

.dm27-network { position: relative; min-height: 450px; }
.dm27-network__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm27-network__core { position: absolute; z-index: 3; top: 50%; left: 50%; width: 104px; height: 76px; transform: translate(-50%,-50%); }
.dm27-network__core i, .dm27-network__core b { top: 10px; width: 56px; height: 56px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.dm27-brand-plate { position: absolute; z-index: 4; width: 170px; height: 53px; transform: skewX(-11deg); filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)); }
.dm27-brand-plate > div { display: grid; width: 100%; height: 100%; place-items: center; padding: 8px 18px; background: #fff; transform: translateZ(0); }
.dm27-brand-plate img { width: auto; max-width: 125px; max-height: 34px; object-fit: contain; transform: skewX(11deg); }
.dm27-brand-plate strong { color: #082055; font-size: 1rem; font-weight: 900; transform: skewX(11deg); }
.dm27-brand-plate.b01 { top: 4%; left: 8%; }.dm27-brand-plate.b02 { top: 1%; left: 39%; }.dm27-brand-plate.b03 { top: 4%; right: 2%; }
.dm27-brand-plate.b04 { top: 22%; left: 5%; }.dm27-brand-plate.b05 { top: 22%; right: 0; }
.dm27-brand-plate.b06 { top: 40%; left: 7%; }.dm27-brand-plate.b07 { top: 40%; right: 1%; }
.dm27-brand-plate.b08 { top: 59%; left: 1%; }.dm27-brand-plate.b09 { top: 61%; left: 39%; }.dm27-brand-plate.b10 { top: 59%; right: -1%; }
.dm27-brand-plate.b11 { bottom: 1%; left: 39%; }

.dm27-support { display: grid; min-height: 292px; grid-template-columns: 1.95fr .8fr; background: #fff; }
.dm27-support__copy { display: grid; grid-template-columns: 1.3fr .9fr; align-items: center; gap: 46px; padding: 42px max(36px,calc((100vw - 1380px)/2 + 28px)); padding-right: 50px; }
.dm27-support__intro h2 { margin-bottom: 14px; color: var(--dm27-ink); font-size: clamp(2rem, 3.1vw, 3.2rem); font-weight: 850; line-height: 1; }
.dm27-support__intro p { margin-bottom: 0; color: var(--dm27-ink); font-size: 1rem; }
.dm27-services { display: grid; margin: 0; padding: 0 0 0 34px; gap: 18px; border-left: 1px solid #8590a1; list-style: none; }
.dm27-services li { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 16px; color: var(--dm27-ink); font-weight: 650; }
.dm27-services svg { width: 42px; height: 42px; fill: none; stroke: var(--dm27-ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.dm27-support__photo { min-height: 292px; background-image: var(--support-image); background-position: center; background-size: cover; clip-path: polygon(14% 0,100% 0,100% 100%,0 100%); border-left: 10px solid var(--dm27-red); }

.dm27-bottom-panels { display: grid; min-height: 260px; grid-template-columns: 1.04fr .96fr; }
.dm27-references { position: relative; padding: 32px max(40px,calc((100vw - 1380px)/2 + 28px)); padding-right: 56px; background: var(--dm27-navy); color: #fff; overflow: hidden; clip-path: polygon(0 0,96% 0,86% 100%,0 100%); }
.dm27-references::after { position: absolute; right: 4%; bottom: -60px; width: 90px; height: 170px; background: var(--dm27-blue); content: ""; transform: rotate(30deg); }
.dm27-references h2, .dm27-event h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 2.7vw, 3rem); font-weight: 850; }
.dm27-reference-row { display: grid; margin-top: 24px; grid-template-columns: .72fr .62fr 1fr 1.15fr; align-items: center; }
.dm27-reference-row > div { display: grid; min-height: 92px; align-content: center; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.55); }
.dm27-reference-row > div:first-child { padding-left: 0; }
.dm27-reference-row > div:nth-child(3) { border-right: 0; }
.dm27-reference-row strong { color: #fff; font-size: clamp(2rem, 3.3vw, 3.6rem); line-height: 1; }
.dm27-reference-row span { margin-top: 6px; color: #fff; font-size: .82rem; }
.dm27-campania { width: 160px; height: 125px; justify-self: center; }
.dm27-campania path { fill: none; stroke: rgba(255,255,255,.68); stroke-width: 2; }
.dm27-campania circle { fill: var(--dm27-red); }
.dm27-event { display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch; gap: 24px; padding: 32px max(28px,calc((100vw - 1380px)/2 + 20px)) 26px 34px; background: #fff; color: var(--dm27-ink); }
.dm27-event__copy { align-self: center; }
.dm27-event h3 { margin-bottom: 7px; font-size: 1.35rem; font-weight: 850; line-height: 1.05; }
.dm27-event h3 a { color: inherit; text-decoration: none; }
.dm27-event p { margin-bottom: 10px; font-size: .84rem; }
.dm27-event__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .78rem; font-weight: 800; }
.dm27-event__photo { min-height: 190px; background-image: var(--event-image); background-position: center; background-size: cover; }

.dm27-footer { padding: 24px 0; background: var(--dm27-navy-deep); color: #d7e0ed; }
.dm27-footer__inner { display: flex; justify-content: space-between; gap: 30px; font-size: .83rem; }
.dm27-footer__inner > div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.dm27-footer a { color: #fff; }

@media (max-width: 1199px) {
    :root { --dm27-shell: min(100% - 40px, 1020px); }
    .dm27-header__inner { grid-template-columns: auto 1fr auto; }
    .dm27-audience { display: none; }
    .dm27-menu-button { display: inline-flex; min-width: 86px; min-height: 44px; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: inherit; font-weight: 750; }
    .dm27-menu-button i, .dm27-menu-button i::before, .dm27-menu-button i::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; }
    .dm27-menu-button i { position: relative; }.dm27-menu-button i::before { position: absolute; top: -6px; }.dm27-menu-button i::after { position: absolute; top: 6px; }
    .dm27-nav { position: absolute; top: 74px; right: 20px; left: 20px; display: none; height: auto; padding: 16px; align-items: stretch; background: var(--dm27-navy); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
    .dm27-nav.is-open { display: grid; }
    .dm27-nav a { min-height: 46px; place-items: center start; border-bottom: 1px solid rgba(255,255,255,.12); }
    .dm27-nav a::after { display: none; }
    .dm27-hero { min-height: 860px; }
    .dm27-hero__grid { grid-template-columns: 1fr; }
    .dm27-hero__copy { max-width: 720px; }
    .dm27-network { width: min(100%,760px); min-height: 430px; margin-inline: auto; }
    .dm27-support { grid-template-columns: 1fr; }
    .dm27-support__photo { min-height: 270px; clip-path: none; border-top: 9px solid var(--dm27-red); border-left: 0; }
    .dm27-bottom-panels { grid-template-columns: 1fr; }
    .dm27-references { clip-path: none; }
    .dm27-event { min-height: 280px; }
}

@media (max-width: 719px) {
    :root { --dm27-shell: calc(100% - 28px); }
    .dm27-header, .dm27-header__inner { height: 68px; }
    .dm27-lockup { gap: 8px; }
    .dm27-lockup__text strong { font-size: 1.05rem; }
    .dm27-lockup__text small { font-size: .48rem; }
    .dm27-lockup .dm27-symbol { width: 43px; height: 36px; }
    .dm27-lockup .dm27-symbol i, .dm27-lockup .dm27-symbol b { top: 7px; width: 24px; height: 24px; }
    .dm27-menu-button { min-width: 48px; padding: 0; }
    .dm27-menu-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .dm27-nav { top: 68px; right: 14px; left: 14px; }
    .dm27-hero { min-height: auto; padding: 104px 0 62px; background-position: 72% center; }
    .dm27-hero__copy { padding-left: 0; }
    .dm27-hero h1 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
    .dm27-hero__copy p { font-size: .98rem; }
    .dm27-network { min-height: 505px; transform: scale(.92); transform-origin: top center; }
    .dm27-network__lines { display: none; }
    .dm27-network__core { top: 46%; }
    .dm27-brand-plate { width: 132px; height: 46px; }
    .dm27-brand-plate img { max-width: 98px; max-height: 29px; }
    .dm27-brand-plate.b01 { top: 2%; left: 0; }.dm27-brand-plate.b02 { top: 2%; left: auto; right: 0; }.dm27-brand-plate.b03 { top: 14%; right: 0; }
    .dm27-brand-plate.b04 { top: 14%; left: 0; }.dm27-brand-plate.b05 { top: 27%; right: 0; }.dm27-brand-plate.b06 { top: 27%; left: 0; }
    .dm27-brand-plate.b07 { top: 61%; right: 0; }.dm27-brand-plate.b08 { top: 61%; left: 0; }.dm27-brand-plate.b09 { top: 74%; left: 0; }
    .dm27-brand-plate.b10 { top: 74%; right: 0; }.dm27-brand-plate.b11 { bottom: 0; left: 50%; transform: translateX(-50%) skewX(-11deg); }
    .dm27-support__copy { grid-template-columns: 1fr; gap: 28px; padding: 54px 24px; }
    .dm27-services { padding-left: 0; border-left: 0; }
    .dm27-reference-row { grid-template-columns: 1fr 1fr; gap: 22px 0; }
    .dm27-reference-row > div { padding: 0 14px; }
    .dm27-reference-row > div:nth-child(2) { border-right: 0; }
    .dm27-reference-row > div:nth-child(3) { grid-column: 1 / -1; }
    .dm27-campania { grid-column: 1 / -1; }
    .dm27-references { padding: 45px 24px; }
    .dm27-event { grid-template-columns: 1fr; padding: 42px 24px; }
    .dm27-event__photo { min-height: 210px; }
    .dm27-footer__inner { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    .dm27-page *, .dm27-page *::before, .dm27-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
