/* ==========================================================================
   Bordonaro 100 · Cefalù — Holiday Home
   Palette e tipografia ispirate al logo: blu notte, oro, avorio.
   ========================================================================== */

/* ---------- Font (self-hosted, nessuna richiesta a terze parti) ---------- */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cinzel-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cinzel-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cinzel-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }

/* ---------- Variabili ---------- */
:root {
  --navy: #0f1f3d;
  --navy-2: #152a50;
  --navy-deep: #0a1630;
  --gold: #e1ad4c;
  --gold-2: #c8933a;
  --gold-soft: rgba(225, 173, 76, .35);
  --cream: #f6f0e4;
  --ivory: #fbf8f2;
  --ink: #1a2238;
  --text: #3b4152;
  --muted: #7a7f8c;
  --line: #e6dccb;
  --white: #fff;

  --f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.mt-lg { margin-top: 56px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: rgba(246, 240, 228, .78); }

/* ---------- Tipografia ---------- */
.kicker {
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 18px;
}
.kicker-light { color: var(--gold); }
.section-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 26px;
}
.section-title.light { color: var(--cream); }
.section-title.small { font-size: clamp(28px, 3vw, 38px); margin: 80px 0 32px; }
.section-sub { font-family: var(--f-serif); font-size: 22px; font-style: italic; color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.5; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.lead { font-family: var(--f-serif); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.6; color: var(--ink); }
.section { padding: var(--section) 0; position: relative; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto; }
.ornament span { width: 64px; height: 1px; background: var(--gold); }
.ornament i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 34px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.page-contact .form-card .btn-gold:hover, .bg-cream .btn-gold:hover, .aside-card .btn-gold:hover { color: var(--gold-2); border-color: var(--gold-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-outline-light { border-color: rgba(246, 240, 228, .55); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2);
}
.link-arrow::after { content: ''; width: 28px; height: 1px; background: currentColor; transition: width .4s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(15, 31, 61, .97);
  color: var(--cream);
  transition: background .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-transparent { background: linear-gradient(to bottom, rgba(10, 22, 48, .55), rgba(10, 22, 48, 0)); }
.site-header.scrolled { background: rgba(15, 31, 61, .96); box-shadow: 0 10px 30px rgba(5, 12, 28, .18); --header-h: 74px; height: 74px; backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); flex-shrink: 0; }
.brand-mark { width: 66px; color: var(--gold); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 21px; letter-spacing: .06em; color: var(--cream); }
.brand-name em { font-style: normal; color: var(--gold); }
.brand-sub { font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 34px; list-style: none; }
.main-nav ul a {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(246, 240, 228, .88); padding: 8px 0; transition: color .3s;
}
.main-nav ul a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease), left .35s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { width: 100%; left: 0; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px 12px; border: 1px solid rgba(225, 173, 76, .45); border-radius: var(--radius);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--cream);
  transition: border-color .3s, background .3s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { flex-shrink: 0; }
.nav-open .lang-banner, .nav-open .wa-float { display: none; }
.lang-switch summary:hover { border-color: var(--gold); }
.lang-switch .chev { transition: transform .3s; }
.lang-switch[open] .chev { transform: rotate(180deg); }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; list-style: none;
  background: var(--ivory); border-top: 2px solid var(--gold); padding: 8px 0;
  box-shadow: 0 18px 40px rgba(10, 22, 48, .25);
  animation: dropIn .25s var(--ease);
}
.lang-switch li a { display: flex; gap: 12px; align-items: center; padding: 10px 18px; font-size: 14px; color: var(--ink); transition: background .2s; }
.lang-switch li a:hover { background: var(--cream); }
.lang-switch li a .code { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--gold-2); width: 22px; }
.lang-switch li a[aria-current="true"] { font-weight: 600; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; color: var(--cream); }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero homepage ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(225, 173, 76, .16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(40, 70, 130, .55), transparent 70%),
    linear-gradient(180deg, #0a1630 0%, #0f1f3d 55%, #13284d 100%);
  color: var(--cream); text-align: center;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; }
.hero.has-image .hero-overlay {
  background:
    linear-gradient(180deg, rgba(10, 22, 48, .55) 0%, rgba(10, 22, 48, .35) 40%, rgba(10, 22, 48, .78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 30px); padding-bottom: 110px; }
.hero-skyline { width: min(440px, 78vw); margin: 0 auto 30px; color: var(--gold); filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25)); }
.hero-title {
  font-family: var(--f-display); font-weight: 400; color: var(--cream);
  font-size: clamp(34px, 6.2vw, 80px); letter-spacing: .03em; line-height: 1.12;
  max-width: 1050px; margin: 0 auto; text-shadow: 0 2px 30px rgba(5, 12, 28, .35);
}
.hero-subtitle {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5;
  max-width: 680px; margin: 0 auto 42px; color: rgba(246, 240, 228, .9);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(246, 240, 228, .75);
}
.hero-scroll i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Animazione "disegno" dello skyline */
.draw .sk-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) forwards; }
.draw .sk-line:nth-child(2) { animation-delay: .3s; }
.draw .sk-line:nth-child(3) { animation-delay: .5s; }
.draw .sk-line:nth-child(n+4) { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-inner > .kicker, .hero-title, .hero-inner > .ornament, .hero-subtitle, .hero-actions { animation: fadeUp 1.1s var(--ease) both; }
.hero-inner > .kicker { animation-delay: .5s; }
.hero-title { animation-delay: .7s; }
.hero-inner > .ornament { animation-delay: .9s; }
.hero-subtitle { animation-delay: 1.05s; }
.hero-actions { animation-delay: 1.2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero pagine interne ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--cream); text-align: center;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(225, 173, 76, .14), transparent 60%),
    linear-gradient(180deg, #0a1630, #13284d);
}
.page-hero-full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.page-hero-full .page-hero-inner { width: 100%; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 48, .72), rgba(10, 22, 48, .62) 50%, rgba(10, 22, 48, .85)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-title { font-family: var(--f-display); color: var(--cream); font-size: clamp(32px, 5vw, 62px); letter-spacing: .03em; max-width: 960px; margin: 0 auto; }
.page-intro { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 2vw, 23px); max-width: 680px; margin: 0 auto; color: rgba(246, 240, 228, .88); line-height: 1.55; }
.breadcrumbs ol { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; margin-bottom: 28px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 240, 228, .6); }
.breadcrumbs li + li::before { content: '·'; margin-right: 10px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--gold); }

/* ---------- Intro "Nel cuore di Cefalù" ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-text .section-title { max-width: 560px; }
.intro-address { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; }
.intro-visual { position: relative; padding: 0 0 70px 40px; }
.iv-main { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 31, 61, .18); }
.iv-main img, .iv-second img { width: 100%; height: 100%; object-fit: cover; }
.iv-second { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; margin: 0; overflow: hidden; border: 10px solid var(--ivory); box-shadow: 0 20px 40px rgba(15, 31, 61, .2); }
.iv-placeholder {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px;
  background: radial-gradient(ellipse at 50% 100%, rgba(225, 173, 76, .18), transparent 60%), var(--navy); color: var(--gold);
  box-shadow: 0 30px 60px rgba(15, 31, 61, .2); position: relative;
}
.iv-placeholder::before { content: ''; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); }
.iv-placeholder svg { width: 80%; }
.iv-ph-name { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); color: var(--cream); margin: 22px 0 0; letter-spacing: .05em; }
.iv-ph-name em { font-style: normal; color: var(--gold); }
.iv-ph-city { font-family: var(--f-display); letter-spacing: .5em; color: var(--cream); font-size: 16px; }
.iv-badge {
  position: absolute; right: -18px; top: 40px; writing-mode: vertical-rl; display: flex; gap: 14px;
  font-size: 10.5px; letter-spacing: .3em; color: var(--gold-2); font-weight: 500;
}

.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.highlight { padding: 44px 30px 0; text-align: center; position: relative; }
.highlight + .highlight::before { content: ''; position: absolute; left: 0; top: 44px; bottom: 0; width: 1px; background: var(--line); }
.highlight svg { color: var(--gold-2); margin: 0 auto 20px; }
.highlight h3 { font-family: var(--f-serif); font-size: 25px; font-weight: 500; margin-bottom: 10px; }
.highlight p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Card camere ---------- */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.room-card { background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(15, 31, 61, .12); }
.room-card-link { display: block; height: 100%; }
.room-card-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--navy); }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card-media img { transform: scale(1.06); }
.room-card-ph { height: 100%; display: grid; place-items: center; color: var(--gold); padding: 40px; }
.room-card-num { position: absolute; left: 20px; bottom: 16px; font-family: var(--f-display); font-size: 30px; color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.room-card-body { padding: 30px 30px 34px; }
.room-card-title { font-family: var(--f-serif); font-size: 30px; font-weight: 500; margin-bottom: 6px; }
.room-card-meta { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 500; margin-bottom: 12px; }
.room-card-text { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.room-card:hover .link-arrow::after { width: 46px; }

/* ---------- Mosaico home ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(200px, 22vw)); gap: 14px; max-height: 720px; }
.mosaic-item { position: relative; overflow: hidden; display: block; background: var(--navy); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.mosaic-item:hover img { transform: scale(1.05); opacity: .9; }
.mosaic-item.m1 { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(n+6) { display: none; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry-item { position: relative; display: block; break-inside: avoid; margin-bottom: 16px; overflow: hidden; background: var(--cream); }
.masonry-item img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 22, 48, .8)); color: var(--cream);
  font-family: var(--f-serif); font-style: italic; font-size: 18px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease);
}
.masonry-item:hover .masonry-caption, .masonry-item:focus-visible .masonry-caption { opacity: 1; transform: none; }

/* ---------- Cosa scoprire ---------- */
.discover { overflow: hidden; }
.discover-skyline { position: absolute; right: -60px; bottom: -10px; width: min(820px, 90vw); color: rgba(225, 173, 76, .1); pointer-events: none; }
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; position: relative; }
.place { padding: 0 32px; border-left: 1px solid rgba(225, 173, 76, .22); }
.place:first-child { border-left: 0; padding-left: 0; }
.place-num { display: block; font-family: var(--f-display); font-size: 40px; color: var(--gold); margin-bottom: 18px; line-height: 1; }
.place h3 { font-family: var(--f-serif); font-size: 26px; color: var(--cream); margin-bottom: 14px; font-weight: 500; }
.place p { font-size: 14.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--f-serif); font-size: clamp(21px, 2vw, 25px); font-weight: 500; transition: color .3s; }
.faq-item summary:hover h3 { color: var(--gold-2); }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: var(--gold-2); transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 48px 28px 0; margin: 0; color: var(--text); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; text-align: center; color: var(--cream); padding: clamp(80px, 10vw, 130px) 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% 100%, rgba(225, 173, 76, .18), transparent 65%),
    linear-gradient(180deg, var(--navy-2), var(--navy-deep));
}
.cta-skyline { width: min(280px, 60vw); margin: 0 auto 34px; color: var(--gold); }
.cta-title { font-family: var(--f-display); color: var(--cream); font-size: clamp(28px, 3.8vw, 46px); letter-spacing: .03em; margin-bottom: 20px; }
.cta-text { font-family: var(--f-serif); font-style: italic; font-size: 22px; max-width: 620px; margin: 0 auto 38px; color: rgba(246, 240, 228, .85); line-height: 1.5; }

/* ---------- Dettaglio camera ---------- */
.room-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.room-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.room-description p:not(.lead):not(.room-meta) { font-size: 16px; }
.room-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.aside-card { background: var(--navy); color: rgba(246, 240, 228, .8); padding: 44px 38px; position: relative; }
.aside-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold-soft); pointer-events: none; }
.aside-skyline { width: 150px; color: var(--gold); margin-bottom: 24px; }
.aside-title { font-family: var(--f-serif); font-size: 28px; color: var(--cream); line-height: 1.2; }
.aside-card .btn { margin-top: 10px; position: relative; }

/* ---------- Contatti ---------- */
.contact-section { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.form-card { background: var(--white); padding: clamp(30px, 4.5vw, 60px); box-shadow: 0 30px 70px rgba(15, 31, 61, .08); border-top: 3px solid var(--gold); }
.form-title { font-family: var(--f-serif); font-size: 34px; font-weight: 500; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row-3 { grid-template-columns: 1fr 1fr .7fr; }
.field { margin-bottom: 24px; display: flex; flex-direction: column; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 9px; }
.field abbr { color: var(--gold-2); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='14' height='14' fill='none' stroke='%23c8933a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(225, 173, 76, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b4483d; }
.field-check { flex-direction: row; align-items: flex-start; gap: 14px; }
.field-check input { width: 20px; height: 20px; padding: 0; flex-shrink: 0; margin-top: 2px; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--gold-2); }
.field-check label { font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); line-height: 1.6; }
.field-check label a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.field-check.has-error label { color: #b4483d; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 16px; padding: 20px 22px; margin-bottom: 30px; border-left: 3px solid; }
.alert p { margin: 4px 0 0; }
.alert ul { margin: 8px 0 0 18px; }
.alert-success { background: #f1f6ee; border-color: #5d8a52; color: #2f4a29; }
.alert-success svg { color: #5d8a52; flex-shrink: 0; }
.alert-error { background: #fbefed; border-color: #b4483d; color: #6e2620; }

.info-card { background: var(--navy); color: rgba(246, 240, 228, .8); padding: 46px 40px; position: relative; overflow: hidden; }
.info-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--gold-soft); pointer-events: none; }
.info-skyline { width: 160px; color: var(--gold); margin-bottom: 26px; }
.info-title { font-family: var(--f-serif); color: var(--cream); font-size: 32px; font-weight: 500; margin-bottom: 26px; }
.info-list { margin: 0 0 30px; }
.info-list dt { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 18px; }
.info-list dd { margin: 4px 0 0; font-family: var(--f-serif); font-size: 21px; color: var(--cream); line-height: 1.4; }
.info-list a:hover { color: var(--gold); }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.info-perks { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(225, 173, 76, .25); font-size: 13.5px; position: relative; }
.map-card { margin-top: 20px; aspect-ratio: 4 / 3; background: var(--cream); border: 1px solid var(--line); position: relative; overflow: hidden; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.12); }
.map-load {
  width: 100%; height: 100%; border: 0; background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(200, 147, 58, .07) 22px 23px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(200, 147, 58, .07) 22px 23px), var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--gold-2); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.map-load:hover { color: var(--navy); }

/* ---------- Pagine testo / vuote ---------- */
.prose p { font-size: 16px; line-height: 1.9; margin-bottom: 1.4em; }
.empty-state { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 0; color: var(--muted); }
.empty-state svg { width: 220px; margin: 0 auto 26px; color: var(--gold-2); }
.empty-state p { font-family: var(--f-serif); font-size: 22px; font-style: italic; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(246, 240, 228, .66); padding: 90px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-mark { width: 150px; color: var(--gold); margin-bottom: 18px; }
.footer-name { font-family: var(--f-display); font-size: 26px; color: var(--cream); letter-spacing: .05em; margin: 0; line-height: 1.1; }
.footer-name em { font-style: normal; color: var(--gold); }
.footer-city { font-family: var(--f-display); letter-spacing: .5em; color: var(--cream); font-size: 13px; margin: 6px 0 18px; }
.footer-tagline { font-family: var(--f-serif); font-style: italic; font-size: 18px; max-width: 280px; line-height: 1.5; }
.footer-title { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-title-follow { margin-top: 32px; }
.footer-links, .footer-langs, .footer-social { list-style: none; }
.footer-links li, .footer-langs li, .footer-social li { margin-bottom: 9px; }
.footer-links a, .footer-langs a, .footer-social a { transition: color .3s; }
.footer-links a:hover, .footer-langs a:hover, .footer-social a:hover, .footer-langs a[aria-current="true"] { color: var(--gold); }
.footer-address { font-style: normal; margin-bottom: 16px; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(225, 173, 76, .18); font-size: 12.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold); border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(10, 22, 48, .35); transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--navy); }

/* ---------- Banner lingua ---------- */
.lang-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); z-index: 120; opacity: 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: var(--ivory); color: var(--ink); padding: 14px 18px 14px 24px; max-width: calc(100% - 32px);
  border-top: 2px solid var(--gold); box-shadow: 0 20px 50px rgba(10, 22, 48, .3);
  font-size: 14px; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.lang-banner.show { opacity: 1; transform: translate(-50%, 0); }
.lang-banner a { font-weight: 600; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.lang-banner button { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--muted); padding: 4px 6px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 34, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-caption { font-family: var(--f-serif); font-style: italic; font-size: 19px; color: var(--cream); margin-top: 16px; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: none; border: 0; color: var(--cream); padding: 14px; transition: color .3s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold); }
.lb-close { top: 14px; right: 18px; font-size: 40px; line-height: 1; font-weight: 300; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 11px; letter-spacing: .3em; color: rgba(246, 240, 228, .6); }

/* ---------- Animazioni on-scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 24px; }
  .nav-cta { display: none !important; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .places { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .place:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 40px;
    background: radial-gradient(ellipse at 50% 100%, rgba(225, 173, 76, .15), transparent 60%), var(--navy-deep);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 16px; }
  .main-nav ul a { font-family: var(--f-display); font-size: 30px; letter-spacing: .08em; text-transform: none; color: var(--cream); }
  .main-nav .nav-cta { display: inline-flex !important; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .brand-mark { width: 52px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 8px; letter-spacing: .26em; }

  .intro-grid, .room-detail, .contact-grid { grid-template-columns: 1fr; }
  .intro-visual { padding-left: 24px; max-width: 560px; margin: 0 auto; width: 100%; }
  .iv-badge { right: -8px; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(3)::before { display: none; }
  .highlight:nth-child(n+3) { padding-top: 44px; }
  .room-aside { position: static; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; max-height: none; }
  .mosaic-item { aspect-ratio: 1; }
  .mosaic-item.m1 { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .mosaic-item.m4, .mosaic-item.m5 { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-sub { display: none; }
  .lang-switch summary { padding: 8px 10px; }
  .room-grid { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; gap: 40px; }
  .place { border-left: 0; padding: 0 0 0 22px; border-left: 1px solid rgba(225, 173, 76, .3); }
  .place:first-child, .place:nth-child(3) { padding-left: 22px; border-left: 1px solid rgba(225, 173, 76, .3); }
  .highlights { grid-template-columns: 1fr; }
  .highlight::before { display: none !important; }
  .highlight { padding-top: 36px !important; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .faq-item p { padding-right: 0; }
  .ornament span { width: 44px; }
  .info-card { padding: 40px 28px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}

/* ==========================================================================
   Logo ufficiale, social, cookie, pagine di testo (regolamento / privacy)
   ========================================================================== */
:root { --header-h: 100px; }
.skyline, .logo { display: block; height: auto; max-width: 100%; }

/* Header con il logo originale */
.brand { transition: opacity .45s var(--ease); }
.brand-logo { height: 80px; width: auto; transition: height .45s var(--ease); }
.site-header.scrolled { --header-h: 78px; height: 78px; }
.site-header.scrolled .brand-logo { height: 60px; }
.page-home .site-header:not(.scrolled) .brand { opacity: 0; pointer-events: none; } /* in home il logo grande è nell'hero */
.main-nav { gap: 30px; }
.main-nav ul { gap: 28px; }

/* Social in alto a destra */
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(225, 173, 76, .45); color: var(--cream); transition: background .3s, color .3s, border-color .3s;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.social-mobile { display: none; }
.social-footer { margin-top: 4px; }

/* Hero home: logo grande */
.hero-logo { width: min(400px, 74vw); margin: 0 auto 30px; filter: drop-shadow(0 6px 30px rgba(5, 12, 28, .45)); animation: fadeUp 1.2s var(--ease) both .2s; }
.hero-title { font-size: clamp(30px, 4.6vw, 60px); }
.page-404 .hero-logo { width: min(300px, 64vw); }

/* Decorazioni con lo skyline del logo */
.cta-skyline { width: min(300px, 62vw); margin: 0 auto 30px; }
.aside-skyline { width: 160px; margin-bottom: 22px; }
.info-skyline { width: 170px; margin-bottom: 24px; position: relative; }
.discover-skyline { opacity: .09; width: min(900px, 95vw); right: -40px; bottom: 0; }
.empty-state .skyline { width: 240px; margin: 0 auto 26px; }
.iv-logo { width: 78%; position: relative; }
.room-card-ph { display: grid; place-items: center; }
.room-card-ph .logo { width: 62%; }

/* Footer: logo con CIN e CIR sotto */
.footer-logo { width: 210px; margin-bottom: 20px; }
.footer-codes { display: flex; flex-direction: column; gap: 4px; margin: 0 0 18px; font-size: 12px; letter-spacing: .06em; color: var(--cream); }
.footer-codes abbr { text-decoration: none; color: var(--gold); font-weight: 600; letter-spacing: .2em; margin-right: 6px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer-legal .linklike:hover { color: var(--gold); }

/* Banner cookie */
.cookie-banner {
  position: fixed; left: 22px; bottom: 22px; z-index: 150; width: min(460px, calc(100% - 32px));
  background: var(--navy); color: rgba(246, 240, 228, .86); padding: 26px 26px 20px; font-size: 13.5px; line-height: 1.65;
  border-top: 3px solid var(--gold); box-shadow: 0 24px 60px rgba(5, 12, 28, .45);
  animation: fadeUp .6s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-title { font-family: var(--f-display); color: var(--cream); font-size: 17px; letter-spacing: .06em; margin: 0 0 10px; }
.cookie-text { margin: 0 0 16px; }
.cookie-text strong { color: var(--cream); }
.cookie-text a, .cookie-policy { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: rgba(246, 240, 228, .7); font-size: 26px; line-height: 1; padding: 6px; }
.cookie-x:hover { color: var(--gold); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; margin-bottom: 12px; }
.cookie-actions .btn { flex: 1 1 140px; }
.cookie-customize { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-size: 12.5px; margin-right: auto; }
.cookie-prefs { border-top: 1px solid rgba(225, 173, 76, .25); padding-top: 14px; margin-bottom: 16px; display: grid; gap: 12px; }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-opt input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.cookie-opt strong { color: var(--cream); font-weight: 600; }
.cookie-opt small { color: rgba(246, 240, 228, .65); font-size: 12px; }
.cookie-policy { font-size: 12px; }
.has-cookie-banner .wa-float { bottom: 22px; right: 22px; }

/* Pagine di testo (regolamento, privacy) */
.text-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.text-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.aside-kicker { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; position: relative; }
.toc { list-style: none; margin: 0 0 26px; padding: 0; position: relative; counter-reset: none; }
.toc li { border-bottom: 1px solid rgba(225, 173, 76, .16); }
.toc a { display: block; padding: 8px 0; font-size: 13.5px; color: rgba(246, 240, 228, .85); transition: color .25s, padding .25s; }
.toc a:hover { color: var(--gold); padding-left: 6px; }
.prose.rich h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); margin: 48px 0 18px; padding-bottom: 12px; position: relative; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose.rich h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 1px; background: var(--gold); }
.prose.rich h2:first-child { margin-top: 0; }
.prose.rich h3 { font-family: var(--f-serif); font-weight: 600; font-size: 22px; color: var(--ink); margin: 34px 0 10px; }
.prose.rich ul, .prose.rich ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose.rich ol { counter-reset: n; }
.prose.rich li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16px; line-height: 1.8; }
.prose.rich ul li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; border: 1px solid var(--gold-2); transform: rotate(45deg); }
.prose.rich ol li { counter-increment: n; }
.prose.rich ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--gold-2); font-weight: 600; }
.prose.rich a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.prose.rich strong { color: var(--ink); font-weight: 600; }
.pdf-link { margin-top: 44px; }
.info-rules { margin: 16px 0 0; position: relative; font-size: 13.5px; }
.info-rules a { color: var(--gold); }

@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .main-nav ul a { letter-spacing: .14em; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand-logo, .site-header.scrolled .brand-logo { height: 56px; }
  .site-header.scrolled { height: 76px; }
  .social-header { display: none; }
  .social-mobile { display: flex; }
  .social-mobile a { width: 44px; height: 44px; }
  .text-layout { grid-template-columns: 1fr; }
  .text-aside { position: static; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* correzioni: icone social del menu mobile e pulsanti nascosti del banner */
.main-nav ul.social-mobile { display: none; }
.cookie-banner [hidden] { display: none !important; }
@media (max-width: 900px) {
  .main-nav ul.social-mobile { display: flex; flex-direction: row; gap: 14px; }
}
.cookie-actions .btn { flex: 1 1 0; }
.cookie-customize { flex-basis: 100%; order: 3; text-align: left; margin: 2px 0 0; }
