/* =========================================================
   ASPORTARE UN NEVO
   Namespace: cdpneo-
========================================================= */

.cdpneo-section {
	--cdpneo-coral: #df6669;
	--cdpneo-black: #151515;
	--cdpneo-white: #ffffff;
	--cdpneo-light: #f4f4f5;
	--cdpneo-light-hover: #fffafa;
	--cdpneo-text: #626262;
	--cdpneo-border: #dedede;
	--cdpneo-sticky-top: 110px;

	position: relative;
	width: 100%;
	padding: 112px 0;
	overflow: visible;
	background: var(--cdpneo-white);
	color: var(--cdpneo-text);
	font-family: "Barlow", sans-serif;
}

.cdpneo-section,
.cdpneo-section * {
	box-sizing: border-box;
}

.cdpneo-section h2,
.cdpneo-section h3,
.cdpneo-section p {
	margin-top: 0;
	font-family: "Barlow", sans-serif;
	text-transform: none;
}

.cdpneo-container {
	width: min(1220px, calc(100% - 56px));
	margin: 0 auto;
}

.cdpneo-layout {
	display: grid;
	grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
	gap: clamp(70px, 9vw, 140px);
	align-items: start;
}

/* =========================================================
   COLONNA SINISTRA STICKY
========================================================= */

.cdpneo-aside {
	position: sticky;
	top: var(--cdpneo-sticky-top);
	align-self: start;
}

.cdpneo-eyebrow {
	display: inline-flex;
	margin-bottom: 21px;
	align-items: center;
	gap: 11px;
	color: var(--cdpneo-coral);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cdpneo-eyebrow::before {
	width: 30px;
	height: 2px;
	flex: 0 0 30px;
	content: "";
	background: currentColor;
}

.cdpneo-aside h2 {
	max-width: 520px;
	margin: 0 0 30px;
	color: var(--cdpneo-black);
	font-size: clamp(44px, 5vw, 50px);
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: -0.05em;
}

.cdpneo-aside__intro {
	max-width: 510px;
	margin: 0 0 34px;
	padding-left: 24px;
	border-left: 3px solid var(--cdpneo-coral);
	color: var(--cdpneo-text);
	font-size: 17px;
	line-height: 1.72;
}

.cdpneo-aside__note {
	max-width: 500px;
	padding: 25px;
	border: 1px solid var(--cdpneo-border);
	background: var(--cdpneo-light);
}

.cdpneo-aside__note strong {
	display: block;
	margin-bottom: 9px;
	color: var(--cdpneo-black);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}

.cdpneo-aside__note p {
	margin: 0;
	color: var(--cdpneo-text);
	font-size: 14px;
	line-height: 1.65;
}

/* =========================================================
   COLONNA DESTRA
========================================================= */

.cdpneo-content {
	min-width: 0;
}

.cdpneo-lead {
	margin-bottom: 28px;
	padding: 34px;
	background: var(--cdpneo-light);
}

.cdpneo-lead strong {
	display: block;
	margin-bottom: 13px;
	color: var(--cdpneo-black);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.cdpneo-lead p {
	margin: 0;
	color: var(--cdpneo-text);
	font-size: 16px;
	line-height: 1.75;
}

/* =========================================================
   FASI
========================================================= */

.cdpneo-steps {
	display: grid;
	margin-bottom: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--cdpneo-border);
	border-left: 1px solid var(--cdpneo-border);
}

.cdpneo-step {
	min-height: 245px;
	padding: 27px;
	border-right: 1px solid var(--cdpneo-border);
	border-bottom: 1px solid var(--cdpneo-border);
	background: var(--cdpneo-white);
	transition:
		background-color 0.35s ease,
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s ease;
}

.cdpneo-step:hover {
	position: relative;
	z-index: 2;
	background: var(--cdpneo-light-hover);
	box-shadow: 0 16px 36px rgba(20, 20, 20, 0.06);
	transform: translateY(-4px);
}

.cdpneo-step__number {
	display: block;
	margin-bottom: 53px;
	color: var(--cdpneo-coral);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.13em;
}

.cdpneo-step h3 {
	margin: 0 0 13px;
	color: var(--cdpneo-black);
	font-size: 24px;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.cdpneo-step p {
	margin: 0;
	color: var(--cdpneo-text);
	font-size: 14px;
	line-height: 1.65;
}

/* =========================================================
   ACCORDION
========================================================= */

.cdpneo-details {
	border: 1px solid var(--cdpneo-border);
	background: var(--cdpneo-white);
}

.cdpneo-details summary {
	position: relative;
	display: flex;
	min-height: 84px;
	padding: 25px 78px 25px 29px;
	align-items: center;
	color: var(--cdpneo-black);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
	transition: background-color 0.3s ease;
}

.cdpneo-details summary::-webkit-details-marker {
	display: none;
}

.cdpneo-details summary:hover,
.cdpneo-details[open] summary {
	background: var(--cdpneo-light-hover);
}

.cdpneo-details summary::before,
.cdpneo-details summary::after {
	position: absolute;
	top: 50%;
	content: "";
	background: var(--cdpneo-coral);
	transform: translateY(-50%);
	transition: transform 0.3s ease;
}

.cdpneo-details summary::before {
	right: 29px;
	width: 16px;
	height: 1.5px;
}

.cdpneo-details summary::after {
	right: 36.25px;
	width: 1.5px;
	height: 16px;
}

.cdpneo-details[open] summary::after {
	transform: translateY(-50%) rotate(90deg);
}

.cdpneo-details__content {
	padding: 8px 29px 35px;
	border-top: 1px solid #ececec;
}

.cdpneo-details__content p {
	max-width: 940px;
	margin: 24px 0 0;
	color: var(--cdpneo-text);
	font-size: 16px;
	line-height: 1.8;
}

.cdpneo-details__content p:first-child {
	color: #4f4f4f;
	font-size: 18px;
}

.cdpneo-details__content strong {
	color: var(--cdpneo-black);
	font-weight: 700;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

	.cdpneo-layout {
		grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
		gap: 55px;
	}

	.cdpneo-steps {
		grid-template-columns: 1fr;
	}

	.cdpneo-step {
		min-height: auto;
	}

	.cdpneo-step__number {
		margin-bottom: 34px;
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

	.cdpneo-section {
		padding: 76px 0;
	}

	.cdpneo-container {
		width: min(100% - 34px, 1220px);
	}

	.cdpneo-layout {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.cdpneo-aside {
		position: relative;
		top: auto;
	}

	.cdpneo-aside h2 {
		font-size: clamp(38px, 10.5vw, 54px);
	}

	.cdpneo-aside__intro {
		font-size: 16px;
	}

	.cdpneo-aside__note {
		padding: 22px;
	}

	.cdpneo-lead {
		padding: 27px;
	}

	.cdpneo-lead strong {
		font-size: 20px;
	}

	.cdpneo-step {
		padding: 27px;
	}

	.cdpneo-details summary {
		min-height: 76px;
		padding: 21px 63px 21px 21px;
		font-size: 16px;
	}

	.cdpneo-details summary::before {
		right: 22px;
	}

	.cdpneo-details summary::after {
		right: 29.25px;
	}

	.cdpneo-details__content {
		padding: 7px 21px 28px;
	}

	.cdpneo-details__content p,
	.cdpneo-details__content p:first-child {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.cdpneo-section *,
	.cdpneo-section *::before,
	.cdpneo-section *::after {
		transition: none !important;
	}
}
