/* Livello Stitch: home, scheda alloggio, intestazione (selettore lingua), piè di pagina e banner cookie.
   Caricato dopo type.css. Valori ripresi dal design generato da Google Stitch, con colori solo dalla palette. */

/* ---------- intestazione allineata al contenuto (1280 px, margini 48 px) ---------- */
.site-header { padding-inline: max(clamp(16px, 4vw, 48px), calc((100% - 1280px) / 2 + clamp(16px, 4vw, 48px))); }

/* ---------- selettore lingua ---------- */
.nav .lang { border: 0; background: color-mix(in srgb, currentColor 14%, transparent); padding: 4px 12px; gap: 6px; font-size: 0.8125rem; }
.nav .lang .lg-cur { font-weight: 800; }
.nav .lang .lg-sep { opacity: 0.5; }
.nav .lang .lg-oth { opacity: 0.9; }
.nav .lang:hover { background: color-mix(in srgb, currentColor 22%, transparent); }

/* ---------- scheda alloggio ---------- */
.card { display: flex; flex-direction: column; border-radius: 24px; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.12); transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 37, 71, 0.18); }
.card-link { display: flex; flex-direction: column; flex: 1 1 auto; }
.card-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.card:hover .card-photo img { transform: none; }
.card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px; }
.card-meta { order: 0; margin: 0 0 4px; font-size: 0.875rem; color: #00519E; }
.card-title { order: 1; color: #393E47; }
.card-facts { order: 2; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #DEE3EB; gap: 8px 18px; font-size: 0.875rem; color: #393E47; }
.card-facts .i { width: 18px; height: 18px; color: #7A8697; flex: none; }
.card-foot { order: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 16px; border-top: 1px solid #DEE3EB; }
.card-foot.no-price { justify-content: flex-end; }
.card-body .card-facts + .card-foot { margin-top: 20px; }
.cp-lab { display: block; font-size: 0.8125rem; color: #5F6B7C; }
.card-price { color: #00519E; }
.card-price strong { font-size: 1.5rem; }
.card-price .cp-from, .card-price .cp-per { font-size: 0.875rem; font-weight: 400; color: #5F6B7C; }
.card .card-cta { background: #00519E; color: #fff; box-shadow: none; padding: 10px 20px; min-height: 44px; }
.card:hover .card-cta { background: #004485; transform: none; }
.card-status { order: 4; }
.card-flag { top: auto; bottom: 12px; }

/* ---------- home: struttura comune ---------- */
.sx-wrap { max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.sx-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3BDC8D; flex: none; }
.sx-h2 { margin: 0; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; color: #fff; }
.sx-sub { margin: 8px 0 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.55; color: #DFEDFE; }
.sx-band { padding: 80px 0; border-radius: 0; margin-top: 0; }
.sx-head { margin-bottom: 48px; }
.sx-head .sx-h2 { margin-top: 0; }

/* ---------- hero ---------- */
.sx-hero { position: relative; background: #00519E; color: #fff; padding: 40px 0 80px; overflow: hidden; }
.sx-rings { position: absolute; right: 0; top: 50%; width: 680px; height: 680px; transform: translate(25%, -50%); opacity: 0.4; fill: none; pointer-events: none; }
.sx-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.sx-hero-copy { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; padding-right: 24px; }
.sx-hero-media { grid-column: span 5; position: relative; }
.sx-h1 { margin: 0 0 24px; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 3rem; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; color: #fff; }
.sx-lead { margin: 0 0 32px; max-width: 36rem; font-size: 1.125rem; line-height: 1.65; color: #DFEDFE; }
.sx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 40px; }
.sx-cta .pill { min-height: 44px; }
.sx-zones { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.sx-zone { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #00376B; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-family: var(--ff-sans); font-weight: 600; font-size: 0.875rem; text-decoration: none; transition: background-color 0.2s ease-out; }
.sx-zone:hover { background: #004485; text-decoration: none; }
.sx-zone-l { display: inline-flex; align-items: center; gap: 8px; }
.sx-zone-p { font-weight: 700; color: #DFEDFE; font-variant-numeric: tabular-nums lining-nums; }
.sx-hero-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 8px 24px rgba(0, 37, 71, 0.25); background: #00376B; }
.sx-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-chip { position: absolute; left: 24px; bottom: -16px; display: inline-flex; align-items: center; gap: 12px; max-width: calc(100% - 48px); padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.16); color: #393E47; font-family: var(--ff-sans); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.sx-chip:hover { text-decoration: none; }
.sx-chip .i { width: 20px; height: 20px; color: #00519E; flex: none; }
.sx-chip b { font-weight: 700; }
.sx-chip-p { color: #00519E; font-variant-numeric: tabular-nums lining-nums; }
.sx-chip-u { font-weight: 400; color: #5F6B7C; }

/* ---------- ricerca sovrapposta ---------- */
.sx-search { position: relative; z-index: 20; margin-top: -40px; padding-inline: clamp(16px, 4vw, 48px); }
.sx-search-card { max-width: 1024px; margin: 0 auto; padding: 24px; border-radius: 24px; background: #fff; color: #393E47; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.12); }
.sx-search .search-form { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.sx-search .search-form label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 6px; row-gap: 6px; font-size: 0.8125rem; letter-spacing: 0.06em; color: #393E47; }
.sx-search .search-form label .i { width: 18px; height: 18px; color: #00519E; }
.sx-search .search-form label input, .sx-search .search-form label select { grid-column: 1 / -1; border: 1px solid #7A8697; border-radius: 12px; font-weight: 400; }
.sx-search .search-form label input:focus, .sx-search .search-form label select:focus { border-color: #2274CF; }
.sx-search .pill-solid { width: 100%; justify-content: center; min-height: 44px; background: #00519E; color: #fff; box-shadow: none; }
.sx-search .pill-solid:hover { background: #004485; transform: none; }
.sx-search .pill-solid:active { background: #00376B; }

/* ---------- destinazioni ---------- */
.sx-dest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sx-dest { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #DEE3EB; box-shadow: 0 10px 26px rgba(0, 37, 71, 0.1); color: #002547; text-decoration: none; transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.sx-dest:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 37, 71, 0.16); }
.sx-dest-ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #DFEDFE; }
.sx-dest-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-dest-ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 37, 71, 0) 42%, rgba(0, 37, 71, 0.74)); }
.sx-dest-name { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; margin: 0; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.5rem; line-height: 1.15; color: #fff; }
.sx-dest-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 16px; }
.sx-dest-meta { font-size: 0.875rem; color: #5A6472; }
.sx-dest-meta b { color: #00519E; font-variant-numeric: tabular-nums lining-nums; }
.sx-dest-per { color: #7A8697; }
.sx-dest-go { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #DFEDFE; color: #00519E; transition: background-color 0.2s ease-out, color 0.2s ease-out; }
.sx-dest-go .i { width: 18px; height: 18px; }
.sx-dest:hover .sx-dest-go { background: #00519E; color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sx-dest-ph img { transition: transform 0.65s cubic-bezier(0.2, 0.65, 0.3, 1); }
  .sx-dest:hover .sx-dest-ph img, .sx-dest:focus-visible .sx-dest-ph img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .sx-dest, .sx-dest:hover { transform: none; transition: none; } }
@media (max-width: 900px) { .sx-dest-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* ---------- fascia alloggi ---------- */
.sx-feature { background: #00519E; color: #fff; padding: 96px 0 80px; margin-top: 48px; }
.sx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.sx-all { display: flex; justify-content: center; margin: 48px 0 0; }
.sx-all .pill { min-height: 48px; padding-inline: 32px; }
.sx-all .pill:hover { background: #fff; color: #00519E; }

/* ---------- fascia "Come prenotare" ---------- */
.sx-how { background: #00376B; color: #fff; }
.sx-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sx-center .sx-h2 { max-width: 42rem; margin-bottom: 12px; }
.sx-center .sx-sub { margin: 0 0 48px; max-width: 36rem; }
.sx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; text-align: left; }
.sx-steps li { display: flex; flex-direction: column; padding: 24px; border-radius: 24px; background: #002547; border: 1px solid rgba(255, 255, 255, 0.1); }
.sx-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: #fff; color: #00519E; font-family: var(--ff-sans); font-weight: 700; }
.sx-n-a { background: #3BDC8D; color: #1E2227; }
.sx-steps h3 { margin: 0 0 8px; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.375rem; line-height: 1.2; color: #fff; }
.sx-steps p { margin: 0; color: #DFEDFE; }
.sx-how-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 48px 0 0; }
.sx-how-cta .pill { min-height: 44px; padding: 12px 28px; }
.sx-how-cta .pill-solid { background: #fff; color: #00519E; box-shadow: none; }
.sx-how-cta .pill-solid:hover { background: #DFEDFE; transform: none; }

/* ---------- fascia chi siamo ---------- */
.sx-about { background: #F0F1F5; color: #393E47; }
.sx-about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; }
.sx-about-photo { grid-column: span 5; position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.12); background: #DEE3EB; }
.sx-about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.96); border: 1px solid #DEE3EB; }
.sx-cap .i { width: 28px; height: 28px; color: #00519E; flex: none; }
.sx-cap strong { display: block; font-family: var(--ff-sans); font-size: 0.875rem; color: #00519E; }
.sx-cap small { display: block; font-size: 0.8125rem; color: #5F6B7C; }
.sx-about-copy { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; padding-left: 24px; }
.sx-about .sx-h2 { color: #00519E; margin-bottom: 24px; }
.sx-quote { margin: 16px 0; padding-left: 24px; border-left: 4px solid #00519E; font-family: var(--ff-serif); font-style: italic; font-variation-settings: var(--fv); font-weight: 500; font-size: 1.5rem; line-height: 1.375; color: #393E47; }
.sx-by { margin: 0 0 32px; padding-left: 24px; font-family: var(--ff-sans); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: #5F6B7C; }
.sx-body { margin: 0 0 32px; max-width: 38rem; font-size: 1.0625rem; line-height: 1.65; }
.sx-about .sx-cta { margin: 0; }
.sx-wa { background: #3BDC8D; color: #1E2227; min-height: 48px; padding: 12px 24px; box-shadow: none; }
.sx-wa:hover { background: #34C67F; text-decoration: none; }
.sx-about .pill-line-dark { min-height: 48px; padding: 12px 24px; border-width: 1.5px; }

/* ---------- fascia blog ---------- */
.sx-blog { background: #00519E; color: #fff; }
.sx-blog .sx-head { margin-bottom: 40px; }
.sx-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sx-post { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; border-radius: 24px; background: #00376B; border: 1.5px solid rgba(150, 193, 247, 0.4); transition: border-color 0.2s ease-out; }
.sx-post:hover { border-color: #96C1F7; }
.sx-post h3 { margin: 0 0 12px; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.375rem; line-height: 1.2; color: #fff; }
.sx-post p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; color: #DFEDFE; }
.sx-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--ff-sans); font-weight: 600; font-size: 0.875rem; color: #fff; text-decoration: none; }
.sx-more:hover { color: #96C1F7; text-decoration: none; }
.sx-more .i { width: 18px; height: 18px; }

/* ---------- piè di pagina ---------- */
.site-footer { margin-top: 0; padding: 64px 0 0; border-radius: 0; border-top: 1px solid #474B50; background: #3A3D42; color: #fff; }
.foot-in { max-width: 1280px; margin-inline: auto; padding: 0 clamp(16px, 4vw, 48px) 28px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.foot-top img { width: 150px; height: auto; flex: none; }
.foot-top p { margin: 0; max-width: 42rem; color: #CCCCCC; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 48px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.site-footer .foot-h { margin: 0 0 12px; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.125rem; letter-spacing: 0; text-transform: none; line-height: 1.3; color: #fff; }
.site-footer .foot-list { gap: 2px; font-size: 0.875rem; color: #CCCCCC; }
.site-footer .foot-list a { color: #CCCCCC; text-decoration: none; }
.site-footer .foot-list a:hover { color: #fff; text-decoration: underline; }
.site-footer .foot-list li > a, .site-footer .foot-list li > span { min-height: 44px; }
.foot-bottom { padding: 32px 0 0; }
.site-footer .foot-legal { margin: 0; max-width: none; font-size: 0.875rem; color: #CCCCCC; }
.site-footer .mock-note { max-width: none; margin: 24px 0 0; padding: 12px 18px; border-radius: 16px; font-size: 0.875rem; }

/* ---------- banner cookie ---------- */
.cookie { left: 24px; right: 24px; bottom: 24px; width: auto; max-width: 56rem; margin-inline: auto; padding: 20px; border-radius: 16px; border: 1px solid #DEE3EB; box-shadow: 0 8px 30px rgba(0, 37, 71, 0.2); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie[hidden] { display: none; }
.ck-body { display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.ck-ic { width: 24px; height: 24px; margin-top: 2px; color: #00519E; flex: none; }
.cookie h2 { margin: 0; font-size: 1.125rem; line-height: 1.3; color: #1E2227; }
.cookie p { margin: 0; font-size: 0.875rem; line-height: 1.4; color: #393E47; }
.cookie-actions { flex: none; flex-wrap: nowrap; }
.cookie-actions .pill { padding: 10px 20px; font-size: 0.875rem; }
.cookie-actions .pill-solid { background: #00519E; color: #fff; box-shadow: none; }
.cookie-actions .pill-solid:hover { background: #004485; transform: none; }
.cookie-actions .pill-line-dark { border-width: 1px; border-color: #CCCCCC; color: #393E47; }
.cookie-actions .pill-line-dark:hover { background: #F7F9FC; }

/* ---------- schermi stretti ---------- */
@media (min-width: 1024px) { .sx-h1 { font-size: 3.75rem; } }
@media (max-width: 1000px) {
  .sx-hero-grid, .sx-about-grid { grid-template-columns: minmax(0, 1fr); }  .sx-hero-copy, .sx-hero-media, .sx-about-photo, .sx-about-copy { grid-column: auto; }
  .sx-hero-copy { padding-right: 0; }
  .sx-hero-media { margin-top: 24px; }
  .sx-rings { width: 480px; height: 480px; opacity: 0.3; }
  .sx-grid2, .sx-posts { grid-template-columns: minmax(0, 1fr); }
  .sx-steps { grid-template-columns: minmax(0, 1fr); }
  .sx-about-copy { padding-left: 0; }
  .sx-about-photo { aspect-ratio: 4 / 3; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sx-search .search-form { grid-template-columns: minmax(0, 1fr); }
  .sx-band, .sx-feature { padding-block: 56px; }
  .sx-feature { margin-top: 32px; }
  .sx-chip { left: 12px; max-width: calc(100% - 24px); padding: 10px 16px; }
  .sx-zone { width: 100%; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cookie-actions { flex-wrap: wrap; }
  .cookie-actions .pill { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 560px) { .foot-cols { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover, .sx-zone, .sx-post { transition: none; } .card:hover { transform: none; } }

/* ---------- scheda alloggio: fascia "Altri alloggi" ---------- */
.band-more .h2 { margin-bottom: 32px; line-height: 1.15; }

/* ---------- campi: stile Stitch su tutto il sito (1 px, raggio 12, focus blu) ---------- */
input, select, textarea { border: 1px solid #7A8697; border-radius: 12px; }
input:focus, select:focus, textarea:focus { border-color: #2274CF; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-width: 2px; }

/* ---------- pagina Offerte ---------- */
.page-offers .page-head .sx-cta { margin: 24px 0 0; }

/* ---------- pagina Contatti: schede di canale ---------- */
.sx-chan-grid { list-style: none; margin: 0; padding: 0 0 clamp(56px, 9vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sx-chan { display: flex; align-items: center; gap: 16px; height: 100%; min-height: 96px; padding: 24px; border-radius: 24px; background: #fff; color: #393E47; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.12); text-decoration: none; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
a.sx-chan:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 37, 71, 0.18); text-decoration: none; }
.sx-chan-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #F0F1F5; color: #00519E; flex: none; }
.sx-chan-ic .i { width: 24px; height: 24px; }
.sx-chan-wa .sx-chan-ic { background: #3BDC8D; color: #1E2227; }
.sx-chan-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sx-chan-t strong { font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.25rem; line-height: 1.2; color: #00519E; }
.sx-chan-t span { overflow-wrap: anywhere; }
.sx-chan-t small { font-size: 0.875rem; color: #5F6B7C; }
.sx-chan-go { margin-left: auto; width: 20px; height: 20px; color: #00519E; flex: none; }

/* ---------- scheda prezzi: totale indicativo e pulsanti in uscita ---------- */
.b-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0; padding-top: 10px; border-top: 2px solid var(--ink); font-size: 1.05rem; }
.b-total strong { font-size: 1.5rem; }
.b-actions .pill-block { min-height: 44px; }
.b-actions .b-note { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.4; color: var(--ink); }
.plat-note { margin: 0; padding-top: 22px; border-top: 2px solid var(--cool); font-weight: 600; }

/* ---------- schermata di caricamento ---------- */
.splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 28px; overflow: hidden; background: #00519E; opacity: 0; visibility: hidden; pointer-events: none;
  animation: splash-in 0.12s ease-out both, splash-fallback 0.01s linear 7.5s forwards; }
.no-splash .splash { display: none; }
.splash-rings { position: absolute; left: 50%; top: 50%; width: 680px; height: 680px; max-width: none; transform: translate(-50%, -50%); fill: none; opacity: 0.45; pointer-events: none; }
.splash-logo { position: relative; width: 180px; height: auto; }
.splash-track { position: relative; width: 168px; height: 4px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.22); }
.splash-track::after { content: ""; display: block; width: 40%; height: 100%; border-radius: 999px; background: #3BDC8D; animation: splash-run 1.2s ease-in-out infinite; }
.splash.is-done { animation: splash-out 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.splash.is-done .splash-logo { animation: sp-logo-out 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.splash.is-done .splash-track { animation: sp-track-out 0.3s ease-out forwards; }
@keyframes splash-in { from { opacity: 0; visibility: visible; } to { opacity: 1; visibility: visible; } }
@keyframes splash-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes splash-fallback { to { opacity: 0; visibility: hidden; display: none; } }
@keyframes splash-run { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
/* con movimento ridotto la schermata non compare: la pagina si costruisce in modo progressivo */
/* con movimento ridotto: logo fermo, solo una breve dissolvenza, nessun anello che si espande */
@media (prefers-reduced-motion: reduce) { .splash { opacity: 1; visibility: visible; } .splash.is-done { opacity: 0; visibility: hidden; } .splash-rings { opacity: 0.45; } .splash-rings, .splash-logo, .splash-track, .splash-track::after { animation: none; } .splash-track::after { width: 100%; opacity: 0.6; } }
@media (max-width: 767px) { .splash-rings { width: 480px; height: 480px; } .splash-logo { width: 150px; } }

@media (max-width: 1000px) { .sx-chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sx-chan-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- scheda alloggio: mappa e distanze ---------- */
.map-box { overflow: hidden; border-radius: 16px; background: #DEE3EB; border: 1px solid #DEE3EB; }
.map-box iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.map-links .pill { min-height: 44px; padding: 10px 20px; border-width: 1.5px; font-weight: 600; text-decoration: none; }
.d-h { margin: 12px 0 4px; }
.dist-list { list-style: none; margin: 0; padding: 0; }
.dist-list li { align-items: center; display: grid; grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #DEE3EB; }
.dist-list li:last-child { border-bottom: 0; }
.d-k { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #393E47; }
.d-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #DFEDFE; color: #00519E; }
.d-ic .i { width: 19px; height: 19px; }
.d-n { color: #5F6B7C; overflow-wrap: anywhere; }
.d-v { font-weight: 700; color: #00519E; text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.d-v small { display: block; font-weight: 400; font-size: 0.8125rem; color: #5F6B7C; }
.d-src { margin: 8px 0 0; font-size: 0.875rem; color: #5F6B7C; }
@media (max-width: 640px) { .dist-list li { grid-template-columns: minmax(0, 1fr) auto; } .d-n { grid-column: 1 / -1; grid-row: 2; padding-bottom: 2px; } .d-v { text-align: right; } }

/* ---------- fascia servizi ---------- */
.sx-services { background: #F7F9FC; color: #393E47; }
.sx-head-center { text-align: center; margin-bottom: 40px; }
.sx-services .sx-h2 { color: #00519E; }
.sx-services .sx-sub { margin-inline: auto; color: #5F6B7C; }
.sx-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sx-svc li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; border-radius: 24px; background: #fff; border: 1px solid #DEE3EB; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.08); }
.sx-svc-i { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #DFEDFE; color: #00519E; }
.sx-svc-i .i { width: 32px; height: 32px; }
.sx-svc h3 { margin: 0 0 6px; font-family: var(--ff-serif); font-weight: 600; font-variation-settings: var(--fv); font-size: 1.25rem; line-height: 1.2; color: #00376B; }
.sx-svc p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #5F6B7C; }
@media (max-width: 1000px) { .sx-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sx-svc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- revisione UX: focus visibile sulle superfici chiare, testo e bersagli, titoli, spaziature ---------- */
.sx-search-card, .sx-services, .sx-about, .sx-svc li, .spec, .lc-about, .booking, .ix-row, .ix-side, .cookie, .sx-chan { --ring: #00519E; }
.cal-dow, .lg { font-size: 0.875rem; }
.day.past { opacity: 1; color: #8A93A0; }
h2, h3 { text-wrap: balance; }
.blog-list.big { margin-bottom: clamp(48px, 7vw, 96px); }
.ix-f label { min-height: 44px; display: flex; align-items: center; }
.site-footer .foot-list a { min-width: 44px; }
@media (max-height: 480px) { .buybar { position: static; } }

/* icone delle dotazioni nelle chip */
.chips .i { color: #00519E; }
.chips.plain li { gap: 10px; }

/* link nel piè di pagina: bersaglio da 44 px */
.site-footer .foot-legal a { display: inline-flex; align-items: center; min-height: 44px; color: #CCCCCC; }
.site-footer .foot-legal a:hover { color: #fff; }

/* icone nei campi di ricerca e nei filtri dell'elenco */
.ix-f label { gap: 8px; }
.ix-f label .i, .ix-group legend .i { flex: none; width: 18px; height: 18px; color: #00519E; }
.ix-group legend { display: flex; align-items: center; gap: 8px; }
.ix-chk { display: flex; align-items: center; gap: 10px; }
.ix-chk .i { flex: none; width: 20px; height: 20px; color: #00519E; }

/* trama di sfondo: motivo a maiolica, ispirato alle mattonelle delle case (rosone, rombo, quadrifoglio d'angolo). Solo tratto bianco al 11%: i testi restano leggibili */
:root { --maiolica: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112' viewBox='0 0 96 96'%3E%3Cg stroke='%23fff' stroke-opacity='.11' stroke-width='1.4' fill='none' stroke-linejoin='round'%3E%3Cpath d='M48 2L94 48 48 94 2 48z'/%3E%3Cpath d='M48 13L83 48 48 83 13 48z'/%3E%3Cellipse cx='48' cy='33' rx='6.5' ry='12' transform='rotate(0 48 48)'/%3E%3Cellipse cx='48' cy='33' rx='6.5' ry='12' transform='rotate(90 48 48)'/%3E%3Cellipse cx='48' cy='33' rx='6.5' ry='12' transform='rotate(180 48 48)'/%3E%3Cellipse cx='48' cy='33' rx='6.5' ry='12' transform='rotate(270 48 48)'/%3E%3Cellipse cx='48' cy='35' rx='4' ry='8' transform='rotate(45 48 48)'/%3E%3Cellipse cx='48' cy='35' rx='4' ry='8' transform='rotate(135 48 48)'/%3E%3Cellipse cx='48' cy='35' rx='4' ry='8' transform='rotate(225 48 48)'/%3E%3Cellipse cx='48' cy='35' rx='4' ry='8' transform='rotate(315 48 48)'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Ccircle cx='0' cy='0' r='7'/%3E%3Ccircle cx='0' cy='0' r='2.2'/%3E%3Ccircle cx='96' cy='0' r='7'/%3E%3Ccircle cx='96' cy='0' r='2.2'/%3E%3Ccircle cx='0' cy='96' r='7'/%3E%3Ccircle cx='0' cy='96' r='2.2'/%3E%3Ccircle cx='96' cy='96' r='7'/%3E%3Ccircle cx='96' cy='96' r='2.2'/%3E%3Ccircle cx='24' cy='24' r='2.4'/%3E%3Ccircle cx='72' cy='24' r='2.4'/%3E%3Ccircle cx='24' cy='72' r='2.4'/%3E%3Ccircle cx='72' cy='72' r='2.4'/%3E%3C/g%3E%3C/svg%3E"); }
/* Sfondi pieni: gradiente tonale della stessa famiglia + luce morbida dall'alto, senza trama */
.sx-hero { background-image: var(--maiolica); background-size: 112px 112px; background-position: top center; }
body[data-ground="blue"] {
  background-color: var(--corporate);
  background-image:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #005AAD 0%, var(--corporate) 34%, var(--corporate-dark) 100%);
}
body[data-ground="navy"] {
  background-color: var(--corporate-dark);
  background-image:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #004A8C 0%, var(--corporate-dark) 34%, #002547 100%);
}
body[data-ground="steel"] {
  background-color: var(--secondary);
  background-image:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #A6B2C1 0%, var(--secondary) 34%, #7C8899 100%);
}
body[data-ground="deep"] {
  background-color: #002547;
  background-image:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #003059 0%, #002547 40%, #001A33 100%);
}

/* alone di colore pieno dietro i testi che poggiano direttamente sulla trama: le linee sfumano e le parole restano nitide */
.sx-hero { --band: #00519E; }
.sx-feature, .sx-blog { --band: #F0F1F5; }
.sx-how { --band: #00376B; }
.sx-hero-copy, .sx-head { position: relative; isolation: isolate; }
.sx-hero-copy::before, .sx-head::before { content: ""; position: absolute; z-index: -1; inset: -28px -64px; background: radial-gradient(ellipse 62% 70% at 28% 50%, var(--band) 52%, transparent 100%); pointer-events: none; }
.sx-head-center::before { background: radial-gradient(ellipse 50% 70% at 50% 50%, var(--band) 52%, transparent 100%); }
@media (max-width: 1000px) { .sx-hero-copy::before, .sx-head::before { inset: -20px -12px; } }

/* icone nei titoli della scheda alloggio */
.h-ic { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #DFEDFE; color: #00519E; }
.h-ic .i { width: 19px; height: 19px; }
.lc-about .h3, .spec h3 { display: flex; align-items: center; gap: 10px; }
.regline, .d-src, .plat-note, .d-h { display: flex; align-items: flex-start; gap: 8px; }
.regline > .i, .d-src > .i, .plat-note > .i, .d-h > .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #00519E; }
.d-h { align-items: center; }
.band-more .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 1200px) { .band-more .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* stile portale immobiliare: pagine chiare, foto protagoniste, blu solo per hero, fascia "Come prenotare" e accenti */
.sx-feature, .sx-blog { background: #F0F1F5; color: #3A3D42; }
.sx-feature .sx-h2, .sx-blog .sx-h2 { color: #002547; }
.sx-feature .sx-sub, .sx-blog .sx-sub { color: #3A3D42; }
.sx-feature .sx-all .pill, .sx-blog .sx-all .pill { border-color: #00519E; color: #00519E; background: transparent; }
.sx-feature .sx-all .pill:hover { background: #00519E; color: #fff; }
/* fasce scure dentro una pagina chiara: ripristinano i colori del fondo blu (testo, bordi e pulsanti) */
.sx-hero { --body: #FFFFFF; --display: #FFFFFF; --pill-ink: #00519E; --line: #FFFFFF; --ring: #FFFFFF; --ground-deep: #00519E; color: #fff; }
.sx-how { --body: #FFFFFF; --display: #FFFFFF; --pill-ink: #00376B; --line: #FFFFFF; --ring: #FFFFFF; --ground-deep: #00376B; color: #fff; }

/* hero a foto intera, stile portale: la foto occupa tutta la larghezza, testo su velo scuro, ricerca che sormonta il bordo */
.sx-hero { display: flex; align-items: center; min-height: min(76vh, 700px); padding: 72px 0 132px; background-color: #00376B; background-image: none; }
.sx-hero-bg { position: absolute; inset: 0; z-index: 0; }
.sx-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.sx-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 37, 71, 0.74) 0%, rgba(0, 37, 71, 0.38) 55%, rgba(0, 37, 71, 0) 100%), linear-gradient(0deg, rgba(0, 37, 71, 0.45) 0%, transparent 34%); }
.sx-hero .sx-hero-grid { width: 100%; }
.sx-hero-copy::before { display: none; }
.sx-hero-copy { grid-column: span 8; }
.sx-hero-media { grid-column: span 4; align-self: end; justify-self: end; }
.sx-hero .sx-chip { position: static; display: inline-flex; box-shadow: 0 8px 24px rgba(0, 37, 71, 0.3); }
.sx-search { margin-top: -72px; }
@media (max-width: 1000px) {
  .sx-hero { min-height: 0; padding: 48px 0 112px; }
  .sx-hero-bg::after { background: linear-gradient(0deg, rgba(0, 37, 71, 0.55), rgba(0, 37, 71, 0.55)); }
  .sx-hero-media { display: none; }
}
.sx-hero .sx-chip { white-space: nowrap; max-width: none; }
@media (max-width: 1200px) { .sx-hero-copy { grid-column: span 12; } .sx-hero-media { display: none; } }
@media (max-width: 1320px) { .sx-head::before { inset: -20px -16px; } }

/* carosello degli alloggi nel hero */
.sx-hero { flex-direction: column; justify-content: center; align-items: stretch; }
.sx-hero-bg img.sx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease, ease); }
.sx-hero-bg img.sx-slide.is-active { opacity: 1; }
.sx-hero-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; }
.sx-hero-chips .sx-chip { position: static; display: inline-flex; align-items: center; gap: 12px; white-space: normal; max-width: 100%; }
.sx-hero-ctl { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px; border-radius: 999px; background: rgba(0, 37, 71, 0.55); backdrop-filter: blur(6px); }
.sx-hero-ctl[hidden] { display: none; }
.sx-c { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color 0.2s; }
.sx-c:hover { background: rgba(255, 255, 255, 0.18); }
.sx-c .i { width: 20px; height: 20px; }
.sx-cdots { display: flex; align-items: center; }
.sx-cdot { position: relative; width: 24px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sx-cdot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%); transition: width 0.3s var(--ease, ease), background-color 0.3s; }
.sx-cdot.is-active::before { width: 22px; background: #fff; }
.sx-cdot:focus-visible, .sx-c:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
@media (max-width: 1000px) { .sx-hero-bar { margin-top: 20px; } .sx-hero-chips { width: 100%; } .sx-hero-ctl { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .sx-hero-bg img.sx-slide { transition: none; } }
/* comandi del carosello fermi: la lunghezza del nome non li sposta */
.sx-hero-bar { flex-wrap: nowrap; }
.sx-hero-chips { flex: 1 1 0; min-width: 0; }
.sx-hero-ctl { flex: none; }
@media (max-width: 1000px) {
  .sx-hero-bar { flex-direction: column-reverse; align-items: flex-start; }
  .sx-hero-ctl { margin-left: 0; }
}
.sx-hero-bar { width: 100%; }

/* "Nuova ricerca": pulsante a pillola con icona, non più link sottolineato */
.ix-reset { margin: 4px 0 8px; }
.ix-linkbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1.5px solid #00519E; border-radius: 999px; background: transparent; color: #00519E; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.ix-linkbtn .i { width: 18px; height: 18px; }
.ix-linkbtn:hover { background: #00519E; color: #fff; text-decoration: none; }
.ix-linkbtn:focus-visible { outline: 3px solid #00519E; outline-offset: 2px; }

/* card allineate: stessa altezza per titolo e dati, linee e pulsanti sempre alla stessa quota */
.card { container-type: inline-size; }
.card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; align-content: start; }
@container (min-width: 480px) { .card-facts { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
@container (max-width: 479px) { .card-title { min-height: calc(2 * 1.18em); } }
.card-foot { margin-top: auto; }
.card-body .card-facts + .card-foot { margin-top: auto; }
.card-facts + .card-foot { padding-top: 16px; }
.card-body { gap: 0; }
.card-facts { margin-bottom: 20px; }

/* icone stilizzate Booking.com / Airbnb nei pulsanti verso le piattaforme */
a[data-ota] > .i:first-child { flex: none; width: 22px; height: 22px; }
a[data-ota] { gap: 10px; }

/* pulsanti nelle listings (ix-actions): 44px, tutti su una riga */
.ix-actions .pill { min-height: 44px; padding: 8px 14px; font-size: 0.8125rem; }
.ix-actions a { flex: 0 0 auto; }
.ix-actions { flex-wrap: wrap; gap: 8px; }

/* sezioni come pannelli arrotondati sul fondo chiaro: niente più stacchi netti tra una fascia e l'altra */
:root { --panel: clamp(8px, 2vw, 32px); --rad: 40px; }
@media (max-width: 700px) { :root { --rad: 28px; } }
.sx-hero { border-radius: 0 0 var(--rad) var(--rad); }
.sx-services, .sx-how { margin: 24px var(--panel) 0; border-radius: var(--rad); }
.sx-services { background: #fff; box-shadow: 0 10px 30px rgba(0, 37, 71, 0.06); }
.sx-about { background: transparent; }
.site-footer { margin: 24px var(--panel) 0; border-radius: var(--rad) var(--rad) 0 0; }

/* tasto Home sempre visibile: accanto al menu quando la barra si chiude */
.home-btn { display: none; place-items: center; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; background: #fff; color: #00519E; box-shadow: 0 2px 8px rgba(0, 37, 71, 0.18); }
.home-btn .i { width: 22px; height: 22px; }
.home-btn[aria-current="page"] { background: #00519E; color: #fff; }
.home-btn:focus-visible { outline: 3px solid #00519E; outline-offset: 2px; }
@media (max-width: 1000px) { .home-btn { display: grid; } .home-btn + .menu-btn { margin-left: 10px; } }

/* "Altri alloggi" nella scheda: pannello arrotondato come le altre sezioni */
.band-more { margin: 48px var(--panel) 0; padding: 56px 0 64px; border-radius: var(--rad); background: #fff; box-shadow: 0 10px 30px rgba(0, 37, 71, 0.06); }

/* animazione di avvio (circa 3 s, una volta per sessione): gli anelli si allargano lentamente e poi respirano,
   il logo si "scrive" da sinistra a destra come un tratto di pennello salendo appena, poi compare la barra;
   all'uscita il logo si avvicina un poco mentre la schermata sfuma */
.splash-rings { animation: sp-rings 2.6s cubic-bezier(0.16, 1, 0.3, 1) both, sp-breathe 2.8s ease-in-out 2.6s infinite alternate; }
.splash-logo { animation: sp-logo 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.4s both; }
.splash-track { animation: sp-track 0.6s ease-out 1.7s both; }
@keyframes sp-rings { from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } to { opacity: 0.45; transform: translate(-50%, -50%) scale(1); } }
@keyframes sp-breathe { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-50%, -50%) scale(1.05); } }
@keyframes sp-logo { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(10px); } 25% { opacity: 1; } to { opacity: 1; clip-path: inset(0 -4% 0 0); transform: none; } }
@keyframes sp-track { from { opacity: 0; transform: scaleX(0.4); } to { opacity: 1; transform: none; } }
@keyframes sp-logo-out { from { transform: none; opacity: 1; } to { transform: scale(1.08); opacity: 0; } }
@keyframes sp-track-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .splash-rings, .splash-logo, .splash-track, .splash.is-done .splash-logo, .splash.is-done .splash-track { animation: none; } }

/* animazione tra le pagine: barra verde in alto, il contenuto esce con una dissolvenza e il nuovo entra salendo */
.pg-bar { position: fixed; z-index: 2000; top: 0; left: 0; width: 0; height: 4px; background: #3BDC8D; box-shadow: 0 0 12px rgba(59, 220, 141, 0.7); border-radius: 0 4px 4px 0; opacity: 0; pointer-events: none; }
.pg-bar.is-run { opacity: 1; animation: pg-run 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes pg-run { from { width: 0; } 55% { width: 76%; } to { width: 93%; } }
main { animation: pg-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
@keyframes pg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.pg-leaving main, html.pg-leaving .site-footer { opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.22s ease; }
@media (prefers-reduced-motion: reduce) { main { animation: none; } html.pg-leaving main, html.pg-leaving .site-footer { transition: none; } }
