/**
 * Components: buttons, header, footer, cards, drawer, icons.
 */

.psh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--psh-space-2);
	padding: 0.65rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--psh-radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--psh-duration) var(--psh-ease), color var(--psh-duration) var(--psh-ease), transform 0.2s var(--psh-ease);
}

.psh-btn--primary {
	background: var(--psh-color-primary);
	color: var(--psh-color-surface);
}

.psh-btn--primary:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.psh-btn--ghost {
	background: transparent;
	color: var(--psh-color-text);
	border-color: var(--psh-color-border);
}

.psh-btn--sm {
	padding: 0.45rem 0.85rem;
	font-size: 0.75rem;
}

.psh-btn--block {
	width: 100%;
}

.psh-site-header {
	position: relative;
	z-index: 1000;
	background: var(--psh-color-surface);
	border-bottom: 1px solid var(--psh-color-border);
	transition: background var(--psh-duration) var(--psh-ease), box-shadow var(--psh-duration) var(--psh-ease);
}

.psh-header--sticky .psh-site-header--sticky {
	position: sticky;
	top: 0;
}

body.psh-header--transparent-hero .psh-site-header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background: transparent;
	border-bottom-color: transparent;
}

body.psh-header--transparent-hero .psh-site-header.is-scrolled {
	position: sticky;
	background: var(--psh-color-surface);
	border-bottom: 1px solid var(--psh-color-border);
	box-shadow: var(--psh-shadow-sm);
}

.psh-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--psh-space-4);
	min-height: var(--psh-header-h);
}

.psh-site-header__logo {
	max-height: 44px;
	width: auto;
	display: block;
}

.psh-site-header__site-name {
	font-family: var(--psh-font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--psh-color-text);
	text-decoration: none;
}

.psh-site-header__nav--desktop {
	display: none;
}

.psh-site-header__actions--desktop {
	display: none;
}

.psh-site-header__mobile-bar {
	display: flex;
	align-items: center;
	gap: var(--psh-space-3);
	margin-left: auto;
}

@media (min-width: 960px) {
	.psh-site-header__nav--desktop {
		display: flex;
		flex: 1;
		justify-content: center;
	}

	.psh-site-header__actions--desktop {
		display: flex;
		align-items: center;
		gap: var(--psh-space-4);
	}

	.psh-site-header__mobile-bar {
		display: none;
	}
}

.psh-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--psh-space-4);
}

.psh-nav a {
	color: var(--psh-color-text);
	text-decoration: none;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.psh-nav a:hover {
	color: var(--psh-color-accent);
}

.psh-nav--drawer {
	flex-direction: column;
	gap: var(--psh-space-5);
	font-size: 1.25rem;
}

.psh-burger {
	width: 44px;
	height: 44px;
	border: 1px solid var(--psh-color-border);
	background: transparent;
	border-radius: var(--psh-radius-md);
	cursor: pointer;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.psh-burger__line {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--psh-color-text);
	transition: transform var(--psh-duration) var(--psh-ease);
}

.psh-burger[aria-expanded="true"] .psh-burger__line:first-child {
	transform: translateY(4px) rotate(45deg);
}

.psh-burger[aria-expanded="true"] .psh-burger__line:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.psh-drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--psh-duration) var(--psh-ease);
}

.psh-drawer.is-open {
	opacity: 1;
	pointer-events: auto;
}

.psh-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(100%, 400px);
	background: var(--psh-color-surface);
	padding: var(--psh-space-6);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform var(--psh-duration) var(--psh-ease);
}

.psh-drawer.is-open .psh-drawer__panel {
	transform: none;
}

.psh-drawer__close {
	position: absolute;
	top: var(--psh-space-4);
	right: var(--psh-space-4);
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	color: var(--psh-color-text);
}

.psh-drawer__cta-wrap {
	margin-top: var(--psh-space-6);
}

.psh-drawer__contacts {
	margin-top: var(--psh-space-6);
	font-size: 0.95rem;
}

.psh-drawer__social {
	margin-top: var(--psh-space-5);
}

.psh-site-footer {
	background: var(--psh-color-primary);
	color: var(--psh-color-surface);
	margin-top: var(--psh-space-9);
}

.psh-site-footer a {
	color: inherit;
	opacity: 0.9;
}

.psh-site-footer__main {
	display: grid;
	gap: var(--psh-space-7);
	padding-block: var(--psh-space-8);
}

@media (min-width: 768px) {
	.psh-site-footer__main {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

.psh-site-footer__heading {
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.75;
	margin: 0 0 var(--psh-space-3);
}

.psh-site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.psh-site-footer__list li {
	margin-bottom: var(--psh-space-2);
}

.psh-site-footer__list li a,
.psh-site-footer__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.psh-site-footer__contact-icon {
	font-size: 18px;
	line-height: 1;
	opacity: 0.85;
	margin-top: 2px;
}

.psh-nav--footer {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.psh-nav--footer a {
	text-decoration: none;
}

.psh-site-footer__menu-cta {
	margin-top: var(--psh-space-5);
}

.psh-site-footer__col--reviews {
	grid-column: 1 / -1;
}

.psh-site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--psh-space-4);
	padding-block: var(--psh-space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
}

.psh-site-footer .psh-btn--primary {
	background: var(--psh-color-accent);
	color: var(--psh-color-primary);
}

.psh-grid {
	display: grid;
	gap: var(--psh-space-5);
}

@media (min-width: 640px) {
	.psh-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.psh-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.psh-card {
	background: var(--psh-color-surface);
	border-radius: var(--psh-radius-lg);
	overflow: hidden;
	box-shadow: var(--psh-shadow-md);
	transition: transform var(--psh-duration) var(--psh-ease), box-shadow var(--psh-duration) var(--psh-ease);
}

.psh-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--psh-shadow-lg);
}

.psh-card__media {
	aspect-ratio: 4/3;
	overflow: hidden;
}

.psh-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psh-card__body {
	padding: var(--psh-space-5);
}

.psh-card__title {
	font-family: var(--psh-font-display);
	font-size: 1.25rem;
	margin: 0 0 var(--psh-space-2);
}

.psh-card__meta {
	font-size: 0.875rem;
	color: var(--psh-color-muted);
	margin: 0 0 var(--psh-space-4);
}

.psh-service-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

@media (min-width: 960px) {
	.psh-service-chips {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.psh-service-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--psh-space-2);
	padding: 10px 12px;
	width: 100%;
	background: var(--psh-color-bg);
	border-radius: 10px;
	font-size: 19px;
	border: 1px solid var(--psh-color-border);
}

.psh-service-chip__icon {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: color-mix(in srgb, var(--psh-color-accent) 16%, white);
	color: var(--psh-color-primary);
	font-size: 16px;
	line-height: 1;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.psh-icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	vertical-align: middle;
	background: currentColor;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.psh-icon--whatsapp {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}

.psh-float-wa {
	position: fixed;
	z-index: 1500;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--psh-shadow-md);
	text-decoration: none;
	animation: psh-pulse-soft 2.5s ease-in-out infinite;
}

@keyframes psh-pulse-soft {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
	}

	50% {
		box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
	}
}

.psh-float-wa--bottom-right {
	bottom: var(--psh-space-5);
	right: var(--psh-space-5);
}

.psh-float-wa--bottom-left {
	bottom: var(--psh-space-5);
	left: var(--psh-space-5);
}

.psh-float-wa--top-right {
	top: var(--psh-space-5);
	right: var(--psh-space-5);
}

.psh-float-wa--top-left {
	top: var(--psh-space-5);
	left: var(--psh-space-5);
}

.psh-float-wa__icon {
	background: #fff;
}

@media (max-width: 959px) {
	.psh-float-wa--hide-mobile {
		display: none;
	}
}

@media (min-width: 960px) {
	.psh-float-wa--hide-desktop {
		display: none;
	}
}

.psh-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--psh-space-3);
	margin-bottom: var(--psh-space-6);
	align-items: flex-end;
}

.psh-filters label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--psh-color-muted);
	display: block;
	margin-bottom: var(--psh-space-2);
}

.psh-filters select,
.psh-filters input {
	padding: 0.5rem 0.75rem;
	border-radius: var(--psh-radius-md);
	border: 1px solid var(--psh-color-border);
	background: var(--psh-color-surface);
	color: var(--psh-color-text);
}

.psh-hero {
	position: relative;
	min-height: min(88vh, 820px);
	display: flex;
	align-items: flex-end;
	color: #fff;
}

.psh-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.psh-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--psh-color-hero-overlay);
}

.psh-hero__slides,
.psh-hero__slide {
	position: absolute;
	inset: 0;
}

.psh-hero__slide {
	opacity: 0;
	transition: opacity 1.2s var(--psh-ease);
}

.psh-hero__slide.is-active {
	opacity: 1;
}

.psh-hero__slide img,
.psh-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.psh-hero__content {
	position: relative;
	z-index: 2;
	/* Solo verticale: il padding orizzontale resta quello di .psh-container (--psh-gutter). */
	padding-block: var(--psh-space-8) calc(var(--psh-space-8) + var(--psh-header-h));
	width: 100%;
}

.psh-hero__content .psh-h1,
.psh-hero__content .psh-lead {
	color: #fff;
}

.psh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--psh-space-3);
	margin-top: var(--psh-space-5);
}

.psh-hero .psh-btn--primary {
	background: var(--psh-color-surface);
	color: var(--psh-color-primary);
}

.psh-hero .psh-btn--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.psh-form {
	display: grid;
	gap: var(--psh-space-4);
	max-width: 560px;
}

.psh-form__field label {
	display: block;
	font-size: 0.8rem;
	margin-bottom: var(--psh-space-2);
}

.psh-form__field input,
.psh-form__field textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border-radius: var(--psh-radius-md);
	border: 1px solid var(--psh-color-border);
	background: var(--psh-color-surface);
	color: var(--psh-color-text);
}

.psh-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.psh-form__notice {
	padding: var(--psh-space-3);
	border-radius: var(--psh-radius-md);
	background: var(--psh-color-bg);
	border: 1px solid var(--psh-color-border);
}

.psh-form__notice--ok {
	border-color: #2e7d32;
}

.psh-contact-grid {
	display: grid;
	gap: var(--psh-space-5);
	margin-top: var(--psh-space-6);
}

@media (min-width: 960px) {
	.psh-contact-grid {
		grid-template-columns: 1fr 1.1fr;
	}
}

.psh-contact-card {
	background: var(--psh-color-surface);
	border: 1px solid var(--psh-color-border);
	border-radius: var(--psh-radius-lg);
	padding: var(--psh-space-5);
	box-shadow: var(--psh-shadow-sm);
}

.psh-contact-card .psh-h2 {
	margin-bottom: var(--psh-space-4);
}

.psh-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.psh-contact-list li,
.psh-contact-list li a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.psh-contact-list__icon {
	font-size: 19px;
	line-height: 1;
	opacity: 0.75;
	margin-top: 2px;
}

.psh-map-block {
	margin-top: var(--psh-space-7);
}

.psh-map-embed {
	border-radius: var(--psh-radius-lg);
	overflow: hidden;
	border: 1px solid var(--psh-color-border);
	box-shadow: var(--psh-shadow-sm);
	background: var(--psh-color-surface);
}

.psh-map-embed iframe {
	display: block;
	width: 100% !important;
	min-height: 360px;
	border: 0;
}

.psh-contact-checkin {
	margin-top: var(--psh-space-6);
	padding: var(--psh-space-5);
	background: var(--psh-color-surface);
	border: 1px solid var(--psh-color-border);
	border-radius: var(--psh-radius-lg);
	box-shadow: var(--psh-shadow-sm);
}

.psh-structure-areas {
	margin-top: var(--psh-space-6);
}

.psh-structure-areas .psh-h2 {
	margin-bottom: var(--psh-space-4);
}

.psh-structure-areas__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 14px;
}

@media (min-width: 768px) {
	.psh-structure-areas__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.psh-structure-areas__item {
	padding: 12px;
	background: var(--psh-color-surface);
	border: 1px solid var(--psh-color-border);
	border-radius: 12px;
	box-shadow: var(--psh-shadow-sm);
}

.psh-structure-areas__media {
	margin-bottom: 10px;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f1f5f9;
}

.psh-structure-areas__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.psh-structure-areas__title {
	margin: 0;
	font-size: 1.05rem;
}

.psh-structure-areas__desc {
	margin: 6px 0 0;
	color: var(--psh-color-muted);
}

.psh-gallery-mosaic {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--psh-space-3);
}

@media (min-width: 768px) {
	.psh-gallery-mosaic {
		grid-template-columns: repeat(4, 1fr);
	}
}

.psh-gallery-mosaic__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--psh-radius-md);
}

.psh-gallery-mosaic__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4/3;
}

.psh-home-gallery {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: var(--psh-space-3);
	align-items: center;
	min-width: 0;
}

.psh-home-gallery__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	min-width: 0;
}

.psh-home-gallery__viewport::-webkit-scrollbar {
	display: none;
}

.psh-home-gallery__track {
	display: flex;
	gap: var(--psh-space-3);
	width: 100%;
}

.psh-home-gallery__slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	border-radius: var(--psh-radius-md);
	overflow: hidden;
}

.psh-home-gallery__slide img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
}

.psh-home-gallery__nav {
	width: 40px;
	height: 40px;
	border: 1px solid var(--psh-color-border);
	border-radius: 999px;
	background: var(--psh-color-surface);
	color: var(--psh-color-primary);
	cursor: pointer;
}

@media (min-width: 960px) {
	.psh-home-gallery__slide {
		flex-basis: calc((100% - (2 * var(--psh-space-3))) / 3);
	}
}

.psh-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 4000;
}

.psh-lightbox[hidden] {
	display: none;
}

.psh-lightbox__img {
	max-width: min(92vw, 1400px);
	max-height: 85vh;
	border-radius: var(--psh-radius-md);
}

.psh-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.psh-lightbox__nav--prev {
	left: 20px;
}

.psh-lightbox__nav--next {
	right: 20px;
}

.psh-lightbox__close {
	position: absolute;
	top: 18px;
	right: 22px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
}

.psh-muted {
	color: var(--psh-color-muted);
}
