/* ==========================================================================
   Statale 17: stile "Relais" (versione 4)
   Si carica dopo main.css quando in Personalizza → Stile grafico è scelto "Relais".
   Concetto: lusso discreto, come un relais di campagna. Fondo scuro color caffè,
   avorio per il testo, bronzo come unico accento. Titoli con grazie sottili,
   testo in maiuscoletto spaziato, cornici sottili attorno alle foto, molto spazio.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

body.stile-relais {
	--stone: #14110E;
	--stone-2: #1B1814;
	--paper: #1E1A16;
	--ink: #EDE6DA;
	--ink-soft: #A99F8F;
	--pine: #0E0C0A;
	--pine-2: #221E19;
	--on-pine: #EDE6DA;
	--straw: #BF9A63;
	--straw-hi: #D4B482;
	--straw-ink: #C7A470;
	--road: #BF9A63;
	--line: rgba(237, 230, 218, .12);
	--line-light: rgba(237, 230, 218, .14);
	--frame: rgba(191, 154, 99, .45);

	--f-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Garamond, Georgia, serif;
	--f-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--f-mono: "Jost", "Futura", system-ui, sans-serif;

	--wrap: 1200px;
	--r-lg: 0;
	--r-md: 0;
	--r-sm: 0;
	--header-h: 84px;
	font-size: 1.0625rem;
	font-weight: 300;
	letter-spacing: .01em;
}

/* pannelli chiari (modulo, finestra dettagli): stessi nomi di colore, valori invertiti */
.stile-relais .book__card {
	--paper: #F3EEE5;
	--stone: #E8E1D5;
	--stone-2: #E1D9CB;
	--ink: #1A1612;
	--ink-soft: #5E5548;
	--pine: #1A1612;
	--line: rgba(26, 22, 18, .16);
	--straw-ink: #7A5A2C;
}

/* ---------- tipografia ---------- */
.stile-relais h1, .stile-relais h2, .stile-relais h3 { font-weight: 300; letter-spacing: -.005em; line-height: 1.04; }
.stile-relais h1 em, .stile-relais h2 em { font-style: italic; font-weight: 300; color: var(--straw-ink); }
.stile-relais .h-xl { font-size: clamp(2.8rem, 5.6vw, 5.2rem); font-weight: 300; }
.stile-relais .h-lg { font-size: clamp(2.5rem, 4.8vw, 4.4rem); font-weight: 300; }
.stile-relais .h-md { font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 400; }
.stile-relais .h-sm { font-size: 1.85rem; font-weight: 400; letter-spacing: 0; }
.stile-relais .eyebrow { font: 400 .72rem/1.3 var(--f-body); letter-spacing: .32em; color: var(--straw-ink); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.stile-relais .eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; opacity: .8; }
.stile-relais .eyebrow--light { color: var(--straw); }
.stile-relais .lede { color: var(--ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.15rem); line-height: 1.75; margin-top: 2rem; }
.stile-relais .section { padding-block: clamp(5.5rem, 12vw, 10.5rem); }
.stile-relais :focus-visible { border-radius: 0; outline-width: 1px; outline-offset: 4px; }

/* ---------- pulsanti: rettangoli, maiuscoletto spaziato ---------- */
.stile-relais .btn { border-radius: 0; font: 500 .78rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; padding: 1.3em 2.1em; }
.stile-relais .btn:hover { transform: none; }
.stile-relais .btn--lg { font-size: .8rem; padding: 1.45em 2.4em; }
.stile-relais .btn--straw { background: var(--straw); color: #15110C; }
.stile-relais .btn--straw:hover { background: var(--straw-hi); }
.stile-relais .btn--ink { background: var(--ink); color: var(--paper); }
.stile-relais .btn--ink:hover { background: var(--straw); color: #15110C; }
.stile-relais .btn--glass { background: transparent; box-shadow: inset 0 0 0 1px rgba(237, 230, 218, .55); backdrop-filter: none; -webkit-backdrop-filter: none; }
.stile-relais .btn--glass:hover { background: rgba(237, 230, 218, .08); box-shadow: inset 0 0 0 1px var(--straw); }
.stile-relais .link-arrow { font: 500 .74rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; border-bottom-width: 1px; padding-bottom: 6px; color: var(--straw-ink); }

/* ---------- header ---------- */
.stile-relais .site-header { background: rgba(20, 17, 14, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.stile-relais .brand .logo-chiaro { opacity: 1; }
.stile-relais .brand .logo-scuro { opacity: 0; }
.stile-relais .nav ul { gap: 2.4rem; }
.stile-relais .nav ul a { font: 400 .74rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; }
.stile-relais .nav ul a::after { height: 1px; border-radius: 0; }
.stile-relais .site-header__cta { padding: 1.1em 1.6em; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--frame); }
.stile-relais .site-header__cta:hover { background: var(--straw); color: #15110C; box-shadow: none; }
.stile-relais .burger { border-radius: 0; border-width: 1px; border-color: var(--frame); }

/* ---------- apertura: foto piena, testo centrato ---------- */
.stile-relais .hero { align-items: center; text-align: center; background: var(--pine); min-height: max(640px, min(100svh, 1000px)); }
.stile-relais .hero__media img { animation-duration: 30s; filter: saturate(.8); }
.stile-relais .hero__media::after { background: radial-gradient(ellipse 80% 70% at 50% 52%, rgba(14, 12, 10, .5) 0%, rgba(14, 12, 10, .72) 100%), linear-gradient(180deg, rgba(14, 12, 10, .55) 0%, rgba(14, 12, 10, 0) 26%); }
.stile-relais .hero__body { display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 5rem; }
.stile-relais .hero .eyebrow { justify-content: center; color: #E2CBA4; }
.stile-relais .hero .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; opacity: .8; }
.stile-relais .hero__title { font-size: clamp(3.2rem, 8vw, 7.6rem); font-weight: 300; line-height: .98; letter-spacing: -.01em; max-width: 13ch; font-stretch: normal; }
.stile-relais .hero__title em { color: #E2CBA4; }
.stile-relais .hero__foot { flex-direction: column; align-items: center; padding-right: 0; gap: 2.5rem; margin-top: 2rem; }
.stile-relais .hero__sub { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 46ch; opacity: .9; }
.stile-relais .hero__actions { justify-content: center; gap: 1rem; }
.stile-relais .cippo { display: none; }
.stile-relais .hero::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: clamp(32px, 6vh, 64px); background: linear-gradient(180deg, rgba(226, 203, 164, 0), #E2CBA4); }

/* ---------- nastro ---------- */
.stile-relais .ticker { background: var(--stone); color: var(--straw-ink); border-block: 1px solid var(--line); padding-block: 1.5rem; }
.stile-relais .ticker__track { animation-duration: 70s; }
.stile-relais .ticker__group { font: italic 300 clamp(1.4rem, 2.2vw, 1.9rem)/1 var(--f-display); letter-spacing: .01em; gap: 2.2rem; padding-right: 2.2rem; }
.stile-relais .ticker svg { width: 8px; height: 8px; opacity: .7; }

/* ---------- foto con cornice sottile ---------- */
.stile-relais .ph, .stile-relais .room__img, .stile-relais .card__img { border-radius: 0; background: var(--stone-2); }
.stile-relais .ph img { filter: saturate(.85); }
.stile-relais .about__photos { gap: 20px; }
.stile-relais .about__photos .ph--1 { outline: 1px solid var(--frame); outline-offset: 12px; overflow: hidden; }
.stile-relais .table__photos .ph:first-child { outline: 1px solid var(--frame); outline-offset: 12px; aspect-ratio: 4 / 4.4; }
.stile-relais .ph--float { border: 0; outline: 10px solid var(--stone); width: 42%; aspect-ratio: 4 / 5; }

/* ---------- chi siamo ---------- */
.stile-relais .facts { border-top-color: var(--frame); margin-top: 3.25rem; padding-top: 2.25rem; }
.stile-relais .facts dt { font: 300 clamp(2.8rem, 4.4vw, 3.8rem)/1 var(--f-display); color: var(--straw-ink); letter-spacing: 0; }
.stile-relais .facts dd { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }

/* ---------- appartamenti ---------- */
.stile-relais .rooms { background: var(--stone-2); }
.stile-relais .section-head__txt { line-height: 1.75; }
.stile-relais .rooms__grid { gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.stile-relais .room { gap: 1.4rem; }
.stile-relais .room__open { border-radius: 0; }
.stile-relais .room__img { aspect-ratio: 3 / 4; }
.stile-relais .room__img img { filter: saturate(.85); }
.stile-relais .chip { top: auto; bottom: 0; left: 0; border-radius: 0; background: rgba(14, 12, 10, .78); color: #E2CBA4; font: 400 .66rem/1 var(--f-body); letter-spacing: .24em; padding: .95em 1.1em; }
.stile-relais .room__body { gap: .7rem; }
.stile-relais .room__body h3 { font-size: 1.9rem; font-weight: 400; letter-spacing: 0; }
.stile-relais .room__meta { font-size: .9rem; }
.stile-relais .room__meta .ico { width: 16px; height: 16px; }
.stile-relais .dlg { border-radius: 0; background: var(--stone-2); box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .6); }
.stile-relais .dlg::backdrop { background: rgba(8, 7, 5, .78); }
.stile-relais .dlg__close { border-radius: 0; background: rgba(14, 12, 10, .8); color: var(--ink); }
.stile-relais .tags li { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-size: .82rem; }

/* ---------- campi ---------- */
.stile-relais .fields { color: var(--ink); }
.stile-relais .fields__media img { filter: saturate(.7); }
.stile-relais .fields__media::after { background: linear-gradient(90deg, rgba(14, 12, 10, .95) 0%, rgba(14, 12, 10, .84) 55%, rgba(14, 12, 10, .7) 100%); }
.stile-relais .fields h2 em { color: var(--straw-ink); }
.stile-relais .fields__txt { line-height: 1.75; }
.stile-relais .grains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.stile-relais .grains li { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; border-top: 1px solid var(--line-light); padding: 1.3rem 0 1.4rem; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; }
.stile-relais .grains li:hover { background: transparent; }
.stile-relais .grains li:hover strong { color: var(--straw-hi); }
.stile-relais .grains svg { width: 18px; height: 28px; color: var(--straw); }
.stile-relais .grains strong { font: 400 1.6rem/1.1 var(--f-display); transition: color .2s; flex: 1 1 auto; }
.stile-relais .grains small { flex-basis: 100%; margin: 0; padding-left: calc(18px + .9rem); font: 400 .64rem/1.4 var(--f-body); letter-spacing: .22em; opacity: .65; }

/* ---------- ristorante ---------- */
.stile-relais .menu { border-top-color: var(--frame); }
.stile-relais .menu li { padding: 1.25rem 0; }
.stile-relais .menu span { font: 400 1.5rem/1.15 var(--f-display); }
.stile-relais .menu small { font: 400 .66rem/1.4 var(--f-body); letter-spacing: .2em; }
.stile-relais .note { font-size: .9rem; }

/* ---------- esperienze ---------- */
.stile-relais .exp { background: var(--stone); }
.stile-relais .card { background: transparent; border-radius: 0; overflow: visible; }
.stile-relais .card__img { aspect-ratio: 4 / 5; }
.stile-relais .card__img img { filter: saturate(.85); }
.stile-relais .card__body { padding: 1.75rem 0 0; gap: .9rem; }
.stile-relais .card .h-sm { font-size: 2rem; font-weight: 300; }
.stile-relais .card__body p:not(.eyebrow) { line-height: 1.7; }
.stile-relais .illo__sky { fill: #1E1A16; }
.stile-relais .illo__m1 { fill: #2B2620; }
.stile-relais .illo__m2 { fill: #39322A; }
.stile-relais .illo__snow { fill: #EDE6DA; opacity: .85; }

/* ---------- dintorni ---------- */
.stile-relais .around { background: var(--stone-2); }
.stile-relais .places li { font-weight: 400; padding: 1rem 0; }
.stile-relais .places small { font: 400 .66rem/1.3 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
.stile-relais .map { border-radius: 0; background: var(--stone); box-shadow: inset 0 0 0 1px var(--line); padding: 1rem; }
.stile-relais .map__relief path { fill: #EDE6DA; opacity: .05; }
.stile-relais .map__contour path { stroke: #EDE6DA; stroke-opacity: .12; }
.stile-relais .map__road { stroke-width: 4; }
.stile-relais .map__road-dash { stroke: var(--stone); stroke-width: 1; }
.stile-relais .map__road-label { font: 400 10px var(--f-body); letter-spacing: .2em; }
.stile-relais .map__places text { font: 400 13px var(--f-body); }
.stile-relais .map__dot { stroke: var(--stone); }
.stile-relais .map__us-l { font: italic 400 24px var(--f-display); fill: var(--straw-hi); letter-spacing: 0; }

/* ---------- prenota ---------- */
.stile-relais .book { background: var(--pine); }
.stile-relais .book h2 em { color: var(--straw-ink); }
.stile-relais .book__txt { line-height: 1.75; }
.stile-relais .contact-list { gap: 0; }
.stile-relais .contact-list a { border-radius: 0; box-shadow: none; border-top: 1px solid var(--line-light); padding: 1.1rem 0; }
.stile-relais .contact-list li:last-child a { border-bottom: 1px solid var(--line-light); }
.stile-relais .contact-list a:hover { background: transparent; color: var(--straw-hi); }
.stile-relais .contact-list .ico { width: 20px; height: 20px; }
.stile-relais .contact-list small { font: 400 .64rem/1.5 var(--f-body); letter-spacing: .22em; }
.stile-relais .book__card { border-radius: 0; box-shadow: 0 40px 120px rgba(0, 0, 0, .5); outline: 1px solid var(--frame); outline-offset: 12px; }
.stile-relais .form__alert { border-radius: 0; }
.stile-relais .seg legend { font: 500 .66rem/1 var(--f-body); letter-spacing: .24em; }
.stile-relais .seg__opts { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); padding: 0; gap: 0; }
.stile-relais .seg label { border-radius: 0; font: 500 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 1.15em .4em; }
.stile-relais .seg input:checked + label { background: var(--ink); color: var(--paper); }
.stile-relais .field label { font-weight: 500; font-size: .86rem; letter-spacing: .02em; }
.stile-relais .field input, .stile-relais .field select, .stile-relais .field textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(26, 22, 18, .3); border-radius: 0; padding: .7rem 0; font-weight: 400; }
.stile-relais .field input:hover, .stile-relais .field select:hover, .stile-relais .field textarea:hover { border-bottom-color: var(--ink-soft); }
.stile-relais .field input:focus, .stile-relais .field select:focus, .stile-relais .field textarea:focus { background: transparent; border-bottom-color: var(--straw-ink); box-shadow: 0 1px 0 var(--straw-ink); }
.stile-relais .field [aria-invalid="true"] { border-bottom-color: #B3261E; }
.stile-relais .form__grid { gap: 1.25rem 1.75rem; }
.stile-relais .book__card .btn--straw { background: var(--ink); color: var(--paper); }
.stile-relais .book__card .btn--straw:hover { background: #7A5A2C; color: #fff; }
.stile-relais .form-done svg { color: var(--straw-ink); }

/* ---------- footer ---------- */
.stile-relais .ridge { color: #0A0907; background: var(--pine); }
.stile-relais .site-footer { background: #0A0907; color: var(--ink); }
.stile-relais .site-footer__h { font: 400 .66rem/1 var(--f-body); letter-spacing: .26em; }
.stile-relais .site-footer p, .stile-relais .site-footer li { opacity: .7; }
.stile-relais .social a { border-radius: 0; }
.stile-relais .wa-float { background: #0E0C0A; color: var(--straw-hi); box-shadow: inset 0 0 0 1px var(--frame), 0 10px 30px rgba(0, 0, 0, .45); }

/* ---------- pagine semplici ---------- */
.stile-relais .prose { line-height: 1.75; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.stile-relais .nav { background: var(--stone); }
	.stile-relais .nav ul a { font: 300 2.2rem/1 var(--f-display); letter-spacing: 0; text-transform: none; padding: 1rem 0; }
	.stile-relais .about__photos .ph--1, .stile-relais .table__photos .ph:first-child, .stile-relais .book__card { outline-offset: 8px; }
}
@media (max-width: 700px) {
	.stile-relais { --header-h: 68px; }
	.stile-relais .hero { min-height: max(600px, 100svh); }
	.stile-relais .hero__body { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3.5rem; }
	.stile-relais .hero__title { font-size: clamp(2.9rem, 13vw, 4.2rem); }
	.stile-relais .hero__foot { gap: 1.75rem; margin-top: 1.5rem; }
	.stile-relais .hero__actions { gap: .75rem; }
	.stile-relais .grains { grid-template-columns: minmax(0, 1fr); }
	.stile-relais .seg label { letter-spacing: .1em; }
	.stile-relais .about__photos .ph--1, .stile-relais .table__photos .ph:first-child { outline: 0; }
	.stile-relais .book__card { outline: 0; }
	.stile-relais .eyebrow { letter-spacing: .24em; }
}
@media (max-width: 700px) {
	.stile-relais .hero .eyebrow::before, .stile-relais .hero .eyebrow::after { display: none; }
	.stile-relais .hero .eyebrow { letter-spacing: .2em; font-size: .62rem; line-height: 1.8; }
	.stile-relais .hero__title { font-size: clamp(3.1rem, 14.5vw, 4.4rem); }
}

/* domande frequenti */
.stile-relais .faq { background: var(--stone-2); }
.stile-relais .faq__q { font: 400 1.45rem/1.25 var(--f-display); }
.stile-relais .faq__a { line-height: 1.75; }
