/*!
 * Seppia customizations · Locanda Vecchio Novecento (Elementor)
 * Prefisso classi: .jes-
 * Versione: menu-font-globale-e33d7a4 (se nel file caricato dal sito NON trovi questa riga, il sito sta usando una copia vecchia)
 *
 * COSA GESTISCE QUESTO FILE
 * - Struttura, animazioni ed effetti.
 * - Colori e font SOLO degli elementi la cui resa dipende da codice o animazioni:
 *   pulsanti (.jes-btn), header e menu a tutto schermo, WhatsApp, barra di avanzamento,
 *   etichette con linea (.jes-kicker), testo che si accende (.jes-scrolltext), FAQ (.jes-faq), modulo (.jes-form).
 * - Tutto il resto (titoli, paragrafi, numeri, citazioni...) prende font e colori dai globali di Elementor.
 *   Nel Navigator i widget stilizzati da qui hanno [CSS] nel nome.
 */

/* =========================================================
   1. TOKEN  (cambia qui per cambiare tutto; puoi usare i tuoi globali, es. var(--e-global-color-primary))
   ========================================================= */

:root {
	--jes-wine: #7A1217;  /* bordeaux del logo */
	--jes-wine-deep: #3A0E13;  /* vino scuro */
	--jes-deep: #1F0B0F;  /* quasi nero vinoso: header, menu, testi */
	--jes-ink: #1F0B0F;
	--jes-ink-soft: #4F4441;
	--jes-accent-ink: #7A1217;  /* testi e icone d'accento su fondo chiaro */
	--jes-gold: #A8863F;  /* oro su fondo chiaro */
	--jes-gold-dark: #D8BC7A;  /* oro su fondo scuro */
	--jes-on-dark: #FBF7F1;  /* avorio */
	--jes-on-dark-soft: #E3D8CF;
	--jes-line: rgba(128, 128, 128, .35);  /* filetti neutri */
	--jes-line-dark: rgba(251, 247, 241, .26);
	--jes-f-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--jes-f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jes-ease: cubic-bezier(.2, .7, .2, 1);
	--jes-ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* =========================================================
   2. BASE
   ========================================================= */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body.jes-design .elementor-heading-title {
	text-wrap: balance;
}

body.jes-design .elementor-widget-text-editor a {
	text-underline-offset: 4px;
}

body.jes-design :focus-visible {
	outline: 2px solid var(--jes-ink);
	outline-offset: 4px;
}

body.jes-design .jes-header :focus-visible {
	outline-color: var(--jes-hdr-fg, var(--jes-ink));
}

body.jes-design .jes-menu :focus-visible {
	outline-color: var(--jes-on-dark);
}

/* =========================================================
   3. COLONNE UGUALI E MISURA DEL TESTO
   ========================================================= */

@media (min-width: 768px) {
	body.jes-design .jes-cols > .e-con {
		flex: 1 1 0;
		min-width: 0;
	}
}

body.jes-design .jes-measure {
	max-width: 34em;
}

/* =========================================================
   4. FOTO (proporzioni fisse, ritaglio automatico)
   ========================================================= */

body.jes-design .jes-photo {
	position: relative;
	overflow: hidden;
	width: 100%;
}

body.jes-design .elementor-widget.jes-photo .elementor-widget-container {
	position: absolute;
	inset: 0;
}

body.jes-design .elementor-widget.jes-photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.9s var(--jes-ease);
}

body.jes-design .jes-ph-wide {
	aspect-ratio: 2.4/1;
}

body.jes-design .jes-ph-43 {
	aspect-ratio: 4/3;
}

body.jes-design .jes-ph-45 {
	aspect-ratio: 4/5;
}

@media (max-width: 767px) {
	body.jes-design .jes-ph-wide {
		aspect-ratio: 4/3;
	}
}

/* =========================================================
   4b. FOTO COME SFONDO DEL CONTENITORE
   Metti sul contenitore le stesse classi del widget immagine: jes-photo + jes-ph-wide / jes-ph-43 / jes-ph-45 (+ jes-reveal per l'effetto).
   La foto la scegli da Stile → Sfondo → Immagine. Se imposti tu dimensione/posizione dello sfondo, vincono le tue.
   ========================================================= */

:where(body.jes-design) .e-con.jes-photo {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body.jes-design .e-con.jes-photo {
	width: 100%;
	min-width: 0;
}

/* =========================================================
   5. ANIMAZIONI (attive solo con html.jes-anim: non nell'editor e non con "riduci movimento")
   ========================================================= */

.jes-d1 {
	--jes-dl: .15s;
}

.jes-d2 {
	--jes-dl: .3s;
}

html.jes-anim .jes-rv {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 1s var(--jes-ease) var(--jes-dl, 0s),
		transform 1s var(--jes-ease) var(--jes-dl, 0s);
}

html.jes-anim .jes-rv.jes-in {
	opacity: 1;
	transform: none;
}

html.jes-anim .elementor-widget.jes-reveal .elementor-widget-container {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.3s var(--jes-ease-io) var(--jes-dl, 0s);
}

html.jes-anim .elementor-widget.jes-reveal.jes-in .elementor-widget-container {
	clip-path: inset(0);
}

html.jes-anim .elementor-widget.jes-reveal img {
	transform: scale(1.16);
}

html.jes-anim .elementor-widget.jes-reveal.jes-in img {
	transform: scale(1);
}

/* foto come sfondo del contenitore: tendina verso il basso (maschera) + zoom che si assesta */
html.jes-anim body.jes-design .e-con.jes-reveal {
	isolation: isolate;
	-webkit-mask-image: linear-gradient(#000, #000);
	mask-image: linear-gradient(#000, #000);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: top;
	mask-position: top;
	-webkit-mask-size: 100% 0;
	mask-size: 100% 0;
	transition: -webkit-mask-size 1.3s var(--jes-ease-io) var(--jes-dl, 0s),
		mask-size 1.3s var(--jes-ease-io) var(--jes-dl, 0s);
}

html.jes-anim body.jes-design .e-con.jes-reveal.jes-in {
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

html.jes-anim body.jes-design .e-con.jes-reveal::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: inherit;
	transform: scale(1.16);
	transition: transform 1.9s var(--jes-ease);
}

html.jes-anim body.jes-design .e-con.jes-reveal.jes-in::after {
	transform: scale(1);
}

html.jes-anim .jes-split .jes-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: .16em;
	margin-bottom: -.16em;
}

html.jes-anim .jes-split .jes-w > span {
	display: inline-block;
	transform: translateY(112%);
	transition: transform 1s var(--jes-ease);
	transition-delay: calc(var(--jes-i, 0)*55ms);
}

html.jes-anim .jes-split.jes-in .jes-w > span {
	transform: none;
}

html.jes-anim .jes-fade {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 1.1s var(--jes-ease) var(--jes-fd, 0s),
		transform 1.1s var(--jes-ease) var(--jes-fd, 0s);
}

html.jes-anim.jes-loaded .jes-fade {
	opacity: 1;
	transform: none;
}

.jes-fd1 {
	--jes-fd: .7s;
}

.jes-fd2 {
	--jes-fd: .85s;
}

.jes-fd3 {
	--jes-fd: 1s;
}

.jes-fd4 {
	--jes-fd: 1.15s;
}

/* =========================================================
   6. TESTO CHE SI ACCENDE SCORRENDO  [font e colore da qui]
   ========================================================= */

body.jes-design .jes-scrolltext p {
	font-family: var(--jes-f-display);
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
	line-height: 1.55;
	font-weight: 400;
	color: var(--jes-ink);
	text-align: left;
	margin: 0;
}

.jes-sw {
	transition: opacity .35s;
}

html.jes-anim .jes-sw {
	opacity: .38;
}

html.jes-anim .jes-sw.jes-on {
	opacity: 1;
}

/* =========================================================
   6b. NUMERO CON CONTATORE (.jes-count): il "/5" è più piccolo del numero e segue il suo carattere
   Nel titolo: <span class="jes-num">4,6</span><small>/5</small>
   ========================================================= */

body.jes-design .jes-count small {
	font-size: .4em;
	font-weight: 500;
	letter-spacing: 0;
	margin-left: .15em;
	opacity: .7;
}

/* =========================================================
   7. FILETTI CHE SI DISEGNANO (righe con .jes-rule: sopra; con .jes-rule-b anche sotto)
   ========================================================= */

body.jes-design .jes-rule {
	--jes-l: linear-gradient(var(--jes-line), var(--jes-line));
	background-image: var(--jes-l);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 100% 1px;
}

body.jes-design .jes-rule.jes-rule-b {
	background-image: var(--jes-l),
		var(--jes-l);
	background-position: top left,
		bottom right;
	background-size: 100% 1px,
		100% 1px;
}

html.jes-anim body.jes-design .jes-rule {
	background-size: 0 1px;
	transition: background-size 1.4s var(--jes-ease-io);
}

html.jes-anim body.jes-design .jes-rule.jes-in {
	background-size: 100% 1px;
}

html.jes-anim body.jes-design .jes-rule.jes-rule-b {
	background-size: 0 1px,
		0 1px;
}

html.jes-anim body.jes-design .jes-rule.jes-rule-b.jes-in {
	background-size: 100% 1px,
		100% 1px;
}

/* =========================================================
   7b. LINEA CHE ENTRA SOTTO UN WIDGET: Editor di testo, Riquadro immagine, Icona, Immagine, Titolo...
   Classe sul widget (Avanzate → Classi CSS):
     jes-line-grey   linea grigia sottile
     jes-line-gold   linea dorata
   (jes-line = dorata, come jes-line-gold; extra facoltativi: jes-line--dark oro chiaro per fondi scuri,
    jes-line--center / jes-line--short, jes-d1 / jes-d2 ritardo)
   Variabili: --jes-line-w (larghezza), --jes-line-h (spessore), --jes-line-c (colore)
   ========================================================= */

body.jes-design .elementor-widget:is(.jes-line,.jes-line-grey,.jes-line-gold) {
	padding-bottom: 1.25rem;
}

body.jes-design :is(.jes-line,.jes-line-grey,.jes-line-gold)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--jes-line-w, 100%);
	height: var(--jes-line-h, 1px);
	background: var(--jes-line-c, var(--jes-gold));
	transform-origin: left center;
	pointer-events: none;
}

body.jes-design .jes-line-grey {
	--jes-line-c: var(--jes-line);
}

body.jes-design .jes-line-gold {
	--jes-line-c: var(--jes-gold);
}

body.jes-design .jes-line--center::after {
	left: 50%;
	margin-left: calc(var(--jes-line-w, 100%)/-2);
	transform-origin: center;
}

body.jes-design .jes-line--short {
	--jes-line-w: 3rem;
}

body.jes-design .jes-line--dark {
	--jes-line-c: var(--jes-gold-dark);
}

body.jes-design .jes-line--neutral {
	--jes-line-c: var(--jes-line);
}

html.jes-anim body.jes-design :is(.jes-line,.jes-line-grey,.jes-line-gold)::after {
	transform: scaleX(0);
	transition: transform 1.3s var(--jes-ease-io) var(--jes-dl, 0s);
}

html.jes-anim body.jes-design :is(.jes-line,.jes-line-grey,.jes-line-gold).jes-in::after {
	transform: scaleX(1);
}

/* =========================================================
   8. ETICHETTE CON LINEA (.jes-kicker)  [font e colore da qui]
   ========================================================= */

body.jes-design .jes-kicker .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin: 0;
	font: 600 .85rem/1.2 var(--jes-f-body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jes-accent-ink);
}

body.jes-design .jes-kicker .elementor-heading-title::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: var(--jes-gold);
	flex: none;
}

body.jes-design .jes-kicker--dark .elementor-heading-title {
	color: var(--jes-gold-dark);
}

body.jes-design .jes-kicker--dark .elementor-heading-title::before {
	background: var(--jes-gold-dark);
}

/* =========================================================
   9. PULSANTI: forma, font, colori e riempimento che sale al passaggio  [da qui]
   Varianti: jes-btn--primary (pieno bordeaux) · --outline (bordo bordeaux) · --light (avorio su fondo scuro) · --outline-light (bordo avorio su fondo scuro)
   ========================================================= */

body.jes-design .e-con > .jes-btn:not(:last-child),
body.jes-design .e-con-inner > .jes-btn:not(:last-child) {
	margin-block-end: 0;
}

body.jes-design .jes-btn .elementor-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	min-width: 19rem;
	padding: .9rem 1.9rem;
	font: 600 .98rem/1.2 var(--jes-f-body);
	letter-spacing: .04em;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0;
	box-shadow: none;
	transition: color .45s var(--jes-ease-io),
		border-color .45s;
}

body.jes-design .jes-btn .elementor-button::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	transform: translateY(101%);
	transition: transform .5s var(--jes-ease-io);
}

body.jes-design .jes-btn .elementor-button:hover::before,
body.jes-design .jes-btn .elementor-button:focus-visible::before {
	transform: none;
}

body.jes-design .jes-btn .elementor-button-content-wrapper {
	gap: .7rem;
}

body.jes-design .jes-btn--primary .elementor-button {
	background: var(--jes-b1-bg, var(--jes-wine));
	color: var(--jes-b1-fg, #fff);
}

body.jes-design .jes-btn--primary .elementor-button::before {
	background: var(--jes-b1-sweep, var(--jes-deep));
}

body.jes-design .jes-btn--primary .elementor-button:hover,
body.jes-design .jes-btn--primary .elementor-button:focus-visible {
	color: var(--jes-b1-hfg, #fff);
}

body.jes-design .jes-btn--outline .elementor-button {
	background: transparent;
	border-color: var(--jes-wine);
	color: var(--jes-wine);
}

body.jes-design .jes-btn--outline .elementor-button::before {
	background: var(--jes-wine);
}

body.jes-design .jes-btn--outline .elementor-button:hover,
body.jes-design .jes-btn--outline .elementor-button:focus-visible {
	color: #fff;
}

body.jes-design .jes-btn--light .elementor-button {
	background: var(--jes-on-dark);
	color: var(--jes-deep);
}

body.jes-design .jes-btn--light .elementor-button::before {
	background: var(--jes-gold-dark);
}

body.jes-design .jes-btn--light .elementor-button:hover,
body.jes-design .jes-btn--light .elementor-button:focus-visible {
	color: var(--jes-deep);
}

body.jes-design .jes-btn--outline-light .elementor-button {
	background: transparent;
	border-color: rgba(251, 247, 241, .7);
	color: var(--jes-on-dark);
}

body.jes-design .jes-btn--outline-light .elementor-button::before {
	background: var(--jes-on-dark);
}

body.jes-design .jes-btn--outline-light .elementor-button:hover,
body.jes-design .jes-btn--outline-light .elementor-button:focus-visible {
	color: var(--jes-deep);
}

body.jes-design .jes-btn--sm .elementor-button {
	min-width: 0;
	min-height: 46px;
	padding: .6rem 1.3rem;
	font-size: .95rem;
	border-color: var(--jes-hdr-btn-border, rgba(251, 247, 241, .4));
}

@media (max-width: 767px) {
	body.jes-design .jes-btn .elementor-button {
		width: 100%;
	}

	body.jes-design .jes-btn--sm .elementor-button {
		width: auto;
	}
}

/* =========================================================
   10. HERO: velo sulla foto e contenuti sopra
   ========================================================= */

body.jes-design .jes-hero {
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

body.jes-design .jes-hero::before {
	content: "";
	display: block;
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	opacity: 1;
	z-index: 0;
	pointer-events: none;
	background: rgba(31, 11, 15, .30);
}

body.jes-design .jes-hero > .jes-riga {
	position: relative;
	z-index: 1;
}

/* linea in fondo all'hero che invita a scorrere (barretta che scende). Nessun widget da aggiungere: usa il contenitore .jes-hero */
body.jes-design .jes-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2.5vh;
	width: 1px;
	height: 56px;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(var(--jes-on-dark), var(--jes-on-dark)) 0 -28px/100% 28px no-repeat,
		rgba(251, 247, 241, .25);
}

html.jes-anim body.jes-design .jes-hero::after {
	animation: jes-cue 2.4s var(--jes-ease-io) infinite;
}

@keyframes jes-cue {
	to {
		background-position: 0 56px,
			0 0;
	}
}

@media (max-width: 767px) {
	body.jes-design .jes-hero::after {
		display: none;
	}
}

/* =========================================================
   11. LINEA DEL TEMPO (storia, su fondo scuro)
   ========================================================= */

body.jes-design .jes-tl {
	position: relative;
}

body.jes-design .jes-tl::before {
	content: "";
	display: block;
	position: absolute;
	left: 5px;
	top: .6rem;
	bottom: .6rem;
	width: 1px;
	height: auto;
	opacity: 1;
	background: var(--jes-gold-dark);
	transform-origin: top;
}

body.jes-design .jes-tl-item {
	position: relative;
}

body.jes-design .jes-tl-item::before {
	content: "";
	display: block;
	position: absolute;
	left: -36px;
	top: .7rem;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--jes-gold-dark);
}

html.jes-anim body.jes-design .jes-tl::before {
	transform: scaleY(0);
	transition: transform 1.8s var(--jes-ease-io);
}

html.jes-anim body.jes-design .jes-tl.jes-in::before {
	transform: none;
}

/* =========================================================
   12. BANNER REGALO: cornice che si disegna
   ========================================================= */

body.jes-design .jes-regalo {
	position: relative;
}

body.jes-design .jes-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	pointer-events: none;
	--jes-fl: linear-gradient(var(--jes-gold-dark), var(--jes-gold-dark));
	background: var(--jes-fl) top left/100% 1px no-repeat,
		var(--jes-fl) bottom right/100% 1px no-repeat,
		var(--jes-fl) top right/1px 100% no-repeat,
		var(--jes-fl) bottom left/1px 100% no-repeat;
}

html.jes-anim body.jes-design .jes-frame {
	background-size: 0 1px,
		0 1px,
		1px 0,
		1px 0;
	transition: background-size 1.6s var(--jes-ease-io);
}

html.jes-anim body.jes-design .jes-regalo.jes-in .jes-frame {
	background-size: 100% 1px,
		100% 1px,
		1px 100%,
		1px 100%;
}

/* =========================================================
   13. FAQ (accordion nativo di Elementor)  [font e colori da qui]
   ========================================================= */

body.jes-design .jes-faq .elementor-accordion {
	border-top: 1px solid var(--jes-line);
}

body.jes-design .jes-faq .elementor-accordion .elementor-accordion-item {
	border: 0;
	border-bottom: 1px solid var(--jes-line);
}

body.jes-design .jes-faq .elementor-accordion .elementor-tab-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.4rem 0;
	min-height: 68px;
	border: 0;
	background: transparent;
	margin: 0;
}

body.jes-design .jes-faq .elementor-accordion .elementor-accordion-icon {
	order: 2;
	float: none;
	margin: 0;
	width: auto;
	color: var(--jes-accent-ink);
	font-size: .95rem;
}

body.jes-design .jes-faq .elementor-accordion .elementor-accordion-icon i,
body.jes-design .jes-faq .elementor-accordion .elementor-accordion-icon svg {
	color: var(--jes-accent-ink);
	fill: var(--jes-accent-ink);
}

body.jes-design .jes-faq .elementor-accordion .elementor-accordion-title {
	order: 1;
	flex: 1;
	font-family: var(--jes-f-display);
	font-weight: 400;
	font-size: clamp(1.2rem, 1.45vw, 1.4rem);
	line-height: 1.3;
	color: var(--jes-ink);
	text-decoration: none;
	transition: color .3s,
		padding-left .4s var(--jes-ease);
}

body.jes-design .jes-faq .elementor-accordion .elementor-tab-title:hover .elementor-accordion-title,
body.jes-design .jes-faq .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title {
	color: var(--jes-accent-ink);
}

body.jes-design .jes-faq .elementor-accordion .elementor-tab-title:hover .elementor-accordion-title {
	padding-left: .6rem;
}

body.jes-design .jes-faq .elementor-accordion .elementor-tab-content {
	border: 0;
	padding: 0 3rem 1.6rem 0;
	font-family: var(--jes-f-body);
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--jes-ink-soft);
}

body.jes-design .jes-faq .elementor-tab-content p {
	margin: 0;
}

/* =========================================================
   14. MODULO (campi con sola linea in basso)  [font e colori da qui]
   ========================================================= */

body.jes-design .jes-form .elementor-form-fields-wrapper {
	row-gap: 1.75rem;
}

body.jes-design .jes-form .elementor-field-group {
	margin-bottom: 0;
	align-items: flex-start;
	align-content: flex-start;
}

body.jes-design .jes-form .elementor-field-label {
	font-family: var(--jes-f-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--jes-ink);
	margin-bottom: .2rem;
	padding: 0;
}

body.jes-design .jes-form .elementor-mark-required .elementor-field-label::after {
	color: var(--jes-accent-ink);
	padding-left: .2em;
}

body.jes-design .jes-form .elementor-field-textual {
	font-family: var(--jes-f-body);
	font-size: 1.05rem;
	color: var(--jes-ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid #6B605B;
	border-radius: 0;
	padding: .75rem 0;
	min-height: 52px;
	box-shadow: none;
	transition: border-color .3s,
		box-shadow .3s;
}

body.jes-design .jes-form textarea.elementor-field-textual {
	min-height: 130px;
	resize: vertical;
	line-height: 1.55;
}

body.jes-design .jes-form .elementor-field-textual::placeholder {
	color: #7A6E68;
	opacity: 1;
	font-style: italic;
}

body.jes-design .jes-form .elementor-field-textual:focus {
	border-bottom-color: var(--jes-ink);
	box-shadow: 0 1px 0 0 var(--jes-ink);
	outline: none;
}

body.jes-design .jes-form .elementor-select-wrapper select {
	background: transparent;
	padding-left: 0;
}

body.jes-design .jes-form .elementor-field-type-acceptance label {
	font-size: 1rem;
	color: var(--jes-ink-soft);
	line-height: 1.5;
}

body.jes-design .jes-form .elementor-field-type-acceptance a {
	color: var(--jes-ink);
}

body.jes-design .jes-form .elementor-field-subgroup .elementor-field-option input {
	accent-color: var(--jes-wine);
	width: 20px;
	height: 20px;
	margin-right: .6rem;
}

body.jes-design .jes-form .elementor-field-subgroup .elementor-field-option {
	display: inline-flex;
	align-items: flex-start;
}

body.jes-design .jes-form .elementor-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 56px;
	padding: .9rem 1.9rem;
	font: 600 .98rem/1.2 var(--jes-f-body);
	letter-spacing: .04em;
	border: 0;
	border-radius: 0;
	background: var(--jes-wine);
	color: #fff;
	transition: color .45s var(--jes-ease-io);
}

body.jes-design .jes-form .elementor-button::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background: var(--jes-deep);
	transform: translateY(101%);
	transition: transform .5s var(--jes-ease-io);
}

body.jes-design .jes-form .elementor-button:hover::before,
body.jes-design .jes-form .elementor-button:focus-visible::before {
	transform: none;
}

body.jes-design .jes-form .elementor-message {
	font-family: var(--jes-f-display);
	font-size: 1.15rem;
	line-height: 1.4;
	margin: 1rem 0 0;
	color: var(--jes-ink);
}

body.jes-design .jes-form .elementor-message.elementor-message-danger,
body.jes-design .jes-form .elementor-message.elementor-help-inline {
	color: #A3231B;
	font-family: var(--jes-f-body);
	font-size: .95rem;
	font-weight: 500;
}

body.jes-design .jes-form .jes-hint {
	font-family: var(--jes-f-body);
	font-size: .95rem;
	color: var(--jes-ink-soft);
	margin: .4rem 0 0;
}

@media (min-width: 768px) {
	body.jes-design .jes-form .elementor-button {
		min-width: 240px;
	}
}

/* =========================================================
   15. HEADER FISSO (sempre visibile) E SUOI PULSANTI  [colori e font da qui]
   ========================================================= */

body.jes-design .elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 99;
}

body.admin-bar.jes-design .elementor-location-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.jes-design .elementor-location-header {
		top: 46px;
	}
}

/* sotto i 600px la barra di WordPress non è più fissa: l'header resta a zero */
@media (max-width: 600px) {
	body.admin-bar.jes-design .elementor-location-header {
		top: 0;
	}
}

/* pagine con hero: l'header si sovrappone all'hero (trasparente in cima); senza hero resta una barra piena che scorre con la pagina */
body.jes-design:has(.jes-hero) .elementor-location-header {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}

/* stato PIENO (dopo lo scroll, e sempre nelle pagine senza hero): sfondo = tuo colore globale ffa0de6, testi scuri */
body.jes-design .jes-header {
	--jes-hdr-bg: var(--e-global-color-ffa0de6, Canvas);
	--jes-hdr-fg: var(--jes-ink);
	--jes-hdr-line: var(--jes-line);
	--jes-hdr-btn-border: transparent;
	--jes-b1-bg: var(--jes-wine);
	--jes-b1-fg: #fff;
	--jes-b1-sweep: var(--jes-deep);
	--jes-b1-hfg: #fff;
	background-color: var(--jes-hdr-bg);
	color: var(--jes-hdr-fg);
	box-shadow: 0 1px 0 var(--jes-hdr-line);
	transition: background-color .4s var(--jes-ease),
		box-shadow .4s,
		color .4s;
}

/* stato TRASPARENTE (in cima, solo pagine con hero): testi chiari e pulsante come sull'hero scuro */
body.jes-design:has(.jes-hero) .jes-header:not(.jes-solid) {
	--jes-hdr-bg: transparent;
	--jes-hdr-fg: var(--jes-on-dark);
	--jes-hdr-line: transparent;
	--jes-hdr-btn-border: rgba(251, 247, 241, .4);
	--jes-b1-sweep: var(--jes-gold-dark);
	--jes-b1-hfg: var(--jes-deep);
}

body.jes-design .jes-brand img {
	display: block;
	height: auto;
	max-width: 100%;
}

body.jes-design .jes-tel .elementor-button,
body.jes-design .jes-menu-toggle .elementor-button,
body.jes-design .jes-menu-close .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	min-height: 44px;
	padding: .5rem .25rem;
	font: 500 1rem/1.2 var(--jes-f-body);
	letter-spacing: .03em;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

body.jes-design .jes-header .jes-tel .elementor-button,
body.jes-design .jes-header .jes-menu-toggle .elementor-button {
	color: var(--jes-hdr-fg);
	fill: currentColor;
	transition: color .4s,
		fill .4s;
}

body.jes-design .jes-menu-close .elementor-button {
	color: var(--jes-on-dark);
	fill: currentColor;
}

/* icone dei pulsanti dell'header: Elementor colora le icone SVG con "fill", che qui segue il colore del testo */
body.jes-design .jes-tel .elementor-button-icon,
body.jes-design .jes-tel .elementor-button-icon i {
	color: inherit;
}

body.jes-design .jes-tel .elementor-button-icon svg,
body.jes-design .jes-tel .elementor-button-icon svg path {
	fill: currentColor;
	transition: fill .4s;
}

body.jes-design .jes-tel .elementor-button-icon {
	margin-right: .65rem;
}

body.jes-design .jes-header :focus-visible {
	outline-offset: 2px;
}

body.jes-design .jes-menu:focus {
	outline: none;
}

body.jes-design .jes-header .elementor-button-text {
	white-space: nowrap;
}

body.jes-design .jes-header-r {
	--width: auto;
	width: auto;
	flex: 0 1 auto;
	margin-left: auto;
}

@media (max-width: 767px) {
	body.jes-design .jes-header-bar > .e-con-inner {
		flex-wrap: nowrap;
		align-items: center;
	}

	body.jes-design .jes-header-cta .elementor-button {
		padding: .55rem 1rem;
	}
}

/* icona "due linee" accanto alla parola Menu */
body.jes-design .jes-menu-toggle .elementor-button-content-wrapper::after {
	content: "";
	display: block;
	width: 30px;
	height: 9px;
	margin-left: .9rem;
	background: linear-gradient(currentColor, currentColor) top left/100% 1px no-repeat,
		linear-gradient(currentColor, currentColor) bottom right/60% 1px no-repeat;
	transition: background-size .4s var(--jes-ease);
}

body.jes-design .jes-menu-toggle .elementor-button:hover .elementor-button-content-wrapper::after {
	background-size: 100% 1px,
		100% 1px;
}

@media (max-width: 1024px) {
	body.jes-design .jes-tel .elementor-button-text,
	body.jes-design .jes-menu-toggle .elementor-button-text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	body.jes-design .jes-menu-toggle .elementor-button-content-wrapper::after {
		margin-left: 0;
	}

	body.jes-design .jes-tel .elementor-button-icon {
		margin: 0;
	}
}

/* =========================================================
   16. MENU A TUTTO SCHERMO  [colori e animazione da qui; font delle voci = tuo carattere globale e33d7a4]
   ========================================================= */

body.jes-design .jes-menu {
	--jes-b1-bg: var(--jes-on-dark);
	--jes-b1-fg: var(--jes-deep);
	position: fixed;
	inset: 0;
	z-index: 100;
	overflow: auto;
	background-color: var(--jes-deep);
	color: var(--jes-on-dark);
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path .8s var(--jes-ease-io),
		visibility 0s .8s;
}

/* Elementor su mobile manda a capo tutti i contenitori: nel menu (alto quanto lo schermo) il secondo blocco finiva in una seconda colonna a destra, e serviva scorrere in orizzontale. Qui: una sola colonna che scorre in verticale. */
body.jes-design .jes-menu {
	--flex-wrap: nowrap;
	flex-wrap: nowrap;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

body.jes-design .jes-menu > .e-con {
	flex-shrink: 0;
	max-width: 100%;
}

body.jes-design .jes-menu .jes-riga > .e-con-inner {
	flex-wrap: nowrap;
}

body.jes-design .jes-menu.jes-open {
	clip-path: inset(0);
	visibility: visible;
	transition: clip-path .8s var(--jes-ease-io),
		visibility 0s;
}

body.jes-design .jes-menu-close .elementor-button-content-wrapper {
	position: relative;
}

body.jes-design .jes-menu-close .elementor-button-content-wrapper::after {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	margin-left: .9rem;
	background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat;
	transform: rotate(45deg);
	transition: transform .5s var(--jes-ease);
}

body.jes-design .jes-menu-close .elementor-button-content-wrapper::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	position: absolute;
	right: 0;
	background: linear-gradient(currentColor, currentColor) center/100% 1px no-repeat;
	transform: rotate(-45deg);
	transition: transform .5s var(--jes-ease);
}

body.jes-design .jes-menu-close .elementor-button:hover .elementor-button-content-wrapper::after {
	transform: rotate(135deg);
}

body.jes-design .jes-menu-close .elementor-button:hover .elementor-button-content-wrapper::before {
	transform: rotate(45deg);
}

body.jes-design .jes-menu-nav .elementor-nav-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
}

body.jes-design .jes-menu-nav .elementor-nav-menu > li {
	overflow: hidden;
	margin: 0;
	padding: 0;
	width: 100%;
}

body.jes-design .jes-menu-nav .elementor-nav-menu > li > a.elementor-item {
	display: block;
	margin: 0;
	padding: .3rem 0;
	font-family: var(--e-global-typography-e33d7a4-font-family), Sans-serif;
	font-size: var(--e-global-typography-e33d7a4-font-size);
	font-weight: var(--e-global-typography-e33d7a4-font-weight);
	line-height: var(--e-global-typography-e33d7a4-line-height);
	color: var(--jes-on-dark);
	text-decoration: none;
	background: none;
	transform: translateY(105%);
	transition: transform .9s var(--jes-ease),
		color .3s,
		padding-left .4s var(--jes-ease);
}

body.jes-design .jes-menu.jes-open .jes-menu-nav .elementor-nav-menu > li > a.elementor-item {
	transform: none;
	transition-delay: calc(.25s + var(--jes-i, 0)*70ms), 0s, 0s;
}

body.jes-design .jes-menu-nav .elementor-nav-menu > li > a.elementor-item:hover,
body.jes-design .jes-menu-nav .elementor-nav-menu > li > a.elementor-item:focus-visible {
	padding-left: 1rem;
	color: var(--jes-gold-dark);
}

body.jes-design .jes-menu-nav .elementor-nav-menu > li.current-menu-item > a.elementor-item,
body.jes-design .jes-menu-nav .elementor-nav-menu > li.current-menu-ancestor > a.elementor-item {
	color: var(--jes-gold-dark);
}

/* sottomenu (se il tuo menu WordPress ne ha): sempre aperto e rientrato */
body.jes-design .jes-menu-nav .sub-menu {
	position: static!important;
	display: block!important;
	visibility: visible!important;
	width: auto!important;
	min-width: 0!important;
	left: auto!important;
	top: auto!important;
	margin: 0 0 .6rem!important;
	padding: 0 0 0 1.25rem;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.jes-design .jes-menu-nav .sub-menu a.elementor-sub-item {
	padding: .35rem 0;
	background: transparent;
	color: var(--jes-on-dark-soft);
	text-decoration: none;
	transition: color .3s;
}

body.jes-design .jes-menu-nav .sub-menu a.elementor-sub-item:hover {
	color: var(--jes-gold-dark);
}

body.jes-design .jes-menu-nav .sub-arrow {
	display: none;
}

body.jes-design .jes-menu-info {
	opacity: 0;
	transition: opacity .8s .6s;
}

body.jes-design .jes-menu.jes-open .jes-menu-info {
	opacity: 1;
}

body.jes-design .jes-menu-label .elementor-heading-title {
	font: 600 .85rem/1.2 var(--jes-f-body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jes-gold-dark);
}

body.jes-design .jes-menu-tel .elementor-heading-title,
body.jes-design .jes-menu-tel .elementor-heading-title a {
	font-family: var(--jes-f-display);
	font-weight: 400;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	line-height: 1.1;
	color: var(--jes-on-dark);
	text-decoration: none;
	font-variant-numeric: lining-nums;
}

body.jes-design .jes-menu-text {
	font-family: var(--jes-f-body);
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--jes-on-dark-soft);
}

body.jes-design .jes-menu-text a {
	color: var(--jes-on-dark);
}

body.jes-design .jes-menu .jes-btn .elementor-button {
	min-width: 0;
	padding-inline: 2.25rem;
}

/* nell'editor il menu resta sempre visibile e modificabile */
.elementor-editor-active body.jes-design .elementor-location-header {
	position: relative;
}

.elementor-editor-active body.jes-design .jes-menu {
	position: relative;
	clip-path: none;
	visibility: visible;
}

.elementor-editor-active body.jes-design .jes-menu-info {
	transform: none;
	opacity: 1;
}

/* =========================================================
   16b. FOOTER (colori e font da qui)
   Desktop: 3 colonne · tablet: contatti + orari affiancati e mappa sotto · mobile: 1 colonna (larghezze impostate nel template)
   ========================================================= */

body.jes-design .jes-footer {
	background-color: var(--jes-deep);
	color: var(--jes-on-dark);
}

body.jes-design .jes-footer :focus-visible {
	outline-color: var(--jes-on-dark);
}

body.jes-design .jes-foot-name .elementor-heading-title {
	margin: 0;
	font-family: var(--jes-f-display);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--jes-on-dark);
}

body.jes-design .jes-foot-label .elementor-heading-title {
	margin: 0;
	font: 600 .85rem/1.2 var(--jes-f-body);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jes-gold-dark);
}

body.jes-design .jes-foot-sub .elementor-heading-title {
	margin: 0;
	font: 600 1.1rem/1.4 var(--jes-f-body);
	color: var(--jes-on-dark);
}

body.jes-design .jes-foot-text {
	font-family: var(--jes-f-body);
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--jes-on-dark-soft);
	text-align: center;
}

body.jes-design .jes-foot-text p {
	margin: 0;
}

body.jes-design .jes-foot-text a,
body.jes-design .jes-legal a {
	color: var(--jes-on-dark);
	text-underline-offset: 5px;
}

body.jes-design .jes-foot-social .elementor-icon-list-items {
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}

body.jes-design .jes-foot-social .elementor-icon-list-item a {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--jes-f-body);
	font-size: 1.05rem;
	color: var(--jes-on-dark);
	text-decoration: none;
}

body.jes-design .jes-foot-social .elementor-icon-list-icon {
	width: auto;
}

body.jes-design .jes-foot-social .elementor-icon-list-icon i,
body.jes-design .jes-foot-social .elementor-icon-list-icon svg {
	color: var(--jes-on-dark);
	fill: var(--jes-on-dark);
	font-size: 1.2rem;
}

body.jes-design .jes-foot-social .elementor-icon-list-text {
	padding: 0;
	color: var(--jes-on-dark);
	border-bottom: 1px solid currentColor;
}

body.jes-design .jes-hours {
	width: 100%;
	max-width: 22rem;
}

body.jes-design .jes-hours-row {
	border-bottom: 1px solid var(--jes-line-dark);
}

body.jes-design .jes-hours-day,
body.jes-design .jes-hours-time {
	font-family: var(--jes-f-body);
	font-size: 1.02rem;
	line-height: 1.5;
}

body.jes-design .jes-hours-day p,
body.jes-design .jes-hours-time p {
	margin: 0;
}

body.jes-design .jes-hours-day {
	color: var(--jes-on-dark-soft);
}

body.jes-design .jes-hours-time {
	color: var(--jes-on-dark);
}

body.jes-design .jes-map {
	width: 100%;
	border: 1px solid var(--jes-line-dark);
	overflow: hidden;
}

/* mappa in tono scuro, per intonarla al footer (togli la riga per la mappa a colori) */
body.jes-design .jes-map iframe {
	display: block;
	width: 100%;
	filter: grayscale(1) invert(.92) contrast(.9);
}

body.jes-design .jes-footer .jes-btn {
	align-self: center;
}

body.jes-design .jes-footer .jes-btn .elementor-button {
	min-width: 0;
}

body.jes-design .jes-legal-wrap {
	border-top: 1px solid var(--jes-line-dark);
}

body.jes-design .jes-legal {
	font-family: var(--jes-f-body);
	font-size: .9rem;
	line-height: 1.75;
	color: var(--jes-on-dark-soft);
	text-align: center;
}

body.jes-design .jes-legal p {
	margin: 0;
}

/* =========================================================
   17. BARRA DI AVANZAMENTO
   ========================================================= */

.jes-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3.5px;
	z-index: 200;
	background: var(--jes-gold-dark);
	transform-origin: left;
	transform: scaleX(var(--jes-p, 0));
	pointer-events: none;
}

/* =========================================================
   18. ACCESSIBILITÀ
   ========================================================= */

.jes-skip {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 300;
	padding: .8rem 1.2rem;
	background: var(--jes-on-dark);
	color: var(--jes-deep);
	font: 600 1rem var(--jes-f-body);
	text-decoration: none;
}

.jes-skip:focus {
	top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none!important;
		transition-duration: .01ms!important;
	}
}

/*ninja*/
.nf-form-fields-required {
	display: none;
}

/*end ninja*/