/**
 * Footer — quattro colonne chiare, minimale (studio professionale / legale).
 */

.psh-site-footer {
	position: relative;
	padding: 0;
	border-top: 1px solid color-mix(in srgb, var(--psh-text-color, #1a1a1a) 7%, transparent);
	background: var(--psh-background-color, #ffffff);
	box-shadow: none;
}

.psh-site-footer::before {
	content: "";
	display: block;
	height: 2px;
	width: min(6rem, 28%);
	margin: 0 auto;
	background: var(--psh-primary-color, #111);
	opacity: 0.88;
}

.psh-site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 5vw, 2.75rem);
	padding-top: clamp(2.5rem, 6vw, 3.75rem);
	padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.psh-footer-main--law-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: start;
}

@media (max-width: 1100px) {
	.psh-footer-main--law-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.psh-footer-main--law-grid {
		grid-template-columns: 1fr;
	}
}

.psh-footer-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.psh-footer-col__title {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--psh-text-color, #222) 52%, transparent);
}

.psh-footer-col__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.psh-footer-col__empty {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--psh-text-color, #222) 48%, transparent);
	font-style: italic;
}

.psh-footer-kv-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.psh-footer-kv {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
}

.psh-footer-kv--block {
	gap: 0.45rem;
}

.psh-footer-kv__label {
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--psh-text-color, #222) 45%, transparent);
}

.psh-footer-kv__value {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--psh-text-color, #222) 92%, transparent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

a.psh-footer-kv__value:hover {
	color: var(--psh-primary-color, #111);
	border-bottom-color: color-mix(in srgb, var(--psh-primary-color, #111) 35%, transparent);
}

.psh-footer-kv__value--multiline {
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--psh-text-color, #222) 85%, transparent);
}

.psh-footer-hours__label {
	margin: 0 0 0.35rem;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--psh-text-color, #222) 45%, transparent);
}

.psh-footer-hours__text {
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--psh-text-color, #222) 82%, transparent);
}

.psh-footer-hours__text > *:first-child {
	margin-top: 0;
}

.psh-footer-hours__text > *:last-child {
	margin-bottom: 0;
}

.psh-footer-social-block__label {
	margin: 0 0 0.5rem;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--psh-text-color, #222) 45%, transparent);
}

.psh-footer-social-block--after-hours {
	margin-top: 0.35rem;
	padding-top: 1rem;
	border-top: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
}

.psh-footer-social-block .psh-social-icons {
	justify-content: flex-start;
}

.psh-footer-nav-cta {
	margin: 1rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 8%, transparent);
}

.psh-footer-nav-cta__link {
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--psh-primary-color, #111);
	border-bottom: 1px solid color-mix(in srgb, var(--psh-primary-color, #111) 28%, transparent);
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.psh-footer-nav-cta__link:hover {
	border-bottom-color: var(--psh-primary-color, #111);
	opacity: 0.92;
}

.psh-footer-logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease, transform 0.25s ease;
}

.psh-footer-logo:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

.psh-footer-logo__img {
	display: block;
	max-height: 48px;
	width: auto;
	max-width: min(200px, 100%);
	object-fit: contain;
}

.psh-footer-col--studio.psh-footer-col--logo-width-pct .psh-footer-logo__img {
	width: var(--psh-footer-logo-width);
	max-width: 100%;
	height: auto;
	max-height: none;
}

.psh-footer-logo__text {
	font-size: clamp(1.05rem, 1.9vw, 1.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--psh-text-color, #222);
}

.psh-footer-tagline {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--psh-text-color, #222) 72%, transparent);
	max-width: 36ch;
}

.psh-footer-desc--studio {
	max-width: 38ch;
}

.psh-footer-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--psh-text-color, #222) 78%, transparent);
}

.psh-footer-desc > *:first-child {
	margin-top: 0;
}

.psh-footer-desc > *:last-child {
	margin-bottom: 0;
}

/* Linee contatto legacy (shortcode / blocchi contatti) */
.psh-footer-contact-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.65rem;
	max-width: none;
}

.psh-footer-contact-item {
	display: inline-flex;
	align-items: center;
	gap: 0.42em;
	text-decoration: none;
	color: inherit;
	vertical-align: middle;
}

a.psh-footer-contact-item:hover {
	color: var(--psh-primary-color, #111);
}

.psh-footer-contact-item__text {
	min-width: 0;
}

.psh-footer-contact__icon {
	display: block;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	opacity: 0.78;
	color: color-mix(in srgb, var(--psh-text-color, #222) 62%, transparent);
}

.psh-footer-contact-item:hover .psh-footer-contact__icon {
	opacity: 1;
	color: color-mix(in srgb, var(--psh-primary-color, #111) 75%, var(--psh-text-color, #222) 25%);
}

.psh-footer-contact-sep {
	color: color-mix(in srgb, var(--psh-text-color, #222) 38%, transparent);
	font-weight: 300;
	user-select: none;
}

.psh-footer-contact-desc {
	max-width: 42ch;
}

.psh-footer-contact-block {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-top: 0.35rem;
}

.psh-footer-contact-block:first-child {
	margin-top: 0;
}

.psh-footer-contact-block .psh-footer-contact__icon {
	margin-top: 0.18em;
}

.psh-footer-contact-block__body {
	flex: 1;
	min-width: 0;
}

.psh-footer-contact-block__body > *:first-child {
	margin-top: 0;
}

.psh-footer-contact-block__body > *:last-child {
	margin-bottom: 0;
}

.psh-footer-nav .psh-footer-menu {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.35rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-footer-nav .psh-footer-menu > li {
	margin: 0;
	padding: 0;
}

.psh-footer-nav .psh-footer-menu a {
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--psh-text-color, #222) 88%, transparent);
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.psh-footer-nav .psh-footer-menu a:hover {
	color: var(--psh-primary-color, #111);
	border-bottom-color: color-mix(in srgb, var(--psh-primary-color, #111) 35%, transparent);
}

.psh-social-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-start;
}

.psh-social-icons__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	border-radius: 50%;
	background: transparent;
	color: var(--psh-text-color, #222);
	border: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 14%, transparent);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
}

.psh-social-icons__link:hover {
	background: var(--psh-primary-color, #111);
	color: var(--psh-background-color, #fff);
	border-color: transparent;
	transform: translateY(-2px);
}

.psh-social-icons__svg {
	display: block;
	flex-shrink: 0;
}

.psh-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--psh-text-color, #222) 9%, transparent);
}

.psh-footer-bar__copy {
	margin: 0;
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--psh-text-color, #222) 62%, transparent);
	max-width: min(100%, 42rem);
}

.psh-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.78rem;
}

.psh-footer-legal a {
	color: color-mix(in srgb, var(--psh-text-color, #222) 72%, transparent);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.psh-footer-legal a:hover {
	color: var(--psh-primary-color, #111);
	border-bottom-color: color-mix(in srgb, var(--psh-primary-color, #111) 40%, transparent);
}

.psh-footer-legal__sep {
	color: color-mix(in srgb, var(--psh-text-color, #222) 35%, transparent);
	user-select: none;
}

.psh-footer-credit-wrap {
	margin: 0;
	padding-top: 0.75rem;
	text-align: center;
}

.psh-footer-credit-wrap .psh-credit {
	margin: 0;
	font-size: 0.72rem;
}

.psh-footer-credit-wrap .psh-credit a {
	color: color-mix(in srgb, var(--psh-text-color, #222) 55%, transparent);
}
