/* ==========================================================================
   ADP Web Design – stili del tema
   Indice:
   1. Font e variabili      7. Home: chi sono e servizi   13. Pagine generiche
   2. Base                  8. Home: blog e recensioni     14. Footer
   3. Utilità e pulsanti    9. Call to action              15. Modale e moduli
   4. Header e menu        10. Portfolio                   16. Cookie e WhatsApp
   5. Barre laterali       11. Blog                        17. Animazioni
   6. Home: hero           12. Articolo singolo            18. Responsive
   ========================================================================== */

/* 1. Font e variabili ------------------------------------------------------ */
@font-face {
	font-family: "DM Serif Display";
	src: url("../fonts/dmserifdisplay-regular-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Serif Text";
	src: url("../fonts/dmseriftext-regular-webfont.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--pink: #db588f;
	--pink-dark: #c2447a;
	--text: #4b4b4b;
	--heading: #000;
	--black: #1f1f1f;
	--dark: #141414;
	--bg: #f7f7f7;
	--bg-grey: #efefef;
	--white: #fff;
	--line: rgba(0, 0, 0, .06);
	--border: #d0d7de;
	--font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--font-text: "DM Serif Text", Georgia, "Times New Roman", serif;
	--container: 1140px;
	--gutter: 15px;
	--header-h: 80px;
	--ease: cubic-bezier(.23, 1, .32, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--shadow-card: 0 25px 70px rgba(0, 0, 0, .07);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

html.has-modal,
body.is-menu-open {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-text);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.adp-bg-white {
	background: var(--white);
}

body.page-template-templates-portfolio {
	background: var(--bg-grey);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin: 0 0 .6em;
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.2;
}

h1, .h1 { font-size: 52px; }
h2, .h2 { font-size: 40px; }
h3, .h3 { font-size: 32px; }
h4, .h4 { font-size: 25px; }
h5, .h5 { font-size: 20px; }
h6, .h6 { font-size: 15px; }

p {
	margin: 0 0 1.5em;
}

a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: .15em;
	text-decoration-thickness: 1px;
	transition: color .3s var(--ease), opacity .3s var(--ease);
}

a:hover {
	color: var(--pink);
}

strong,
b {
	color: var(--black);
	font-weight: 700;
}

em,
i {
	font-style: italic;
}

button {
	font: inherit;
}

:focus-visible {
	outline: 2px solid var(--pink);
	outline-offset: 3px;
}

::selection {
	background: var(--pink);
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	top: 10px;
	left: 10px;
	z-index: 1000;
	padding: 10px 20px;
	background: #fff;
	color: #000;
}

/* Linee verticali di sfondo (come nel tema originale). */
.page-lines {
	position: fixed;
	inset: 0;
	z-index: 0;
	display: flex;
	pointer-events: none;
}

.page-lines span {
	flex: 1;
	border-left: 1px solid var(--line);
}

.site-main,
.site-footer {
	position: relative;
	z-index: 1;
}

/* 3. Utilità e pulsanti ---------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--narrow { max-width: 1200px; }
.container--text { max-width: 900px; }
.container--xs { max-width: 590px; }

.text-center { text-align: center; }
.pink { color: var(--pink); }

.section {
	position: relative;
	padding: 100px 0;
}

.section--dark {
	background: var(--dark);
	color: #dedada;
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.grid-25-75 {
	display: grid;
	grid-template-columns: 25% 75%;
}

.section-heading {
	margin-bottom: 1.6em;
}

.section-heading--spaced {
	margin-top: 70px;
}

.section-title {
	font-size: 35px;
	margin-bottom: 1.2em;
}

.section-title .accent,
.section-title--pink {
	color: var(--pink);
}

.rich-text {
	max-width: 1140px;
}

.rich-text--large {
	font-size: 18px;
}

.eyebrow {
	margin-bottom: 10px;
	color: var(--pink);
	font-family: var(--font-display);
	font-size: 15px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.text-link {
	color: var(--pink);
	font-size: 17px;
}

.text-link:hover {
	color: var(--black);
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #000;
	font-family: var(--font-display);
	font-size: 17px;
	text-decoration: none;
}

.arrow-link .adp-icon {
	width: 18px;
	height: 18px;
	transition: transform .4s var(--ease);
}

.arrow-link:hover .adp-icon {
	transform: translateX(5px);
}

.arrow-link--lg {
	font-size: 19px;
	font-weight: 700;
}

.arrow-link--lg .adp-icon {
	color: var(--pink);
}

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .8em 2em;
	border: 0;
	border-radius: 4px;
	font-family: var(--font-display);
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease);
}

.btn--dark {
	background: var(--black);
	color: #fff;
}

.btn--dark:hover {
	background: #fff;
	color: #000;
}

.btn--pink {
	background: var(--pink);
	color: #fff;
}

.btn--pink:hover {
	background: #000;
	color: #fff;
}

/* Testo che "scorre" in orizzontale al passaggio del mouse. */
.btn--switch {
	overflow: hidden;
}

.btn--switch > span {
	position: relative;
	display: inline-block;
	text-decoration: underline;
	text-underline-offset: .15em;
	transition: transform .5s var(--ease);
}

.btn--switch > span::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 100%;
	margin-left: 2.2em;
}

.btn--switch:hover > span {
	transform: translateX(calc(-100% - 2.2em));
}

.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	text-decoration: underline;
	text-underline-offset: .15em;
	cursor: pointer;
}

.link-button:hover {
	color: var(--pink);
}

.highlight {
	position: relative;
	display: inline-block;
	color: inherit;
	text-decoration: none;
	background: linear-gradient(transparent 62%, rgba(219, 88, 143, .35) 62%);
	background-size: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 1s var(--ease) .4s;
}

.is-in .highlight,
.highlight:hover {
	background-size: 100% 100%;
}

.adp-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: middle;
}

/* 4. Header e menu --------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--pink);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	padding: 0 55px;
}

.site-logo {
	display: block;
	padding: 18px 0;
}

.site-logo img {
	width: auto;
	max-height: 45px;
}

.site-header__right {
	display: flex;
	align-items: center;
}

.main-nav__list {
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__list a {
	display: block;
	padding: 10px 15px;
	color: #000;
	font-family: var(--font-display);
	font-size: 17px;
	text-decoration: none;
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a {
	color: rgba(0, 0, 0, .75);
	text-decoration: underline;
}

/* Desktop: le voci compaiono a sinistra del pulsante "Menu". */
@media (min-width: 992px) {
	.main-nav {
		margin-right: 25px;
		overflow: hidden;
	}

	.main-nav__list li {
		opacity: 0;
		visibility: hidden;
		transform: translateY(12px);
		transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
	}

	.site-header.is-menu-open .main-nav__list li {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s;
	}

	.site-header.is-menu-open .main-nav__list li:nth-child(2) { transition-delay: .06s; }
	.site-header.is-menu-open .main-nav__list li:nth-child(3) { transition-delay: .12s; }
	.site-header.is-menu-open .main-nav__list li:nth-child(4) { transition-delay: .18s; }
	.site-header.is-menu-open .main-nav__list li:nth-child(5) { transition-delay: .24s; }
	.site-header.is-menu-open .main-nav__list li:nth-child(6) { transition-delay: .3s; }
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 10px 0;
	border: 0;
	background: none;
	color: #000;
	font-family: var(--font-display);
	font-size: 17px;
	cursor: pointer;
}

.menu-toggle__text {
	text-decoration: underline;
	text-underline-offset: .15em;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	width: 24px;
	height: 10px;
}

.menu-toggle__bars span {
	position: absolute;
	right: 0;
	height: 1.5px;
	background: currentColor;
	transition: transform .5s var(--ease), width .5s var(--ease), top .5s var(--ease);
}

.menu-toggle__bars span:first-child {
	top: 0;
	width: 16px;
}

.menu-toggle__bars span:last-child {
	top: 8px;
	width: 24px;
}

.menu-toggle:hover .menu-toggle__bars span:first-child {
	width: 24px;
}

.is-menu-open .menu-toggle__bars span:first-child {
	top: 4px;
	width: 22px;
	transform: rotate(45deg);
}

.is-menu-open .menu-toggle__bars span:last-child {
	top: 4px;
	width: 22px;
	transform: rotate(-45deg);
}

.header-cta {
	margin-left: 40px;
	padding: .6em 1.75em;
}

/* 5. Barre laterali -------------------------------------------------------- */
.side-bar {
	position: fixed;
	top: 50%;
	z-index: 40;
	color: #000;
	transform: translateY(-50%);
	transition: color .3s var(--ease);
}

.side-bar.is-on-dark {
	color: #fff;
}

.side-bar--left {
	left: 22px;
}

.side-bar--right {
	right: 22px;
}

.scroll-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: .05em;
}

.scroll-indicator__text {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.scroll-indicator__bar {
	position: relative;
	display: block;
	width: 1px;
	height: 60px;
	background: currentColor;
	opacity: .3;
}

.scroll-indicator__progress {
	position: absolute;
	inset: 0;
	background: currentColor;
	transform: scaleY(0);
	transform-origin: top;
}

.social-short {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-short a {
	font-family: var(--font-display);
	text-decoration: none;
}

.social-short a:hover {
	color: var(--pink);
}

.social-short--vertical {
	flex-direction: column;
	gap: 25px;
	writing-mode: vertical-rl;
	font-size: 14px;
}

/* 6. Home: hero ------------------------------------------------------------ */
.hero {
	position: relative;
	z-index: 2;
	padding: 0 7.5% 70px;
	background: var(--pink);
	color: #000;
	overflow: hidden;
}

.hero__slides {
	position: relative;
	display: grid;
	min-height: 360px;
	margin-left: 1.5%;
	padding-top: 120px;
}

.hero__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	pointer-events: none;
}

.hero__slide.is-active {
	pointer-events: auto;
}

.hero__title {
	margin: 0;
	color: #000;
	font-family: var(--font-display);
	font-size: clamp(64px, 10.4vw, 150px);
	line-height: .86;
	letter-spacing: -.01em;
}

.hero__info {
	padding-top: 22px;
}

.hero__subtitle,
.hero__desc {
	margin: 0;
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1.3;
}

.hero__subtitle {
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 2px solid #000;
	margin-bottom: 10px;
	min-width: 285px;
}

.mask {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.mask > span {
	display: inline-block;
	transform: translateY(105%);
	transition: transform 1s var(--ease);
}

.hero__slide.is-active .mask > span {
	transform: none;
	transition-delay: .35s;
}

.hero__slide.is-leaving .mask > span {
	transform: translateY(-105%);
	transition-duration: .5s;
	transition-timing-function: var(--ease-in-out);
}

.hero__nav {
	position: absolute;
	right: 9%;
	bottom: 70px;
	display: flex;
	background: #fff;
}

.hero__arrow {
	display: grid;
	place-items: center;
	width: 70px;
	height: 60px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #000;
	cursor: pointer;
	transition: color .3s var(--ease);
}

.hero__arrow .adp-icon {
	width: 20px;
	height: 20px;
}

.hero__arrow:hover {
	color: var(--pink);
}

/* 7. Home: chi sono e servizi --------------------------------------------- */
.section--why {
	padding-top: 130px;
}

.section--about,
.section--services {
	padding: 65px 0;
}

.section--about {
	padding-top: 110px;
}

.section-label {
	color: #fff;
	margin-bottom: 1em;
}

.about__media img {
	width: 100%;
	max-width: 455px;
}

.about__counter {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 20px;
	margin-top: -110px;
	padding-left: 18%;
}

.about__number {
	color: var(--pink);
	font-family: var(--font-display);
	font-size: clamp(110px, 14vw, 200px);
	line-height: .85;
	font-variant-numeric: tabular-nums;
}

.about__number-label {
	padding-bottom: 6px;
	color: rgba(255, 255, 255, .89);
	font-family: var(--font-display);
	font-size: clamp(32px, 3.5vw, 50px);
	line-height: 1.25;
}

.about__text {
	margin: 2.2em 0 1.4em;
	color: #fff;
	font-size: 19px;
	line-height: 27px;
}

.social-circles {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-circles a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	transition: transform .4s var(--ease), background-color .3s;
}

.social-circles a:hover {
	background: #fff;
	color: var(--pink);
	transform: translateY(-3px);
}

.social-circles .adp-icon {
	width: 20px;
	height: 20px;
}

.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 70px 12px;
	padding: 6px 6px 70px;
}

.service {
	padding-right: 30px;
}

.service__icon {
	display: block;
	margin-bottom: 30px;
	color: var(--pink);
}

.service__icon .adp-icon {
	width: 40px;
	height: 40px;
}

.service__title {
	margin-bottom: .7em;
	color: #fff;
	font-size: 18px;
}

.service__text {
	margin: 0;
	color: #dedada;
}

/* 8. Home: blog e recensioni ---------------------------------------------- */
.section--blog-latest {
	padding: 90px 0 40px;
}

.section--reviews {
	padding: 120px 0 40px;
}

.carousel {
	position: relative;
	padding: 0 18%;
}

.carousel__viewport {
	overflow: hidden;
	transition: height .6s var(--ease);
}

.carousel__track {
	display: flex;
	align-items: flex-start;
	transition: transform .9s var(--ease);
}

.carousel__slide {
	flex: 0 0 100%;
	margin: 0;
	padding: 0 8px;
	opacity: .2;
	transition: opacity .8s var(--ease);
}

.carousel__slide.is-active {
	opacity: 1;
}

.review p {
	margin: 0 0 1em;
	color: #000;
	font-family: var(--font-display);
	font-size: 23px;
	line-height: 1.45;
	text-align: center;
}

.review cite {
	font-size: 25px;
	font-style: normal;
}

.carousel__arrow {
	position: absolute;
	top: 40%;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pink);
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform .4s var(--ease), color .3s;
}

.carousel__arrow .adp-icon {
	width: 26px;
	height: 26px;
}

.carousel__arrow--prev { left: 4%; }
.carousel__arrow--next { right: 4%; }
.carousel__arrow--prev:hover { transform: translate(-5px, -50%); }
.carousel__arrow--next:hover { transform: translate(5px, -50%); }

.carousel__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 25px;
	color: #000;
	font-family: var(--font-display);
	font-size: 14px;
}

.carousel__current {
	color: var(--pink);
}

.carousel__line {
	position: relative;
	width: 110px;
	height: 1px;
	background: rgba(0, 0, 0, .15);
}

.carousel__line span {
	position: absolute;
	inset: 0;
	background: var(--pink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .9s var(--ease);
}

.section--reviews .text-link {
	display: inline-block;
	margin-top: 50px;
}

/* 9. Call to action -------------------------------------------------------- */
.section--cta {
	padding: 160px 0 100px;
}

.section--cta-top {
	padding: 140px 0 70px;
}

.cta-title {
	margin: 0 0 .75em;
	color: #000;
	font-size: clamp(42px, 4.7vw, 67px);
	font-weight: 400;
	line-height: 1.16;
}

.cta-title em {
	display: block;
	font-family: var(--font-display);
}

.cta-arrow {
	display: inline-block;
	transition: transform .5s var(--ease);
}

.cta-arrow:hover {
	transform: translateX(12px);
}

.cta-arrow img {
	width: 150px;
	height: auto;
	margin: 0 auto;
}

/* 10. Portfolio ------------------------------------------------------------ */
.filters-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 30px;
	margin: 60px 0 40px;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 45px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.filters button {
	position: relative;
	padding: 0 0 4px;
	border: 0;
	background: none;
	color: rgba(0, 0, 0, .58);
	font-family: var(--font-display);
	font-size: 18px;
	letter-spacing: .01em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .3s var(--ease);
}

.filters button::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}

.filters button:hover,
.filters button.is-active {
	color: #000;
}

.filters button.is-active::after,
.filters button:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.filters-bar--pink .filters button {
	color: var(--text);
}

.filters-bar--pink .filters button:hover,
.filters-bar--pink .filters button.is-active {
	color: var(--pink);
}

.filters-bar--pink .filters button::after {
	display: none;
}

.pf-grid {
	display: grid;
	gap: 50px 30px;
}

.pf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pf-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 80px 30px; }

.pf-card[hidden] {
	display: none;
}

.pf-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: linear-gradient(180deg, #e0e0e0, #f4f4f4 60%, #d8d8d8);
}

.pf-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.pf-card--large .pf-card__media img {
	aspect-ratio: 4 / 3;
}

.pf-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .32);
	opacity: 0;
	transition: opacity .6s var(--ease);
}

.pf-card__arrow {
	position: absolute;
	right: 25px;
	bottom: 25px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--pink);
	opacity: 0;
	transform: translate(-12px, 12px);
	transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.pf-card__arrow .adp-icon {
	width: 22px;
	height: 22px;
}

.pf-card:hover .pf-card__media img {
	transform: scale(1.06);
}

.pf-card:hover .pf-card__media::after,
.pf-card:hover .pf-card__arrow {
	opacity: 1;
	transform: none;
}

.pf-card__body {
	padding-top: 22px;
}

.pf-card__title {
	margin: 0 0 .4em;
	font-size: 25px;
	line-height: 1.2;
}

.pf-card__title a {
	color: var(--pink);
	text-decoration: none;
}

.pf-card__title a:hover {
	color: #000;
}

.pf-card__cat {
	margin: 0;
	color: #000;
	font-weight: 500;
	font-size: 17px;
}

.pf-grid--plain .pf-card__title a {
	color: #000;
}

.pf-grid--plain .pf-card__title a:hover {
	color: var(--pink);
}

/*
 * Pagina Portfolio (schede grandi): come lo "style01" del vecchio tema,
 * al passaggio del mouse un riquadro rosa si apre dal basso dentro
 * l'immagine, poi compaiono titolo e tipologia.
 */
.pf-card--large {
	position: relative;
}

.pf-card--large .pf-card__media::after,
.pf-card--large .pf-card__arrow {
	display: none;
}

.pf-card--large:hover .pf-card__media img {
	transform: scale(1.05);
}

.pf-card--large .pf-card__body {
	position: absolute;
	left: 5%;
	right: 5%;
	bottom: 1.5em;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 20px;
	padding: 1.6em 7%;
	border-radius: 4px;
	background: var(--pink);
	clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
	transform: translateY(1em);
	transition: clip-path .65s var(--ease), transform .65s var(--ease);
	pointer-events: none; /* i clic passano al link dell'immagine */
}

.pf-card--large .pf-card__title,
.pf-card--large .pf-card__cat {
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: transform .85s var(--ease), opacity .85s var(--ease), visibility .85s var(--ease);
}

.pf-card--large .pf-card__title {
	font-size: 22px;
}

.pf-card--large .pf-card__title a {
	color: #fff;
	pointer-events: auto;
}

.pf-card--large .pf-card__title a:hover {
	color: #fff;
}

.pf-card--large:hover .pf-card__body,
.pf-card--large:focus-within .pf-card__body {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	transform: none;
}

.pf-card--large:hover .pf-card__title,
.pf-card--large:hover .pf-card__cat,
.pf-card--large:focus-within .pf-card__title,
.pf-card--large:focus-within .pf-card__cat {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.pf-card--large:hover .pf-card__title { transition-delay: .2s; }
.pf-card--large:hover .pf-card__cat { transition-delay: .35s; }

/* Su telefoni e tablet non c'è il passaggio del mouse: riquadro sempre visibile. */
@media (hover: none) {
	.pf-card--large .pf-card__body {
		clip-path: none;
		transform: none;
	}

	.pf-card--large .pf-card__title,
	.pf-card--large .pf-card__cat {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

.page-title {
	margin-bottom: .9em;
	font-size: clamp(40px, 4.5vw, 52px);
	line-height: 1.15;
}

.page-title--medium {
	font-size: clamp(36px, 4vw, 48px);
}

.section--page-intro {
	padding-top: 130px;
	padding-bottom: 60px;
}

.portfolio-note {
	margin-top: 1.8em;
	color: var(--black);
	font-family: var(--font-display);
	font-size: 19px;
	line-height: 1.45;
}

/* Progetto singolo */
.project-hero {
	padding-top: 140px;
	padding-bottom: 60px;
}

.project-hero__figure {
	position: relative;
	margin: 0;
	padding: 0 0 0 40px;
}

.project-hero__image img {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.project-hero__side {
	position: absolute;
	top: 50%;
	left: 0;
	color: #000;
	font-family: var(--font-display);
	font-size: 17px;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: translateY(-50%) rotate(180deg);
}

.ripple-button {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	transform: translate(-50%, -50%);
	transition: background-color .3s, color .3s;
}

.ripple-button .adp-icon {
	position: relative;
	z-index: 2;
	width: 22px;
	height: 22px;
}

.ripple-button:hover {
	background: #fff;
	color: #000;
}

/* Fuori dal flusso della griglia, così l'icona resta centrata. */
.ripple-button__waves {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ripple-button__waves span {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid #fff;
	opacity: 0;
	animation: ripple 3s var(--ease) infinite;
}

.ripple-button__waves span:nth-child(2) { animation-delay: 1s; }
.ripple-button__waves span:nth-child(3) { animation-delay: 2s; }

@keyframes ripple {
	0% { opacity: .8; transform: scale(1); }
	100% { opacity: 0; transform: scale(2.4); }
}

.project-body {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: center;
	padding-bottom: 60px;
}

.project-title {
	font-size: clamp(34px, 3.2vw, 40px);
	margin-bottom: .8em;
}

.project-content {
	color: var(--text);
}

.project-content ul,
.entry-content ul.is-style-checks {
	margin: 0 0 1.8em;
	padding: 0;
	list-style: none;
}

.project-content li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 4px;
	color: var(--text);
	font-size: 18px;
}

.project-content li::before {
	content: "";
	position: absolute;
	top: .5em;
	left: 0;
	width: 13px;
	height: 9px;
	border-left: 2.5px solid var(--pink);
	border-bottom: 2.5px solid var(--pink);
	transform: rotate(-45deg);
	transform-origin: center;
}

.meta-label {
	margin: 0 0 .4em;
	color: #000;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.meta-value {
	margin-bottom: 2em;
	font-size: 18px;
}

.share-links {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share-links a {
	display: block;
	color: #000;
}

.share-links a:hover {
	color: var(--pink);
}

.share-links .adp-icon {
	width: 20px;
	height: 20px;
}

.section--other-projects {
	padding-top: 60px;
	padding-bottom: 120px;
}

.section--project-review {
	padding-top: 60px;
	padding-bottom: 40px;
}

.project-review {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 20px;
}

.project-review--text-only {
	grid-template-columns: 1fr;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.project-review__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 60px 15%;
	border: 1px solid #e8e8e8;
	background: #fff;
}

.project-review__text p {
	margin: 0 0 1.5em;
	font-size: 17px;
	line-height: 1.75;
}

.project-review__quote {
	align-self: flex-end;
	width: 50px;
	height: 50px;
	color: var(--pink);
}

.project-review__media {
	border: 1px solid #e8e8e8;
	border-left: 0;
}

.project-review__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-review__more {
	margin-top: 60px;
}

/* 11. Blog ----------------------------------------------------------------- */
.section--blog-intro {
	padding: 120px 0 40px;
}

.blog-intro {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 40px;
	align-items: start;
}

.blog-intro__title {
	margin: 0;
	font-size: clamp(70px, 9.2vw, 132px);
	line-height: 1;
}

.blog-intro__text {
	margin: 0;
	font-size: 17px;
}

.section--blog-list {
	padding-top: 40px;
}

.filters-bar--blog {
	justify-content: flex-start;
	margin-top: 40px;
}

.filters-bar__label {
	color: #000;
	font-family: var(--font-display);
	font-size: 17px;
}

.filters-bar--blog .filters {
	gap: 10px 35px;
}

.filters-bar--blog .filters button {
	color: var(--pink);
	font-size: 17px;
}

.filters-bar--blog .filters button.is-active,
.filters-bar--blog .filters button:hover {
	color: #000;
}

.post-grid {
	display: grid;
	gap: 30px 60px;
}

.post-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: var(--shadow-card);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.post-card[hidden] {
	display: none;
}

.post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 35px 80px rgba(0, 0, 0, .1);
}

.post-card__media {
	display: block;
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 760 / 540;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.05);
}

.post-card__cat {
	position: absolute;
	top: 25px;
	left: 25px;
	padding: 4px 15px;
	border-radius: 50px;
	background: #fff;
	color: #000;
	font-family: var(--font-display);
	font-size: 15px;
	line-height: 1.6;
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__cat:hover {
	background: var(--pink);
	color: #fff;
}

.post-card__body {
	padding: 30px 32px 35px;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 1em;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.post-card__author {
	color: #000;
	font-family: var(--font-display);
	font-size: 15px;
	letter-spacing: 0;
}

.post-card__meta time::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 14px 2px 0;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}

.post-card__title {
	margin: 0 0 .6em;
	font-size: 21px;
	line-height: 1.6;
}

.post-card__title a {
	text-decoration: none;
}

.post-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.85;
}

.post-grid--flat .post-card {
	background: none;
	box-shadow: none;
}

.post-grid--flat .post-card__body {
	padding: 22px 0 0;
}

.post-grid--flat .post-card:hover {
	transform: none;
}

.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	color: #000;
	text-decoration: none;
}

.page-numbers.current {
	color: var(--pink);
}

/* 12. Articolo singolo ----------------------------------------------------- */
.post-hero {
	padding: 75px 0 30px;
}

.post-hero__inner {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 0 80px;
	padding: 0 70px;
}

.post-hero__text {
	align-self: center;
}

.post-hero__cat {
	display: inline-block;
	margin-bottom: 10px;
	color: #000;
	font-family: var(--font-display);
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
}

.post-hero__title {
	max-width: 460px;
	margin-bottom: .6em;
	font-size: clamp(34px, 3.2vw, 44px);
	line-height: 1.1;
}

.post-hero__summary {
	max-width: 470px;
	margin: 0;
	font-size: 17px;
	line-height: 1.95;
}

.post-hero__media {
	margin: 0;
}

.post-hero__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.post-hero__meta {
	grid-column: 1 / -1;
	display: flex;
	gap: 30px;
	margin: 25px 0 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #ccc;
	color: #000;
	font-family: var(--font-display);
	font-size: 16px;
}

.post-content {
	max-width: 1150px;
	padding-top: 80px;
	padding-bottom: 40px;
}

.entry-content > * + * {
	margin-top: 0;
}

.entry-content h2 {
	margin: 1.4em 0 .6em;
	font-size: 31px;
	line-height: 1.25;
}

.entry-content h3 {
	margin: 1.4em 0 .6em;
	font-size: 25px;
}

.entry-content h4 {
	font-size: 21px;
}

.entry-content a {
	color: var(--pink);
}

.entry-content a:hover {
	color: #000;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em;
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: .3em;
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 0 0 0 30px;
	border-left: 3px solid var(--pink);
	color: #000;
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1.5;
}

.entry-content figure {
	margin: 0 0 1.5em;
}

.entry-content img {
	height: auto;
}

.entry-content figcaption {
	margin-top: .6em;
	font-size: 14px;
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid #e3e3e3;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	color: #000;
	font-family: var(--font-display);
	font-weight: 400;
}

.table-wrap {
	overflow-x: auto;
	margin-bottom: 1.5em;
}

/* Indice dell'articolo */
.entry-content nav.toc,
.entry-content > nav:first-child {
	margin-bottom: 2.5em;
}

.entry-content nav h2 {
	margin-top: 0;
	font-size: 31px;
}

.entry-content nav ul {
	padding-left: 1.4em;
}

.entry-content nav a {
	color: #5d7be8;
	text-decoration: none;
}

.entry-content nav a:hover {
	color: var(--pink);
}

/* Colonne testo + immagine (dai container Elementor) */
.wp-block-columns {
	display: flex;
	gap: 50px;
	margin-bottom: 1.5em;
}

.wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.wp-block-column.adp-col-media img,
.wp-block-column figure img {
	width: 100%;
	border-radius: 30px;
}

.alignright {
	float: right;
	margin: 0 0 1.5em 2em;
}

.alignleft {
	float: left;
	margin: 0 2em 1.5em 0;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.post-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 30px;
	align-items: center;
	max-width: 1170px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.post-footer__label {
	margin-right: 20px;
	color: #000;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.post-tags a {
	margin-right: 30px;
	color: #000;
	font-size: 17px;
	text-decoration: none;
}

.post-tags a:hover {
	color: var(--pink);
}

.post-share {
	display: flex;
	align-items: center;
	grid-column: 2;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	grid-column: 1 / -1;
	gap: 30px;
	margin-top: 30px;
}

.post-nav__link {
	display: flex;
	flex-direction: column;
	gap: 15px;
	max-width: 48%;
	color: #000;
	text-decoration: none;
}

.post-nav__link--next {
	align-items: flex-end;
	margin-left: auto;
	text-align: right;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px;
	border-radius: 50px;
	background: #f2f4f8;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	transition: background-color .3s;
}

.post-nav__link:hover .pill {
	background: var(--pink);
	color: #fff;
}

.post-nav__link strong {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 400;
}

.section--related {
	padding-top: 60px;
}

/* 13. Pagine generiche ----------------------------------------------------- */
.page-generic {
	padding: 120px 0 80px;
}

.section--404 {
	padding: 160px 0 100px;
}

.section--contact {
	padding: 0 0 100px;
}

.contact {
	display: grid;
	grid-template-columns: 40% 60%;
}

.contact__info {
	padding: 55px 15% 15px 0;
}

.contact__title {
	font-size: 43px;
	margin-bottom: .9em;
}

.contact__lead {
	margin-bottom: 2.6em;
	color: #000;
	font-size: 18px;
	line-height: 1.7;
}

.contact__link {
	color: var(--text);
	font-size: 17px;
	text-decoration: none;
}

.contact__link:hover {
	color: var(--pink);
}

.contact__info p {
	margin-bottom: 1.85em;
}

.contact__form {
	padding: 35px 65px 10px 84px;
}

/* 14. Footer --------------------------------------------------------------- */
.site-footer {
	padding-top: 40px;
}

.footer-visual {
	position: relative;
	padding-top: 166px;
	margin-bottom: 0;
}

.footer-visual__image {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	max-width: 1020px;
	will-change: transform;
}

.footer-visual__image img {
	width: 100%;
	height: auto;
}

.footer-instagram {
	position: relative;
	z-index: 2;
	width: calc(100% - 270px);
	max-width: 1170px;
	margin: 0 auto 40px;
	padding: 30px;
	background: #f0f0f1;
}

.footer-instagram #sb_instagram {
	padding-bottom: 0 !important;
}

.footer-main {
	position: relative;
	width: 75%;
	padding: 140px 40px 45px 120px;
	background: #000;
	color: rgba(255, 255, 255, .65);
}

.footer-main__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 50px;
}

.footer-main__title {
	max-width: 33%;
	min-width: 260px;
	margin: 0;
	color: #fff;
	font-size: 33px;
	line-height: 1.21;
}

.footer-main__mark {
	width: 70px;
	height: 70px;
	border-radius: 50%;
}

.footer-main__contacts {
	display: grid;
	grid-template-columns: 20% 30% 1fr;
	align-items: start;
}

.footer-main__contacts p {
	margin: 0;
	font-size: 17px;
	line-height: 25px;
}

.footer-main__contacts a {
	color: rgba(255, 255, 255, .65);
	text-decoration: none;
}

.footer-main__contacts a:hover,
.footer-main__links a:hover,
.footer-main__links .link-button:hover {
	color: var(--pink);
}

.footer-main__services {
	max-width: 200px;
	padding-right: 10px;
	font-size: 15px !important;
	line-height: 2 !important;
}

.footer-main__services i {
	color: var(--pink);
	font-style: normal;
}

.footer-main__links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 30px 0 20px;
}

.footer-main__links a,
.footer-main__links .link-button {
	color: rgba(255, 255, 255, .65);
	font-family: var(--font-display);
	font-size: 17px;
	text-decoration: none;
}

.legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-main__copy {
	margin: 0;
	padding-top: 15px;
	border-top: 1px solid #efefef;
	font-style: italic;
	text-align: right;
}

/* 15. Modale e moduli ------------------------------------------------------ */
.modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	overflow-y: auto;
	padding: 60px 0;
	background: #f4f1ee;
	opacity: 0;
	visibility: hidden;
	transform: translateY(30px);
	transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}

.modal.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s;
}

.modal[hidden] {
	display: none;
}

.modal__close {
	position: fixed;
	top: 30px;
	right: 40px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	color: #fff;
	cursor: pointer;
	transition: transform .5s var(--ease), background-color .3s;
}

.modal__close:hover {
	background: var(--pink);
	transform: rotate(90deg);
}

.modal__close .adp-icon {
	width: 20px;
	height: 20px;
}

.modal__inner {
	display: grid;
	grid-template-columns: 55.5% 44.5%;
	align-items: center;
}

.modal__intro {
	padding: 10px 100px 10px 10px;
}

.modal__title {
	margin: 0 0 .5em;
	color: #000;
	font-size: clamp(56px, 6.3vw, 90px);
	line-height: .85;
}

.modal__lead {
	margin-bottom: 100px;
	font-size: 18px;
}

.modal__contacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.modal__contacts h3 {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1px;
	text-transform: uppercase;
}

.modal__contacts p {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.18;
}

.modal__contacts a {
	color: #000;
	text-decoration: none;
}

.modal__contacts a:hover {
	color: var(--pink);
}

/* Modulo Contact Form 7 – stile "sottolineato" del tema originale. */
.adp-form .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 30px;
}

.adp-form .col-md-12 {
	grid-column: 1 / -1;
}

.adp-form p {
	margin: 0;
}

.adp-form .col-md-6 > p,
.adp-form .col-md-12 > p {
	color: rgba(0, 0, 0, .3) !important;
	font-size: 12px !important;
}

.adp-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 30px;
}

.adp-form input[type="text"],
.adp-form input[type="email"],
.adp-form input[type="tel"],
.adp-form input[type="url"],
.adp-form input[type="number"],
.adp-form textarea,
.adp-form select {
	display: block;
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
	color: #000;
	font-family: var(--font-text);
	font-size: 14px;
	transition: border-color .3s var(--ease);
}

.adp-form--large input[type="text"],
.adp-form--large input[type="email"],
.adp-form--large input[type="tel"],
.adp-form--large textarea {
	border-bottom-width: 2px;
	font-size: 17px;
}

.adp-form textarea {
	height: 150px;
	resize: vertical;
}

.adp-form input::placeholder,
.adp-form textarea::placeholder {
	color: #000;
	opacity: 1;
}

.adp-form input:focus,
.adp-form textarea:focus {
	border-color: #000;
	outline: none;
}

.adp-form .wpcf7-acceptance {
	display: block;
	margin-bottom: 30px;
}

.adp-form .wpcf7-list-item {
	margin: 0;
}

.adp-form .wpcf7-acceptance label {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--text);
	font-size: 17px;
	cursor: pointer;
}

.adp-form .wpcf7-acceptance .wpcf7-list-item-label {
	display: inline !important;
}

.adp-form input[type="checkbox"] {
	flex-shrink: 0;
	width: 25px;
	height: 25px;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 2px;
	background: #fff;
	accent-color: var(--pink);
	cursor: pointer;
}

.adp-form input[type="submit"],
.adp-form button[type="submit"] {
	display: block;
	width: 100%;
	padding: 14px 20px;
	border: 1px solid var(--pink);
	border-radius: 2px;
	background: var(--pink);
	color: #fff;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

.adp-form--large input[type="submit"] {
	padding: 17px 20px;
	font-size: 19px;
	font-weight: 400;
}

.adp-form input[type="submit"]:hover {
	border-color: #000;
	background: #000;
}

.adp-form .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.adp-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #c0392b;
	font-size: 13px;
}

.adp-form .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: 4px;
	font-size: 15px;
}

.adp-notice {
	padding: 15px 20px;
	border-left: 4px solid var(--pink);
	background: #fff;
}

/* 16. Cookie e WhatsApp ---------------------------------------------------- */
.cookie-banner {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2000;
	width: min(530px, calc(100% - 40px));
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 26px 26px 18px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 50px rgba(0, 0, 0, .18);
	color: #222;
	font-size: 13px;
	line-height: 1.6;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .5s var(--ease), transform .6s var(--ease);
}

.cookie-banner.is-visible {
	opacity: 1;
	transform: none;
}

.cookie-banner__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	cursor: pointer;
}

.cookie-banner__close .adp-icon {
	width: 18px;
	height: 18px;
}

.cookie-banner__title {
	margin: 0 30px 10px 0;
	color: #000;
	font-family: var(--font-display);
	font-size: 18px;
}

.cookie-banner__text {
	margin-bottom: 16px;
}

.cookie-banner__actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.cookie-btn {
	padding: 11px 10px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #000;
	color: #fff;
	font-family: var(--font-display);
	font-size: 15px;
	cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}

.cookie-btn:hover {
	border-color: var(--pink);
	background: var(--pink);
	color: #fff;
}

.cookie-btn--ghost {
	background: #fff;
	color: #000;
}

.cookie-btn[hidden] {
	display: none;
}

.cookie-banner__links {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin: 14px 0 0;
	font-size: 12px;
}

.cookie-prefs {
	margin-bottom: 16px;
	border-top: 1px solid #eee;
}

.cookie-prefs__row {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.cookie-prefs__row p {
	margin: 4px 0 0 54px;
	font-size: 12px;
	color: #555;
}

.switch {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #000;
	font-family: var(--font-display);
	font-size: 15px;
	cursor: pointer;
}

.switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.switch__ui {
	position: relative;
	flex-shrink: 0;
	width: 42px;
	height: 24px;
	border-radius: 24px;
	background: #ccc;
	transition: background-color .3s;
}

.switch__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform .3s var(--ease);
}

.switch input:checked + .switch__ui {
	background: var(--pink);
}

.switch input:checked + .switch__ui::after {
	transform: translateX(18px);
}

.switch input:disabled + .switch__ui {
	opacity: .55;
}

.switch input:focus-visible + .switch__ui {
	outline: 2px solid var(--pink);
	outline-offset: 2px;
}

.switch small {
	color: #777;
	font-size: 12px;
}

.cookie-reopen {
	position: fixed;
	left: 20px;
	bottom: 95px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
	color: #000;
	cursor: pointer;
	transition: transform .4s var(--ease), color .3s;
}

.cookie-reopen:hover {
	color: var(--pink);
	transform: scale(1.08);
}

.cookie-reopen[hidden] {
	display: none;
}

.cookie-reopen .adp-icon {
	width: 22px;
	height: 22px;
}

.whatsapp-button {
	position: fixed;
	left: 25px;
	bottom: 25px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #4ad366;
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
	transition: transform .4s var(--ease);
}

.whatsapp-button:hover {
	color: #fff;
	transform: scale(1.08);
}

.whatsapp-button .adp-icon {
	width: 30px;
	height: 30px;
}

.cookie-policy h2 {
	font-size: 26px;
}

/* 17. Animazioni ----------------------------------------------------------- */
/* Gli effetti partono solo se il JavaScript è attivo (classe .js). */
.js [data-reveal] {
	opacity: 0;
	transition: opacity 1.2s var(--ease) var(--delay, 0s), transform 1.4s var(--ease) var(--delay, 0s);
}

.js [data-reveal="up"] {
	transform: translate3d(0, 60px, 0);
}

.js [data-reveal="left"] {
	transform: translate3d(65px, 0, 0);
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* Parole che salgono dalla maschera. */
.w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .12em;
	margin-bottom: -.12em;
}

.w__i {
	display: inline-block;
}

.js [data-split-lines] .w__i,
.js [data-split] .w__i {
	transform: translate3d(0, 105%, 0);
	transition: transform 1.3s var(--ease) var(--d, 0s);
}

.js [data-split-lines].is-in .w__i {
	transform: none;
}

/* Titoli dell'hero: entrano al caricamento e cambiano con le frecce. */
.js.is-loaded .hero__slide.is-active [data-split] .w__i {
	transform: none;
	transition-delay: calc(var(--d, 0s) + .1s);
}

.js .hero__slide.is-leaving [data-split] .w__i {
	transform: translate3d(0, -105%, 0);
	transition: transform .55s var(--ease-in-out) calc(var(--d, 0s) * .4);
}

.js .hero__slide:not(.is-active):not(.is-leaving) .mask > span,
.js .hero__slide:not(.is-active):not(.is-leaving) [data-split] .w__i {
	transition: none;
}

/* Senza JavaScript le slide non attive restano nascoste. */
.hero__slide:not(.is-active):not(.is-leaving) {
	visibility: hidden;
}

.no-js .hero__slide:not(:first-child) {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}

	.js [data-reveal],
	.js [data-split-lines] .w__i,
	.js [data-split] .w__i {
		opacity: 1;
		transform: none;
	}
}

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1199px) {
	.hero__nav {
		right: 7.5%;
	}

	.footer-main {
		width: 85%;
		padding-left: 60px;
	}

	.footer-instagram {
		width: calc(100% - 60px);
	}
}

@media (max-width: 991px) {
	.site-header__inner {
		padding: 0 20px;
	}

	.side-bar {
		display: none;
	}

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 60;
		display: flex;
		align-items: flex-start;
		padding: 40px 30px;
		background: var(--pink);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
	}

	.is-menu-open .main-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s;
	}

	.main-nav__list {
		flex-direction: column;
		width: 100%;
	}

	.main-nav__list a {
		padding: 12px 0;
		border-bottom: 1px solid rgba(0, 0, 0, .12);
		font-size: 30px;
	}

	.main-nav__list .current-menu-item > a {
		text-decoration: underline;
	}

	.header-cta {
		margin-left: 25px;
	}

	.hero {
		padding: 0 20px 40px;
	}

	.hero__slides {
		margin-left: 0;
		padding-top: 60px;
		min-height: 330px;
	}

	.hero__slide {
		grid-template-columns: 1fr;
	}

	.hero__info {
		padding-top: 12px;
	}

	.hero__subtitle,
	.hero__desc {
		font-size: 21px;
	}

	.hero__subtitle {
		min-width: 0;
	}

	.hero__nav {
		right: 0;
		bottom: 40px;
	}

	.grid-25-75 {
		grid-template-columns: 1fr;
	}

	.services {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px 30px;
	}

	.pf-grid--3,
	.post-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.blog-intro,
	.post-hero__inner,
	.project-body,
	.project-review,
	.contact,
	.modal__inner {
		grid-template-columns: 1fr;
	}

	.post-hero__inner {
		padding: 0 var(--gutter);
	}

	.post-hero__media {
		margin-top: 30px;
	}

	.contact__info {
		padding-right: 0;
	}

	.contact__form {
		padding: 20px 0;
	}

	.modal__intro {
		padding: 0 0 40px;
	}

	.modal__lead {
		margin-bottom: 40px;
	}

	.carousel {
		padding: 0 60px;
	}

	.carousel__arrow--prev { left: 0; }
	.carousel__arrow--next { right: 0; }

	.footer-visual__image {
		width: 85%;
	}

	.footer-main {
		width: 100%;
		padding: 80px 30px 40px;
	}

	.footer-main__contacts {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.footer-main__services {
		max-width: none;
	}

	.wp-block-columns {
		flex-direction: column;
		gap: 0;
	}
}

@media (max-width: 767px) {
	:root {
		--header-h: 70px;
	}

	body {
		font-size: 16px;
	}

	.section {
		padding: 70px 0;
	}

	.site-logo img {
		max-height: 40px;
	}

	.menu-toggle__text {
		display: none;
	}

	.header-cta {
		margin-left: 18px;
		padding: .45em 1.1em;
		font-size: 15px;
	}

	.hero__title {
		font-size: clamp(56px, 19vw, 90px);
	}

	.hero__nav {
		position: relative;
		right: auto;
		bottom: auto;
		display: inline-flex;
		margin-top: 30px;
	}

	.section--why {
		padding-top: 80px;
	}

	.filters {
		gap: 8px 22px;
	}

	.filters button {
		font-size: 15px;
	}

	.pf-grid--3,
	.pf-grid--2,
	.post-grid--2,
	.post-grid--3,
	.services {
		grid-template-columns: 1fr;
	}

	.about__counter {
		margin-top: -60px;
		padding-left: 0;
	}

	.carousel {
		padding: 0;
	}

	.carousel__arrow {
		top: auto;
		bottom: -12px;
		transform: none;
	}

	.carousel__arrow--prev:hover,
	.carousel__arrow--next:hover {
		transform: none;
	}

	.review p {
		font-size: 19px;
	}

	.review cite {
		font-size: 20px;
	}

	.section--cta {
		padding: 100px 0 70px;
	}

	.section--cta-top {
		padding: 80px 0 40px;
	}

	.adp-form .row {
		grid-template-columns: 1fr;
	}

	.project-hero {
		padding-top: 60px;
	}

	.project-hero__figure {
		padding-left: 28px;
	}

	.project-hero__side {
		font-size: 13px;
	}

	.post-footer {
		grid-template-columns: 1fr;
	}

	.post-share {
		grid-column: 1;
	}

	.post-nav {
		flex-direction: column;
	}

	.post-nav__link {
		max-width: none;
	}

	.footer-visual {
		padding-top: 90px;
	}

	.footer-instagram {
		width: calc(100% - 30px);
		padding: 15px;
	}

	.footer-main__top {
		flex-direction: column-reverse;
	}

	.footer-main__links {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-main__copy {
		text-align: left;
	}

	.cookie-banner {
		right: 10px;
		bottom: 10px;
		width: calc(100% - 20px);
		padding: 22px 18px 14px;
	}

	.cookie-banner__actions {
		grid-template-columns: 1fr 1fr;
	}

	.cookie-banner__actions [data-cookie-action="customize"],
	.cookie-banner__actions [data-cookie-action="save"] {
		grid-column: 1 / -1;
	}

	.modal__close {
		top: 15px;
		right: 15px;
	}

	.whatsapp-button {
		left: 15px;
		bottom: 15px;
	}

	.cookie-reopen {
		left: 22px;
		bottom: 80px;
	}
}

@media (max-width: 420px) {
	.header-cta {
		display: none;
	}
}
