/* ==========================================================================
   Aria di Mare — Main stylesheet
   ========================================================================== */

:root {
	--color-bg: #ffffff;
	--color-card: #ffffff;

	--color-navy: #22469d;
	--color-navy-dark: #1a3880;
	--color-sage: var(--color-navy);
	--color-sage-dark: var(--color-navy-dark);

	--color-teal: var(--color-navy);
	--color-teal-deep: var(--color-navy-dark);
	--color-wave: #00b6e1;
	--color-btn: #00b6e1;
	--color-btn-hover: #00a5cc;
	--color-btn-active: #0094b8;
	--hero-title-color: #05b5e4;
	--hero-subtitle-color: #3d6a9e;
	--hero-text-color: #4a6288;
	--color-contrast: #d98c48;
	--color-brand-icon: #0099cb;
	--color-room-services-wave: #63c0de; /* midpoint #c6e7f0 ↔ #0099cb */
	--color-text: #2a3142;
	--color-text-muted: #5a6175;
	--color-white: #ffffff;

	--rgb-bg: 255, 255, 255;
	--rgb-navy: 34, 70, 157;

	/* Sans: corpo, menu, bottoni, form | Serif: titoli | Poetico: slogan */
	--font-sans: "Montserrat", system-ui, sans-serif;
	--font-serif: "Cormorant Garamond", "Times New Roman", serif;
	--font-poetic: "Playfair Display", "Cormorant Garamond", serif;

	--container-max: 1240px;
	--page-gutter: clamp(1.25rem, 3vw, 1.75rem);
	--header-height: 56px;
	--wp-admin-bar-height: 0px;
	--site-offset-top: calc(var(--header-height) + var(--wp-admin-bar-height) + 1.75rem);
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--shadow-soft: 0 8px 32px rgba(58, 58, 56, 0.08);
	--transition: 0.25s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--site-offset-top);
	/* WordPress aggiunge margin-top con la admin bar: rompe position:fixed su mobile */
	margin-top: 0 !important;
}

@media screen and (max-width: 782px) {
	html {
		margin-top: 0 !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.container {
	width: 100%;
	max-width: calc(var(--container-max) + (var(--page-gutter) * 2));
	margin-inline: auto;
	padding-inline: var(--page-gutter);
	box-sizing: border-box;
}

/* Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.8rem 2rem;
	border: 1.5px solid transparent;
	border-radius: 5px;
	font-family: var(--font-sans);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	transition:
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		transform 0.2s ease,
		box-shadow 0.25s ease;
	cursor: pointer;
	white-space: nowrap;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

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

/* Primario — bianco con bordo cyan */
.btn--solid {
	background: var(--color-white);
	border-color: var(--color-btn);
	color: var(--color-btn);
	box-shadow: 0 2px 8px rgba(0, 182, 225, 0.12);
}

.btn--solid:hover {
	background: var(--color-btn);
	border-color: var(--color-btn);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 182, 225, 0.38);
}

.btn--solid:active {
	background: var(--color-btn-active);
	border-color: var(--color-btn-active);
	color: var(--color-white);
	transform: translateY(0) scale(0.97);
	box-shadow: 0 2px 6px rgba(0, 182, 225, 0.28);
	transition-duration: 0.1s;
}

/* Secondario — bianco outline */
.btn--outline {
	background: var(--color-white);
	border-color: var(--color-btn);
	color: var(--color-btn);
	box-shadow: 0 2px 8px rgba(0, 182, 225, 0.08);
}

.btn--outline:hover {
	background: var(--color-btn);
	border-color: var(--color-btn);
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 182, 225, 0.28);
}

.btn--outline:active {
	background: var(--color-btn-active);
	border-color: var(--color-btn-active);
	color: var(--color-white);
	transform: translateY(0) scale(0.97);
	box-shadow: 0 2px 6px rgba(0, 182, 225, 0.22);
	transition-duration: 0.1s;
}

.btn--small {
	min-height: 40px;
	padding: 0.6rem 1.35rem;
	font-size: 0.8125rem;
}

.btn--nav-mobile {
	display: none;
	width: 100%;
	margin-top: 1.5rem;
}

/* Header
   ========================================================================== */

.site-header-bar {
	position: relative;
}

.site-header-shell {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
	height: var(--header-height);
	min-height: var(--header-height);
	max-height: var(--header-height);
	overflow: hidden;
	background: #0099cb;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.site-header {
	height: 100%;
	background: transparent;
}

/* Barra admin WordPress (solo se sei loggato) */
body.admin-bar {
	--wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

#wpadminbar {
	position: fixed !important;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 100%;
	min-height: 0;
	padding-block: 0;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.site-brand__logo {
	display: block;
	width: 38px;
	height: 38px;
	object-fit: contain;
	object-position: center center;
}

.primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.25rem);
}

.primary-nav__list a {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: var(--color-white);
	transition: color var(--transition), opacity var(--transition);
	position: relative;
	padding-bottom: 0.35rem;
}

.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--color-white);
	transform: scaleX(0);
	transition: transform var(--transition), background-color var(--transition);
}

.primary-nav__list a:hover {
	color: var(--color-white);
	opacity: 0.88;
}

.primary-nav__list .current-menu-item > a,
.primary-nav__list .is-active {
	color: var(--color-white);
}

.primary-nav__list a:hover::after,
.primary-nav__list .current-menu-item > a::after,
.primary-nav__list .is-active::after {
	transform: scaleX(1);
}

.btn--header {
	justify-self: end;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 112;
}

.nav-backdrop {
	display: none;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	margin-inline: auto;
	background: var(--color-white);
	transition: transform var(--transition), opacity var(--transition);
}

/* Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: clamp(520px, 88vh, 760px);
	padding-top: calc(var(--site-offset-top) + 0.75rem);
	display: flex;
	align-items: center;
	overflow: visible;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	image-rendering: auto;
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		180deg,
		rgba(var(--rgb-bg), 0) 0%,
		rgba(var(--rgb-bg), 0.06) 50%,
		rgba(var(--rgb-bg), 0.5) 82%,
		rgba(var(--rgb-bg), 0.98) 100%
	);
}

.hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	width: 100%;
	padding-block: 4rem calc(5rem + 5.6vw);
}

.hero__content.container {
	max-width: none;
	margin-inline: 0;
	padding-inline: var(--page-gutter);
}

.hero__content-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: min(100%, 34rem);
	padding: 2.25rem 2.15rem;
	background: var(--color-card);
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
	box-sizing: border-box;
	text-align: center;
}

.hero__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-navy);
}

.hero__content-inner .room-divider {
	width: 100%;
	max-width: 20rem;
	margin: 0.65rem 0 1rem;
}

.hero__tagline {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-contrast);
}

.hero__content-inner .hero__text,
.hero__content-inner .room-intro__text {
	margin: 0;
	max-width: 26rem;
	font-family: var(--font-sans);
	font-size: clamp(0.9rem, 1.8vw, 1rem);
	font-weight: 400;
	line-height: 1.75;
	color: var(--color-navy);
	text-align: center;
}

.hero__cta {
	flex-shrink: 0;
}

.hero__divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	z-index: 2;
	width: 100%;
	pointer-events: none;
}

.hero__divider__viewport {
	position: relative;
	width: 100%;
	line-height: 0;
}

.hero__divider__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.features {
	position: relative;
	z-index: 3;
	margin-top: -1.25rem;
	padding: 0 0 3.5rem;
	background: var(--color-bg);
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border: 1px solid rgba(var(--rgb-navy), 0.14);
	border-radius: var(--radius-md);
	background: var(--color-card);
	overflow: hidden;
}

.features__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem 1.25rem;
	border-right: 1px solid rgba(var(--rgb-navy), 0.14);
}

.features__item:last-child {
	border-right: none;
}

.features__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	color: var(--color-navy);
}

.features__icon svg,
.features__icon .theme-icon--brand {
	width: 100%;
	height: 100%;
}

.features__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.features__text strong {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
}

.features__text span {
	font-size: 0.78rem;
	font-weight: 300;
	color: var(--color-text-muted);
	line-height: 1.35;
}

/* Rooms
   ========================================================================== */

.rooms {
	position: relative;
	padding: 3rem 0 5rem;
	background: var(--color-bg);
	overflow: hidden;
}

.rooms__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 2.75rem;
}

.rooms__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-navy);
}

.rooms__header .room-divider {
	width: 100%;
	max-width: 20rem;
	margin: 0.65rem 0 0;
}

.rooms__tagline {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-contrast);
}

.rooms__scroll-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--color-navy) transparent;
	padding-bottom: 0.5rem;
}

.rooms__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(200px, 1fr));
	align-items: stretch;
	gap: 1.25rem;
	min-width: min(100%, 1100px);
}

/* Homepage rooms — desktop griglia, mobile carosello a step */
.rooms-carousel.room-carousel {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.rooms-carousel .room-carousel__viewport {
	overflow: visible;
}

.rooms-carousel .room-carousel__track {
	display: grid;
	grid-template-columns: repeat(5, minmax(200px, 1fr));
	align-items: stretch;
	gap: 1.25rem;
	min-width: min(100%, 1100px);
	aspect-ratio: unset;
	max-height: none;
	height: auto;
	background: transparent;
}

.rooms-carousel .room-carousel__slide {
	position: static;
	opacity: 1;
	pointer-events: auto;
	width: auto;
	height: auto;
}

.rooms-carousel__frame {
	display: block;
}

.rooms-carousel .rooms-carousel__btn,
.rooms-carousel .room-carousel__dots {
	display: none;
}

.room-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--color-card);
	border: none;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(58, 58, 56, 0.12);
}

.room-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.room-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.room-card:hover .room-card__image {
	transform: scale(1.04);
}

.room-card__tag {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	max-width: calc(100% - 1.5rem);
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--color-navy);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.room-card__tag .room-card__tag-icon {
	flex-shrink: 0;
	background-color: var(--color-navy);
}

.room-card__tag-text {
	font-family: var(--font-sans);
	font-size: clamp(0.62rem, 1.1vw, 0.72rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
}

.room-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-height: 0;
	text-align: center;
	padding: 1.15rem 0.85rem 1.35rem;
}

.room-card__body .room-divider {
	flex: 0 0 auto;
	width: 100%;
	max-width: 14rem;
	margin: 0 0 0.5rem;
	gap: 8px;
}

.room-card__name {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.375rem, 2.2vw, 1.4375rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-contrast);
}

.room-card__type {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0 0.2rem 0.5rem;
	min-height: calc(2 * 1.35 * 1.12rem);
	font-family: var(--font-serif);
	font-size: clamp(0.95rem, 1.75vw, 1.12rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-navy);
}

.room-card__price {
	flex: 0 0 auto;
	margin: 0 0 0.75rem;
	font-family: var(--font-sans);
	font-size: clamp(0.88rem, 1.65vw, 1rem);
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-navy);
}

.room-card__body .btn,
.room-card__body .room-card__cta {
	flex: 0 0 auto;
	margin-top: 0;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.room-card__price span {
	font-size: 1em;
	font-weight: 400;
	color: var(--color-navy);
}

.room-card__status {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 2;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgba(42, 49, 66, 0.82);
	color: var(--color-white);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.room-card--unavailable {
	background: #e4e8ef;
	box-shadow: 0 4px 16px rgba(42, 49, 66, 0.06);
}

.room-card--unavailable:hover {
	transform: none;
	box-shadow: 0 4px 16px rgba(42, 49, 66, 0.06);
}

.room-card--unavailable .room-card__image {
	filter: grayscale(1);
	opacity: 0.72;
}

.room-card--unavailable:hover .room-card__image {
	transform: none;
}

.room-card--unavailable .room-card__name,
.room-card--unavailable .room-card__type,
.room-card--unavailable .room-card__price,
.room-card--unavailable .room-card__price span {
	color: #8a919e;
}

.room-card--unavailable .room-divider__line {
	background-color: #b4bac6;
}

.room-card--unavailable .room-card__tag {
	background: rgba(255, 255, 255, 0.75);
	color: #8a919e;
}

.room-card--unavailable .room-card__tag .room-card__tag-icon {
	background-color: #8a919e;
}

.room-card--unavailable .btn--disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #d2d7e0;
	border-color: #b8bec9;
	color: #8a919e;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
	text-transform: uppercase;
}

.room-card--unavailable .btn--disabled:hover,
.room-card--unavailable .btn--disabled:active {
	background: #d2d7e0;
	border-color: #b8bec9;
	color: #8a919e;
	transform: none;
	box-shadow: none;
}

.rooms-cta {
	position: relative;
	z-index: 1;
	padding: 2.5rem 0 1rem;
}

.rooms-cta.rooms__header {
	width: 100%;
	margin-bottom: 0;
	text-align: center;
	align-items: center;
}

.rooms-cta .rooms__title {
	width: 100%;
	text-align: center;
}

.rooms-cta .room-divider {
	margin-inline: auto;
}

.rooms-cta .room-intro__text,
.rooms-cta__text {
	margin: 1.25rem auto 0;
	max-width: 36rem;
	text-align: center;
	color: var(--color-navy);
}

.rooms-cta__btn {
	margin-top: 1.75rem;
	align-self: center;
}

.rooms__decor {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 180px;
	background:
		radial-gradient(ellipse 80% 100% at 20% 100%, rgba(var(--rgb-navy), 0.12) 0%, transparent 70%),
		radial-gradient(ellipse 60% 80% at 75% 100%, rgba(var(--rgb-navy), 0.16) 0%, transparent 65%);
	pointer-events: none;
}

/* Location teaser
   ========================================================================== */

.location-teaser {
	padding: 2rem 0 3rem;
	text-align: center;
	background: var(--color-bg);
}

.location-teaser__inner p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.1rem;
	font-style: italic;
	color: var(--color-text-muted);
}

/* Footer
   ========================================================================== */

.site-footer {
	position: relative;
	margin-top: 0;
	color: var(--color-white);
}

.site-footer__wave {
	position: relative;
	height: 80px;
	margin-top: -1px;
	color: var(--color-teal-deep);
	background: var(--color-bg);
}

.site-footer__wave svg {
	width: 100%;
	height: 100%;
	display: block;
}

.site-footer__body {
	background:
		linear-gradient(180deg, var(--color-teal) 0%, var(--color-teal-deep) 100%),
		radial-gradient(ellipse 50% 80% at 10% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse 40% 70% at 90% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
	padding: 2.5rem 0 3rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2rem;
	align-items: start;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-footer__logo {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-footer__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.site-footer__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 0.15rem;
	opacity: 0.85;
}

.site-footer__icon svg {
	width: 100%;
	height: 100%;
}

.site-footer__item p {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 300;
	line-height: 1.65;
}

.site-footer__item a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.site-footer__legal {
	background: var(--color-teal-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__legal-inner {
	padding: 0.85rem 1.25rem;
	text-align: center;
}

.site-footer__legal-text {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.5;
	color: var(--color-white);
}

.site-footer__legal-sep {
	opacity: 0.85;
}

/* Desktop header — menu orizzontale in barra
   ========================================================================== */

@media (min-width: 769px) {
	:root {
		--site-offset-top: calc(var(--header-height) + var(--wp-admin-bar-height) + 2.25rem);
	}

	.site-header-bar {
		position: fixed;
		top: var(--wp-admin-bar-height);
		left: 0;
		right: 0;
		z-index: 1000;
		display: flex;
		align-items: center;
		height: var(--header-height);
		min-height: var(--header-height);
		background: #0099cb;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.site-header-shell {
		position: static;
		flex: 0 0 auto;
		width: auto;
		height: 100%;
		min-height: 0;
		max-height: none;
		overflow: visible;
		background: transparent;
		border-bottom: none;
		z-index: auto;
	}

	.site-header {
		flex: 0 0 auto;
		margin-left: clamp(1.75rem, 4vw, 3.5rem);
	}

	.site-header__inner {
		width: auto;
		padding-right: 0;
	}

	.primary-nav {
		position: static;
		display: flex;
		flex: 1;
		justify-content: center;
		width: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
		overflow: visible;
	}

	.primary-nav__list {
		flex-direction: row;
		align-items: center;
		gap: clamp(1rem, 2.5vw, 2.25rem);
	}

	.primary-nav__list li {
		border-bottom: none;
	}

	.primary-nav__list a {
		display: inline;
		padding: 0 0 0.35rem;
		font-size: 0.78rem;
		font-weight: 500;
		color: var(--color-white);
	}

	.primary-nav__list a::after {
		display: block;
	}

	.primary-nav__list .current-menu-item > a,
	.primary-nav__list .is-active {
		color: var(--color-white);
		font-weight: 500;
	}
}

/* Responsive — Tablet
   ========================================================================== */

@media (max-width: 1024px) {
	.rooms__grid {
		grid-template-columns: repeat(5, minmax(220px, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1.5rem;
	}
}

/* Responsive — Mobile
   ========================================================================== */

@media (max-width: 768px) {
	:root {
		--page-gutter: 20px;
		--header-height: 48px;
		--site-offset-top: calc(var(--header-height) + var(--wp-admin-bar-height) + 1.375rem);
	}

	html {
		overflow-x: clip;
	}

	body {
		overflow-x: clip;
	}

	.container {
		max-width: none;
		padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
			max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.site-header__inner {
		justify-content: space-between;
	}

	.site-brand__logo {
		width: 34px;
		height: 34px;
	}

	.nav-toggle {
		display: flex;
		flex-shrink: 0;
		position: relative;
		gap: 4px;
		width: 36px;
		height: 36px;
	}

	.nav-toggle span {
		width: 20px;
	}

	.btn--header {
		display: none;
	}

	.nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1090;
		border: none;
		padding: 0;
		margin: 0;
		background: rgba(34, 70, 157, 0.35);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		cursor: pointer;
		transition: opacity var(--transition), visibility var(--transition);
	}

	.nav-backdrop.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	body.nav-open .site-header-shell {
		z-index: 1115;
	}

	body.nav-open .nav-toggle {
		position: relative;
		z-index: 2;
	}

	.primary-nav {
		position: fixed;
		top: var(--site-offset-top);
		left: 0;
		bottom: 0;
		z-index: 1110;
		pointer-events: auto;
		width: min(18.5rem, 88vw);
		margin: 0;
		padding: 1.25rem 1.5rem 2rem;
		background: var(--color-card);
		box-shadow: 8px 0 32px rgba(30, 55, 100, 0.18);
		transform: translateX(-100%);
		transition: transform var(--transition);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		justify-self: auto;
	}

	.primary-nav.is-open {
		transform: translateX(0);
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.primary-nav__list li {
		border-bottom: 1px solid rgba(var(--rgb-navy), 0.1);
	}

	.primary-nav__list li:last-child {
		border-bottom: none;
	}

	.primary-nav__list a {
		display: block;
		padding: 1.05rem 0;
		font-size: 0.9rem;
		letter-spacing: 0.12em;
		color: var(--color-navy);
	}

	.primary-nav__list a::after {
		display: none;
	}

	.primary-nav__list .current-menu-item > a,
	.primary-nav__list .is-active {
		color: var(--color-btn);
		font-weight: 600;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open .nav-toggle span:nth-child(1) {
		transform: translateY(6.5px) rotate(45deg);
	}

	body.nav-open .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	body.nav-open .nav-toggle span:nth-child(3) {
		transform: translateY(-6.5px) rotate(-45deg);
	}

	.hero {
		min-height: auto;
	}

	.hero__content {
		padding-block: 2.5rem 2.75rem;
		padding-inline: 0;
	}

	.hero__content.container {
		padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
			max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.hero__content-inner {
		width: 100%;
		max-width: 100%;
		padding: 1.5rem 1.15rem;
		box-sizing: border-box;
	}

	.hero__title {
		font-size: clamp(1.85rem, 8vw, 2.35rem);
	}

	.hero__tagline {
		font-size: clamp(0.95rem, 3.8vw, 1.1rem);
	}

	.hero__text {
		font-size: 0.9rem;
		line-height: 1.7;
	}

	.hero__image {
		object-position: 50% center;
	}

	.hero__overlay {
		background: linear-gradient(
			180deg,
			rgba(var(--rgb-bg), 0.82) 0%,
			rgba(var(--rgb-bg), 0.55) 45%,
			rgba(var(--rgb-bg), 0.15) 100%
		);
	}

	.hero__divider {
		display: none;
	}

	.features {
		margin-top: 0;
		padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
			max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.features .container {
		padding-inline: 0;
		max-width: 100%;
	}

	.features__grid {
		width: 100%;
		grid-template-columns: 1fr 1fr;
	}

	.features__item {
		border-right: none;
		border-bottom: 1px solid rgba(var(--rgb-navy), 0.14);
		padding: 1.25rem 1rem;
	}

	.features__item:nth-child(odd) {
		border-right: 1px solid rgba(var(--rgb-navy), 0.14);
	}

	.features__item:nth-last-child(-n+2) {
		border-bottom: none;
	}

	.rooms__scroll-wrap {
		overflow: hidden;
		padding-left: 0;
		padding-right: 0;
	}

	.rooms__scroll-wrap > .container {
		width: 100%;
		max-width: none;
		padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
			max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.rooms-carousel__frame {
		position: relative;
		padding-inline: 0;
		overflow: hidden;
	}

	.rooms-carousel__viewport {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		isolation: isolate;
	}

	.rooms-carousel .room-carousel__track {
		display: flex;
		flex-wrap: nowrap;
		grid-template-columns: none;
		min-width: 0;
		gap: 0;
		transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
		will-change: transform;
	}

	.rooms-carousel .room-carousel__slide {
		flex: 0 0 auto;
		flex-shrink: 0;
		min-width: 0;
		position: static;
		opacity: 1;
		pointer-events: auto;
		box-sizing: border-box;
		overflow: hidden;
	}

	.rooms-carousel .room-card {
		width: 100%;
		max-width: 100%;
	}

	.rooms-carousel__btn {
		position: absolute;
		top: 36%;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: var(--color-white);
		color: var(--color-navy);
		font-size: 1.45rem;
		line-height: 1;
		box-shadow: 0 4px 16px rgba(30, 55, 100, 0.12);
		cursor: pointer;
		transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	}

	.rooms-carousel__btn--prev {
		left: 6px;
		transform: translateY(-50%);
	}

	.rooms-carousel__btn--next {
		right: 6px;
		transform: translateY(-50%);
	}

	.rooms-carousel__btn--prev:hover,
	.rooms-carousel__btn--next:hover {
		transform: translateY(-50%) scale(1.05);
		box-shadow: 0 6px 20px rgba(30, 55, 100, 0.18);
	}

	.rooms-carousel__btn--prev:active,
	.rooms-carousel__btn--next:active {
		transform: translateY(-50%) scale(0.97);
	}

	.rooms-carousel .room-carousel__dots {
		display: flex;
		justify-content: center;
		gap: 0.45rem;
		margin-top: 1.1rem;
		padding: 0;
	}

	.rooms-carousel .rooms-carousel__btn {
		display: inline-flex;
	}

	.rooms-carousel .room-card:hover {
		transform: translateY(-4px);
	}

	.rooms-carousel .room-card:hover .room-card__image {
		transform: scale(1.04);
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
		text-align: left;
	}

	.site-footer__brand {
		align-items: flex-start;
	}

	.hero__title,
	.rooms__title,
	.room-intro__title,
	.room-booking__title,
	.room-services__headline {
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	.rooms__title {
		font-size: clamp(1.35rem, 5.2vw, 1.85rem);
		letter-spacing: 0.06em;
		line-height: 1.2;
	}

	.room-card__name,
	.room-card__name .room-divider__text {
		font-size: 1.375rem;
		letter-spacing: 0.06em;
	}

	.room-card__body .room-divider {
		max-width: 100%;
	}

	.btn {
		white-space: normal;
		max-width: 100%;
	}

	.hero__cta,
	.rooms-cta__btn,
	.room-showcase__cta,
	.btn--room-booking {
		width: min(100%, 22rem);
	}

	.room-card__body,
	.room-card__name,
	.room-divider,
	.contact-card,
	.guest-info-card {
		min-width: 0;
	}

	.contact-form-wrap {
		padding: 1.35rem;
	}

	.contact-info__map iframe {
		max-width: 100%;
	}

	.room-showcase,
	.room-services,
	.room-booking,
	.contact-page,
	.guest-info-page {
		overflow-x: clip;
	}

	.room-showcase .container,
	.room-services .container,
	.room-booking .container {
		width: 100%;
		max-width: none;
		padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px))
			max(var(--page-gutter), env(safe-area-inset-right, 0px));
	}

	.room-services__headline-wave {
		display: none;
	}

	.room-services__headline-row,
	.room-booking__headline-row,
	.room-showcase__title-row.room-services__headline-row {
		gap: 0;
		max-width: 100%;
		overflow: visible;
	}

	.room-services__headline {
		font-size: clamp(1.25rem, 5vw, 1.65rem);
		max-width: 100%;
		text-align: center;
	}

	.room-booking__headline-row {
		width: 100%;
		max-width: 100%;
	}

	.room-booking__title {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		font-size: clamp(0.95rem, 3.6vw, 1.15rem);
		letter-spacing: 0.04em;
		line-height: 1.25;
		text-align: center;
	}

	.room-booking__price {
		font-size: clamp(1.45rem, 5vw, 2rem);
		max-width: 100%;
		padding-inline: 0;
	}

	.room-services__label,
	.room-divider__text,
	.guest-info-card__title,
	.guest-info-card__text {
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}

	.room-services__list {
		grid-template-columns: 1fr;
		row-gap: 0.5rem;
	}

	.guest-info-card__title {
		font-size: 0.875rem;
	}

	.guest-info-cards {
		width: 100%;
		max-width: none;
	}
}

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

	.features__item,
	.features__item:nth-child(odd) {
		border-right: none;
	}

	.features__item:last-child {
		border-bottom: none;
	}

}

/* Room page
   ========================================================================== */

.room-page {
	padding-top: calc(var(--site-offset-top) + 0.75rem);
	background: var(--color-bg);
}

.room-showcase {
	padding: 2rem 0 1.5rem;
}

/* Mobile: titolo → sottotitolo (8px) → carosello (16px) → descrizione (8px) */
.room-showcase__grid {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.room-showcase__copy {
	display: contents;
}

.room-showcase__intro {
	order: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 100%;
	min-width: 0;
	text-align: center;
}

.room-showcase__intro .room-intro__head {
	margin-bottom: 0;
}

.room-showcase__intro .room-intro__tagline {
	margin: 0;
}

.room-showcase__intro .room-divider {
	width: 100%;
	margin: 0;
}

.room-showcase__media {
	position: relative;
	order: 2;
	width: 100%;
	min-width: 0;
	margin-top: 16px;
	container-type: inline-size;
}

.room-showcase__desc {
	order: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	margin-top: 8px;
	text-align: center;
}

.room-showcase__desc .room-intro__text {
	margin-top: 0;
}

.room-showcase__desc .room-intro__text + .room-showcase__cta {
	margin-top: 24px;
}

.room-showcase__cta {
	width: min(100%, 22rem);
}

/* Onde decorative showcase: onda4/5 dietro il carosello (solo desktop) */
.room-showcase__deco--onda4,
.room-showcase__deco--onda5 {
	display: none;
}

.room-showcase__title-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.room-showcase__title-row {
	width: 100%;
	margin-bottom: 0;
}

.room-showcase__title-wrap .room-intro__head {
	flex: 0 0 auto;
	justify-content: center;
	margin-bottom: 0;
}

.room-showcase__intro .room-intro__title {
	text-align: center;
}

.room-showcase__intro .room-divider {
	justify-content: center;
	max-width: min(100%, 22rem);
	margin-inline: auto;
}

.room-showcase__desc .room-intro__text {
	margin-inline: auto;
	text-align: center;
}

.room-carousel {
	position: relative;
	z-index: 1;
	width: 100%;
	background: var(--color-card);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.room-carousel__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.room-carousel__track {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	max-height: min(72vh, 480px);
	background: #e8eef5;
}

@supports (height: 1cqw) {
	.room-carousel__track {
		aspect-ratio: unset;
		max-height: none;
		height: min(75cqw, 72vh, 480px);
	}
}

.room-carousel__slide {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.room-carousel__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.room-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

.room-carousel__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-navy);
	font-size: 1.75rem;
	line-height: 1;
	box-shadow: 0 4px 16px rgba(30, 55, 100, 0.15);
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition);
}

.room-carousel__btn:hover {
	transform: scale(1.04);
	box-shadow: 0 6px 20px rgba(30, 55, 100, 0.2);
}

.room-carousel__btn--prev {
	left: 1rem;
}

.room-carousel__btn--next {
	right: 1rem;
}

.room-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.85rem 1rem 1rem;
}

.room-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(var(--rgb-navy), 0.2);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.room-carousel__dot.is-active {
	background: var(--color-btn);
	transform: scale(1.15);
}

.room-intro {
	text-align: left;
}

.room-intro__head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.85rem;
	margin-bottom: 0.35rem;
}

.room-intro__wave {
	flex-shrink: 0;
	width: 42px;
	height: 22px;
	color: var(--color-navy);
}

/* Icone importate (PNG nero → maschera #0099CB) */
.theme-icon--brand {
	display: inline-block;
	flex-shrink: 0;
	background-color: var(--color-brand-icon);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Piccole decorazioni onda1–onda6 (PNG in assets/images/onde/) */
.onda-deco {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	line-height: 0;
	vertical-align: middle;
}

.onda-deco__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: transparent;
}

.onda-deco--sm {
	width: clamp(36px, 8vw, 48px);
}

.onda-deco--md {
	width: clamp(48px, 10vw, 64px);
}

.onda-deco--lg {
	width: clamp(56px, 12vw, 80px);
}

.onda-deco--xl {
	width: clamp(72px, 14vw, 110px);
}

.room-intro__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.1;
	color: var(--color-navy);
}

.room-intro__tagline {
	margin: 0 0 1.25rem;
	font-family: var(--font-serif);
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-contrast);
}

.room-intro__text strong {
	font-weight: 600;
	color: var(--color-navy);
}

.room-intro__text {
	max-width: 36rem;
	margin: 0 auto;
	font-family: var(--font-sans);
	font-size: clamp(0.9rem, 1.8vw, 1rem);
	font-weight: 400;
	line-height: 1.75;
	color: var(--color-navy);
	text-align: left;
}

.room-intro__text p {
	margin: 0;
}

.room-intro__status {
	margin: 1rem 0 0;
	font-family: var(--font-sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b2e2e;
}

.room-services {
	padding: 1.75rem 0 2.5rem;
	background: var(--color-bg);
}

.room-services__panel {
	position: relative;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.room-services__body {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.room-services__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 0;
	order: 1;
	text-align: center;
}

.room-divider,
.room-services__room-name-row {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 12px;
	margin: 0 0 0.5rem;
}

.room-divider__line,
.room-services__room-name-line {
	flex: 1 1 auto;
	height: 1px;
	background-color: var(--color-contrast);
}

.room-divider__text {
	flex: 0 0 auto;
	margin: 0;
	text-align: center;
}

.room-services__room-name {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--font-serif);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-contrast);
}

.room-services__visual {
	display: flex;
	justify-content: center;
	order: 2;
}

.room-services__amenities {
	order: 3;
	width: 100%;
	max-width: 22rem;
	margin-inline: auto;
}

.room-services__list {
	order: unset;
}

.room-services__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.room-services__headline-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 0.4rem;
	overflow: visible;
}

.room-services__headline-wave {
	flex: 0 0 6.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	overflow: visible;
}

.room-services__headline-wave .onda-deco {
	width: 52px;
}

.room-services__headline-wave:not(.room-services__headline-wave--flip) .onda-deco__img,
.room-services__headline-wave--flip .onda-deco__img {
	transform: scale(2);
	transform-origin: 50% 50%;
}

.room-services__headline-wave--flip .onda-deco__img {
	transform: scaleX(-1) scale(2);
}

.room-services__headline {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.85rem, 5.5vw, 2.5rem);
	font-weight: 500;
	line-height: 1.08;
	color: var(--color-navy);
}

.room-services__content > .room-services__beds-row {
	max-width: 22rem;
	margin: 0.35rem 0 0.5rem;
}

.room-services__beds {
	font-family: var(--font-serif);
	font-size: clamp(0.95rem, 2.4vw, 1.1rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-contrast);
}

.room-services__tagline {
	margin: 0.65rem 0 0.25rem;
	max-width: 22rem;
	font-family: var(--font-serif);
	font-size: clamp(0.95rem, 2.4vw, 1.1rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--color-navy);
	text-align: center;
}

.room-services__family {
	display: block;
	width: min(100%, 300px);
	height: auto;
	object-fit: contain;
}

.room-services__family--maestrale,
.room-services__family--libeccio,
.room-services__family--brezza,
.room-services__family--grecale,
.room-services__family--scirocco {
	width: min(100%, 320px);
	max-height: 280px;
	object-fit: contain;
	object-position: center bottom;
}

.room-services__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
	row-gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.room-services__item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0;
	min-width: 0;
}

.room-services__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--color-brand-icon);
}

.room-services__icon svg {
	width: 100%;
	height: 100%;
}

.room-services__icon .theme-icon--brand {
	width: 28px;
	height: 28px;
}

.room-services__label {
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--color-navy);
}

.room-booking {
	position: relative;
	padding: 3rem 0 4.5rem;
	background: var(--color-bg);
	overflow: hidden;
}

.room-booking__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.room-booking__header {
	margin-bottom: 1.75rem;
}

.room-booking__header .room-divider {
	width: 100%;
	max-width: 22rem;
	margin-top: 0.75rem;
}

.room-booking__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.4rem 0.55rem;
	margin: 0 0 1.15rem;
	padding: 0;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 5.5vw, 2.75rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-navy);
}

.room-booking__amount {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: inherit;
}

.room-booking__note {
	font-family: inherit;
	font-size: 0.68em;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: 0.05em;
	text-transform: inherit;
	color: inherit;
}

.room-booking__headline-row {
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
}

.room-booking__title {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.2rem, 3.5vw, 1.55rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--color-navy);
}

.room-booking__cta {
	margin-top: 0;
}

.btn--room-booking {
	gap: 0.65rem;
	width: min(100%, 22rem);
	min-height: 52px;
	padding-inline: 1.5rem;
	border: none;
	border-radius: 8px;
	background: #0099cb;
	color: var(--color-white);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 6px 20px rgba(0, 153, 203, 0.35);
}

.btn--room-booking svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.btn--room-booking:hover {
	background: #0088b6;
	color: var(--color-white);
	border-color: transparent;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 153, 203, 0.42);
}

/* Modale richiesta disponibilità camera */

body.room-availability-modal-open {
	overflow: hidden;
}

.room-availability-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.room-availability-modal[hidden] {
	display: none;
}

.room-availability-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 35, 70, 0.55);
}

.room-availability-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 32rem);
	max-height: calc(100vh - 2.5rem);
	overflow: auto;
	padding: 1.75rem;
	background: var(--color-card);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	border-radius: var(--radius-lg);
	box-shadow: 0 18px 48px rgba(20, 35, 70, 0.22);
}

.room-availability-modal__close {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 2.25rem;
	height: 2.25rem;
	border: none;
	border-radius: 50%;
	background: rgba(var(--rgb-navy), 0.06);
	color: var(--color-navy);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.room-availability-modal__close:hover {
	background: rgba(var(--rgb-navy), 0.12);
}

.room-availability-modal__title {
	margin: 0 2rem 0.5rem 0;
	font-family: var(--font-serif);
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	font-weight: 500;
	color: var(--color-navy);
}

.room-availability-modal__lead {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--color-text-muted, #5a6175);
}

.room-availability-modal__alert {
	margin-bottom: 1rem;
}

.room-availability-modal__form .btn {
	width: 100%;
	justify-content: center;
}

.room-availability-modal__form .room-availability-modal__message {
	min-height: 7.5rem;
	resize: vertical;
	line-height: 1.45;
}

@media (max-width: 768px) {
	.room-availability-modal {
		align-items: flex-start;
		justify-content: center;
		padding: calc(env(safe-area-inset-top, 0px) + 0.75rem)
			max(20px, env(safe-area-inset-right, 0px))
			0.75rem
			max(20px, env(safe-area-inset-left, 0px));
		overflow: hidden;
	}

	.room-availability-modal__dialog {
		width: 100%;
		max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 1.5rem);
		margin-top: 0;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		scroll-padding-bottom: 1.25rem;
	}
}

@media (min-width: 901px) {
	.room-showcase {
		padding: 2.5rem 0 2rem;
	}

	/* Desktop: colonna testi sinistra | carosello destra */
	.room-showcase__grid {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
		align-items: center;
		gap: 2.5rem 3rem;
	}

	.room-showcase,
	.room-showcase .container {
		overflow: visible;
	}

	.room-showcase__copy {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		grid-column: 1;
		grid-row: 1;
		min-width: 0;
		padding-top: 0;
		overflow: visible;
	}

	.room-showcase__deco--behind {
		z-index: 0;
	}

	.room-showcase__intro {
		flex: 1 1 auto;
		min-width: 0;
		order: unset;
	}

	.room-showcase__desc {
		order: unset;
		margin-top: 16px;
	}

	.room-showcase__grid {
		overflow: visible;
	}

	.room-showcase__media {
		position: relative;
		z-index: 1;
		grid-column: 2;
		grid-row: 1;
		order: unset;
		width: 100%;
		min-width: 0;
		margin-top: 0;
		align-self: center;
		overflow: visible;
	}

	.room-showcase__media .room-carousel {
		position: relative;
		z-index: 1;
		overflow: hidden;
		background: var(--color-card);
		box-shadow: var(--shadow-soft);
	}

	/* Onda4 alto-dx, onda5 basso-sx: dietro il carosello */
	.room-showcase__deco--behind {
		display: block;
		position: absolute;
		pointer-events: none;
		line-height: 0;
		opacity: 1;
	}

	.room-showcase__deco--onda5 {
		bottom: 2.25rem;
		left: -10.25rem;
		transform: translateX(calc(-11% + 192px)) translateY(-280px);
		transform-origin: left bottom;
	}

	.room-showcase__deco--onda5 .onda-deco {
		position: relative;
		width: 520px;
	}

	.room-showcase__deco--onda4 {
		top: -4.5rem;
		right: -6.5rem;
		transform: translateX(10%);
		transform-origin: right top;
	}

	.room-showcase__deco--onda4 .onda-deco {
		position: relative;
		width: 300px;
	}

	.room-carousel__track {
		max-height: 440px;
	}

	@supports (height: 1cqw) {
		.room-carousel__track {
			max-height: none;
			height: min(75cqw, 440px);
		}
	}

	.room-services {
		padding: 2.25rem 0 3rem;
	}

	.room-services__panel {
		padding: 0;
	}

	.room-services__body {
		align-items: center;
		gap: 1.75rem;
	}

	.room-services__content {
		max-width: 28rem;
	}

	.room-services__visual {
		order: 2;
	}

	.room-services__amenities {
		order: 3;
		max-width: min(100%, 56rem);
	}

	.room-services__list {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 0.65rem 1.35rem;
		width: 100%;
	}

	.room-services__item {
		flex: 0 0 auto;
		justify-content: flex-start;
		gap: 0.5rem;
		padding: 0.35rem 0;
		text-align: left;
	}

	.room-services__label {
		font-size: 0.9rem;
		line-height: 1.35;
		white-space: nowrap;
	}

	.room-services__family {
		width: min(100%, 380px);
	}

	.room-services__family--maestrale,
	.room-services__family--libeccio,
	.room-services__family--brezza,
	.room-services__family--grecale,
	.room-services__family--scirocco {
		width: min(100%, 400px);
		max-height: 340px;
	}

	.room-services__content > .room-services__beds-row,
	.room-services__tagline {
		max-width: 28rem;
	}

	.room-services__tagline {
		margin-bottom: 0;
	}
}

@media (max-width: 600px) {
	.room-carousel__btn {
		width: 38px;
		height: 38px;
		margin-top: -19px;
	}

	.room-carousel__btn--prev {
		left: 0.5rem;
	}

	.room-carousel__btn--next {
		right: 0.5rem;
	}

	.rooms-carousel__frame {
		padding-inline: 0;
	}

	.rooms-carousel__btn {
		width: 32px;
		height: 32px;
		font-size: 1.35rem;
	}
}

/* Contact page
   ========================================================================== */

.contact-page {
	padding-top: calc(var(--site-offset-top) + 0.75rem);
	background: var(--color-bg);
}

.contact-hero {
	padding: 2rem 0 2.25rem;
}

.contact-hero__header.rooms__header {
	margin-bottom: 0;
}

.contact-hero__header .rooms__title {
	scroll-margin-top: var(--site-offset-top);
}

.contact-hero__header .room-intro__text {
	margin: 1.25rem auto 0;
	max-width: 36rem;
	text-align: center;
	color: var(--color-navy);
}

.contact-main {
	padding: 1rem 0 4rem;
}

.contact-main__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 2.5rem;
	align-items: stretch;
}

.contact-info {
	order: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
}

.contact-section-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--color-text);
}

.contact-info__cards {
	display: grid;
	gap: 1rem;
	flex-shrink: 0;
}

.contact-info__map {
	flex: 1;
	margin-top: 1rem;
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	background: var(--color-card);
	min-height: 200px;
	display: flex;
}

.contact-info__map iframe {
	display: block;
	width: 100%;
	flex: 1;
	min-height: 200px;
	border: 0;
}

.contact-card {
	display: flex;
	gap: 1rem;
	padding: 1.25rem 1.35rem;
	background: var(--color-card);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
}

.contact-card__icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-white);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	color: var(--color-navy);
}

.contact-card__icon svg {
	width: 22px;
	height: 22px;
}

.contact-card__title {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-navy);
}

.contact-card__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--color-text);
}

.contact-card__text a {
	color: inherit;
	transition: color var(--transition);
}

.contact-card__text a:hover {
	color: var(--color-btn);
}

.contact-card__link {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-btn);
}

.contact-card__link:hover {
	text-decoration: underline;
}

.contact-form-wrap {
	order: 2;
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	background: var(--color-card);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.contact-alert {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	line-height: 1.5;
}

.contact-alert--success {
	background: rgba(0, 182, 225, 0.12);
	border: 1px solid rgba(0, 182, 225, 0.25);
	color: var(--color-navy);
}

.contact-alert--error {
	background: rgba(180, 60, 60, 0.08);
	border: 1px solid rgba(180, 60, 60, 0.2);
	color: #8b2e2e;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-form .btn {
	align-self: flex-start;
	margin-top: 0.25rem;
}

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

.contact-form__field {
	display: grid;
	gap: 0.4rem;
}

.contact-form__field label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-text);
}

.contact-form__field input,
.contact-form__field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(var(--rgb-navy), 0.18);
	border-radius: var(--radius-sm);
	background: var(--color-white);
	font-family: var(--font-sans);
	font-size: 0.9rem;
	color: var(--color-text);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
	outline: none;
	border-color: var(--color-btn);
	box-shadow: 0 0 0 3px rgba(0, 182, 225, 0.15);
}

.contact-form__field textarea {
	resize: vertical;
	min-height: 200px;
}

@media (max-width: 900px) {
	.contact-main__grid {
		display: flex;
		flex-direction: column;
		gap: 2rem;
	}

	.contact-form-wrap {
		order: 1;
	}

	.contact-info {
		order: 2;
		height: auto;
		min-height: 0;
	}

	.contact-info__map {
		flex: none;
		min-height: 280px;
	}

	.contact-info__map iframe {
		min-height: 280px;
	}
}

/* Info e regolamento
   ========================================================================== */

.guest-info-page {
	padding-top: calc(var(--site-offset-top) + 0.75rem);
	padding-bottom: 4rem;
	background: var(--color-bg);
}

.guest-info-section {
	padding: 2rem 0 1rem;
}

.guest-info-section--rules {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.guest-info-section__hero.rooms__header {
	margin-bottom: 2.25rem;
}

.guest-info-section__hero .rooms__title {
	scroll-margin-top: var(--site-offset-top);
}

.guest-info-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: min(100%, 42rem);
	margin: 0 auto;
}

.guest-info-card {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
	padding: 1.3rem 1.4rem;
	background: var(--color-card);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
}

.guest-info-card__icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--color-white);
	border: 1px solid rgba(var(--rgb-navy), 0.1);
	color: var(--color-brand-icon);
}

.guest-info-card__icon .guest-info-card__theme-icon,
.guest-info-card__icon .theme-icon--brand {
	width: 28px;
	height: 28px;
}

.guest-info-card__body {
	flex: 1;
	min-width: 0;
}

.guest-info-card__title {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-navy);
}

.guest-info-card__text {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.94rem;
	line-height: 1.65;
	color: var(--color-navy);
}

.guest-info-card__text + .guest-info-card__text {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px dashed rgba(var(--rgb-navy), 0.18);
}

.guest-info-card__text--en {
	font-style: normal;
	font-size: 0.88rem;
	color: var(--color-text-muted);
}

.guest-info-card__text a {
	color: var(--color-navy);
	font-weight: 500;
	transition: color var(--transition);
}

.guest-info-card__text a:hover {
	color: var(--color-btn);
}

.guest-info-card:not(:has(.guest-info-card__title)) .guest-info-card__text {
	font-size: 0.92rem;
}

.guest-info__signature {
	margin: 2rem auto 0;
	width: min(100%, 42rem);
	text-align: center;
	font-family: var(--font-poetic);
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	font-style: italic;
	font-weight: 500;
	color: var(--color-brand-icon);
}

@media (max-width: 768px) {
	.guest-info-section {
		padding-top: 2rem;
	}

	.guest-info-section--rules {
		padding-top: 2.5rem;
	}
}

@media (max-width: 600px) {
	.guest-info-card {
		padding: 1.15rem 1.1rem;
		gap: 0.9rem;
	}

	.guest-info-card__icon {
		width: 42px;
		height: 42px;
	}
}
