/* ==========================================================================
   Bagno Ceci 132 — main.css (mobile-first)
   Usato dal sito E dall'editor (add_editor_style): le sezioni sono blocchi
   standard di WordPress (Copertina, Gruppo, Immagine, Pulsanti, Dettagli, Icona)
   con le classi del tema.
   ========================================================================== */

:root {
	/* Palette "sabbia" */
	--ink-900: #2a241f;   /* footer, testo su chiaro */
	--ink-800: #3b332c;   /* sezioni scure (espresso) */
	--clay-700: #7c5d45;  /* testo accento piccolo (contrasto AA) */
	--clay: #9a7457;      /* accento: corsivi, icone */
	--sand-50: #f7f3ee;   /* sfondo pagina */
	--sand-100: #e7dfd4;  /* sfondo aree */
	--sand-200: #d8ccbc;
	--sand-300: #c9b8a2;
	--accent: #dccab2;    /* evidenziazioni su fondo scuro */
	--ink: #2a241f;
	--muted: #6b6058;
	--line: rgba(42, 36, 31, .12);
	--white: #fdfbf8;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-brand: "Greatest Fortune Script", var(--font-display);
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-s: 4px;
	--radius: 8px;
	--radius-l: 14px;
	--shadow-s: 0 1px 2px rgba(42, 34, 27, .05), 0 4px 14px rgba(42, 34, 27, .05);
	--shadow: 0 20px 40px -24px rgba(42, 34, 27, .28);
	--shadow-l: 0 30px 70px -30px rgba(42, 34, 27, .4);

	--gutter: 20px;
	--header-h: 68px;
	--section: clamp(72px, 12vw, 144px);
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* Icone CSS (spunta, stella) */
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9Z'/%3E%3C/svg%3E");
	--i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--sand-50);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand-100); }
.section--deep { background: var(--ink-800); color: var(--sand-50); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xl { width: 40px; height: 40px; }

/* Foto: leggera tonalità calda, coerente con la palette */
.bc-section img, picture img { filter: saturate(.86) sepia(.08) contrast(1.02); }

/* Blocchi WordPress dentro le sezioni: azzeriamo i margini, lo spazio lo gestiscono i contenitori */
.bc-section .wp-block-image { margin: 0; }
.bc-section .wp-block-image img { display: block; width: 100%; height: auto; }

/* Icone (blocco Icona di WordPress, collezione "Bagno Ceci") */
.wp-block-icon { display: grid; place-items: center; line-height: 0; }
.wp-block-icon svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- Tipografia ---------- */
.h2, .h3, .hero__display, .lp-hero__display {
	font-family: var(--font-display);
	font-weight: 400;
	font-variation-settings: "SOFT" 100, "WONK" 0;
	letter-spacing: -.015em;
	line-height: 1.08;
}
.h2 { font-size: clamp(2rem, 6.5vw, 3.6rem); text-wrap: balance; }
.h3 { font-size: clamp(1.45rem, 4vw, 1.9rem); line-height: 1.15; }
.h2 em, .h3 em, .hero__display em, .lp-hero__display em { font-style: italic; font-weight: 300; color: var(--clay); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--muted); line-height: 1.6; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
	color: var(--clay-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

/* Testi su fondo scuro */
:is(.section--deep, .hero, .lp-hero, .cta-band, .event--big, .event--dark, .wip) :is(.h2, .h3) em { color: var(--accent); }
:is(.section--deep, .event--dark) .eyebrow { color: var(--sand-300); }
:is(.section--deep, .event--dark) :is(p, li) { color: rgba(231, 223, 212, .8); }
:is(.section--deep, .event--dark) :is(.h2, .h3, strong) { color: var(--white); }

.section-head { margin-bottom: clamp(36px, 6vw, 64px); display: grid; gap: 18px; }
.section-head.center { justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--split { align-items: end; }
.section-head--split > .wp-block-group:first-child { display: grid; gap: 18px; }

/* ---------- Pulsanti ---------- */
.btn, .wp-block-button__link {
	--bg: var(--ink-800); --fg: var(--sand-50); --bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 14px 26px;
	border: 1px solid var(--bd); border-radius: 2px;
	background: var(--bg); color: var(--fg);
	font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1;
	text-decoration: none; text-align: center;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); --bg: var(--ink-900); box-shadow: var(--shadow); }
.btn:active, .wp-block-button__link:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 18px; height: 18px; }

/* Stile "Contorno" (scelto nell'editor) */
.is-style-contorno .wp-block-button__link { --bg: transparent; --fg: var(--ink-800); --bd: var(--ink-800); }
.is-style-contorno .wp-block-button__link:hover { --bg: var(--ink-800); --fg: var(--sand-50); }

/* Su fondo scuro: pieno = sabbia, contorno = vetro chiaro */
:is(.hero, .lp-hero, .section--deep, .cta-band, .event--big, .event--dark, .wip, .nav, .site-header:not(.is-scrolled)) :is(.wp-block-button__link, .btn--sun) { --bg: var(--sand-100); --fg: var(--ink-900); }
:is(.hero, .lp-hero, .section--deep, .cta-band, .event--big, .event--dark, .wip, .nav, .site-header:not(.is-scrolled)) :is(.wp-block-button__link, .btn--sun):hover { --bg: var(--white); }
:is(.hero, .lp-hero, .section--deep, .cta-band, .event--big, .event--dark) .is-style-contorno .wp-block-button__link,
.btn--glass { --bg: rgba(255, 255, 255, .06); --fg: var(--white); --bd: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
:is(.hero, .lp-hero, .section--deep, .cta-band, .event--big, .event--dark) .is-style-contorno .wp-block-button__link:hover,
.btn--glass:hover { --bg: rgba(255, 255, 255, .2); --fg: var(--white); }
body:not(.is-sectioned):not(.is-landing) .site-header .btn--sun { --bg: var(--ink-800); --fg: var(--sand-50); }

.btn--sun { --bg: var(--ink-800); --fg: var(--sand-50); }
.btn--outline { --bg: transparent; --fg: var(--ink-800); --bd: var(--ink-800); }
.btn--ghost { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .72rem; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: .8rem; }
.btn--block { width: 100%; }
.btn-row, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.wp-block-button { margin: 0; }

.stars { display: inline-flex; gap: 2px; color: var(--clay); vertical-align: -2px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	color: var(--white);
	transition: background-color .3s, box-shadow .3s, color .3s, transform .35s var(--ease);
}
.site-header::before {
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
	background: linear-gradient(rgba(42, 34, 27, .55), transparent);
	transition: opacity .3s;
}
.site-header.is-scrolled,
body:not(.is-sectioned):not(.is-landing) .site-header {
	background: rgba(247, 243, 238, .94);
	backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	color: var(--ink-800);
	box-shadow: 0 1px 0 var(--line), var(--shadow-s);
}
.site-header.is-scrolled::before, body:not(.is-sectioned):not(.is-landing) .site-header::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0); }

.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.brand { display: flex; flex: none; align-items: center; gap: 10px; text-decoration: none; position: relative; z-index: 2; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; background: var(--sand-50); padding: 2px; }
.brand__text { display: grid; line-height: 1.1; }
/* Marchio: "Bagno Ceci" nel font scritto a mano, "132" in Fraunces corsivo */
.brand__name { font-family: var(--font-brand); font-size: 1.55rem; font-weight: 400; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.brand__name b, .action-bar__name i { font-family: var(--font-display); font-size: .78em; font-weight: 400; font-style: italic; letter-spacing: -.01em; margin-left: .12em; }
.brand__name b { color: var(--accent); }
.site-header.is-scrolled .brand__name b, body:not(.is-sectioned):not(.is-landing) .brand__name b { color: var(--clay); }
.brand__place { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

/* Nav: mobile (pannello a tutto schermo) */
.nav {
	position: fixed; inset: 0; z-index: 1;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
	background: var(--ink-800) radial-gradient(120% 60% at 100% 0%, rgba(154, 116, 87, .35), transparent 60%);
	color: var(--sand-50);
	visibility: hidden; opacity: 0;
	clip-path: circle(0 at calc(100% - 40px) 34px);
	transition: clip-path .55s var(--ease), opacity .3s, visibility 0s .55s;
	overflow-y: auto;
}
.nav.is-open { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 40px) 34px); transition: clip-path .6s var(--ease), opacity .2s, visibility 0s; }
.nav__list { display: grid; gap: 2px; }
.nav__link {
	display: block; padding: 10px 0;
	font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 300; line-height: 1.15;
	text-decoration: none; letter-spacing: -.02em;
	opacity: 0; transform: translateY(16px);
	transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.nav.is-open .nav__link { opacity: 1; transform: none; }
.nav.is-open li:nth-child(2) .nav__link { transition-delay: .04s; }
.nav.is-open li:nth-child(3) .nav__link { transition-delay: .08s; }
.nav.is-open li:nth-child(4) .nav__link { transition-delay: .12s; }
.nav.is-open li:nth-child(5) .nav__link { transition-delay: .16s; }
.nav.is-open li:nth-child(6) .nav__link { transition-delay: .2s; }
.nav.is-open li:nth-child(n+7) .nav__link { transition-delay: .24s; }
.nav__link.is-active, .nav__link:hover { color: var(--accent); font-style: italic; }
.nav__mobile-extra { display: grid; gap: 18px; margin-top: 32px; }
.nav__contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 700; }
.nav__contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

.nav-toggle {
	position: relative; z-index: 2;
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
	display: grid; place-content: center; gap: 5px;
}
.site-header.is-scrolled .nav-toggle, body:not(.is-sectioned):not(.is-landing) .nav-toggle { background: var(--ink-800); color: var(--white); }
.nav-toggle__bar { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav-open .nav-toggle { background: rgba(255, 255, 255, .16); color: var(--white); }
.nav-open .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
/* backdrop-filter/transform creerebbero un containing block e "intrappolerebbero" il pannello fixed */
.nav-open .site-header { color: var(--white) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; }
.nav-open .site-header::before { opacity: 0; }
.nav-open .brand__name b { color: var(--accent); }
.nav-open { overflow: hidden; }

.hide-md { display: none; }
.show-sm { display: inline; }
.hide-sm { display: none; }

/* ==========================================================================
   COPERTINE (blocco Copertina): hero, Settore TOP, invito, eventi, landing
   ========================================================================== */
.wp-block-cover:is(.hero, .lp-hero, .feature, .cta-band, .event--big) {
	position: relative; display: flex; overflow: hidden; isolation: isolate;
	min-height: 0; padding: 0; color: var(--white); box-sizing: border-box;
}
:is(.hero, .lp-hero, .feature, .cta-band, .event--big) > .wp-block-cover__image-background {
	position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; object-fit: cover;
}
:is(.hero, .lp-hero, .feature, .cta-band, .event--big) > .wp-block-cover__background {
	position: absolute; inset: 0; z-index: 1; opacity: 1 !important; background-color: transparent;
}
:is(.hero, .lp-hero, .feature, .cta-band, .event--big) > .wp-block-cover__inner-container {
	position: relative; z-index: 2; width: 100%; color: inherit;
}

/* ---------- Hero ---------- */
.wp-block-cover.hero {
	min-height: 100vh; min-height: 100svh;
	align-items: flex-end;
	padding: calc(var(--header-h) + 40px) 0 clamp(80px, 12vh, 120px);
}
.hero > .wp-block-cover__image-background { animation: hero-zoom 18s var(--ease) both; object-position: 50% 30%; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
:is(.hero, .lp-hero) > .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(42, 34, 27, .4) 0%, rgba(42, 34, 27, .05) 18%, rgba(42, 34, 27, .55) 38%, rgba(42, 34, 27, .9) 100%);
}
.hero__content, .lp-hero__content { display: grid; gap: 22px; justify-items: start; }
.hero__kicker {
	font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--sand-100); max-width: 52ch; line-height: 1.7;
}
.hero__kicker, .hero__lead { text-shadow: 0 1px 12px rgba(42, 34, 27, .6); }
.hero__display { font-size: clamp(3.1rem, 14vw, 7.4rem); line-height: .98; font-weight: 300; text-shadow: 0 4px 30px rgba(42, 34, 27, .35); }
.hero__display em, .lp-hero__display em { color: var(--sand-100); }
.hero__lead { font-size: clamp(1.05rem, 2.8vw, 1.3rem); max-width: 46ch; color: rgba(255, 255, 255, .92); }
.hero__cta { width: 100%; }
.hero__cta .wp-block-button { flex: 1 1 220px; }
.hero__cta .wp-block-button__link { width: 100%; min-height: 56px; padding: 16px 32px; font-size: .8rem; }
.hero__rating, .trust__item--star {
	display: inline-flex; align-items: center; gap: 10px; width: fit-content;
	font-size: .95rem; padding: 8px 14px; border-radius: 2px;
	background: rgba(42, 34, 27, .35); backdrop-filter: blur(8px);
}
.hero__rating::before {
	content: ""; width: 88px; height: 16px; flex: none;
	background: var(--sand-100);
	-webkit-mask: var(--i-star) 0 0 / 16px 16px repeat-x; mask: var(--i-star) 0 0 / 16px 16px repeat-x;
	-webkit-mask-size: 18px 16px; mask-size: 18px 16px;
}

/* ---------- Punti di forza (striscia scorrevole) ---------- */
.marquee { background: var(--sand-100); color: var(--ink-800); overflow: hidden; padding: 16px 0; border-bottom: 1px solid var(--line); }
.marquee__list { display: flex; gap: 56px; width: max-content; padding-left: 28px; animation: marquee 38s linear infinite; }
.marquee__list li {
	display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
	font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.marquee__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Split (testo + immagini) ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split__text { display: grid; gap: 18px; justify-items: start; }
.split__text .wp-block-buttons { margin-top: 10px; }

.checklist { display: grid; gap: 12px; margin-top: 8px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checklist li::before, .feature__list li::before {
	content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
	border: 1px solid var(--sand-300);
	background: no-repeat center / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5d45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.mosaic { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: end; }
.mosaic .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.mosaic__a { aspect-ratio: 3 / 4; }
.mosaic__b { aspect-ratio: 4 / 5; margin-bottom: -28px !important; }
.mosaic__a img, .mosaic__b img { aspect-ratio: inherit; }
.mosaic__badge {
	position: absolute; top: -18px; right: 6%;
	width: 108px; height: 108px; border-radius: 50%;
	background: var(--sand-50); color: var(--ink-800);
	border: 1px solid var(--sand-300); outline: 6px solid var(--sand-50);
	display: grid; place-content: center; text-align: center; line-height: 1.2;
	box-shadow: var(--shadow); transform: rotate(-8deg);
	font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.mosaic__badge strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 300; font-style: italic; color: var(--clay); letter-spacing: 0; text-transform: none; line-height: 1; }

/* ---------- Settore TOP ---------- */
.wp-block-cover.feature { display: block; padding: 0 0 var(--gutter); background: var(--sand-50); color: var(--ink); }
.feature > .wp-block-cover__image-background { position: relative; z-index: 0; aspect-ratio: 4 / 3; height: auto; }
.feature > .wp-block-cover__background { display: none; }
.feature > .wp-block-cover__inner-container { margin-top: -72px; }
.feature__card {
	background: var(--white); border-radius: var(--radius-l); padding: 30px 24px; box-shadow: var(--shadow-l);
	max-width: 520px; display: grid; gap: 16px; justify-items: start; color: var(--ink);
}
.feature__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.feature__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem; border-top: 1px solid var(--line); padding: 12px 0 4px; }
.feature__list li::before { width: 20px; height: 20px; border: 0; background-size: 18px; }
.feature__note { font-size: .82rem; color: var(--clay-700); font-weight: 600; font-style: italic; }

/* ---------- Postazioni (Beach Suite, Settore TOP, la tua spiaggia) ---------- */
.postazioni { display: grid; gap: 18px; }
.postazione {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-s);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.postazione:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.postazione__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.postazione__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 22px 26px; }
.postazione__body > p:not([class]) { color: var(--muted); font-size: .97rem; }
.postazione__body .wp-block-buttons { margin-top: auto; padding-top: 8px; }
.postazione__note { font-size: .82rem; color: var(--clay-700); font-weight: 600; font-style: italic; }
.postazione__list { margin-top: 0; gap: 8px; }
.postazione__list li { font-size: .93rem; }
/* Card chiare anche quando la sezione ha lo sfondo scuro: testi e pulsanti tornano scuri */
.section--deep .postazione { color: var(--ink-900); box-shadow: none; }
.section--deep .postazione .eyebrow { color: var(--clay-700); }
.section--deep .postazione :is(.h2, .h3, strong) { color: var(--ink-900); }
.section--deep .postazione :is(.h2, .h3) em { color: var(--clay); }
.section--deep .postazione :is(p, li) { color: var(--ink-800); }
.section--deep .postazione__body > p:not([class]) { color: var(--muted); }
.section--deep .postazione .postazione__note { color: var(--clay-700); }
.section--deep .postazione .wp-block-button__link { --bg: var(--ink-800); --fg: var(--sand-50); --bd: transparent; }
.section--deep .postazione .wp-block-button__link:hover { --bg: var(--ink-900); }
.section--deep .postazione .is-style-contorno .wp-block-button__link { --bg: transparent; --fg: var(--ink-800); --bd: var(--ink-800); backdrop-filter: none; -webkit-backdrop-filter: none; }
.section--deep .postazione .is-style-contorno .wp-block-button__link:hover { --bg: var(--ink-800); --fg: var(--sand-50); }

/* ---------- Servizi (card) ---------- */
.cards { display: grid; gap: 14px; }
.card {
	position: relative; background: var(--white); border-radius: var(--radius); padding: 24px;
	border: 1px solid var(--line);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card__icon, .place__icon {
	width: 54px; height: 54px; border-radius: 50%;
	border: 1px solid var(--sand-300); color: var(--clay-700); background: var(--sand-50);
}
.card__icon { margin-bottom: 20px; }
.card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: .97rem; }
.card__link a, .link-arrow {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
	font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--clay-700); text-decoration: none;
}
.card__link a::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
.card__link a:hover::after { transform: translateX(4px); }
@media (max-width: 599px) { /* mobile: icona a sinistra, card più compatte */
	.cards { gap: 10px; }
	.card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
	.card > * { grid-column: 2; }
	.card > .card__icon { grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; margin: 0; }
	.card__title { font-size: 1.2rem; margin-bottom: 2px; }
	.card__text { font-size: .93rem; line-height: 1.55; }
	.card__link a { margin-top: 6px; }
}

/* Mobile: Postazioni e Servizi in carosello orizzontale (come "Vivi Rimini"), per accorciare la pagina */
@media (max-width: 599px) {
	.postazioni, .cards {
		display: grid; grid-auto-flow: column; gap: 12px;
		overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px;
		scroll-padding-inline: var(--gutter); scrollbar-width: none;
	}
	.postazioni { grid-auto-columns: min(84%, 340px); }
	.cards { grid-auto-columns: min(78%, 300px); }
	.postazioni::-webkit-scrollbar, .cards::-webkit-scrollbar { display: none; }
	.postazioni > *, .cards > * { scroll-snap-align: start; }
	.cards .card { align-content: start; }
}

/* Mobile e tablet: nel Bar le foto stanno tra il titolo e il testo */
@media (max-width: 959px) {
	#bar .split { gap: 18px; justify-items: start; }
	#bar .split > .split__text { display: contents; }
	#bar .split > .split__text > * { order: 4; }
	#bar .split > .split__text > .eyebrow { order: 1; }
	#bar .split > .split__text > .wp-block-heading { order: 2; }
	#bar .split > .split__media { order: 3; justify-self: stretch; margin: 14px 0 44px; }
	#bar .split > .split__text > .wp-block-buttons { margin-top: 10px; }
}

.servizi__extra { margin: 32px auto 0; max-width: 60ch; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Bar & Ristorante ---------- */
.steps { display: grid; margin-top: 12px; counter-reset: passo; width: 100%; }
.steps li { position: relative; display: block; padding: 18px 0 18px 66px; min-height: 80px; align-content: center; border-bottom: 1px solid rgba(231, 223, 212, .16); counter-increment: passo; }
.steps li:first-child { border-top: 1px solid rgba(231, 223, 212, .16); }
.steps li::before {
	content: counter(passo); position: absolute; left: 0; top: 50%; translate: 0 -50%;
	width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center; border: 1px solid rgba(231, 223, 212, .35);
	font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--accent);
}
.steps li strong { margin-right: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips li { padding: 6px 14px; border-radius: 2px; border: 1px solid rgba(231, 223, 212, .25); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sand-100) !important; }

.bar__note { margin-top: 8px; padding: 14px 16px; border-left: 2px solid var(--accent); font-size: .92rem; font-style: italic; }
.stack { position: relative; padding-right: 18%; }
.stack__main img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.stack .stack__float { position: absolute; right: 0; bottom: -30px; width: 42%; }
.stack__float img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--ink-800); box-shadow: var(--shadow-l); }

.restaurant { margin-top: clamp(80px, 12vw, 140px); display: grid; background: var(--ink-900); border: 1px solid rgba(231, 223, 212, .1); border-radius: var(--radius-l); overflow: hidden; }
.restaurant__media img { height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.restaurant__text { padding: 28px 24px 32px; display: grid; gap: 14px; justify-items: start; }

/* ---------- Eventi ---------- */
.events { display: grid; gap: 14px; }
.event { border-radius: var(--radius-l); padding: 28px 24px; display: grid; gap: 10px; align-content: end; position: relative; overflow: hidden; min-height: 240px; }
.event p { opacity: .9; }
.wp-block-cover.event--big { display: flex; align-items: flex-end; min-height: 440px; padding: 28px 24px; border-radius: var(--radius-l); }
.event--big > .wp-block-cover__inner-container { display: grid; gap: 10px; }
.event--big > .wp-block-cover__image-background { transition: transform 1.2s var(--ease); }
.event--big:hover > .wp-block-cover__image-background { transform: scale(1.05); }
.event--big > .wp-block-cover__background { background: linear-gradient(transparent 35%, rgba(42, 34, 27, .9)); }
.event--light { background: var(--sand-100); color: var(--ink-800); }
.event--dark { background: var(--ink-800); color: var(--sand-100); }
.event__day { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; line-height: 1.2; margin-bottom: auto !important; padding-bottom: 28px; }
.event__day strong { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -.01em; text-transform: none; font-weight: 300; font-style: italic; color: inherit !important; }
.event--light .event__day strong { color: var(--clay) !important; }
.tag { display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 2px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }

/* ---------- Caroselli (scroll-snap, zero JS) ---------- */
.explore, .reviews {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px;
	scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.explore::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
.explore > *, .reviews > * { scroll-snap-align: start; }

.place { background: var(--white); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-s); }
.place__icon { width: 52px; height: 52px; }
.place__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; letter-spacing: -.01em; }
.place p { color: var(--muted); font-size: .96rem; }

/* Pagina dedicata: i box in griglia, senza scorrimento orizzontale */
.explore--grid { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }

/* Sezione "invito" (titolo a sinistra, testo e pulsante a destra) */
.section-head--teaser { margin-bottom: 0; }
.teaser-cta { display: grid; gap: 22px; justify-items: start; }
.teaser-cta .wp-block-buttons { margin: 0; }

/* Pagine secondarie a sezioni: la prima sezione parte sotto l'header */
.bc-subpage > .bc-section:first-child { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 88px)); }

/* ---------- Recensioni ---------- */
.rating-card { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 14px; background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-s); width: fit-content; }
.rating-card__score { grid-row: span 2; font-family: var(--font-display); font-size: 3rem; font-weight: 300; line-height: 1; color: var(--ink-800); }
.rating-card__label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.rating-card__label::before, .review::before {
	content: ""; display: block; width: 88px; height: 16px; margin-bottom: 4px;
	background: var(--clay); -webkit-mask: var(--i-star) 0 0 / 18px 16px repeat-x; mask: var(--i-star) 0 0 / 18px 16px repeat-x;
}
.review { background: var(--white); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-s); }
.review::before { margin-bottom: 0; }
.review__text { flex: 1; font-family: var(--font-display); font-size: 1.08rem; font-weight: 300; line-height: 1.55; }
.review__text::before { content: "“"; font-family: var(--font-display); font-size: 3rem; line-height: 0; vertical-align: -.45em; color: var(--clay); margin-right: 4px; }
.review__author { font-weight: 700; font-size: .95rem; }
.review__author::after { content: "Recensione Google"; display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.reviews__more { justify-content: center; margin-top: 40px; }
.reviews__live-note { margin-top: 8px; font-size: .8rem; color: var(--muted); }

/* Informazioni ancora da confermare (solo nelle bozze): ben visibili */
.bc-todo { background: #f6e3b4; color: #5b4300; padding: 1px 6px; border-radius: 3px; font-style: normal; font-weight: 700; font-size: .85em; }
.reviews-live { margin-top: 8px; }
.reviews-live a { color: var(--clay-700); }

/* ---------- Invito a prenotare ---------- */
.wp-block-cover.cta-band { text-align: center; padding-block: clamp(90px, 16vw, 170px); }
.wp-block-cover.cta-band--compact { padding-block: clamp(70px, 12vw, 120px); }
.cta-band > .wp-block-cover__background { background: linear-gradient(rgba(42, 34, 27, .6), rgba(42, 34, 27, .78)); }
.cta-band__inner { display: grid; gap: 20px; justify-items: center; }
.cta-band .lead { color: rgba(255, 255, 255, .88); max-width: 40ch; }
.cta-band .wp-block-buttons { justify-content: center; }

/* ---------- FAQ (blocco Dettagli) ---------- */
.faq { display: grid; border-top: 1px solid var(--sand-300); }
.wp-block-details.faq__item { border-bottom: 1px solid var(--sand-300); margin: 0; }
.faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 22px 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sand-300);
	background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h12M6 0v12' stroke='%233b332c' stroke-width='1.2'/%3E%3C/svg%3E");
	transition: transform .3s var(--ease), background-color .3s;
}
.faq__item[open] summary::after {
	background: var(--ink-800) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 6h12' stroke='%23f7f3ee' stroke-width='1.2'/%3E%3C/svg%3E");
	border-color: var(--ink-800); transform: rotate(180deg);
}
.faq__item > :not(summary) { padding: 0 48px 24px 4px; color: var(--muted); }

/* ---------- Contatti (blocco dinamico) ---------- */
.contact-list { display: grid; gap: 18px; margin: 12px 0 8px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sand-300); }
.contact-list a { color: var(--white); font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-list__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(231, 223, 212, .25); color: var(--accent); }

.map { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ink-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E"); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; border: 0; background: transparent; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--white); padding: 24px; text-align: center; }
.map__load .icon { color: var(--accent); animation: bob 2.4s ease-in-out infinite; }
.map__load strong { font-size: 1.15rem; }
.map__load small { opacity: .7; max-width: 30ch; }
.map__load:hover strong { text-decoration: underline; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ==========================================================================
   LANDING /prenota
   ========================================================================== */
.wp-block-cover.lp-hero { min-height: 78vh; min-height: 78svh; align-items: flex-end; padding: calc(var(--header-h) + 48px) 0 56px; }
.lp-hero__content { gap: 20px; }
.lp-hero__display { font-size: clamp(2.8rem, 12vw, 6rem); line-height: 1; font-weight: 300; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 2px; background: rgba(42, 34, 27, .45); backdrop-filter: blur(8px); font-size: .88rem; font-weight: 700; }
.trust__item::before {
	content: ""; width: 16px; height: 16px; flex: none; background: var(--sand-100);
	-webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.trust__item--star::before { -webkit-mask-image: var(--i-star); mask-image: var(--i-star); }

.promo-wrap { margin-top: -28px; position: relative; z-index: 3; }
.promo { background: var(--white); border-radius: var(--radius-l); padding: 34px 22px 26px; box-shadow: var(--shadow-l); border: 1px solid var(--sand-300); position: relative; display: grid; gap: 12px; }
.promo__badge { position: absolute; top: -15px; left: 22px; background: var(--ink-800); color: var(--sand-100); padding: 6px 14px; border-radius: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.booking-section { padding-top: clamp(56px, 9vw, 96px); }
.booking-steps { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; margin: -12px auto 28px; gap: 8px 20px; font-weight: 700; font-size: .92rem; counter-reset: passo; }
.booking-steps li { display: inline-flex; align-items: center; gap: 8px; counter-increment: passo; }
.booking-steps li::before { content: counter(passo); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--clay); color: var(--clay-700); font-size: .85rem; }
.booking { position: relative; background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow-l); overflow: hidden; margin-inline: calc(var(--gutter) * -1 + 8px); }
.booking__frame { position: relative; z-index: 1; width: 100%; height: 1150px; border: 0; background: transparent; }
.booking__loader { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; gap: 12px; padding-top: 120px; color: var(--muted); font-weight: 700; }
.booking__loader span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--sand-200); border-top-color: var(--clay); animation: spin .8s linear infinite; }
.booking__placeholder { display: grid; justify-items: center; gap: 8px; padding: 80px 24px; text-align: center; color: var(--muted); }
.booking__placeholder .icon { color: var(--clay); }
.booking__placeholder strong { color: var(--ink); font-size: 1.1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-help { max-width: 760px; margin: 24px auto 0; display: grid; gap: 12px; text-align: center; font-size: .95rem; color: var(--muted); }
.booking-help__note { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--sand-100); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); }
.booking-help__note .icon { color: var(--clay-700); margin-top: 2px; }
.booking-help a { font-weight: 700; color: var(--clay-700); }
.booking-help a .icon { display: inline; width: 14px; height: 14px; vertical-align: -1px; }

.usp { display: grid; gap: 12px; }
.usp__item { display: grid; gap: 6px; padding: 26px 22px; border-radius: var(--radius); border: 1px solid rgba(231, 223, 212, .16); }
.usp__icon { justify-content: start; color: var(--accent); margin-bottom: 8px; }
.usp__icon svg { width: 30px; height: 30px; }
.usp__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }

/* ---------- Pagine semplici (privacy, ecc.) ---------- */
.entry > * + * { margin-top: 1em; }
.entry h2, .entry h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; }
.entry h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.entry a { color: var(--clay-700); font-weight: 700; }
.entry ul.wp-block-list { list-style: disc; padding-left: 1.4em; }
.entry ol.wp-block-list { list-style: decimal; padding-left: 1.4em; }
.page-simple { padding: calc(var(--header-h) + 64px) 0 var(--section); min-height: 70vh; }
.page-404 .lead { margin-top: 16px; }

/* ---------- Comparsa allo scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   FOOTER, BARRA FLOTTANTE
   ========================================================================== */
.site-footer { background: var(--ink-900); color: rgba(231, 223, 212, .75); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__logo { width: 84px; height: 84px; border-radius: 50%; background: var(--sand-100); padding: 3px; }
.site-footer__claim { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: 1.6rem; color: var(--sand-100); line-height: 1.25; margin: 18px 0; }
.site-footer__title { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-300); margin-bottom: 12px; }
.site-footer__list { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .link-arrow { color: var(--accent); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--sand-100); color: var(--ink-900); border-color: var(--sand-100); }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 8px; font-size: .82rem; color: rgba(253, 249, 242, .55); }

.action-bar {
	position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 18px;
	background: rgba(42, 34, 27, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(231, 223, 212, .12);
	border-radius: 6px; box-shadow: var(--shadow-l);
	transform: translateY(160%); opacity: 0; transition: transform .5s var(--ease), opacity .35s;
}
.action-bar.is-visible { transform: none; opacity: 1; }
.action-bar__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--sand-100); text-decoration: none; }
.action-bar__text { display: grid; line-height: 1.15; min-width: 0; }
.action-bar__name { font-family: var(--font-brand); font-size: 1.45rem; font-weight: 400; line-height: 1; white-space: nowrap; }
.action-bar__name i { color: var(--accent); }
.action-bar__meta { display: flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 600; letter-spacing: .06em; color: rgba(231, 223, 212, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar__meta .stars { color: var(--accent); }
.action-bar__meta .stars svg { width: 11px; height: 11px; }
.action-bar__place { display: none; }
.action-bar__cta {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	min-height: 50px; padding: 0 18px; border-radius: 3px;
	background: var(--sand-100); color: var(--ink-900); text-decoration: none;
	font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	transition: background-color .2s;
}
.action-bar__cta:hover { background: var(--white); }
.action-bar__cta .icon { width: 18px; height: 18px; }
@media (min-width: 420px) { .action-bar__place { display: inline; } }

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
	.explore--grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	:root { --gutter: 32px; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.postazioni { grid-template-columns: repeat(2, 1fr); }
	.postazioni > :last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
	.postazioni > :last-child:nth-child(odd) .postazione__media { position: relative; min-height: 280px; }
	.postazioni > :last-child:nth-child(odd) .postazione__media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
	.hero__cta .wp-block-button { flex: 0 1 auto; }
	.events { grid-template-columns: 1fr 1fr; }
	.events > .event--big { grid-column: 1 / -1; }
	.usp { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.hide-sm { display: inline; }
	.show-sm { display: none; }
	.feature__card { padding: 40px; }
	.promo { padding: 38px 36px 32px; }
	.booking { margin-inline: 0; }
	.booking__frame { height: 980px; }
	.booking-steps { flex-direction: row; flex-wrap: wrap; }
}

/* ==========================================================================
   ≥ 960px (desktop)
   ========================================================================== */
@media (min-width: 960px) {
	:root { --header-h: 84px; }
	.hide-md { display: inline-flex; }


	.wp-block-cover.hero { align-items: center; padding-bottom: 120px; }
	:is(.hero, .lp-hero) > .wp-block-cover__background {
		background: linear-gradient(90deg, rgba(42, 34, 27, .85) 0%, rgba(42, 34, 27, .45) 50%, rgba(42, 34, 27, .1) 100%), linear-gradient(180deg, rgba(42, 34, 27, .4), transparent 25%);
	}

	.split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); }
	.split--reverse > .split__text { order: 2; }
	.split--top { align-items: start; }
	.section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; }
	.section-head--split > :last-child { justify-self: end; }
	.section-head--teaser { align-items: center; }
	.section-head--teaser > .teaser-cta { justify-self: stretch; max-width: 460px; margin-left: auto; }

	.wp-block-cover.feature { display: flex; align-items: center; padding: 140px 0; min-height: 720px; background: none; color: var(--white); }
	.feature > .wp-block-cover__image-background { position: absolute; aspect-ratio: auto; height: 100%; }
	.feature > .wp-block-cover__background { display: block; background: linear-gradient(90deg, rgba(42, 34, 27, .55), transparent 60%); }
	.feature > .wp-block-cover__inner-container { margin-top: 0; }

	.cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
	.postazioni { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.postazioni > :last-child:nth-child(odd) { grid-column: auto; display: flex; }
	.postazioni > :last-child:nth-child(odd) .postazione__media { min-height: 0; }
	.postazioni > :last-child:nth-child(odd) .postazione__media img { position: static; height: auto; aspect-ratio: 4 / 3; }

	.restaurant { grid-template-columns: 1.15fr 1fr; align-items: center; }
	.restaurant { align-items: stretch; }
	.restaurant__media { position: relative; min-height: 380px; height: 100%; }
	.restaurant__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto; }
	.restaurant__text { padding: 48px; }

	.events { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
	.events > .event--big { grid-column: 1; grid-row: 1 / 3; min-height: 560px; padding: 40px; }

	.explore { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 18px; }
	.reviews { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; margin: 0; padding: 6px 0 22px; }

	.usp { grid-template-columns: repeat(4, 1fr); gap: 18px; }

	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.site-footer__legal { grid-template-columns: 1fr auto; }

	.action-bar {
		left: 50%; right: auto; bottom: 24px; width: min(500px, calc(100% - 48px));
		translate: -50% 0; padding: 8px 8px 8px 24px;
	}
	.action-bar__name { font-size: 1.55rem; }
	.action-bar__meta { font-size: .7rem; }
	.action-bar__cta { min-height: 52px; padding: 0 26px; font-size: .74rem; }

	.booking__frame { height: 900px; }
	.wp-block-cover.lp-hero { min-height: 72vh; align-items: center; }
	.promo-wrap { margin-top: -56px; max-width: 900px; }
}

/* Menu completo in orizzontale solo dove c'è spazio (sotto: menu a tendina come su mobile).
   Così regge anche se nell'editor si aggiungono o rinominano sezioni. */
@media (min-width: 1240px) {
	html:not(.nav-crowded) .nav {
		position: static; inset: auto; padding: 0; background: none; color: inherit;
		visibility: visible; opacity: 1; clip-path: none; transition: none; overflow: visible;
		flex-direction: row;
	}
	html:not(.nav-crowded) .nav__list { display: flex; gap: 2px; }
	html:not(.nav-crowded) .nav__link {
		font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; white-space: nowrap; text-transform: uppercase;
		padding: 8px 10px; border-radius: 999px; opacity: 1; transform: none; position: relative;
	}
	html:not(.nav-crowded) .nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
	html:not(.nav-crowded) .nav__link:hover, html:not(.nav-crowded) .nav__link.is-active { color: inherit; font-style: normal; }
	html:not(.nav-crowded) .nav__link:hover::after, html:not(.nav-crowded) .nav__link.is-active::after { transform: scaleX(1); }
	html:not(.nav-crowded) .nav__mobile-extra, html:not(.nav-crowded) .nav-toggle { display: none; }
}
@media (min-width: 1360px) {
	html:not(.nav-crowded) .nav__link { padding-inline: 13px; }
}

/* Niente "hover appiccicoso" sui touch */
@media (hover: none) {
	.card:hover, .btn:hover, .wp-block-button__link:hover { transform: none; }
}

/* Mobile: i pulsanti lunghi vanno a capo invece di uscire dallo schermo */
@media (max-width: 599px) {
	.btn, .wp-block-button__link { white-space: normal; max-width: 100%; }
}

/* ==========================================================================
   Pagina "work in progress" (coming-soon.php)
   ========================================================================== */
.wip { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; color: var(--white); }
.wip__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wip__media picture { height: 100%; }
.wip__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 22s var(--ease) both; }
.wip__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 34, 27, .55), rgba(42, 34, 27, .72) 45%, rgba(42, 34, 27, .92)); }
.wip__inner {
	width: 100%; max-width: 980px; margin-inline: auto;
	padding: calc(32px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
	display: grid; grid-template-rows: auto 1fr auto; gap: 40px; text-align: center;
}
.wip__brand { display: grid; justify-items: center; gap: 6px; }
.wip__logo { width: 88px; height: 88px; border-radius: 50%; background: var(--sand-100); padding: 3px; margin-bottom: 8px; }
.wip__brand .brand__name { font-size: 2.3rem; }
.wip__content { align-self: center; display: grid; justify-items: center; gap: 22px; }
.wip__content .eyebrow { color: var(--sand-300); }
.wip__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 10vw, 5.6rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.wip__title em { font-style: italic; color: var(--sand-100); }
.wip__lead { max-width: 52ch; font-size: clamp(1rem, 2.6vw, 1.15rem); color: rgba(231, 223, 212, .85); }
.wip .btn-row { margin-top: 8px; justify-content: center; }
.wip .btn-row .btn { flex: 1 1 240px; }
.wip__footer { display: grid; justify-items: center; gap: 22px; font-size: .9rem; }
.wip__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.wip__contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--sand-100); }
.wip__contacts a:hover { color: var(--white); text-decoration: underline; }
.wip__contacts .icon { width: 18px; height: 18px; color: var(--accent); }
.wip .social a { color: var(--sand-100); }
.wip__legal { font-size: .75rem; color: rgba(231, 223, 212, .55); line-height: 1.8; }
.wip__legal a { color: inherit; }
@media (min-width: 600px) { .wip .btn-row .btn { flex: 0 1 auto; } }
.site-header .btn { white-space: nowrap; }
