/* =========================================================
   Impresa Edile Santoni — stile principale
   Responsive Idee Digitali · https://responsive-web.it/
   ========================================================= */

:root {
	--ink: var(--wp--preset--color--ink, #111214);
	--ink-2: var(--wp--preset--color--ink-2, #1b1d21);
	--steel: var(--wp--preset--color--steel, #7b7979);
	--concrete: var(--wp--preset--color--concrete, #e9e6e1);
	--signal: var(--wp--preset--color--signal, #ff5a1f);
	--larch: var(--wp--preset--color--larch, #c8915a);
	--white: #fff;
	--display: var(--wp--preset--font-family--display, "Big Shoulders Display", sans-serif);
	--ease: cubic-bezier(.2, .75, .15, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--gutter: clamp(1rem, 4vw, 3rem);
	--sec: clamp(5rem, 11vw, 10rem);
	--line: rgba(233, 230, 225, .12);
	--grid: linear-gradient(rgba(233, 230, 225, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 230, 225, .045) 1px, transparent 1px);
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site-main { overflow-x: clip; }
img { max-width: 100%; height: auto; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
strong { color: var(--white); font-weight: 700; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main > .entry-content, .site-main > .wp-block-post-content { margin: 0; }
.wp-block-post-content > * { margin-block: 0; }
.wp-block-post-content > .alignfull { margin-inline: 0; }
.has-global-padding .alignfull { margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1); }
.wp-block-image { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--white); }

/* Bottoni */
.wp-block-button__link { position: relative; transition: background-color .3s, color .3s, transform .35s var(--ease), box-shadow .3s; will-change: transform; }
.wp-block-button__link:hover { box-shadow: 0 14px 30px -12px rgba(255, 90, 31, .7); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--white); border: 2px solid currentColor; padding: calc(1.05rem - 2px) calc(1.9rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.wp-block-buttons { gap: .9rem; margin-top: 2rem; }

/* Etichetta sopra i titoli */
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: .95rem; color: #aaa7a3; display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem; }
.kicker span { color: var(--signal); letter-spacing: .05em; }
.kicker::after { content: ""; display: block; width: 3.5rem; height: 2px; background: var(--signal); transform-origin: left; }
.fx-ready .kicker::after { transform: scaleX(0); transition: transform 1s .2s var(--ease); }
.fx-ready .kicker.is-in::after, .fx-ready .is-in .kicker::after { transform: scaleX(1); }

.section-head { max-width: var(--wp--style--global--wide-size) !important; margin-bottom: clamp(2.5rem, 5vw, 4.5rem) !important; }
.section-head > * { max-width: 60rem; }
.section-head h2 { margin: 0; }
.section-head .lead { margin-top: 1.4rem; max-width: 46rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--row .kicker { flex-basis: 100%; }
.section-head--row .wp-block-buttons { margin: 0; }

/* Quote da disegno tecnico */
.quota { display: flex; align-items: center; gap: 1rem; color: var(--signal); font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; margin: 2rem 0; }
.quota svg { flex: 1; height: 24px; min-width: 60px; overflow: visible; }
.quota path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fx-ready .fx-draw path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.8s var(--ease); }
.fx-ready .fx-draw.is-in path { stroke-dashoffset: 0; }
.fx-ready .fx-draw span { opacity: 0; transition: opacity .6s .9s; }
.fx-ready .fx-draw.is-in span { opacity: 1; }

/* ---------- COMPARSE ALLO SCROLL ---------- */
.fx-ready .fx-up { opacity: 0; transform: translate3d(0, 42px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.fx-ready .fx-up.is-in { opacity: 1; transform: none; }
.fx-ready .fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.fx-ready .fx-words .w > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(4deg); transform-origin: left bottom; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.fx-ready .fx-words.is-in .w > span { transform: none; }
.fx-ready .fx-stagger > .fx-child { opacity: 0; transform: translate3d(0, 56px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx-ready .fx-stagger.is-in > .fx-child { opacity: 1; transform: none; }
.fx-ready .fx-curtain img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-io), transform 1.2s var(--ease); }
.fx-ready .fx-curtain::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; z-index: 2; pointer-events: none; }
.fx-ready .fx-curtain.is-in::after { animation: curtain 1.3s var(--ease-io) both; }
@keyframes curtain { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.fx-ready .fx-curtain.is-in img { clip-path: inset(0 0 0 0); transition-delay: .55s, 0s; }
.fx-curtain { position: relative; }

/* Parallasse dentro le cornici: l'immagine è ingrandita, lo spostamento resta nel margine. */
.fx-parallax { overflow: hidden; }
.fx-parallax img { transform: scale(1.14); will-change: transform; }
.fx-parallax-bg img { transform: scale(1.18); will-change: transform; }

/* Card 3D con riflesso */
.fx-tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.fx-tilt.is-tilting { transition: transform .12s linear, box-shadow .5s; }
.fx-tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .22), transparent 55%); opacity: 0; transition: opacity .4s; z-index: 3; mix-blend-mode: soft-light; }
.fx-tilt.is-tilting::after { opacity: 1; }

/* Elementi assoluti dentro sezioni "constrained": niente larghezza massima. */
.hero > figure, .hero > .hero__hud, .hero > .hero__dots, .page-hero > figure, .page-hero > .page-hero__grid, .band > figure, .fullband > figure, .fullband > .fullband__outline, .cta > figure, .bigtype, .tape { max-width: none !important; }
.work__img a, .card__img a { display: block; height: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background-color .4s, backdrop-filter .4s, box-shadow .4s; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(10, 11, 12, .7), transparent); pointer-events: none; transition: opacity .4s; }
.is-scrolled .site-header { background: rgba(17, 18, 20, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.is-scrolled .site-header::before { opacity: 0; }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 2rem; padding: 1.4rem var(--gutter); transition: padding .4s var(--ease); max-width: none; }
.is-scrolled .site-header__inner { padding-block: .7rem; }
.site-logo { flex: 0 0 auto; margin: 0 auto 0 0 !important; }
.site-logo img { width: clamp(130px, 13vw, 190px); height: auto; display: block; transition: width .4s var(--ease); }
.is-scrolled .site-logo img { width: clamp(115px, 10vw, 150px); }
.header-cta-wrap { margin: 0 !important; }
.header-cta .wp-block-button__link { padding: .8rem 1.3rem; font-size: 1.05rem; }
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* Navigazione */
.main-nav { font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 1.12rem; }
.main-nav .wp-block-navigation__container { gap: clamp(1rem, 2.2vw, 2.2rem); }
.main-nav .wp-block-navigation-item__content { color: var(--white); position: relative; padding: .4rem 0; text-decoration: none; transition: color .25s; }
.main-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav .wp-block-navigation-item__content:hover { color: var(--signal); }
.main-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav .is-current > .wp-block-navigation-item__content,
.main-nav .is-current-parent > .wp-block-navigation-item__content,
.main-nav .wp-block-navigation-submenu:has(.is-current) > .wp-block-navigation-item__content,
.main-nav [aria-current="page"] { color: var(--signal); }
.main-nav .is-current > .wp-block-navigation-item__content::after,
.main-nav .is-current-parent > .wp-block-navigation-item__content::after,
.main-nav .wp-block-navigation-submenu:has(.is-current) > .wp-block-navigation-item__content::after { transform: scaleX(1); height: 4px; }
.main-nav .wp-block-navigation__submenu-container { background: var(--ink-2) !important; border: 0 !important; border-top: 3px solid var(--signal) !important; padding: .8rem 0 !important; min-width: 300px !important; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .65rem 1.4rem !important; font-size: 1.05rem; color: var(--white); }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .main-nav .wp-block-navigation__submenu-container .is-current > .wp-block-navigation-item__content { color: var(--signal); }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { left: 1.4rem; right: 1.4rem; bottom: .3rem; }
.main-nav .wp-block-navigation__submenu-icon { color: var(--signal); }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: var(--white); }
.wp-block-navigation__responsive-container-open svg { width: 34px; height: 34px; }

/* Pannello laterale mobile */
.main-nav .wp-block-navigation__responsive-container.is-menu-open {
	left: auto; width: min(440px, 90vw); background: var(--ink-2) !important; color: var(--white) !important;
	border-left: 5px solid var(--signal); padding: 5.5rem 2rem 2rem; box-shadow: 0 0 0 100vmax rgba(5, 5, 6, .7);
	animation: navIn .55s var(--ease) both;
}
@keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; text-align: left; }
.main-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; }
.main-nav .is-menu-open .wp-block-navigation__container, .main-nav .is-menu-open .wp-block-navigation-item, .main-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; justify-content: flex-start !important; }
.main-nav .is-menu-open .is-current-parent > .wp-block-navigation-item__content, .main-nav .is-menu-open .wp-block-navigation-submenu:has(.is-current) > .wp-block-navigation-item__content { color: var(--signal) !important; }
.main-nav .is-menu-open .wp-block-navigation__container { gap: .3rem !important; align-items: flex-start !important; width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item__content { font-size: 2.1rem; line-height: 1.05; padding: .35rem 0 .35rem 1.6rem !important; }
.main-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 .6rem 1.6rem !important; box-shadow: none; background: transparent !important; }
.main-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.35rem; padding: .3rem 0 .3rem 1.2rem !important; color: var(--concrete); }
.main-nav .is-menu-open .wp-block-navigation-item__content::after { left: 1.6rem; right: auto; width: 3rem; }
.main-nav .is-menu-open .is-current > .wp-block-navigation-item__content::before,
.main-nav .is-menu-open .is-current-parent > .wp-block-navigation-item__content::before { content: ""; position: absolute; left: 0; top: 50%; width: .7rem; height: .7rem; background: var(--signal); transform: translateY(-50%) rotate(45deg); }
.main-nav .is-menu-open .is-current > .wp-block-navigation-item__content { color: var(--signal) !important; }

/* =========================================================
   HERO A SCENA (home)
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 8.5rem var(--gutter) clamp(4rem, 8vh, 7rem) !important; isolation: isolate; background: var(--ink); }
.hero > * { margin: 0 !important; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(12, 13, 15, .9) 0%, rgba(12, 13, 15, .7) 34%, rgba(12, 13, 15, .25) 65%, rgba(12, 13, 15, .15) 100%),
		linear-gradient(0deg, var(--ink) 0%, rgba(17, 18, 20, 0) 32%),
		linear-gradient(180deg, rgba(12, 13, 15, .6) 0%, rgba(12, 13, 15, 0) 24%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.hero__slide { position: absolute !important; inset: -6% 0 0 0; z-index: -3; margin: 0 !important; opacity: 0; transition: opacity 1.6s var(--ease-io); overflow: hidden; will-change: transform; }
.hero__slide.is-active { opacity: 1; z-index: -3; }
.hero__slide.was-active { opacity: 0; z-index: -4; }
.hero__slide:first-of-type { opacity: 1; }
.js .hero__slide:first-of-type:not(.is-active) { opacity: 0; }
.hero__slide picture, .hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__slide figcaption { display: none; }
.hero__slide.is-active img { animation: kenburns 9s linear both; }
.hero__slide:nth-of-type(even).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.02); } }
.hero__video { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.2s; max-width: none !important; margin: 0 !important; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__slide, .hero.has-video .hero__dots { display: none; }
.hero__dots { position: absolute; right: var(--gutter); bottom: clamp(4.5rem, 9vh, 7rem); z-index: 3; display: flex; gap: 1.2rem; max-width: none !important; margin: 0 !important; }
.hero__scroll { display: none !important; }
.hero__dots button { background: none; border: 0; padding: .3rem 0; cursor: pointer; color: var(--concrete); text-align: left; width: clamp(80px, 7.5vw, 140px); font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .78rem; opacity: .6; transition: opacity .3s; }
.hero__dots button:hover, .hero__dots button.is-on { opacity: 1; }
.hero__dot-n { display: block; color: var(--signal); font-size: .95rem; }
.hero__dot-t { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: .2rem 0 .5rem; }
.hero__dot-bar { display: block; height: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__dot-bar i { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }
.hero__dots .is-on .hero__dot-bar i { transform: scaleX(var(--p, 0)); }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(0, -14px, 0) rotate(.4deg); } }

.hero__content { position: relative; z-index: 2; max-width: min(64rem, 62vw); will-change: transform, opacity; }
.hero__kicker { color: var(--concrete); }
.hero__kicker span { display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.hero__title { font-size: clamp(3rem, min(9.2vw, 13.5vh), 10.5rem) !important; line-height: .84 !important; margin: 0 0 1.8rem; letter-spacing: -.015em; text-shadow: 0 10px 50px rgba(0, 0, 0, .35); }
.hero__title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--signal); text-shadow: none; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 38rem; color: var(--concrete); }
.hero__cta { margin-top: 2.2rem; }
/* Entrata (senza nascondere l'H1) */
.hero__kicker, .hero__lead, .hero__cta { animation: heroIn 1.2s var(--ease) both; }
.hero__lead { animation-delay: .25s; } .hero__cta { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
@keyframes heroLayer { from { opacity: 0; translate: 0 60px; } }
.fx-reduced .hero__kicker, .fx-reduced .hero__lead, .fx-reduced .hero__cta, .fx-reduced .hero__slide img { animation: none !important; }

.hero__hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--concrete); }
.hero__hud::before { content: ""; position: absolute; left: calc(var(--gutter) * .45); top: 18%; bottom: 14%; width: 1px; background: linear-gradient(var(--signal), rgba(255, 90, 31, .1)); }
.hero__q { position: absolute; left: calc(var(--gutter) * .45); padding-left: 1.2rem; white-space: nowrap; opacity: .85; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__q::before { content: ""; position: absolute; left: -6px; bottom: 0; width: 13px; height: 1px; background: var(--signal); }
.hero__q--1 { top: 18%; } .hero__q--2 { top: 42%; } .hero__q--3 { top: 68%; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .75rem; }
.hero__scroll i { width: 2px; height: 46px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--signal); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Nastro di cantiere */
.tape { position: relative; z-index: 5; margin: -2.6rem -3vw 0 !important; transform: rotate(-2deg); background: var(--signal); color: var(--ink); overflow: hidden; padding: .95rem 0; border-block: 7px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--signal) 12px 24px) 7; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.tape__track { display: flex; width: max-content; align-items: center; animation: tape 38s linear infinite; }
.tape span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: .03em; padding: 0 1.6rem; white-space: nowrap; line-height: 1; }
.tape i { width: .8rem; height: .8rem; background: var(--ink); transform: rotate(45deg); flex: none; }
@keyframes tape { to { transform: translateX(-50%); } }
.fx-reduced .tape__track { animation: none; }

/* =========================================================
   SEZIONI
   ========================================================= */
.wp-block-post-content > section { padding-block: var(--sec); position: relative; }

/* Intro impresa */
.intro { background: var(--ink); background-image: var(--grid); background-size: 80px 80px; overflow: hidden; }
.bigtype { position: absolute; top: 2.5rem; left: -2vw; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(8rem, 26vw, 30rem); line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(233, 230, 225, .09); white-space: nowrap; pointer-events: none; --px: -260; user-select: none; }
.intro__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; position: relative; }
.intro__text h2 { margin: 0 0 1.8rem; }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage > figure { position: absolute !important; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85); overflow: hidden; margin: 0 !important; }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage__a { left: 0; top: 0; width: 56%; height: 78%; z-index: 1; }
.collage__b { right: 0; top: 12%; width: 50%; height: 40%; z-index: 2; border: 6px solid var(--ink); }
.collage__c { right: 6%; bottom: 0; width: 58%; height: 42%; z-index: 3; border: 6px solid var(--ink); }
.collage__badge { position: absolute; left: 8%; bottom: 6%; z-index: 4; background: var(--signal); color: var(--ink); padding: 1.1rem 1.4rem; transform: rotate(-4deg); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); display: flex; align-items: center; gap: .8rem; font-family: var(--display); text-transform: uppercase; line-height: 1; font-weight: 800; }
.collage__badge strong { font-size: 3.4rem; color: var(--ink); font-weight: 900; }

/* Servizi: card */
.servizi { background: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.card { position: relative; background: var(--ink); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .9); margin: 0 !important; }
.card:hover { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .95); }
.card > * { margin: 0 !important; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.25) contrast(1.05); }
.card:hover .card__img img { transform: scale(1.08); filter: none; }
.card__num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); z-index: 2; transform: translateZ(40px); }
.card__title { padding: 1.6rem 1.6rem .6rem; font-size: clamp(1.7rem, 2.2vw, 2.2rem) !important; transform: translateZ(30px); }
.card__title a { color: var(--white); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.card__text { padding: 0 1.6rem; color: var(--concrete); opacity: .85; font-size: .98rem; }
.card__more { padding: 1.2rem 1.6rem 1.6rem; margin-top: auto !important; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--signal); }
.card__more span { display: inline-block; transition: transform .4s var(--ease); }
.card:hover .card__more span { transform: translateX(8px); }
.card::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 5; }
.card:hover::before { transform: scaleX(1); }

/* Fascia numeri */
.band { overflow: hidden; isolation: isolate; }
.band__bg, .fullband__bg, .cta__bg, .page-hero__bg { position: absolute !important; inset: 0; z-index: -2; overflow: hidden; margin: 0 !important; }
.band__bg img, .fullband__bg img, .cta__bg img, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band__bg picture, .fullband__bg picture, .cta__bg picture, .page-hero__bg picture { display: block; width: 100%; height: 100%; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 18, 20, .9), rgba(17, 18, 20, .72) 50%, rgba(17, 18, 20, .92)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { border-left: 2px solid var(--signal); padding: .5rem 0 .5rem 1.5rem; margin: 0 !important; }
.stat > * { margin: 0 !important; }
.stat__n { font-family: var(--display); font-weight: 900; font-size: clamp(4.2rem, 8vw, 8rem); line-height: .9; color: var(--white); font-variant-numeric: tabular-nums; }
.stat__l { font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: .14em; color: var(--concrete); margin-top: .8rem !important; max-width: 14rem; }

/* Metodo (sezione chiara) */
.metodo { background: var(--concrete); color: var(--ink); }
.metodo h2, .metodo h3, .metodo strong { color: var(--ink); }
.metodo .kicker { color: #4f4d4d; }
.metodo .kicker span, .valori .kicker span, .metodo .quota { color: #b93a0b; }
.metodo .kicker::after, .valori .kicker::after { background: #b93a0b; }
.metodo .quota { color: var(--signal); max-width: var(--wp--style--global--wide-size) !important; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--ink); margin: 0 !important; }
.step > * { margin: 0 !important; }
.step__n { font-family: var(--display); font-weight: 900; font-size: 5.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--ink); transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .step__n { color: var(--signal); -webkit-text-stroke-color: var(--signal); }
.step__t { margin-top: .8rem !important; font-size: 1.9rem !important; }
.step__d { margin-top: .8rem !important; color: #3d3b3b; }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--signal); transform: rotate(45deg); }

/* Fascia a tutto schermo in parallasse */
.fullband { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.fullband--short { min-height: 80vh; }
.fullband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(17, 18, 20, .55), rgba(17, 18, 20, .9) 75%); }
.fullband__content { position: relative; z-index: 2; margin-inline: auto !important; }
.fullband__content .kicker { justify-content: center; color: var(--concrete); }
.fullband__content .wp-block-buttons { justify-content: center; }
.fullband__title { font-size: clamp(3.2rem, 8vw, 8.5rem) !important; }
.fullband__outline { position: absolute; left: 50%; bottom: -3vw; transform: translateX(-50%); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(8rem, 30vw, 34rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(200, 145, 90, .35); z-index: 1; pointer-events: none; white-space: nowrap; }
.fullband__float { position: absolute !important; z-index: 1; pointer-events: none; margin: 0 !important; }
.fullband__float--a { left: -8vw; top: 4%; width: min(52vw, 860px); --px: 220; --py: -160; transform-origin: center; }
.fullband__float--a img { filter: brightness(.95) drop-shadow(0 40px 30px rgba(0, 0, 0, .6)); animation: float 10s ease-in-out infinite; }
.ftags { position: absolute; inset: 0; z-index: 3; pointer-events: none; max-width: none !important; margin: 0 !important; }
.ftag { position: absolute; display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--white); background: rgba(17, 18, 20, .78); border: 1px solid rgba(255, 255, 255, .15); padding: .55rem .9rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ftag::before { content: ""; width: 9px; height: 9px; background: var(--signal); transform: rotate(45deg); flex: none; }
.ftag--1 { left: 8%; top: 22%; --py: -160; --px: 30; }
.ftag--2 { right: 9%; top: 16%; --py: -90; --px: -20; }
.ftag--3 { left: 14%; bottom: 20%; --py: 120; --px: 40; }
.ftag--4 { right: 12%; bottom: 26%; --py: 200; --px: -40; }

/* Prima / dopo */
.primadopo { background: var(--ink); }
.ba-cols { gap: clamp(1.2rem, 3vw, 2.5rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 0 !important; background: #000; touch-action: pan-y; user-select: none; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .9); }
.ba > figure { position: absolute !important; inset: 0; margin: 0 !important; }
.ba img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba--ready { cursor: ew-resize; }
.ba--ready .ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--signal); z-index: 3; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--signal); border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; margin-top: -7px; }
.ba__handle span::before { left: 9px; border-right-color: var(--ink); }
.ba__handle span::after { right: 9px; border-left-color: var(--ink); }
.ba__lbl { position: absolute; top: 1rem; z-index: 3; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; padding: .4rem .8rem; background: rgba(17, 18, 20, .8); color: var(--white); pointer-events: none; }
.ba__lbl--b { left: 1rem; } .ba__lbl--a { right: 1rem; background: var(--signal); color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba:focus-within { outline: 3px solid var(--signal); outline-offset: 4px; }
.ba__cap { margin-top: 1rem !important; color: var(--concrete); }

/* Realizzazioni: fila orizzontale trascinabile */
.lavori { background: var(--ink-2); }
.works { scroll-padding-inline: var(--gutter); display: flex; gap: clamp(1rem, 2vw, 1.8rem); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 2rem !important; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--signal) transparent; }
.works.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.works::-webkit-scrollbar { height: 4px; } .works::-webkit-scrollbar-thumb { background: var(--signal); }
.work { flex: 0 0 clamp(270px, 30vw, 500px); scroll-snap-align: start; margin: 0 !important; }
.work > * { margin: 0 !important; }
.work__img { aspect-ratio: 4 / 5; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.work:hover .work__img img { transform: scale(1.06); }
.work__cat { margin-top: 1.1rem !important; font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .85rem; color: var(--signal); }
.work__t { font-size: 2rem !important; margin-top: .3rem !important; }

/* CTA */
.cta { overflow: hidden; isolation: isolate; min-height: 90vh; display: flex; align-items: center; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, .95) 0%, rgba(12, 13, 15, .78) 50%, rgba(12, 13, 15, .45)); }
.cta__content { position: relative; z-index: 2; }
.cta__title { font-size: clamp(3.4rem, 9vw, 9.5rem) !important; margin: 0 0 1.5rem; }
.cta__text { max-width: 38rem; font-size: 1.2rem; color: var(--concrete); }

/* =========================================================
   PAGINE INTERNE
   ========================================================= */
.page-hero { position: relative; min-height: 82vh; min-height: 82svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-top: 10rem !important; padding-bottom: clamp(4rem, 8vh, 7rem) !important; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, .92), rgba(12, 13, 15, .55) 55%, rgba(12, 13, 15, .25)), linear-gradient(0deg, var(--ink), transparent 35%), linear-gradient(180deg, rgba(12, 13, 15, .6), transparent 25%); }
.page-hero__grid { position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 80px 80px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.page-hero__content { position: relative; z-index: 2; max-width: 62rem !important; margin-left: 0 !important; }
.page-hero__title { font-size: clamp(3.4rem, 9vw, 9rem) !important; margin: 0 0 1.6rem; animation: heroIn 1.1s var(--ease) both; }
.page-hero__lead { max-width: 42rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--concrete); }
.page-hero__quota { max-width: 32rem; }

.svc-intro { background: var(--ink); }
.intro-cols { gap: clamp(2rem, 6vw, 6rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.intro-cols h2 { margin: 0; position: sticky; top: 8rem; }
.checklist { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.checklist li { position: relative; padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--white); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .7rem; height: .7rem; background: var(--signal); transform: rotate(45deg); }

/* Fasi illustrate */
#fasi, #percorso, #caso { background: var(--ink-2); }
.phases { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 7rem); position: relative; }
.phase { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; margin: 0 !important; }
.phase__q { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--signal); display: flex; align-items: baseline; gap: 1rem; font-size: 1.15rem; }
.phase__q span { font-size: 5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--concrete); letter-spacing: 0; }
.phase__t { font-size: clamp(2.2rem, 4vw, 3.6rem) !important; margin: 1rem 0 1.2rem; }
.phase__d { font-size: 1.12rem; max-width: 34rem; }
.phase__img { aspect-ratio: 4 / 3; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .95); }
.phase__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phase__text { position: relative; }
.phase__text::before { content: ""; position: absolute; left: -2rem; top: .3rem; bottom: .3rem; width: 2px; background: linear-gradient(var(--signal), transparent); }


/* Gallerie */
#galleria, #mezzi, #portfolio { background: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.4vw, 1.2rem); }
.gal--2 { grid-template-columns: repeat(2, 1fr); }
.gal--1 { grid-template-columns: 1fr; }
.gal__item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin: 0 !important; cursor: zoom-in; background: var(--ink-2); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease), filter .5s; }
.gal__item:hover img { transform: scale(1.07); }
.gal__item::before { content: "+"; position: absolute; right: 1rem; bottom: 1rem; width: 44px; height: 44px; display: grid; place-items: center; background: var(--signal); color: var(--ink); font-size: 1.8rem; font-weight: 700; z-index: 3; transform: scale(0) rotate(-90deg); transition: transform .45s var(--ease); }
.gal__item:hover::before, .gal__item:focus-visible::before { transform: none; }
.gal--masonry { display: block; columns: 3; column-gap: 1.1rem; }
.gal--masonry .gal__item { aspect-ratio: auto; break-inside: avoid; margin: 0 0 1.1rem !important; display: block; }
.gal--masonry .gal__item img { height: auto; }
.gal__item.is-hidden { display: none !important; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 auto 2.5rem !important; max-width: var(--wp--style--global--wide-size) !important; }
.filters button { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; padding: .75rem 1.3rem; background: transparent; border: 2px solid var(--line); color: var(--concrete); cursor: pointer; transition: all .3s; }
.filters button:hover { border-color: var(--signal); color: var(--white); }
.filters button.is-active { background: var(--signal); border-color: var(--signal); color: var(--ink); }

/* Timeline orizzontale (Impresa) */
.storia { background: var(--ink); padding-bottom: 0 !important; }
.tl { position: relative; margin-top: 1rem !important; }
.tl__track { display: flex; gap: clamp(2rem, 5vw, 5rem); padding: 0 var(--gutter) 4rem !important; }
.tl__item { flex: 0 0 auto; width: clamp(300px, 34vw, 560px); margin: 0 !important; position: relative; }
.tl__item > * { margin: 0 !important; }
.tl__year { font-family: var(--display); font-weight: 900; font-size: clamp(3.6rem, 6.5vw, 7rem); white-space: nowrap; line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--signal); text-transform: uppercase; margin-bottom: 1.2rem !important; }
.tl__img { aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .95); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl__t { font-size: 2rem !important; margin-top: 1.4rem !important; }
.tl__d { margin-top: .8rem !important; }
@media (min-width: 1000px) {
	.fx-ready .tl.fx-hscroll .tl__track { position: sticky; top: 0; height: 100vh; align-items: center; width: max-content; padding-top: 5rem !important; padding-bottom: 0 !important; }
	.tl__item:nth-child(even) { margin-top: 12vh !important; }
}

/* Valori, persone */
.valori { background: var(--concrete); color: var(--ink); }
.valori h2, .valori h3 { color: var(--ink); }
.valori .kicker { color: #4f4d4d; }
.valori .value__n { color: #b93a0b; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value { position: relative; background: var(--white); padding: 2.4rem 2rem; margin: 0 !important; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); overflow: hidden; }
.value > * { margin: 0 !important; }
.value__n { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 1; color: var(--signal); }
.value__t { font-size: 2.4rem !important; margin: 1rem 0 !important; }
.value__d { color: #3d3b3b; margin-top: 1rem !important; }
.persone { background: var(--ink-2); }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.person { position: relative; background: var(--ink); padding: 2.5rem; margin: 0 !important; border-top: 4px solid var(--signal); overflow: hidden; }
.person > * { margin: 0 !important; }
.person__mono { width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 2.2rem; }
.person__t { font-size: 2.6rem !important; margin-top: 1.5rem !important; }
.person__r { color: #aaa7a3; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-top: .4rem !important; }
.person .wp-block-buttons { margin-top: 1.6rem !important; }

/* Lavori pubblici: blocchi servizio */
.svc-block { background: var(--ink); }
.svc-block:nth-of-type(even) { background: var(--ink-2); }
.svc { gap: clamp(2rem, 5vw, 5rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; }
.svc--flip { flex-direction: row-reverse; }
.svc__text h2 { margin: 0 0 1.5rem; }
.svc__media .gal { margin: 0 !important; }
.svc__media .gal--3 .gal__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Contatti */
.contatti { background: var(--ink); padding-top: clamp(4rem, 8vw, 7rem) !important; }
.contatti__cols { gap: clamp(2rem, 5vw, 5rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem !important; }
.contact { position: relative; background: var(--ink-2); padding: 1.8rem; margin: 0 !important; border-top: 3px solid var(--signal); overflow: hidden; }
.contact > * { margin: 0 !important; }
.contact__r { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #aaa7a3; font-size: .85rem; }
.contact__t { font-size: 1.9rem !important; margin-top: .4rem !important; }
.contact__tel { margin-top: .6rem !important; font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.contact__tel a { color: var(--white); text-decoration: none; }
.contact .wp-block-buttons { margin-top: 1.2rem !important; gap: .5rem; }
.contact .wp-block-button__link { padding: .75rem 1.1rem; font-size: 1rem; }
.contact .is-style-outline .wp-block-button__link { padding: calc(.75rem - 2px) calc(1.1rem - 2px); }
.info { margin-top: 2rem !important; border-top: 1px solid var(--line); }
.info__row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); margin: 0 !important; color: var(--white); }
.info__row strong { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; color: #aaa7a3; font-weight: 700; }
.form-box { background: var(--ink-2); padding: clamp(1.6rem, 4vw, 3rem); position: relative; border-top: 4px solid var(--signal); }
.form-box h2 { margin: 0 0 1rem; }

/* Contact Form 7 */
.wpcf7 form { margin-top: 1.5rem; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.cf-grid p { margin: 0; }
.cf-full { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .9rem; color: var(--concrete); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; margin-top: .45rem; background: var(--ink); color: var(--white); border: 1px solid rgba(233, 230, 225, .18); border-bottom: 2px solid var(--steel);
	padding: .95rem 1rem; font: 500 1rem/1.4 var(--wp--preset--font-family--body); border-radius: 0; transition: border-color .3s, background .3s; text-transform: none; letter-spacing: 0;
}
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input, .wpcf7 select, .wpcf7 textarea { box-sizing: border-box; max-width: 100%; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--signal); background: #0c0d0f; box-shadow: 0 2px 0 var(--signal); }
.cf-check { margin: 1.2rem 0 0; font-size: .95rem; }
.cf-check .wpcf7-list-item { margin: 0; }
.cf-check label { font-family: inherit; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .95rem; display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.cf-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; border: 2px solid var(--steel); background: var(--ink); display: grid; place-content: center; cursor: pointer; }
.cf-check input[type="checkbox"]::after { content: ""; width: .7rem; height: .7rem; background: var(--signal); transform: scale(0) rotate(45deg); transition: transform .25s var(--ease); }
.cf-check input[type="checkbox"]:checked { border-color: var(--signal); }
.cf-check input[type="checkbox"]:checked::after { transform: scale(1) rotate(45deg); }
.cf-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.cf-submit { margin-top: 1.6rem; }
.wpcf7 input[type="submit"] { background: var(--signal); color: var(--ink); border: 0; padding: 1.15rem 2.2rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.25rem; cursor: pointer; transition: background .3s, transform .3s; border-radius: 0; }
.wpcf7 input[type="submit"]:hover { background: var(--white); }
.wpcf7-not-valid-tip { color: #ff9a75; font-size: .85rem; margin-top: .35rem; text-transform: none; letter-spacing: 0; font-family: var(--wp--preset--font-family--body); }
.wpcf7 form .wpcf7-response-output { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border: 2px solid var(--signal); color: var(--white); }
.wpcf7-spinner { background: var(--signal); }

/* Mappa bloccata fino al consenso */
.mappa { padding: 0 !important; }
.mappa > * { max-width: none !important; }
.map-consent { position: relative; height: clamp(380px, 55vh, 560px); background: var(--ink-2); background-image: var(--grid); background-size: 60px 60px; display: grid; place-items: center; text-align: center; margin: 0 !important; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.1) invert(.92) hue-rotate(180deg); }
.map-consent__box { max-width: 30rem; padding: 2rem; background: var(--ink); border-top: 4px solid var(--signal); }
.map-consent__t { font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; color: var(--white); margin: 0 0 .5rem; }
.map-consent__btn { margin-top: 1rem; background: var(--signal); color: var(--ink); border: 0; padding: .9rem 1.4rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; cursor: pointer; margin-right: 1rem; }

/* Pagina legale e 404 */
.legal-page { background: var(--ink); padding-top: 11rem !important; }
.legal { max-width: 52rem; }
.legal__title { font-size: clamp(3rem, 7vw, 6rem) !important; margin-bottom: 2rem; }
.legal h2 { font-size: 2rem; margin-top: 2.5rem; }
.legal__note { border-left: 4px solid var(--signal); padding: 1rem 1.2rem; background: var(--ink-2); }
.btn-cookie-settings { background: transparent; border: 2px solid var(--signal); color: var(--white); padding: .8rem 1.2rem; font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.err404 { min-height: 80vh; padding-top: 12rem !important; padding-bottom: 6rem !important; }
.blog-main, .single-main { padding-top: 10rem !important; padding-bottom: 6rem !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #0b0c0d; position: relative; overflow: hidden; }
.site-footer__inner { padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem !important; }
.footer-big { display: flex; flex-direction: column; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 15vw, 15rem); line-height: .82; margin-bottom: clamp(3rem, 6vw, 5rem) !important; max-width: none !important; }
.footer-big span { display: block; white-space: nowrap; }
.footer-big span:first-child { color: var(--white); --px: -120; }
.footer-big span:last-child { color: transparent; -webkit-text-stroke: 2px var(--signal); padding-left: 12vw; --px: 120; }
.footer-cols { gap: clamp(1.5rem, 4vw, 4rem) !important; max-width: var(--wp--style--global--wide-size) !important; border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-logo img { width: 210px; }
.footer-claim { color: var(--concrete); opacity: .8; max-width: 22rem; margin-top: 1.5rem !important; }
.footer-t { font-size: 1.3rem !important; line-height: 1.1 !important; letter-spacing: .14em !important; color: var(--signal) !important; margin-bottom: 1.2rem !important; }
.footer-row { font-size: .98rem; margin: 0 0 1rem !important; color: var(--concrete); }
.footer-row span { color: #9d9a96; }
.site-footer a { color: var(--white); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--signal); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .3rem 0; }
.footer-legal { max-width: var(--wp--style--global--wide-size) !important; margin-top: 3.5rem !important; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: #9d9a96; }
.footer-legal a { color: var(--concrete) !important; text-decoration: underline !important; text-decoration-color: rgba(233, 230, 225, .3) !important; }

/* =========================================================
   PULSANTI FISSI
   ========================================================= */
.fixed-actions { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 55; display: flex; flex-direction: column; gap: 2px; transition: opacity .3s, transform .4s var(--ease); }
.has-modal-open .fixed-actions, .lb-open .fixed-actions { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.fa-item { position: relative; }
.fa-btn { width: 58px; min-height: 58px; padding: .7rem 0; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .35rem; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; transition: width .3s var(--ease), background .3s; box-shadow: -10px 10px 30px -10px rgba(0, 0, 0, .6); }
.fa-btn svg { width: 24px; height: 24px; fill: currentColor; }
.fa-btn--tel { background: var(--signal); }
.fa-btn--wa { background: #25d366; }
.fa-btn:hover, .fa-btn[aria-expanded="true"] { width: 68px; }
.fa-pop { position: absolute; right: calc(100% + 10px); top: 0; width: 290px; background: var(--concrete); color: var(--ink); padding: 1rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.fa-pop p { margin: 0 0 .6rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #5c5a5a; }
.fa-pop a { display: block; padding: .75rem .9rem; background: var(--white); color: var(--ink); text-decoration: none; margin-top: .4rem; border-left: 4px solid var(--signal); transition: background .2s; }
.fa-pop a:hover { background: #fff3ee; }
.fa-pop strong { display: block; color: var(--ink); font-size: 1.05rem; }
.fa-pop span { font-size: .88rem; color: #4a4848; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 9, .95); display: grid; place-items: center; padding: 4rem 5rem; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.lb__fig figcaption { margin-top: 1rem; color: var(--concrete); font-size: .95rem; text-align: center; }
.lb button { position: absolute; background: var(--signal); color: var(--ink); border: 0; width: 54px; height: 54px; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb__x { top: 1.2rem; right: 1.2rem; }
.lb__p { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__n { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-open, .lb-open body { overflow: hidden; }

/* =========================================================
   BANNER COOKIE
   ========================================================= */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #f6f4f1; color: #1d1d1f; padding: 1.6rem 1.5rem 1.3rem; box-shadow: 0 30px 80px -10px rgba(0, 0, 0, .7); border-top: 5px solid var(--signal); font-size: .9rem; line-height: 1.5; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease); }
.ck.is-in { opacity: 1; transform: none; }
.ck.is-expanded { width: min(640px, calc(100vw - 32px)); }
.ck a { color: #c43d0a; }
.ck strong { color: inherit; }
.ck__x { position: absolute; top: .5rem; right: .6rem; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: #1d1d1f; }
.ck__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.55rem; line-height: 1; margin: 0 0 .7rem; color: #111214; padding-right: 2rem; }
.ck__text { margin: 0 0 1rem; color: #333; }
.ck__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .4rem; margin-bottom: 1rem; }
.ck__cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff; border: 1px solid #ddd8d2; padding: .5rem .6rem; font-weight: 600; font-size: .78rem; cursor: pointer; }
.ck__switch { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 20px; border-radius: 20px; background: #b9b4ae; position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.ck__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.ck__switch:checked { background: #d24a12; }
.ck__switch:checked::after { transform: translateX(16px); }
.ck__switch:disabled { opacity: .55; cursor: not-allowed; }
.ck__switch:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.ck__details { border-top: 1px solid #ddd8d2; padding-top: .8rem; margin-bottom: 1rem; }
.ck__tabs { display: flex; gap: .3rem; margin-bottom: .8rem; }
.ck__tabs button { flex: 1; border: 0; background: #e6e2dd; padding: .65rem .5rem; font-weight: 700; cursor: pointer; font-size: .82rem; color: #333; }
.ck__tabs button[aria-selected="true"] { background: #111214; color: #fff; }
.ck__acc { border-bottom: 1px solid #e2ddd7; padding: .5rem 0; }
.ck__acc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; list-style: none; padding: .3rem 0; }
.ck__acc summary::-webkit-details-marker { display: none; }
.ck__acc summary::before { content: "+"; margin-right: .6rem; color: #c43d0a; font-weight: 800; }
.ck__acc[open] summary::before { content: "–"; }
.ck__acc summary span { flex: 1; }
.ck__acc summary em { font-style: normal; color: #777; font-weight: 500; }
.ck__acc summary b { font-size: .75rem; color: #2a7a2a; }
.ck__acc table { width: 100%; border-collapse: collapse; font-size: .76rem; margin: .5rem 0; }
.ck__acc th, .ck__acc td { text-align: left; padding: .35rem .4rem; border-bottom: 1px solid #e7e3de; vertical-align: top; }
.ck__acc th { background: #ece8e3; }
.ck__none { color: #777; font-style: italic; }
.ck__meta { font-size: .78rem; color: #555; }
.ck__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.ck__btn { flex: 1 1 auto; border: 2px solid #111214; background: transparent; color: #111214; padding: .7rem .9rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.ck__btn:hover { background: #111214; color: #fff; }
.ck__btn--primary { background: var(--signal); border-color: var(--signal); color: #111214; }
.ck__btn--primary:hover { background: #111214; border-color: #111214; color: #fff; }
.ck__btn--link { flex-basis: 100%; border: 0; text-decoration: underline; padding: .3rem; font-size: .85rem; order: 9; }
.ck__btn--link:hover { background: transparent; color: #c43d0a; }
.ck-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 290; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--concrete); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -5px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.ck-reopen:hover { transform: rotate(-20deg) scale(1.08); }
.ck-reopen svg { width: 26px; height: 26px; fill: currentColor; }
.ck-reopen[hidden], .ck[hidden] { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
	.hero__content { max-width: 78vw; }
	.hero__dots { gap: .6rem; }
	.hero__dots button { width: 48px; }
	.hero__dot-t { display: none; }
	.contacts { grid-template-columns: 1fr; }
}
@media (max-width: 999px) {
	.tl__track { flex-direction: column; padding: 0 var(--gutter) !important; }
	.tl__item { width: 100%; max-width: 640px; }
}
@media (max-width: 781px) {
	.hero { padding-top: 7.5rem !important; align-items: flex-end; }
	.hero__content { max-width: none; }
	.hero__title { font-size: clamp(3rem, min(14vw, 9vh), 5.4rem) !important; }
	.hero::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(12, 13, 15, .85) 40%, rgba(12, 13, 15, .35) 70%, rgba(12, 13, 15, .6) 100%); }
	.hero__q { display: none; }
	.hero__hud::before { display: none; }
	.hero { padding-bottom: 6.5rem !important; }
	.hero__dots { left: var(--gutter); right: auto; bottom: 2rem; gap: .5rem; }
	.hero__dots button { width: 44px; }
	.hero__dot-t, .hero__dot-n { display: none; }
	.hero__kicker { letter-spacing: .14em; font-size: .8rem; }
	.hero__kicker::after { width: 2rem; }
	.hero__title { margin-bottom: 1.2rem; }
	.hero__lead { font-size: 1rem; }
	.hero__cta { margin-top: 1.4rem; }
	.hero__cta .wp-block-button__link { padding: .85rem 1.3rem; font-size: 1.1rem; }
	.hero__scroll { display: none; }
	.tape { margin-top: -1.6rem !important; }
	.cards, .values, .people, .gal, .gal--2 { grid-template-columns: 1fr; }
	.gal--3, .gal--masonry { grid-template-columns: 1fr 1fr; }
	.gal--masonry { columns: 2; column-gap: .6rem; }
	.gal--masonry .gal__item { margin-bottom: .6rem !important; }
	.svc__media .gal--3 .gal__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
	.stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
	.stat { padding-left: 1rem; }
	.steps { grid-template-columns: 1fr; }
	.checklist { grid-template-columns: 1fr; }
	.collage { aspect-ratio: 1 / 1.15; margin-top: 2rem; }
	.collage__badge strong { font-size: 2.4rem; }
	.intro-cols h2 { position: static; }
	.svc--flip { flex-direction: column; }
	.phase__media { order: -1; }
	.phase__text::before { display: none; }
	.phase__q span { font-size: 3.6rem; }
	.page-hero { min-height: 74svh; padding-top: 8rem !important; }
	.page-hero::after { background: linear-gradient(0deg, var(--ink) 5%, rgba(12, 13, 15, .7) 55%, rgba(12, 13, 15, .45)); }
	.cf-grid { grid-template-columns: 1fr; }
	.info__row { grid-template-columns: 1fr; gap: .2rem; }
	.work { flex-basis: 78vw; }
	.fullband__float--a { width: 80vw; left: -20vw; top: 4%; }
	.ftag { font-size: .72rem; padding: .45rem .7rem; }
	.ftag--1 { left: 4%; top: 14%; } .ftag--2 { right: 4%; top: auto; bottom: 12%; } .ftag--3, .ftag--4 { display: none; }
	.footer-big span:last-child { padding-left: 6vw; }
	.site-header__inner { gap: 1rem; }
	.site-header .header-cta-wrap { display: none !important; }
	.fixed-actions { top: auto; bottom: 16px; right: 16px; transform: none; flex-direction: row; gap: 8px; }
	.fa-btn { border-radius: 50%; padding: 0; justify-content: center; }
	.has-modal-open .fixed-actions, .lb-open .fixed-actions { transform: translateY(150%); }
	.fa-btn, .fa-btn:hover, .fa-btn[aria-expanded="true"] { width: 52px; min-height: 52px; height: 52px; }
	.fa-btn span { display: none; }
	.fa-pop { top: auto; right: 0; bottom: calc(100% + 10px); width: min(290px, calc(100vw - 32px)); }
	.fa-item:first-child .fa-pop { right: -60px; }
	.lb { padding: 4rem .6rem; }
	.lb__p, .lb__n { top: auto !important; bottom: 1rem; transform: none !important; }
	.ck { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 1.3rem 1.1rem 1rem; }
	.ck-reopen { width: 40px; height: 40px; left: 12px; bottom: 12px; opacity: .85; }
	.ck-reopen svg { width: 22px; height: 22px; }
	.ck__cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.gal--3 { grid-template-columns: 1fr; }
	.contacts .wp-block-buttons { flex-wrap: wrap; }
}

/* Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.fx-parallax img, .fx-parallax-bg img { transform: none !important; }
}
