:root {
      --bg: #0b1220;
      --bg-2: #0e1628;
      --text: #e8ecf3;
      --muted: #a6b1c2;
      --brand: #e6b800;
      --brand-2: #8bc6ec;
      --brand-3: #9599E2;
      --brand-4: #f8c69a;
      --ok: #22c55e;
      --warn: #f59e0b;
      --err: #ef4444;
      --card: #0f172aee;
      --glass: blur(12px) saturate(120%);
      --radius: 28px;
      --shadow: 0 14px 40px rgb(0 0 0 / .35);
      --ring: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent);
      --grid-gap: clamp(16px, 1.5vw, 28px);
      --wrap: min(1200px, 92vw);
    }

    :root {
      color-scheme: dark;
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
      color: var(--text);
      background: radial-gradient(1200px 800px at 10% -20%, #13233b, transparent), radial-gradient(1200px 800px at 90% 120%, #1b2a45, transparent), linear-gradient(180deg, #131f36);
    }

    img {
      max-width: 100%;
      display: block
    }

    a {
      color: inherit;
      text-decoration: none
    }

    h1,
    h2,
    h3 {
      font-family: "Playfair Display", serif;
      line-height: 1.1;
      letter-spacing: .2px;
      margin: 0 0 .6em
    }

    p {
      line-height: 1.7;
      margin: 0 0 1em
    }

    .wrap {
      width: var(--wrap);
      margin-inline: auto
    }

    .grid {
      display: grid;
      gap: var(--grid-gap)
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      padding: .95rem 1.25rem;
      border-radius: 999px;
      font-weight: 700;
      background: linear-gradient(135deg, var(--brand), #ffd166);
      color: #222;
      box-shadow: var(--shadow);
      transition: transform .25s ease, box-shadow .25s ease
    }

    .btn:hover {
      transform: translateY(-2px)
    }

    .btn.alt {
      background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
      color: #0b1220
    }

    .btn.ghost {
      background: #ffffff14;
      color: #fff;
      border: 1px solid #ffffff30
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      padding: .45rem .75rem;
      border-radius: 999px;
      background: #ffffff15;
      backdrop-filter: var(--glass);
      -webkit-backdrop-filter: var(--glass);
      border: 1px solid #ffffff2a
    }

    .card {
      background: var(--card);
      border: 1px solid #ffffff18;
      border-radius: var(--radius);
      box-shadow: var(--shadow)
    }

    .card.padded {
      padding: clamp(18px, 2.4vw, 34px)
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: var(--glass);
      -webkit-backdrop-filter: var(--glass);
      background: linear-gradient(180deg, rgb(15 23 42 /.75), transparent);
      border-bottom: 1px solid #ffffff1a
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .75rem 0;
      position: relative
    }

    .brand {
      display: flex;
      align-items: center;
      gap: .8rem;
      font-weight: 800
    }

    .brand .logo {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: conic-gradient(from 180deg at 50% 50%, var(--brand), var(--brand-2), var(--brand-3), var(--brand));
      box-shadow: var(--shadow)
    }

    .brand img {
      height: 42px;
      width: auto;
      border-radius: 12px
    }

    /* Desktop nav */
    .nav ul {
      display: flex;
      gap: 1rem;
      list-style: none;
      padding: 0;
      margin: 0
    }

    .nav a {
      opacity: .9
    }

    .nav a:hover {
      opacity: 1
    }

    /* Mobile menu */
    .menu-toggle {
      appearance: none;
      border: 1px solid #ffffff26;
      background: #ffffff14;
      color: var(--text);
      height: 40px;
      width: 46px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      cursor: pointer
    }

    .menu-toggle[aria-expanded="true"] {
      box-shadow: var(--ring)
    }

    @media (max-width: 879.98px) {
      .menu-toggle {
        display: grid
      }

      .nav ul {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        flex-direction: column;
        width: min(86vw, 320px);
        background: var(--card);
        border: 1px solid #ffffff24;
        border-radius: 16px;
        padding: .6rem;
        display: none;
        box-shadow: var(--shadow)
      }

      .nav ul.open {
        display: flex
      }

      .nav ul li a {
        display: block;
        padding: .7rem .8rem;
        border-radius: 10px
      }

      .nav ul li a:active {
        background: #ffffff12
      }
    }

    @media (min-width: 880px) {
      .menu-toggle {
        display: none
      }
    }

    /* Hero */
    .hero {
      position: relative;
      isolation: isolate;
      min-height: 58vh;
      display: grid;
      align-items: end
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background-image: url('foto/ginevra/Foto8.JPG');
      background-size: cover;
      background-position: center;  
      filter: contrast(1.05) brightness(.8) saturate(1.05);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(180deg, #0006, #0005 35%, #131f36 85%)
    }

    .hero .wrap {
      padding: clamp(64px, 9vh, 120px) 0
    }

    .hero-content {
      max-width: 900px
    }

    .pre {
      display: inline-flex;
      gap: .6rem;
      align-items: center;
      margin-bottom: 1rem
    }

    .pre .dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--ok);
      box-shadow: 0 0 0 6px #22c55e30
    }

    /* Section: full-bleed slider */
    .room-section {
      position: relative;
      margin: 64px 0;
      border-radius: 28px;
      overflow: hidden;
      border: 1px solid #ffffff20
    }

    .room-header {
      position: static;
      inset: auto;
      z-index: 10;
      padding: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      justify-content: space-between;
      background: var(--card);
      border-top: 1px solid #ffffff24
    }

    .room-header .title {
      display: flex;
      flex-direction: column;
      min-width: 0
    }

    .room-header h2 {
      margin: 0;
      font-size: clamp(28px, 4vw, 44px)
    }

    .room-header p {
      margin: .2rem 0 0;
      color: #e6e7ee
    }

    .badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px
    }

    .price {
      display: none
    }

    /* RIMOSSA: costo nella box gialla */

    .slider {
      position: relative;
      height: 56vh;
      min-height: 420px;
      max-height: 720px;
      background: #000
    }

    .slides {
      position: absolute;
      inset: 0;
      display: flex;
      transition: transform .6s ease;
      will-change: transform
    }

    .slide {
      min-width: 100%;
      position: relative
    }

    .slide img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: contrast(1.03) saturate(1.05)
    }

    .pager {
      position: absolute;
      inset: auto 0 16px 0;
      display: flex;
      gap: 8px;
      justify-content: center;
      z-index: 15
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #ffffff80;
      border: 1px solid #0006
    }

    .dot.active {
      background: #fff
    }

    .controls {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 12;
      pointer-events: none
    }

    .ctrl-btn {
      pointer-events: auto;
      margin: 0 8px;
      border: none;
      background: #ffffff20;
      color: #fff;
      backdrop-filter: var(--glass);
      -webkit-backdrop-filter: var(--glass);
      border: 1px solid #ffffff30;
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 999px
    }

    .ctrl-btn:focus-visible {
      outline: var(--ring)
    }

    /* Tariffe, Info, Footer */
    .section {
      padding: 60px 0
    }

    .table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;
      border-radius: 18px;
      border: 1px solid #ffffff20
    }

    .table th,
    .table td {
      padding: 12px 14px;
      text-align: left
    }

    .table thead th {
      background: #ffffff10
    }

    .contact-link {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      color: inherit
    }

    .contact-link svg {
      width: 22px;
      height: 22px;
      flex-shrink: 0
    }

    .social {
    display: flex;
    gap: .75rem;
}
.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #ffffff14;
    border: 1px solid #ffffff22;
}

    .table tbody tr:nth-child(odd) {
      background: #ffffff08
    }

    .note {
      font-size: .95rem;
      color: var(--muted)
    }

    footer {
      padding: 40px 0;
      border-top: 1px solid #ffffff1a;
      background: linear-gradient(180deg, transparent, #0002)
    }

 .brand-footer {
      display: flex;
      align-items: center;
      gap: .6rem;
      font-weight: 800
    }

    .brand-footer .logo-img {
      height: 36px;
      width: auto;
      border-radius: 10px
    }

    .foot-grid {
      display: grid;
      gap: var(--grid-gap);
      grid-template-columns: 2fr 1fr
    }

    @media (max-width: 900px) {
      .foot-grid {
        grid-template-columns: 1fr
      }
    }

    /* Legal & Cookie */
    .legal {
      display: grid;
      gap: clamp(16px, 2vw, 22px)
    }

    .legal-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: clamp(16px, 2vw, 24px);
      align-items: stretch
    }

    .legal-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: .65rem;
      color: var(--muted)
    }

    .legal-list strong {
      color: var(--text)
    }

    .legal-box {
      border: 1px dashed #ffffff30;
      border-radius: 18px;
      padding: 1rem 1.25rem;
      background: #ffffff08
    }

    .legal-actions {
      display: flex;
      gap: .6rem;
      flex-wrap: wrap;
      margin-top: .6rem
    }

    .cookie-banner {
      position: fixed;
      left: 50%;
      bottom: 18px;
      transform: translateX(-50%);
      width: min(1040px, 94vw);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 1rem;
      align-items: center;
      background: var(--card);
      border: 1px solid #ffffff24;
      border-radius: 18px;
      padding: 1rem 1.2rem;
      box-shadow: var(--shadow);
      backdrop-filter: var(--glass);
      -webkit-backdrop-filter: var(--glass);
      z-index: 80;
      opacity: 1;
      transition: opacity .25s ease, transform .25s ease
    }

    .cookie-banner.hide {
      opacity: 0;
      transform: translate(-50%, 10px);
      pointer-events: none
    }

    .cookie-title {
      margin: 0 0 .25rem;
      font-weight: 700
    }

    .cookie-copy {
      margin: 0 0 .5rem;
      color: var(--muted)
    }

    .cookie-link {
      color: var(--brand);
      font-weight: 700;
      text-decoration: underline
    }

    .cookie-actions {
      display: flex;
      gap: .6rem;
      flex-wrap: wrap;
      justify-content: flex-end
    }

    .cookie-primary,
    .cookie-secondary {
      padding: .7rem 1rem;
      font-size: .95rem
    }

    .cookie-options {
      display: grid;
      gap: .6rem;
      margin: .6rem 0;
    }

    .cookie-toggle {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: .65rem;
      align-items: center;
      padding: .7rem .9rem;
      border-radius: 14px;
      background: #ffffff0a;
      border: 1px solid #ffffff1f;
      cursor: pointer;
      position: relative;
    }

    .cookie-toggle input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .toggle-box {
      width: 46px;
      height: 26px;
      border-radius: 999px;
      background: #ffffff1a;
      border: 1px solid #ffffff30;
      display: inline-flex;
      align-items: center;
      padding: 3px;
      transition: background .2s ease;
    }

    .toggle-dot {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
      transform: translateX(0);
      transition: transform .2s ease;
      box-shadow: 0 4px 10px rgb(0 0 0 / .2);
    }

    .cookie-toggle input:checked + .toggle-box {
      background: #ffffff26;
    }

    .cookie-toggle input:checked + .toggle-box .toggle-dot {
      transform: translateX(18px);
    }

    .toggle-label {
      display: grid;
      gap: 2px;
      font-weight: 700;
    }

    .toggle-label small {
      font-weight: 500;
      color: var(--muted);
      line-height: 1.4;
    }

    .cookie-fab {
      position: fixed;
      left: 18px;
      bottom: 18px;
      padding: .75rem 1rem;
      border-radius: 999px;
      border: 1px solid #ffffff26;
      background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
      color: #0b1220;
      box-shadow: var(--shadow);
      cursor: pointer;
      font-weight: 700;
      z-index: 78;
    }

    .cookie-fab:focus-visible {
      outline: none;
      box-shadow: var(--ring)
    }

    @media (max-width: 780px) {
      .legal-grid {
        grid-template-columns: 1fr
      }

      .cookie-banner {
        grid-template-columns: 1fr;
        align-items: flex-start
      }

      .cookie-actions {
        justify-content: flex-start
      }
    }

    /* Reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(12px);
      transition: opacity .6s ease, transform .6s ease
    }

    .reveal.in {
      opacity: 1;
      transform: none
    }

    /* Sticky CTA */
    .sticky-cta {
      position: fixed;
      bottom: 16px;
      right: 16px;
      z-index: 60
    }

    /* Lightbox */
    dialog#lightbox {
      padding: 0;
      border: none;
      border-radius: 18px;
      background: #000;
      max-width: min(92vw, 1200px)
    }

    dialog#lightbox::backdrop {
      background: rgb(0 0 0 / .75)
    }

    .lb-img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 85vh
    }

    .lb-close {
      position: absolute;
      top: 8px;
      right: 8px;
      background: #ffffff20;
      border: 1px solid #ffffff30;
      color: #fff;
      border-radius: 999px;
      padding: .45rem .7rem
    }

    /* ======== MOBILE TWEAKS ======== */
    @media (max-width: 900px) {
      .hero {
        min-height: 52vh
      }

      .slider {
        height: clamp(260px, 48vh, 520px);
        min-height: 260px
      }

      /* Header della stanza sotto lo slider per non schiacciare le descrizioni */
      .room-header {
        position: static;
        background: var(--card);
        border-top: 1px solid #ffffff24;
        padding: 16px;
        gap: 10px
      }

      .room-section {
        margin: 32px 0;
        border-radius: 22px
      }

      .room-header h2 {
        font-size: clamp(24px, 6vw, 32px)
      }

      .room-header p {
        margin-top: .35rem;
        color: var(--muted)
      }

      .badges {
        gap: 6px
      }

      .ctrl-btn {
        width: 40px;
        height: 40px
      }
    }
