/* ==========================================================================
   Webtrina — siti demo
   Base comune + un tema per ogni attività (body.t-*)
   ========================================================================== */

@font-face { font-family: "Jakarta"; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 200 700; font-display: swap; src: url("fonts/oswald-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif"; font-weight: 200 900; font-display: swap; src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }

:root {
  --c-bg: #ffffff;
  --c-surface: #f6f6f6;
  --c-ink: #161616;
  --c-muted: #5c5c5c;
  --c-line: rgba(0, 0, 0, .12);
  --c-accent: #222;
  --c-accent-ink: #fff;
  --f-head: "Jakarta", system-ui, sans-serif;
  --f-body: "Jakarta", system-ui, sans-serif;
  --head-weight: 700;
  --head-spacing: -.02em;
  --head-transform: none;
  --radius: 14px;
  --btn-radius: 999px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 .45em;
  font-family: var(--f-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing);
  text-transform: var(--head-transform);
  line-height: 1.08;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.s-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .s-container { padding: 0 32px; } }

/* ---------- Barra Webtrina (fuori dal sito demo) ---------- */
.wt-bar {
  background: #0d1120;
  color: #d5d9e6;
  font-family: "Jakarta", system-ui, sans-serif;
  font-size: .8125rem;
}
.wt-bar-in { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.wt-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.wt-bar .wt-tag { padding: 3px 9px; border-radius: 99px; background: #ffd23f; color: #0d1120; font-weight: 800; letter-spacing: .08em; font-size: .6875rem; }
.wt-bar .wt-note { display: none; }
.wt-bar .wt-cta { margin-left: auto; padding: 7px 14px; border-radius: 99px; background: #2f5bff; white-space: nowrap; }
.wt-bar .wt-cta:hover { background: #1e44e6; }
@media (min-width: 700px) { .wt-bar .wt-note { display: inline; } }

.wt-end {
  padding: 56px 0 72px;
  background: #0d1120;
  color: #c9cee0;
  font-family: "Jakarta", system-ui, sans-serif;
  text-align: center;
}
.wt-end h2 { font-family: "Jakarta", system-ui, sans-serif; font-weight: 800; text-transform: none; letter-spacing: -.03em; color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.wt-end p { max-width: 560px; margin: 0 auto 24px; }
.wt-end a {
  display: inline-flex; align-items: center; min-height: 54px; padding: 14px 28px;
  border-radius: 99px; background: #2f5bff; color: #fff; font-weight: 700; text-decoration: none;
}
.wt-end a:hover { background: #1e44e6; }

.wt-toast {
  position: fixed; left: 50%; top: 18px; z-index: 300;
  transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 460px;
  padding: 14px 18px; border-radius: 14px;
  background: #0d1120; color: #fff;
  font-family: "Jakarta", system-ui, sans-serif; font-size: .9375rem; text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}
.wt-toast[hidden] { display: none; }

/* ---------- Header del sito ---------- */
.s-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg, var(--c-bg));
  transition: box-shadow .25s, background-color .25s;
}
.s-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.s-header-in { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.s-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: var(--head-weight);
  font-size: 1.5rem; line-height: 1; letter-spacing: var(--head-spacing);
  text-transform: var(--head-transform);
  text-decoration: none; color: var(--c-ink);
  white-space: nowrap;
}
.s-logo small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.s-nav { margin-left: auto; }
.s-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.s-nav a { display: block; padding: 10px 14px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--c-ink); opacity: .8; }
.s-nav a:hover { opacity: 1; }
.s-header-cta { flex: none; }
.s-burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--c-line); border-radius: 12px;
  background: transparent; color: var(--c-ink); cursor: pointer;
}
.s-burger .icon { width: 22px; height: 22px; margin: auto; }
@media (max-width: 899px) {
  .s-burger { display: grid; margin-left: 0; }
  .s-header-cta { margin-left: auto; }
  .s-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    padding: 8px 20px 20px;
    background: var(--header-bg, var(--c-bg));
    box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
  }
  .s-nav.is-open { display: block; }
  .s-nav ul { flex-direction: column; }
  .s-nav a { padding: 14px 4px; border-bottom: 1px solid var(--c-line); opacity: 1; }
}

@media (max-width: 420px) {
  .s-header-in { gap: 10px; }
  .s-logo { font-size: 1.2rem; }
  .s-header-in .s-header-cta.s-btn { min-height: 42px; padding: 8px 12px; font-size: .8125rem; }
}

/* ---------- Pulsanti ---------- */
.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid var(--c-accent); border-radius: var(--btn-radius);
  background: var(--c-accent); color: var(--c-accent-ink);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.s-btn:hover { transform: translateY(-2px); }
.s-btn-outline { background: transparent; color: var(--c-ink); border-color: currentColor; }
.s-btn-light { background: #fff; border-color: #fff; color: #111; }
.s-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.s-btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }

/* ---------- Sezioni ---------- */
.s-section { padding: 80px 0; }
@media (min-width: 900px) { .s-section { padding: 112px 0; } }
.s-alt { background: var(--c-surface); }
.s-eyebrow {
  display: block; margin-bottom: 14px;
  font-family: var(--f-body); font-size: .8125rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent);
}
.s-lead { font-size: 1.1875rem; color: var(--c-muted); max-width: 36em; }
.s-head { max-width: 680px; margin-bottom: 48px; }
.s-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head-center .s-lead { margin-left: auto; margin-right: auto; }

.s-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .s-split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .s-split-rev > :first-child { order: 2; }
}
.s-img { width: 100%; border-radius: var(--radius); object-fit: cover; }

.s-checks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.s-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.s-checks .icon { margin-top: 3px; color: var(--c-accent); }

/* Hero a tutta larghezza con foto */
.s-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(88vh, 820px);
  padding: 120px 0 72px;
  color: #fff;
}
.s-hero > img, .s-hero > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.s-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay, linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.7))); }
.s-hero h1 { color: #fff; max-width: 13em; }
.s-hero p { max-width: 34em; font-size: 1.1875rem; color: rgba(255, 255, 255, .9); }
.s-hero .s-eyebrow { color: rgba(255, 255, 255, .85); }
.s-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 520px) { .s-ctas .s-btn { width: 100%; } }

/* Orari / contatti */
.s-info { display: grid; gap: 28px; }
.s-info h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1.25rem; }
.s-info h3 .icon { color: var(--c-accent); }
.s-info p { margin: 0; color: var(--c-muted); }
.s-hours { width: 100%; border-collapse: collapse; }
.s-hours th, .s-hours td { padding: 9px 0; border-bottom: 1px solid var(--c-line); text-align: left; font-size: 1rem; }
.s-hours th { font-weight: 600; padding-right: 16px; }
.s-hours td { text-align: right; color: var(--c-muted); }
.s-hours .closed td { color: var(--c-accent); font-weight: 600; }

.s-map {
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 12px;
  min-height: 380px; padding: 24px;
  overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.9) 49% 51%, transparent 51%) 0 0 / 120px 120px,
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.9) 49% 51%, transparent 51%) 0 0 / 120px 120px,
    linear-gradient(30deg, transparent 49%, #f3d892 49% 50.5%, transparent 50.5%),
    #e5e9e4;
  text-align: center;
}
.s-map p { max-width: 280px; margin: 0; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.92); color: #444; font-size: .8125rem; }
.s-map.is-loaded { padding: 0; display: block; }
.s-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Moduli */
.s-form { display: grid; gap: 16px; }
@media (min-width: 600px) { .s-form { grid-template-columns: 1fr 1fr; } .s-form .full { grid-column: 1 / -1; } }
.s-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.s-form input, .s-form select, .s-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .6);
  background: var(--c-bg); color: var(--c-ink); font: inherit; font-size: 1rem;
}
.s-form textarea { min-height: 120px; resize: vertical; }
.s-form input:focus, .s-form select:focus, .s-form textarea:focus { outline: none; border-color: var(--c-accent); }

/* Footer */
.s-footer { padding: 64px 0 32px; background: var(--footer-bg, var(--c-ink)); color: var(--footer-ink, rgba(255,255,255,.75)); font-size: .9375rem; }
.s-footer a { color: inherit; }
.s-footer .s-logo { color: var(--footer-head, #fff); margin-bottom: 16px; }
.s-footer .s-logo small { color: inherit; }
.s-footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .s-footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.s-footer h3 { margin-bottom: 12px; font-family: var(--f-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-head, #fff); }
.s-footer ul { margin: 0; padding: 0; list-style: none; }
.s-footer li + li { margin-top: 6px; }
.s-social { display: flex; gap: 10px; margin-top: 16px; }
.s-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; opacity: .8; }
.s-social a:hover { opacity: 1; }
.s-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; opacity: .8; }

/* WhatsApp del sito */
.s-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #05290f;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.s-wa .icon { width: 30px; height: 30px; }

/* ==========================================================================
   TEMA 1 — Osteria dei Quattro Venti (ristorante)
   ========================================================================== */
.t-osteria {
  --c-bg: #faf6ef;
  --c-surface: #f2eadd;
  --c-ink: #2b1b12;
  --c-muted: #6e5a4c;
  --c-line: rgba(43, 27, 18, .16);
  --c-accent: #9c3a22;
  --f-head: "Fraunces", Georgia, serif;
  --head-weight: 500;
  --head-spacing: -.01em;
  --radius: 4px;
  --btn-radius: 2px;
  --hero-overlay: linear-gradient(180deg, rgba(20, 10, 5, .35) 0%, rgba(20, 10, 5, .35) 40%, rgba(20, 10, 5, .82) 100%);
}
.t-osteria .s-header { --header-bg: #faf6ef; border-bottom: 1px solid var(--c-line); }
.t-osteria .s-hero { align-items: center; text-align: center; }
.t-osteria .s-hero .s-container { display: flex; flex-direction: column; align-items: center; }
.t-osteria .s-hero h1 { font-style: italic; font-weight: 400; max-width: 11em; }
.t-osteria .s-hero p { margin-left: auto; margin-right: auto; }
.t-osteria .s-ctas { justify-content: center; }
.t-osteria .s-eyebrow { font-family: var(--f-head); font-style: italic; font-size: 1.125rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.t-osteria .s-btn { letter-spacing: .08em; text-transform: uppercase; font-size: .875rem; }

.menu-cols { display: grid; gap: 48px 72px; }
@media (min-width: 900px) { .menu-cols { grid-template-columns: 1fr 1fr; } }
.menu-group h3 {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; font-size: 1.6rem; font-style: italic; font-weight: 400; color: var(--c-accent);
}
.menu-group h3::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-list li + li { margin-top: 18px; }
.menu-row { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-head); font-size: 1.2rem; }
.menu-row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(43, 27, 18, .35); transform: translateY(-4px); }
.menu-row span:last-child { order: 2; font-weight: 600; }
.menu-list p { margin: 2px 0 0; color: var(--c-muted); font-size: .9375rem; }
.menu-note { margin-top: 48px; text-align: center; color: var(--c-muted); font-size: .9375rem; }

.dish-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .dish-strip { grid-template-columns: repeat(4, 1fr); } }
.dish-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.t-osteria .quote {
  margin: 0; padding: 0;
  font-family: var(--f-head); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35;
}
.t-osteria .s-footer { --footer-bg: #24160f; }

/* ==========================================================================
   TEMA 2 — Salone Aurora (parrucchiere)
   ========================================================================== */
.t-aurora {
  --c-bg: #fdf9f7;
  --c-surface: #f6ece8;
  --c-ink: #2d2224;
  --c-muted: #776467;
  --c-line: rgba(45, 34, 36, .14);
  --c-accent: #9e5a5f;
  --f-head: "Cormorant", Georgia, serif;
  --head-weight: 500;
  --head-spacing: -.01em;
  --radius: 0px;
  --btn-radius: 0px;
}
.t-aurora h1 { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 400; line-height: .98; }
.t-aurora h2 { font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.t-aurora h1 em, .t-aurora h2 em { color: var(--c-accent); }
.t-aurora .s-logo { font-size: 1.9rem; font-weight: 500; letter-spacing: .02em; }
.t-aurora .s-btn { text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; }
.t-aurora .s-header { --header-bg: #fdf9f7; }

.aurora-hero { padding: 32px 0 80px; }
.aurora-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .aurora-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } .aurora-hero { padding: 48px 0 112px; } }
.aurora-arch { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 999px 999px 0 0; }
.aurora-hero .s-lead { margin-top: 20px; }
.aurora-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: .9375rem; color: var(--c-muted); }
.aurora-meta strong { display: block; color: var(--c-ink); font-family: var(--f-head); font-size: 1.4rem; font-weight: 500; }

.price-table { display: grid; gap: 56px; }
@media (min-width: 900px) { .price-table { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.price-table h3 { padding-bottom: 14px; border-bottom: 1px solid var(--c-ink); font-size: 1.9rem; font-weight: 500; }
.price-table ul { margin: 0; padding: 0; list-style: none; }
.price-table li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.price-table li span:last-child { white-space: nowrap; color: var(--c-muted); }

.aurora-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aurora-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.aurora-gallery img:first-child { grid-row: span 2; aspect-ratio: auto; }
.t-aurora .s-footer { --footer-bg: #2d2224; }

/* ==========================================================================
   TEMA 3 — Volta Impianti Elettrici
   ========================================================================== */
.t-volta {
  --c-bg: #ffffff;
  --c-surface: #f2f5fa;
  --c-ink: #0e1b2e;
  --c-muted: #4f5d72;
  --c-line: rgba(14, 27, 46, .12);
  --c-accent: #f5b301;
  --c-accent-ink: #0e1b2e;
  --c-brand: #12305f;
  --head-weight: 800;
  --head-spacing: -.03em;
  --radius: 12px;
  --btn-radius: 10px;
  --hero-overlay: linear-gradient(90deg, rgba(10, 22, 44, .92) 0%, rgba(10, 22, 44, .75) 45%, rgba(10, 22, 44, .1) 100%);
}
.t-volta .s-eyebrow { color: #a77800; }
.t-volta .s-hero .s-eyebrow { color: var(--c-accent); }
.t-volta .s-hero { align-items: center; min-height: min(80vh, 720px); }
.volta-top { background: var(--c-brand); color: #cfdaf0; font-size: .875rem; }
.volta-top .s-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.volta-top strong { color: #fff; }
.volta-top a { color: var(--c-accent); font-weight: 700; text-decoration: none; }
.t-volta .s-logo .mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-accent); color: var(--c-ink); }
.t-volta .s-logo .mark .icon { width: 22px; height: 22px; }
.t-volta .s-header { border-bottom: 1px solid var(--c-line); }

.trust { position: relative; z-index: 2; margin-top: -48px; }
.trust-grid { display: grid; gap: 1px; overflow: hidden; border-radius: var(--radius); background: var(--c-line); box-shadow: 0 20px 50px rgba(14, 27, 46, .14); }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; }
.trust-item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: #fff4d1; color: #8a6200; }
.trust-item strong { display: block; margin-bottom: 2px; }
.trust-item span { color: var(--c-muted); font-size: .9375rem; line-height: 1.45; }

.svc-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 27, 46, .1); }
.svc img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.svc div { padding: 20px 22px 24px; }
.svc h3 { font-size: 1.15rem; margin-bottom: 6px; }
.svc p { margin: 0; color: var(--c-muted); font-size: .9375rem; line-height: 1.5; }

.steps-row { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 800px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }
.steps-row li { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; counter-increment: s; }
.steps-row li::before { content: "0" counter(s); display: block; margin-bottom: 12px; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; color: var(--c-accent); }
.steps-row p { margin: 0; color: var(--c-muted); }

.volta-quote { padding: 32px; border-radius: var(--radius); background: var(--c-brand); color: #fff; }
.volta-quote h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.volta-quote p { color: #cfdaf0; }
.volta-quote label { color: #fff; }
.volta-quote input, .volta-quote select, .volta-quote textarea { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.volta-quote select option { color: #111; }
@media (min-width: 600px) { .volta-quote { padding: 44px; } }
.t-volta .s-footer { --footer-bg: #0b1626; }

/* ==========================================================================
   TEMA 4 — Forma Studio Fitness (palestra)
   ========================================================================== */
.t-forma {
  --c-bg: #0c0d0f;
  --c-surface: #15171b;
  --c-ink: #f4f5f6;
  --c-muted: #a3a8b2;
  --c-line: rgba(255, 255, 255, .12);
  --c-accent: #c6f432;
  --c-accent-ink: #0c0d0f;
  --f-head: "Oswald", Impact, sans-serif;
  --head-weight: 600;
  --head-spacing: .005em;
  --head-transform: uppercase;
  --radius: 6px;
  --btn-radius: 6px;
  --hero-overlay: linear-gradient(180deg, rgba(12,13,15,.4) 0%, rgba(12,13,15,.55) 50%, rgba(12,13,15,.96) 100%);
}
.t-forma h1 { font-size: clamp(3.2rem, 10vw, 7.5rem); line-height: .92; }
.t-forma h1 span { color: var(--c-accent); }
.t-forma h2 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: .98; }
.t-forma .s-header { --header-bg: rgba(12, 13, 15, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.t-forma .s-btn { text-transform: uppercase; letter-spacing: .06em; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; }
.t-forma .s-btn-outline { color: #fff; }
.t-forma .s-hero { min-height: min(92vh, 860px); }

.marquee { overflow: hidden; padding: 18px 0; background: var(--c-accent); color: var(--c-accent-ink); font-family: var(--f-head); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; white-space: nowrap; }
.marquee span { display: inline-block; padding-right: 2rem; }
.marquee span::after { content: "•"; padding-left: 2rem; }

.course-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }
.course { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.course img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
.course:hover img { transform: scale(1.05); }
.course h3 { font-size: 1.9rem; margin-bottom: 4px; }
.course p { margin: 0; color: #d6d9de; font-size: .9375rem; line-height: 1.45; }

.timetable-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); }
.timetable { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9375rem; }
.timetable th, .timetable td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: center; }
.timetable thead th { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.timetable tbody th { font-family: var(--f-head); font-weight: 500; color: var(--c-accent); }
.timetable td span { display: inline-block; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,.06); }
.timetable tr:last-child th, .timetable tr:last-child td { border-bottom: 0; }

.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan-box { padding: 32px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.plan-box.hot { border-color: var(--c-accent); }
.plan-box h3 { font-size: 1.6rem; margin-bottom: 12px; }
.plan-box .price { font-family: var(--f-head); font-size: 3.4rem; font-weight: 600; line-height: 1; }
.plan-box .price small { font-size: 1rem; color: var(--c-muted); font-weight: 400; }
.plan-box ul { margin: 24px 0 28px; padding: 0; list-style: none; color: var(--c-muted); }
.plan-box li { padding: 8px 0; border-top: 1px solid var(--c-line); }
.plan-box .s-btn { width: 100%; }
.t-forma .s-footer { --footer-bg: #060707; }

/* ==========================================================================
   TEMA 5 — Studio Meridiana (studio professionale)
   ========================================================================== */
.t-meridiana {
  --c-bg: #fbfaf7;
  --c-surface: #f1efe8;
  --c-ink: #17241f;
  --c-muted: #56625d;
  --c-line: rgba(23, 36, 31, .14);
  --c-accent: #1d4d40;
  --f-head: "Source Serif", Georgia, serif;
  --head-weight: 600;
  --head-spacing: -.02em;
  --radius: 8px;
  --btn-radius: 6px;
}
.t-meridiana .s-eyebrow { color: #8a6d2f; }
.t-meridiana .s-header { --header-bg: #fbfaf7; border-bottom: 1px solid var(--c-line); }
@media (max-width: 899px) { .t-meridiana .s-header-cta { display: none; } .t-meridiana .s-burger { margin-left: auto; } }
@media (max-width: 899px) { .t-osteria .s-header-cta { display: none; } .t-osteria .lang-switch { margin-left: auto; } }
.t-meridiana .s-logo .mark { width: 38px; height: 38px; color: var(--c-accent); }
.mer-hero { padding: 64px 0 88px; }
@media (min-width: 900px) { .mer-hero { padding: 96px 0 120px; } }
.mer-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.mer-hero-img { position: relative; }
.mer-hero-img img { aspect-ratio: 5 / 4; }
.mer-badge { position: absolute; left: -12px; bottom: 24px; max-width: 260px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px rgba(23, 36, 31, .15); font-size: .9375rem; line-height: 1.45; }
.mer-badge strong { display: block; font-family: var(--f-head); font-size: 1.15rem; }
@media (min-width: 900px) { .mer-badge { left: -40px; } }

.mer-services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); counter-reset: m; }
.mer-services li { display: grid; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--c-line); counter-increment: m; }
@media (min-width: 800px) { .mer-services li { grid-template-columns: 80px 1fr 1.4fr; align-items: baseline; } }
.mer-services li::before { content: counter(m, decimal-leading-zero); font-family: var(--f-head); font-size: 1.1rem; color: #8a6d2f; }
.mer-services h3 { margin: 0; font-size: 1.5rem; }
.mer-services p { margin: 0; color: var(--c-muted); }

.mer-band { padding: 56px 0; background: var(--c-accent); color: #e2ece8; }
.mer-band .s-container { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .mer-band .s-container { grid-template-columns: 1fr auto; } }
.mer-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.mer-band p { margin: 0; }
.t-meridiana .s-footer { --footer-bg: #13201b; }

/* ==========================================================================
   TEMA 6 — Bottega Lumen (negozio)
   ========================================================================== */
.t-lumen {
  --c-bg: #f7f3ee;
  --c-surface: #efe8df;
  --c-ink: #2a2520;
  --c-muted: #6f655b;
  --c-line: rgba(42, 37, 32, .14);
  --c-accent: #2a2520;
  --f-head: "DM Serif Display", Georgia, serif;
  --head-weight: 400;
  --head-spacing: -.01em;
  --radius: 2px;
  --btn-radius: 0;
}
.t-lumen .s-eyebrow { color: #8b6a43; }
.t-lumen .s-header { --header-bg: #f7f3ee; }
.t-lumen .s-logo { font-size: 1.75rem; }
.lumen-ann { padding: 10px 0; background: var(--c-ink); color: #efe8df; font-size: .8125rem; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.lumen-hero { padding: 24px 0 0; }
.lumen-hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) { .lumen-hero-img { aspect-ratio: 21 / 9; } }
.lumen-hero-text { display: grid; gap: 20px 64px; padding: 48px 0 0; }
@media (min-width: 900px) { .lumen-hero-text { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.lumen-hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0; }
.lumen-hero-text p { color: var(--c-muted); font-size: 1.125rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; } }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--c-surface); transition: opacity .3s; }
.product a:hover img { opacity: .88; }
.product a { text-decoration: none; }
.product h3 { margin: 14px 0 4px; font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.product p { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.product .tag { display: inline-block; margin-top: 6px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #8b6a43; }

.lumen-perks { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
@media (min-width: 800px) { .lumen-perks { grid-template-columns: repeat(3, 1fr); } }
.lumen-perks > div { display: flex; gap: 14px; align-items: flex-start; }
.lumen-perks .icon { width: 28px; height: 28px; color: #8b6a43; }
.lumen-perks strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.25rem; }
.lumen-perks span { color: var(--c-muted); font-size: .9375rem; }
.t-lumen .s-footer { --footer-bg: #2a2520; }

/* ==========================================================================
   Funzioni interattive (prenotazioni, catalogo, filtri, lingua)
   ========================================================================== */

/* Etichetta Webtrina: indica il piano che include la funzione */
.biz-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 12px;
  border-radius: 99px;
  background: #e9eeff; color: #1f3fc4;
  font-family: "Jakarta", system-ui, sans-serif;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.biz-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f5bff; }

/* Selettore lingua */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--c-line); border-radius: 99px; font-size: .8125rem; font-weight: 700; }
.lang-switch a { padding: 5px 10px; border-radius: 99px; text-decoration: none; color: var(--c-muted); }
.lang-switch a[aria-current] { background: var(--c-ink); color: var(--c-bg); }

/* Pulsanti a scelta (orari, giorni, filtri) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--c-line); border-radius: var(--btn-radius, 999px);
  background: transparent; color: var(--c-ink);
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover:not(:disabled) { border-color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.chip:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chip-day { display: grid; min-width: 76px; padding: 8px 10px; line-height: 1.2; text-align: center; }
.chip-day small { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hint { margin: 0; color: var(--c-muted); font-size: .9375rem; }

/* Riquadro prenotazione */
.booking {
  padding: 28px 22px;
  border: 1px solid var(--c-line); border-radius: max(var(--radius), 8px);
  background: var(--c-bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
}
@media (min-width: 600px) { .booking { padding: 40px; } }
.booking h3 { margin-bottom: 8px; }
.booking fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.booking legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.booking .row { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 600px) { .booking .row { grid-template-columns: 1fr 1fr; } }
.booking label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .9375rem; }
.booking input:not([type="radio"]) {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .6);
  background: var(--c-bg); color: var(--c-ink); font: inherit; font-size: 1rem;
}
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 4px; border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .6); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--c-surface); color: var(--c-ink); font-size: 1.4rem; cursor: pointer; }
.stepper output { font-size: 1.15rem; font-weight: 700; }
.booking .err { min-height: 1.4em; margin: 10px 0 0; color: #b3261e; font-weight: 600; font-size: .9375rem; }
.booking-done { text-align: center; padding: 16px 0; }
.booking-done .tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); }
.booking-done .tick .icon { width: 30px; height: 30px; }
.booking-done p { color: var(--c-muted); }
.booking-done strong { display: block; margin: 8px 0 18px; color: var(--c-ink); font-size: 1.15rem; }
.booking-done .s-btn { margin-top: 8px; }
[data-done][hidden], .booking form[hidden], [data-steps][hidden] { display: none; }

/* Servizi selezionabili (parrucchiere) */
.svc-pick { display: grid; gap: 10px; }
@media (min-width: 600px) { .svc-pick { grid-template-columns: 1fr 1fr; } }
.svc-pick label { position: relative; display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px; border: 1.5px solid var(--c-line); cursor: pointer; font-weight: 600; }
.svc-pick label small { display: block; color: var(--c-muted); font-weight: 500; }
.svc-pick input { position: absolute; opacity: 0; }
.svc-pick label:has(input:checked) { border-color: var(--c-accent); background: var(--c-surface); }
.svc-pick label:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.svc-pick span:last-child { white-space: nowrap; color: var(--c-muted); }
.appt-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.appt-summary p { margin: 0; font-weight: 600; }
.s-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* Catalogo filtrabile (negozio) */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.catalog-bar select { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--c-line); background: var(--c-bg); color: var(--c-ink); font: inherit; font-size: .9375rem; }
.catalog-bar .count { color: var(--c-muted); font-size: .9375rem; }
.product[hidden] { display: none; }

/* Orario corsi filtrabile (palestra) */
.timetable-filters { margin-bottom: 20px; }
.t-forma .chip { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .06em; }
.timetable td span { transition: opacity .2s, background-color .2s; }
.timetable td span.is-dim { opacity: .18; }
.timetable td span.is-hit { background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; }

/* Menù con QR code (ristorante) */
.qr-note { display: flex; gap: 18px; align-items: center; max-width: 640px; margin: 40px auto 0; padding: 20px 24px; border: 1px dashed rgba(43, 27, 18, .35); background: var(--c-bg); }
.qr-note .icon { width: 52px; height: 52px; flex: none; color: var(--c-accent); }
.qr-note strong { display: block; font-family: var(--f-head); font-size: 1.2rem; font-weight: 500; }
.qr-note p { margin: 2px 0 0; color: var(--c-muted); font-size: .9375rem; line-height: 1.5; }

/* Select dentro i riquadri di prenotazione */
.booking select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--c-line); border-radius: calc(var(--radius) * .6);
  background: var(--c-bg); color: var(--c-ink); font: inherit; font-size: 1rem;
}
.err:empty { display: none; }
.err { margin: 10px 0 0; color: #b3261e; font-weight: 600; font-size: .9375rem; }

/* Data con giorno/mese (eventi e serate) */
.ev-date { display: grid; place-items: center; align-content: center; flex: none; width: 76px; height: 76px; border-radius: 14px; background: var(--c-accent); color: var(--c-accent-ink); line-height: 1.1; text-align: center; }
.ev-date .d { font-weight: 800; font-size: 1rem; }
.ev-date .m { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* ==========================================================================
   TEMA 7 — Hotel Costa Serena
   ========================================================================== */
.t-hotel {
  --c-bg: #fbf9f5;
  --c-surface: #f1ece2;
  --c-ink: #10263b;
  --c-muted: #546273;
  --c-line: rgba(16, 38, 59, .14);
  --c-accent: #10263b;
  --c-gold: #a9803f;
  --f-head: "Cormorant", Georgia, serif;
  --head-weight: 600;
  --head-spacing: .02em;
  --radius: 4px;
  --btn-radius: 2px;
  --hero-overlay: linear-gradient(180deg, rgba(8, 20, 34, .25), rgba(8, 20, 34, .7));
}
.t-hotel h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 500; }
.t-hotel h2 { font-weight: 500; font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
.t-hotel .s-eyebrow { color: var(--c-gold); }
.t-hotel .s-hero .s-eyebrow { color: #e7cf9f; }
.t-hotel .s-logo { font-size: 1.7rem; letter-spacing: .04em; }
.t-hotel .s-btn { text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; }
.t-hotel .s-header { border-bottom: 1px solid var(--c-line); }
.t-hotel .s-footer { --footer-bg: #0b1c2c; }
.hotel-hero { min-height: min(84vh, 780px); padding-bottom: 140px; }

.avail-wrap { position: relative; z-index: 3; margin-top: -84px; }
.avail { padding: 22px; border-radius: 6px; background: #fff; box-shadow: 0 24px 60px rgba(8, 20, 34, .18); }
@media (min-width: 700px) { .avail { padding: 28px 32px; } }
.avail .biz-badge { margin-bottom: 14px; }
.avail-bar { display: grid; gap: 14px; align-items: end; }
@media (min-width: 800px) { .avail-bar { grid-template-columns: 1fr 1fr .7fr auto; } }
.avail label { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.avail input, .avail select { width: 100%; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--c-line); border-radius: 2px; background: #fff; color: var(--c-ink); font: inherit; font-size: 1rem; }
.avail-bar .s-btn { min-height: 52px; }
.avail-results { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.avail-head { margin: 0 0 12px; font-weight: 700; }
.avail-results ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.avail-results li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-line); }
.avail-results li span { display: block; color: var(--c-muted); font-size: .875rem; }
.avail-results li.is-off { opacity: .5; }
.res-price { display: flex; align-items: center; gap: 14px; }
.res-price [data-total] { font-weight: 700; color: var(--c-ink); font-size: 1rem; }
.avail .booking-done { padding: 8px 0 0; }

.rooms { display: grid; gap: 28px; }
@media (min-width: 900px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { background: #fff; border: 1px solid var(--c-line); }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-body { padding: 22px 24px 26px; }
.room h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 4px; }
.room-meta { margin: 0 0 10px; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold); font-weight: 700; }
.room p { color: var(--c-muted); font-size: .9375rem; }
.room-price { margin: 0; color: var(--c-ink) !important; }
.room-price strong { font-family: var(--f-head); font-size: 1.6rem; }

.amenities { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li { display: flex; gap: 14px; align-items: flex-start; }
.amenities .icon { width: 26px; height: 26px; color: var(--c-gold); }
.amenities strong { display: block; }
.amenities span { color: var(--c-muted); font-size: .9375rem; line-height: 1.45; }
.amenities span strong { color: var(--c-ink); font-size: 1rem; }

/* ==========================================================================
   TEMA 8 — Casa Ortensia (B&B)
   ========================================================================== */
.t-bnb {
  --c-bg: #fbf7f1;
  --c-surface: #f1ebe0;
  --c-ink: #2f2a24;
  --c-muted: #6c645a;
  --c-line: rgba(47, 42, 36, .14);
  --c-accent: #5d7458;
  --f-head: "Fraunces", Georgia, serif;
  --head-weight: 450;
  --head-spacing: -.015em;
  --radius: 22px;
  --btn-radius: 999px;
}
.t-bnb h1 em, .t-bnb h2 em { color: var(--c-accent); font-style: italic; }
.t-bnb .s-eyebrow { color: #a06a45; }
.t-bnb .s-footer { --footer-bg: #2f2a24; }
.bnb-hero { padding: 40px 0 88px; }
@media (min-width: 900px) { .bnb-hero { padding: 64px 0 112px; } }
.bnb-hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
.bnb-hero-img { aspect-ratio: 5 / 4; border-radius: 200px 22px 22px 22px; }
.bnb-host { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--c-accent); color: var(--c-muted); }
.bnb-rooms { display: grid; gap: 32px; }
@media (min-width: 800px) { .bnb-rooms { grid-template-columns: 1fr 1fr; } }
.bnb-rooms img { aspect-ratio: 9 / 7; margin-bottom: 18px; }
.bnb-rooms h3 { font-size: 1.6rem; }
.bnb-rooms p { color: var(--c-muted); }
.bnb-price { color: var(--c-accent) !important; font-weight: 700; }
.bnb-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bnb-mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.bnb-mosaic img:first-child { grid-row: span 2; aspect-ratio: auto; }

.cal-months { display: grid; gap: 28px; margin-bottom: 24px; }
@media (min-width: 760px) { .cal-months { grid-template-columns: 1fr 1fr; gap: 40px; } }
.cal-title { margin: 0 0 12px; font-family: var(--f-head); font-size: 1.3rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { padding: 4px 0; text-align: center; font-size: .75rem; font-weight: 700; color: var(--c-muted); }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: var(--c-surface); color: var(--c-ink); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; }
.cal-day:hover:not(:disabled) { outline: 2px solid var(--c-accent); }
.cal-day:disabled { background: transparent; color: rgba(47, 42, 36, .3); text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-in { background: #dfe7da; border-radius: 4px; }
.cal-day.is-start, .cal-day.is-end { background: var(--c-accent); color: #fff; }

/* ==========================================================================
   TEMA 9 — Circolo Il Ponte
   ========================================================================== */
.t-circolo {
  --c-bg: #ffffff;
  --c-surface: #f3f7f6;
  --c-ink: #13201e;
  --c-muted: #55625f;
  --c-line: rgba(19, 32, 30, .12);
  --c-accent: #0f766e;
  --c-orange: #ea580c;
  --head-weight: 800;
  --head-spacing: -.035em;
  --radius: 18px;
  --btn-radius: 12px;
  --hero-overlay: linear-gradient(180deg, rgba(10, 30, 28, .2), rgba(10, 30, 28, .78));
}
.t-circolo .s-eyebrow { color: var(--c-orange); }
.t-circolo .s-hero .s-eyebrow { color: #fed7aa; }
.t-circolo .s-header { border-bottom: 1px solid var(--c-line); }
.t-circolo .s-footer { --footer-bg: #0d2422; }
.events { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .events { grid-template-columns: 1fr 1fr; } }
.event { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.event[hidden] { display: none; }
.event h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.event p { margin: 0 0 8px; color: var(--c-muted); font-size: .9375rem; line-height: 1.5; }
.ev-cat { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-orange); }
.ev-time { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; }
.ev-time .icon { width: 16px; height: 16px; color: var(--c-accent); }
@media (min-width: 1000px) { .circolo-grid { grid-template-columns: repeat(3, 1fr); } }
.docs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.docs a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; text-decoration: none; font-weight: 600; }
.docs a:hover { border-color: var(--c-accent); }
.docs .icon { width: 28px; height: 28px; color: var(--c-accent); }
.docs small { display: block; color: var(--c-muted); font-weight: 500; font-size: .8125rem; }

/* ==========================================================================
   TEMA 10 — Villa Le Querce (location eventi)
   ========================================================================== */
.t-villa {
  --c-bg: #f8f5ee;
  --c-surface: #efe9dc;
  --c-ink: #1e2a22;
  --c-muted: #5d665e;
  --c-line: rgba(30, 42, 34, .14);
  --c-accent: #1e3a2b;
  --c-gold: #a8864d;
  --f-head: "DM Serif Display", Georgia, serif;
  --head-weight: 400;
  --head-spacing: -.01em;
  --radius: 2px;
  --btn-radius: 0;
  --hero-overlay: linear-gradient(180deg, rgba(14, 22, 17, .3), rgba(14, 22, 17, .75));
}
.t-villa .s-eyebrow { color: var(--c-gold); }
.t-villa .s-hero .s-eyebrow { color: #e3cc9c; }
.t-villa .s-btn { text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; }
.t-villa .s-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
.t-villa .s-footer { --footer-bg: #142019; }
.villa-types { display: grid; gap: 32px; }
@media (min-width: 900px) { .villa-types { grid-template-columns: repeat(3, 1fr); } }
.villa-types img { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.villa-types h3 { font-size: 1.7rem; }
.villa-types p { color: var(--c-muted); }
.range-field { margin-bottom: 24px; }
.range-field label { display: block; margin-bottom: 8px; font-weight: 700; }
.range-field input { width: 100%; accent-color: var(--c-accent); }
.date-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.date-result p { margin: 0 0 14px; font-weight: 600; }
.date-result .ok strong { color: #2f7d4a; }
.date-result .no { color: var(--c-ink); }

/* ==========================================================================
   TEMA 11 — Neon Club (discoteca)
   ========================================================================== */
.t-neon {
  --c-bg: #07060b;
  --c-surface: #121019;
  --c-ink: #f5f3fa;
  --c-muted: #a7a3b8;
  --c-line: rgba(255, 255, 255, .12);
  --c-accent: #ff2e88;
  --c-accent-ink: #ffffff;
  --c-cyan: #22d3ee;
  --f-head: "Oswald", Impact, sans-serif;
  --head-weight: 600;
  --head-transform: uppercase;
  --head-spacing: .01em;
  --radius: 10px;
  --btn-radius: 999px;
  --hero-overlay: linear-gradient(180deg, rgba(7, 6, 11, .1) 0%, rgba(7, 6, 11, .35) 45%, rgba(7, 6, 11, .9) 100%), linear-gradient(90deg, rgba(7, 6, 11, .55), transparent 70%);
}
.t-neon .s-header { --header-bg: rgba(7, 6, 11, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.t-neon .s-logo { letter-spacing: .12em; }
.t-neon .s-eyebrow { color: var(--c-cyan); }
.t-neon .s-btn { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; box-shadow: 0 0 24px rgba(255, 46, 136, .45); }
.t-neon .s-btn-outline { color: #fff; box-shadow: none; }
.t-neon h1 { font-size: clamp(3.4rem, 11vw, 8rem); line-height: .9; }
.t-neon h1 > span { color: var(--c-accent); text-shadow: 0 0 30px rgba(255, 46, 136, .7); }
.t-neon h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.t-neon .s-footer { --footer-bg: #000; }
.t-neon .ev-date { background: transparent; border: 2px solid var(--c-cyan); color: #fff; box-shadow: 0 0 18px rgba(34, 211, 238, .35); }
.t-neon .chip[aria-pressed="true"] { box-shadow: 0 0 18px rgba(255, 46, 136, .5); }
.countdown { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 18px 0 8px; }
.countdown p { flex-basis: 100%; max-width: none; margin: 0 0 4px; font-size: .9375rem; color: rgba(255,255,255,.8); }
.countdown div { display: grid; place-items: center; min-width: 74px; padding: 10px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.countdown span { font-family: var(--f-head); font-size: 2rem; font-weight: 600; line-height: 1; }
.countdown small { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.nights { display: grid; gap: 18px; }
@media (min-width: 640px) { .nights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .nights { grid-template-columns: repeat(4, 1fr); } }
.night { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.night > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,6,11,.1) 20%, rgba(7,6,11,.95)); }
.night-body { padding: 20px; }
.night-body .ev-date { width: 64px; height: 64px; margin-bottom: 14px; }
.night h3 { font-size: 1.7rem; margin-bottom: 4px; }
.night p { margin: 0 0 10px; color: #d9d6e5; font-size: .9375rem; }
.night-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.night-meta span { padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: .8125rem; }
.night-ctas { display: flex; gap: 8px; margin-top: 14px; }
.night-ctas .s-btn { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.t-neon .booking { background: var(--c-surface); box-shadow: 0 0 60px rgba(255, 46, 136, .12); }
.t-neon .svc-pick label:has(input:checked) { background: rgba(255, 46, 136, .12); }
.info-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }
.info-grid > div { padding: 26px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.info-grid .icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--c-cyan); }
.info-grid h3 { font-size: 1.4rem; margin-bottom: 6px; }
.info-grid p { margin: 0; color: var(--c-muted); font-size: .9375rem; }

/* ==========================================================================
   EFFETTI — intro, entrata dell'hero, animazioni allo scroll, fascia scorrevole
   Attivi solo con html.fx (impostata in <head>, mai con "riduci movimento").
   ========================================================================== */
@property --hz { syntax: "<number>"; inherits: false; initial-value: 1; }

:root { --fx-ease: cubic-bezier(.16, .84, .24, 1); }
.fx { --fx-base: .15s; }
.fx.fx-intro { --fx-base: 1.25s; }

/* Intro: sipario con il nome dell'attività */
.fx-curtain { display: none; }
.fx-intro .fx-curtain {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--intro-bg, var(--c-ink));
  color: var(--intro-ink, var(--c-bg));
  pointer-events: none;
  animation: fx-curtain .9s var(--fx-ease) 1s both;
}
.fx-curtain-name {
  font-family: var(--f-head); font-weight: var(--head-weight);
  text-transform: var(--head-transform); letter-spacing: var(--head-spacing);
  font-size: clamp(2rem, 7vw, 4.5rem); line-height: 1; white-space: nowrap;
}
.fx-curtain-name span {
  display: inline-block;
  animation: fx-letter .7s var(--fx-ease) both;
  animation-delay: calc(var(--i) * 35ms + .05s);
}
@keyframes fx-letter { from { opacity: 0; transform: translateY(.6em) rotate(6deg); filter: blur(6px); } }
@keyframes fx-curtain {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); visibility: hidden; }
}

/* Entrata dell'hero */
.fx main > section:first-child :is(.s-eyebrow, h1, p, .s-ctas, .countdown, .s-checks, .hero-facts, form) {
  animation: fx-up 1s var(--fx-ease) both;
  animation-delay: calc(var(--fx-base) + var(--hi, 0) * 110ms);
}
.fx main > section:first-child .countdown p { animation: none; }
.fx h1.fx-split { animation: none !important; }
/* Le parole animate prendono sempre il colore del loro contenitore (i temi colorano "h1 span") */
h1 .fx-w { color: inherit !important; text-shadow: inherit !important; }
.fx h1.fx-split .fx-w {
  display: inline-block;
  animation: fx-word 1.1s var(--fx-ease) both;
  animation-delay: calc(var(--fx-base) + var(--wi) * 75ms);
}
@keyframes fx-up { from { opacity: 0; transform: translateY(32px); } }
@keyframes fx-word { from { opacity: 0; transform: translateY(.45em) scale(.96); filter: blur(10px); } }

/* Foto/video a tutto schermo: zoom lento all'apertura + parallasse */
.fx .s-hero > :is(img, video) {
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--hz));
  animation: fx-zoom 2.4s var(--fx-ease) both;
  animation-delay: calc(var(--fx-base) - .5s);
  will-change: transform;
}
@keyframes fx-zoom { from { --hz: 1.22; opacity: .2; } to { --hz: 1.04; opacity: 1; } }
/* Foto dell'hero non a tutto schermo: si apre come una tenda */
.fx main > section:first-child img:not(.s-hero > img) {
  animation: fx-wipe 1.4s var(--fx-ease) both;
  animation-delay: calc(var(--fx-base) + .15s);
}
@keyframes fx-wipe { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } }

/* Indicatore "scorri" */
.fx-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
  animation: fx-up 1s var(--fx-ease) both; animation-delay: calc(var(--fx-base) + .8s);
}
.fx-scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: fx-wheel 1.8s ease-in-out infinite;
}
@keyframes fx-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .fx-scroll { display: none; } }

/* Elementi che entrano allo scroll */
.fx .fx-rv {
  transition: opacity .95s var(--fx-ease), transform .95s var(--fx-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.fx .fx-rv:not(.fx-in) { opacity: 0; transform: translateY(44px); }
.fx .fx-rv img { transition: transform 1.6s var(--fx-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx .fx-rv:not(.fx-in) img { transform: scale(1.12); }

/* Barra di avanzamento della lettura */
.fx-progress {
  position: fixed; left: 0; top: 0; z-index: 400;
  width: 100%; height: 3px;
  background: var(--c-accent);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Header che si nasconde scorrendo verso il basso e ricompare verso l'alto */
.s-header { transition: transform .45s var(--fx-ease), box-shadow .25s, background-color .25s; }
.s-header.fx-hide { transform: translateY(-100%); }

/* Pulsanti: riflesso al passaggio del mouse */
.s-btn { position: relative; overflow: hidden; isolation: isolate; }
.s-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--fx-ease);
}
.s-btn:hover::after { transform: translateX(120%); }

/* Foto nelle schede: zoom leggero al passaggio del mouse */
@media (hover: hover) {
  :is(article, figure, .night, .course) { overflow: hidden; }
  :is(article, figure) img, .night > img, .course > img { transition: transform .9s var(--fx-ease); }
  :is(article, figure):hover img, .night:hover > img, .course:hover > img { transform: scale(1.06); }
}

/* Fascia scorrevole dopo l'hero */
.fx-marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--marquee-bg, var(--c-accent));
  color: var(--marquee-ink, var(--c-accent-ink));
  font-family: var(--f-head); font-weight: var(--head-weight);
  text-transform: var(--head-transform);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.2;
  white-space: nowrap;
}
.fx-marquee-track { display: flex; width: max-content; animation: fx-marquee 32s linear infinite; }
.fx-marquee-track > div { display: flex; }
.fx-marquee span { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.fx-marquee span::after { content: "✦"; font-size: .7em; opacity: .7; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
@keyframes fx-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fx-marquee-track { animation: none; } }

/* ---------- Neon Club: hero a tutto schermo con video e titolo al centro ---------- */
.t-neon { --intro-bg: #07060b; --intro-ink: #ff2e88; }
.t-neon .fx-curtain-name { letter-spacing: .14em; }
.t-neon .neon-hero {
  align-items: center; justify-content: center; text-align: center;
  min-height: calc(100svh - var(--header-h));
  padding: 64px 0;
  --hero-overlay: radial-gradient(ellipse at center, rgba(7, 6, 11, .15) 0%, rgba(7, 6, 11, .6) 100%), linear-gradient(180deg, rgba(7, 6, 11, .1), rgba(7, 6, 11, .45));
}
.t-neon .neon-hero h1 {
  max-width: none; margin: 0 auto;
  font-size: clamp(3.6rem, 13vw, 10rem); line-height: .88; letter-spacing: .02em;
  color: #fff;
}
.t-neon .neon-hero h1 > span { color: var(--c-accent); text-shadow: 0 0 40px rgba(255, 46, 136, .45); }
.t-neon .night { transition: transform .5s var(--fx-ease), box-shadow .5s, border-color .5s; }
@media (hover: hover) {
  .t-neon .night:hover { transform: translateY(-6px); border-color: rgba(255, 46, 136, .6); box-shadow: 0 0 40px rgba(255, 46, 136, .25); }
}

.fx .s-hero { overflow: clip; }

/* ==========================================================================
   TELEFONO — layout più pulito
   ========================================================================== */
@media (max-width: 639px) {
  .s-section { padding: 64px 0; }

  /* Header: logo + pulsante a icona + menu */
  .s-header-in { gap: 10px; }
  .s-header-in .s-header-cta.s-btn {
    width: 46px; min-height: 46px; padding: 0; gap: 0;
    font-size: 0; letter-spacing: 0;
  }
  .s-header-in .s-header-cta .icon { width: 20px; height: 20px; }
  .s-burger { width: 46px; height: 46px; }

  /* Elenchi di schede: si scorrono di lato, una scheda alla volta */
  :is(.nights, .rooms, .course-grid, .villa-types, .plans) {
    grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none;
    gap: 14px;
    margin: 0 -20px; padding: 4px 20px 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  :is(.nights, .rooms, .course-grid, .villa-types, .plans)::-webkit-scrollbar { display: none; }
  :is(.nights, .rooms, .course-grid, .villa-types, .plans) > * { scroll-snap-align: start; }
  .night { min-height: 420px; }

  /* Info pratiche: righe compatte con icona a sinistra */
  .info-grid { gap: 10px; }
  .info-grid > div {
    display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start;
    padding: 18px;
  }
  .info-grid .icon { grid-row: span 2; width: 26px; height: 26px; margin: 2px 0 0; }
  .info-grid h3 { font-size: 1.15rem; margin-bottom: 2px; }

  /* WhatsApp più discreto */
  .s-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .s-wa .icon { width: 26px; height: 26px; }
}

/* Suggerimento "scorri di lato" sotto gli elenchi a scorrimento */
.swipe-hint { display: none; }
@media (max-width: 639px) {
  .swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 4px 0 0; font-size: .8125rem; color: var(--c-muted);
  }
  .swipe-hint::after { content: "→"; animation: swipe-nudge 1.6s ease-in-out infinite; }
}
@keyframes swipe-nudge { 50% { transform: translateX(5px); } }
@media (max-width: 479px) {
  .s-logo { min-width: 0; }
  .s-logo small { font-size: .5625rem; letter-spacing: .1em; }
}
