/**
 * SORBOS: pagine con modello dedicato (page-chi-siamo.php, page-per-bar-e-ristoranti.php, page-contatti.php).
 * Usa i colori e i componenti di main.css (kicker, section-title, btn, horeca, real-straw).
 */

/* --------------------------------------------------------------------------
 * Apertura comune
 * ----------------------------------------------------------------------- */
.ph {
	position: relative;
	padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) clamp(3rem, 6vw, 5rem);
	overflow: hidden;
	isolation: isolate;
}

.ph--light {
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 79, 154, 0.18), transparent 40%),
		radial-gradient(circle at 10% 90%, rgba(198, 241, 107, 0.35), transparent 40%),
		var(--bg-alt);
}

.ph__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.ph__title {
	margin: 0.5rem 0 1.2rem;
	font-size: clamp(3rem, 7vw, 6.2rem);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.045em;
}

.ph__title em {
	display: block;
	color: var(--pink);
}

.ph__lead {
	max-width: 46ch;
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	color: var(--ink-soft);
}

.ph__copy--center {
	display: grid;
	justify-items: center;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.ph__copy--center .ph__title em {
	display: inline;
}

@media (max-width: 860px) {
	.ph__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
 * Chi siamo
 * ----------------------------------------------------------------------- */
.about-hero {
	position: relative;
	min-height: clamp(320px, 38vw, 520px);
}

.about-hero__straw {
	position: absolute;
	top: 46%;
	left: -6%;
	width: 118%;
	max-width: none;
	height: auto;
	filter: drop-shadow(0 30px 30px rgba(27, 21, 21, 0.2));
	transform: rotate(-14deg);
	animation: about-float 7s ease-in-out infinite alternate;
}

.about-hero__card {
	position: absolute;
	width: 34%;
	height: auto;
	filter: drop-shadow(0 20px 20px rgba(27, 21, 21, 0.18));
	animation: about-float 8s ease-in-out infinite alternate;
}

.about-hero__card--a { top: -4%; right: 4%; transform: rotate(10deg); }
.about-hero__card--b { bottom: -2%; left: 6%; width: 28%; transform: rotate(-12deg); animation-delay: -3s; }
.about-hero__card--c { bottom: 2%; right: 12%; width: 30%; transform: rotate(6deg); animation-delay: -5s; }

.about-hero__sticker {
	position: absolute;
	top: 8%;
	left: 4%;
	padding: 0.4rem 1.1rem 0.5rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--yellow);
	font-size: clamp(1.3rem, 2vw, 1.8rem);
	box-shadow: 0 4px 0 var(--ink);
	transform: rotate(-8deg);
}

@keyframes about-float {
	to { translate: 0 -14px; }
}

/* La regola d'oro: fascia rosa a tutta larghezza */
.quote-band {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7rem);
	background: var(--pink);
	color: #fff;
	overflow: hidden;
}

.quote-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.7px);
	background-size: 20px 20px;
	mask-image: linear-gradient(120deg, #000, transparent 60%);
	-webkit-mask-image: linear-gradient(120deg, #000, transparent 60%);
	pointer-events: none;
}

.quote-band .container {
	position: relative;
}

.quote-band__kicker {
	margin: 0;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	color: var(--yellow);
	transform: rotate(-3deg);
}

.quote-band__text {
	max-width: 18ch;
	margin: 0.3rem 0 2.4rem;
	font-family: var(--f-display);
	font-size: clamp(2.6rem, 6.4vw, 5.8rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
}

.quote-band__text em {
	color: var(--ink);
}

.quote-band__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.2rem, 4vw, 4rem);
	max-width: 980px;
	font-size: 1.08rem;
}

.quote-band__cols p {
	margin: 0;
}

.quote-band__cols strong {
	color: var(--ink);
}

@media (max-width: 760px) {
	.quote-band__cols {
		grid-template-columns: 1fr;
	}
}

/* La storia in tre tappe */
.story__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.story__step {
	position: relative;
	padding: 1.8rem 1.6rem 1.6rem;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: 6px 6px 0 var(--ink);
}

.story__step--ok {
	background: var(--lime);
}

/* Freccia disegnata verso la tappa successiva */
.story__step:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: calc(-1 * clamp(1rem, 2.5vw, 2rem) + 2px);
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	margin-right: calc(-1.1rem + clamp(0.5rem, 1.25vw, 1rem));
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--yellow);
	font-weight: 800;
	transform: translateY(-50%);
}

.story__icon {
	display: block;
	width: 74px;
	height: 74px;
	margin-bottom: 0.8rem;
}

.story__icon .illu {
	width: 100%;
	height: 100%;
}

.story__icon--ko .illu {
	filter: grayscale(1);
	opacity: 0.6;
}

.story__when {
	font-family: var(--f-script);
	font-size: 1.5rem;
	color: var(--pink);
}

.story__step h3 {
	margin: 0.1rem 0 0.5rem;
	font-size: 1.6rem;
}

.story__step p {
	margin: 0;
	color: var(--ink-soft);
}

@media (max-width: 860px) {
	.story__steps {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.story__step:not(:last-child)::after {
		content: "↓";
		top: auto;
		right: auto;
		bottom: -1.7rem;
		left: 50%;
		margin: 0;
		transform: translateX(-50%);
	}
}

/* Mescola, sorseggia, mordi */
.section--alt {
	background: var(--bg-alt);
}

.gest3__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.gest3__media {
	position: relative;
	margin: 0 0 1rem;
	aspect-ratio: 4 / 3.6;
	border-radius: var(--radius);
	overflow: hidden;
}

.gest3__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	transition: transform 1s var(--ease);
}

.gest3__item:hover .gest3__media img {
	transform: scale(1.06);
}

.gest3__n {
	position: absolute;
	top: 0.8rem;
	left: 1rem;
	font-size: 2.2rem;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.gest3__item h3 {
	margin: 0 0 0.3rem;
	font-size: 1.7rem;
}

.gest3__item p {
	margin: 0;
	color: var(--ink-soft);
}

@media (max-width: 860px) {
	.gest3__list {
		grid-template-columns: 1fr;
	}
}

/* Numeri */
.numbers {
	padding-block: clamp(3rem, 6vw, 4.5rem);
	background: var(--ink);
	color: var(--cream);
}

.numbers__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.numbers__value {
	display: block;
	font-family: var(--f-display);
	font-size: clamp(3.2rem, 7vw, 5.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--yellow);
}

.numbers__item:nth-child(2) .numbers__value { color: var(--pink); }
.numbers__item:nth-child(3) .numbers__value { color: var(--cyan); }
.numbers__item:nth-child(4) .numbers__value { color: var(--lime); }

.numbers__label {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.95rem;
	color: rgba(255, 247, 239, 0.75);
}

@media (max-width: 760px) {
	.numbers__grid {
		grid-template-columns: 1fr 1fr;
		row-gap: 2rem;
	}
}

/* Certificazioni */
.certs__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.certs__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.certs__list li {
	display: grid;
	gap: 0.2rem;
	padding: 1.3rem 1.4rem;
	border: 2px solid var(--ink);
	border-radius: 22px;
	background: var(--paper);
	box-shadow: 4px 4px 0 var(--ink);
}

.certs__list li:nth-child(1) { background: var(--yellow); }
.certs__list li:nth-child(2) { background: var(--lime); }
.certs__list li:nth-child(3) { background: var(--pink-soft); }
.certs__list li:nth-child(4) { background: #c8f1ef; }

.certs__list strong {
	font-family: var(--f-display);
	font-size: 1.5rem;
	line-height: 1.05;
}

.certs__list span {
	font-size: 0.92rem;
	color: var(--ink-soft);
}

@media (max-width: 860px) {
	.certs__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.certs__list {
		grid-template-columns: 1fr;
	}
}

/* SORBOS in Italia */
.italy__card {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(circle at 90% 10%, rgba(255, 79, 154, 0.35), transparent 45%),
		var(--ink);
	color: var(--cream);
}

.italy {
	padding-top: 0;
}

.italy__card .btn--primary {
	--btn-bg: var(--pink);
	--btn-fg: #fff;
}

.italy__card .btn--primary:hover {
	--btn-bg: var(--yellow);
	--btn-fg: var(--ink);
}

.italy__card .section-title em {
	color: var(--yellow);
}

.italy__copy p {
	color: rgba(255, 247, 239, 0.78);
}

.italy__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

.italy__img {
	width: 100%;
	max-height: 460px;
	border-radius: var(--radius);
	object-fit: cover;
	transform: rotate(3deg);
	box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
	.italy__card {
		grid-template-columns: 1fr;
	}
	.italy__img {
		max-height: 320px;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
 * Per bar e ristoranti
 * ----------------------------------------------------------------------- */
.horeca--page {
	padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
}

.hpage__hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hpage__title {
	text-align: left;
}

.hpage__lead {
	max-width: 46ch;
}

.hpage__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.btn--ghost-light {
	--btn-bg: transparent;
	--btn-fg: var(--cream);
	border-color: rgba(255, 247, 239, 0.5);
	box-shadow: none;
}

.btn--ghost-light:hover {
	--btn-bg: var(--cream);
	--btn-fg: var(--ink);
}

/* Collage di polaroid */
.hpage__collage {
	position: relative;
	min-height: clamp(360px, 40vw, 540px);
}

.hpage__polaroid {
	position: absolute;
	width: 52%;
	margin: 0;
	padding: 0.6rem 0.6rem 2.2rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7);
	transition: transform 0.6s var(--ease);
}

.hpage__polaroid img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 4.6;
	object-fit: cover;
	border-radius: 3px;
}

.hpage__polaroid--0 { top: 0; left: 4%; transform: rotate(-8deg); z-index: 2; }
.hpage__polaroid--1 { top: 10%; right: 0; transform: rotate(7deg); z-index: 1; }
.hpage__polaroid--2 { bottom: -4%; left: 26%; width: 46%; transform: rotate(-2deg); z-index: 3; }

.hpage__collage:hover .hpage__polaroid--0 { transform: rotate(-12deg) translate(-10px, -6px); }
.hpage__collage:hover .hpage__polaroid--1 { transform: rotate(11deg) translate(10px, -6px); }

.hpage__stamp {
	position: absolute;
	top: -4%;
	right: 6%;
	z-index: 4;
	display: grid;
	place-items: center;
	align-content: center;
	width: 118px;
	height: 118px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--yellow);
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 4px 0 var(--ink);
	transform: rotate(12deg);
	animation: stamp-wobble 6s ease-in-out infinite alternate;
}

.hpage__stamp b {
	display: block;
	font-family: var(--f-display);
	font-size: 2.3rem;
	line-height: 1;
}

@keyframes stamp-wobble {
	to { transform: rotate(-6deg) scale(1.05); }
}

.hpage__subhead {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	text-align: center;
}

.hpage__h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.03em;
	color: var(--cream);
}

@media (max-width: 860px) {
	.hpage__hero {
		grid-template-columns: 1fr;
	}
	.hpage__collage {
		min-height: 92vw;
	}
	.hpage__stamp {
		width: 96px;
		height: 96px;
	}
}

/* Cinque motivi */
.why__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.why__item {
	padding: 1.6rem 1.3rem;
	border: 2px solid var(--ink);
	border-radius: 24px;
	background: var(--paper);
	box-shadow: 5px 5px 0 var(--ink);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.why__item:hover {
	transform: translate(-3px, -3px) rotate(-1deg);
	box-shadow: 8px 8px 0 var(--ink);
}

.why__item:nth-child(1) { background: #ffe4f0; }
.why__item:nth-child(2) { background: #fff6c7; }
.why__item:nth-child(3) { background: #e6f9c9; }
.why__item:nth-child(4) { background: #d5f4f2; }
.why__item:nth-child(5) { background: #ffe5d3; }

.why__icon {
	display: block;
	width: 64px;
	height: 64px;
	margin-bottom: 0.8rem;
}

.why__icon .illu {
	width: 100%;
	height: 100%;
}

.why__item h3 {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	line-height: 1.1;
}

.why__item p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

@media (max-width: 1100px) {
	.why__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 700px) {
	.why__grid {
		grid-template-columns: 1fr 1fr;
	}
	.why__item:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 440px) {
	.why__grid {
		grid-template-columns: 1fr;
	}
}

/* Il tuo brand */
.mybrand {
	background: var(--bg-alt);
	overflow: hidden;
}

.mybrand__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.mybrand__straws {
	display: grid;
	gap: 1.1rem;
	margin-top: 2rem;
	transform: rotate(-5deg);
}

.real-straw--brand {
	width: 150%;
}

.real-straw--brand:nth-child(2) {
	margin-left: -8%;
}

.mybrand__list {
	display: grid;
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: brand;
}

.mybrand__list li {
	position: relative;
	padding: 1rem 1.2rem 1rem 3.8rem;
	border-radius: 18px;
	background: var(--paper);
	counter-increment: brand;
	color: var(--ink-soft);
}

.mybrand__list li::before {
	content: counter(brand, decimal-leading-zero);
	position: absolute;
	top: 50%;
	left: 1rem;
	font-family: var(--f-display);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--pink);
	transform: translateY(-50%);
}

.mybrand__list strong {
	color: var(--ink);
}

@media (max-width: 860px) {
	.mybrand__grid {
		grid-template-columns: 1fr;
	}
	/* Mobile: le cannucce partono più a destra, con aria dal bordo */
	.mybrand__straws {
		margin: 2.4rem 0 3.4rem;
		padding-left: 6%;
	}
	.real-straw--brand {
		width: 175%;
		margin-left: 4%;
	}
	.real-straw--brand:nth-child(2) {
		margin-left: 0;
	}
}

/* Formato */
.format__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.format__box {
	position: relative;
	padding: clamp(1.8rem, 4vw, 3rem);
	border: 2px solid var(--ink);
	border-radius: var(--radius-lg);
	background: #e9c79c url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='6'><path d='M0 6L6 0' stroke='%23000' stroke-opacity='.05'/></svg>");
	box-shadow: 10px 10px 0 var(--ink);
	transform: rotate(-2deg);
}

.format__num {
	display: block;
	font-family: var(--f-display);
	font-size: clamp(5rem, 11vw, 8.5rem);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.05em;
}

.format__label {
	display: block;
	margin: 0.4rem 0 1.4rem;
	font-weight: 700;
}

.format__specs {
	display: grid;
	gap: 0;
	margin: 0;
	border-top: 2px dashed rgba(27, 21, 21, 0.4);
}

.format__specs div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 2px dashed rgba(27, 21, 21, 0.4);
}

.format__specs dt {
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.format__specs dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.format__flavors {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.4rem 0;
	padding: 0;
	list-style: none;
}

.format__flavors li {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.75rem 0.25rem 0.3rem;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--from), var(--to));
	font-size: 0.85rem;
	font-weight: 600;
}

.format__flavors .illu {
	width: 28px;
	height: 28px;
}

.format__certs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	color: var(--ink-soft);
}

.format__certs strong {
	color: var(--ink);
}

@media (max-width: 860px) {
	.format__grid {
		grid-template-columns: 1fr;
	}
	.format__box {
		transform: none;
	}
}

/* Tre passi */
.steps3 {
	background: var(--bg-alt);
}

.steps3__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps3__list li {
	position: relative;
	padding: 2.4rem 1.6rem 1.6rem;
	border-radius: var(--radius);
	background: var(--paper);
}

.steps3__n {
	position: absolute;
	top: -1.4rem;
	left: 1.4rem;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--pink);
	color: #fff;
	font-family: var(--f-display);
	font-size: 1.4rem;
	font-weight: 800;
	box-shadow: 0 3px 0 var(--ink);
}

.steps3__list li:nth-child(2) .steps3__n { background: var(--yellow); color: var(--ink); }
.steps3__list li:nth-child(3) .steps3__n { background: var(--cyan); color: var(--ink); }

.steps3__list h3 {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
}

.steps3__list p {
	margin: 0;
	color: var(--ink-soft);
}

@media (max-width: 860px) {
	.steps3__list {
		grid-template-columns: 1fr;
		row-gap: 2.4rem;
	}
}

/* Modulo listino */
.lead-form__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
}

.lead-form__copy {
	position: sticky;
	top: calc(var(--header-h) + 2rem);
}

.lead-form__alt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.4rem;
	font-weight: 600;
}

.lead-form__alt a {
	color: var(--pink);
}

.lead-form__card,
.contact__form {
	padding: clamp(1.5rem, 3.5vw, 2.6rem);
	border: 2px solid var(--ink);
	border-radius: var(--radius-lg);
	background: var(--paper);
	box-shadow: 10px 10px 0 var(--ink);
}

@media (max-width: 860px) {
	.lead-form__grid {
		grid-template-columns: 1fr;
	}
	.lead-form__copy {
		position: static;
	}
	.lead-form__card,
	.contact__form {
		box-shadow: 6px 6px 0 var(--ink);
	}
}

/* --------------------------------------------------------------------------
 * Modulo di contatto (template-parts/contact-form.php)
 * ----------------------------------------------------------------------- */
.cform__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cform__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.1rem;
}

.cform__field {
	display: grid;
	gap: 0.35rem;
	margin: 0;
}

.cform__field--wide {
	grid-column: 1 / -1;
}

.cform__field label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform input[type="url"],
.cform select,
.cform textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 2px solid var(--line);
	border-radius: 14px;
	background: var(--bg-alt);
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.cform textarea {
	resize: vertical;
	min-height: 140px;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus {
	outline: none;
	border-color: var(--ink);
	background: #fff;
	box-shadow: 0 3px 0 var(--ink);
}

.cform__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: 1.1rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--ink-soft);
	cursor: pointer;
}

.cform__consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.1rem;
	accent-color: var(--pink);
}

.cform__consent a {
	color: inherit;
	text-decoration: underline;
}

.cform__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 1.4rem;
}

.cform.is-loading .cform__btn {
	opacity: 0.6;
}

.cform__msg {
	flex: 1 1 220px;
	margin: 0;
	font-weight: 600;
}

.cform__msg.is-ok {
	color: #0f8a7e;
}

.cform__msg.is-ok::before {
	content: "✓ ";
}

.cform__msg.is-error {
	color: #d61f71;
}

@media (max-width: 560px) {
	.cform__grid {
		grid-template-columns: 1fr;
	}
	.cform__btn {
		width: 100%;
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
 * Contatti
 * ----------------------------------------------------------------------- */
.ph--contact {
	padding-bottom: clamp(2rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 15% 30%, rgba(255, 225, 77, 0.45), transparent 35%),
		radial-gradient(circle at 85% 20%, rgba(255, 79, 154, 0.2), transparent 40%),
		var(--bg-alt);
}

.contact {
	background: var(--bg-alt);
	padding-top: 0;
}

.contact__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: start;
	gap: clamp(1.5rem, 4vw, 3.5rem);
}

.contact__side {
	display: grid;
	gap: 0.9rem;
}

.ccard {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.2rem;
	border: 2px solid var(--ink);
	border-radius: 22px;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

a.ccard:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--ink);
}

.ccard--pink { background: var(--pink-soft); }
.ccard--yellow { background: #fff3a8; }
.ccard--lime { background: #e1f7bd; }
.ccard--dark { background: var(--ink); color: var(--cream); }
.ccard--plain { align-items: flex-start; box-shadow: none; border-color: var(--line); }

.ccard__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
}

.ccard--dark .ccard__icon {
	background: rgba(255, 255, 255, 0.1);
}

.ccard__icon .icon {
	width: 22px;
	height: 22px;
}

.ccard__icon .illu {
	width: 38px;
	height: 38px;
}

.ccard__text {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
	font-size: 0.9rem;
}

.ccard__text small {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.7;
}

.ccard__text strong {
	overflow-wrap: anywhere;
	font-size: 1.05rem;
}

.contact__tip {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.4rem 0 0;
	font-size: 0.88rem;
	color: var(--ink-soft);
}

.contact__tip .icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.15rem;
}

.contact__form-title {
	margin: 0 0 1.2rem;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	letter-spacing: -0.02em;
}

@media (max-width: 900px) {
	.contact__grid {
		grid-template-columns: 1fr;
	}
	.contact__form {
		order: -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-hero__straw,
	.about-hero__card,
	.hpage__stamp {
		animation: none;
	}
}

/* Modulo distributori: gruppi di campi e passaggi */
.cform__group {
	margin: 0 0 1.4rem;
	padding: 0;
	border: 0;
}

.cform__group legend {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	margin: 0 0 0.8rem;
	padding: 0;
	font-family: var(--f-display);
	font-size: 1.25rem;
	font-weight: 700;
}

.cform__group legend::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--line);
}

.lead-form__steps {
	display: grid;
	gap: 0.7rem;
	margin: 1.6rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.lead-form__steps li {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-weight: 600;
	counter-increment: step;
}

.lead-form__steps li::before {
	content: counter(step);
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--yellow);
	font-family: var(--f-display);
	font-weight: 800;
}

/* Contatti: riquadro con il logo grande, "by Gamp Group" e i soli dati fiscali */
.ccard--brand {
	display: block;
	padding: 1.6rem 1.4rem 1.4rem;
	border-color: var(--line);
	box-shadow: none;
	text-align: center;
}

/* Tutto centrato: logo a larghezza fissa centrato con i margini (non dipende dal browser). */
.ccard__logo {
	display: block;
	width: 100%;
}

.ccard__logo svg {
	display: block;
	width: 240px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.ccard__by {
	display: block;
	margin-top: 0.4rem;
	font-family: var(--f-script);
	font-size: 1.35rem;
	color: var(--pink);
	line-height: 1;
}

.ccard__fiscal {
	display: grid;
	gap: 0.2rem;
	margin-top: 0.7rem;
	padding-top: 0.8rem;
	border-top: 1px dashed var(--line);
	width: 100%;
	font-size: 0.88rem;
	color: var(--ink-soft);
}

.ccard__fiscal small {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
}
