/* ========= CSS ROOT & RESET ========= */
    :root {
      --bg: #0b1220;
      --bg-2: #101827;
      --text: #e8ecf3;
      --muted: #a6b1c2;
      --brand: #e6b800;
      --brand-2: #8bc6ec;
      --brand-3: #9599E2;
      --ok: #22c55e;
      --warn: #f59e0b;
      --err: #ef4444;
      --card: #0f172aee;
      --glass: blur(10px) saturate(120%);
      --radius: 24px;
      --shadow: 0 10px 30px 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);
    }

    :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%, #123, transparent),
        radial-gradient(1200px 800px at 90% 120%, #223, 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
    }

    /* ========= LAYOUT ========= */
    .wrap {
      width: min(1200px, 92vw);
      margin-inline: auto
    }

    .grid {
      display: grid;
      gap: var(--grid-gap)
    }

    .two-col {
      grid-template-columns: 1.2fr 1fr;
      align-items: center;
    }

    .two-col-alt {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      align-items: stretch;
    }

    @media (max-width: 900px) {

      .two-col,
      .two-col-alt {
        grid-template-columns: 1fr;
      }
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      padding: .85rem 1.15rem;
      border-radius: 999px;
      font-weight: 600;
      background: linear-gradient(135deg, var(--brand), #ffd166);
      color: #222;
      box-shadow: var(--shadow);
      transition: transform .2s ease, box-shadow .2s ease
    }

    .btn:hover {
      transform: translateY(-2px)
    }

    .btn:focus-visible {
      outline: none;
      box-shadow: var(--ring)
    }

    .btn.alt {
      background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
      color: #0b1220
    }

    .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 / NAV ========= */
    .skip {
      position: absolute;
      inset-inline-start: 8px;
      inset-block-start: -40px;
      background: #fff;
      color: #111;
      padding: .5rem .75rem;
      border-radius: 8px;
      transition: .2s
    }

    .skip:focus {
      inset-block-start: 8px;
      box-shadow: var(--ring)
    }

    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-img {
      height: 42px;
      width: auto;
      display: block;
      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
    }

    .book-cta {
      display: none
    }

    @media (min-width:880px) {
      .book-cta {
        display: inline-flex
      }
    }

    /* Mobile nav */
    .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
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background-image: url('foto/ginevra/Foto7.JPG');
      /* fix: tolto spazio in coda */
      background-size: cover;
      background-position: center;
      filter: contrast(1.1) brightness(.8) saturate(1.1)
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(180deg, #0006, #0005 75%, #131f36 85%)
    }

    .hero .wrap {
      display: grid;
      grid-template-columns: 1fr;
      min-height: 72vh;
      align-items: end;
      padding: clamp(72px, 10vh, 140px) 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
    }

    .hero h1 {
      font-size: clamp(2.2rem, 6vw, 4.2rem)
    }

    .hero p {
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      color: var(--muted)
    }

    @media (max-width: 700px) {
      .hero p {
        color: var(--text);
      }
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 1.1rem
    }

    /* ========= SECTIONS ========= */
    section {
      padding: clamp(52px, 7vw, 96px) 0
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: clamp(24px, 3vw, 36px)
    }

    .kicker {
      letter-spacing: .22em;
      text-transform: uppercase;
      font-weight: 700;
      font-size: .82rem;
      color: var(--muted)
    }

    .title {
      font-size: clamp(1.7rem, 3.6vw, 2.6rem)
    }

    .lead {
      max-width: 70ch;
      color: var(--muted)
    }

    @media (max-width: 820px) {
      .section-head {
        flex-direction: column;
        align-items: flex-start
      }
    }

    /* ========= FEATURES ========= */
    .features {
      grid-template-columns: 1fr;
    }

    @media (min-width: 720px) {
      .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1024px) {
      .features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (min-width: 1280px) {
      .features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .feature {
      position: relative;
      overflow: hidden
    }

    .feature::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg, #ffffff40, #ffffff0a);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude
    }

    .feature .icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
      color: #0b1220;
      box-shadow: var(--shadow)
    }

    /* ========= CAMERE ========= */
    .rooms {
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
    }

    .room {
      overflow: hidden;
      position: relative
    }

    .room img {
      aspect-ratio: 4/3;
      object-fit: cover;
      border-radius: 18px
    }

    .tag {
      position: absolute;
      top: 12px;
      left: 12px;
      background: #00000080;
      border: 1px solid #ffffff30;
      color: #fff;
      padding: .35rem .6rem;
      border-radius: 999px;
      backdrop-filter: var(--glass)
    }

    .prices {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin-top: .5rem
    }

    /* ========= GALLERY ========= */
    .gallery {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: var(--grid-gap)
    }

    .gallery figure {
      margin: 0;
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      border: 1px solid #ffffff18;
      background: #0b1220
    }

    .gallery img {
      width: 100%;
      height: 100%;
      aspect-ratio: 1/1;
      object-fit: cover;
      transition: transform .35s ease
    }

    .gallery figure:hover img {
      transform: scale(1.06)
    }

    .span-6 {
      grid-column: span 6
    }

    .span-3 {
      grid-column: span 3
    }

    .span-9 {
      grid-column: span 9
    }

    @media (max-width:800px) {

      .span-6,
      .span-3,
      .span-9 {
        grid-column: span 12
      }
    }

    /* ========= TIMELINE ========= */
    .timeline {
      position: relative;
      padding-left: 26px
    }

    .timeline::before {
      position: absolute;
      left: 6px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(#ffffff60, transparent)
    }



    .tl {
      position: relative;
      padding-left: 20px
    }

    .tl::before {
      content: "";
      position: absolute;
      left: -22px;
      top: .45rem;
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--brand)
    }

    /* ========= MAP ========= */
    .map {
      height: 100%;
      min-height: clamp(260px, 38vh, 380px);
      border: 0;
      width: 100%;
      filter: grayscale(.1) contrast(1.1) saturate(1.1);
      border-radius: 18px
    }

    /* ========= FOOTER ========= */
    footer {
      padding: 40px 0;
      border-top: 1px solid #ffffff1a;
      background: linear-gradient(180deg, transparent, #0002)
    }

    .foot-grid {
      display: grid;
      gap: var(--grid-gap);
      grid-template-columns: 2fr 1fr 1fr
    }

    .foot-grid a {
      color: var(--muted)
    }

    .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
    }

    .brand-footer {
      display: flex;
      align-items: center;
      gap: .6rem;
      font-weight: 800
    }

    .brand-footer .logo-img {
      height: 36px;
      width: auto;
      border-radius: 10px
    }

    @media (max-width:900px) {
      .foot-grid {
        grid-template-columns: 1fr
      }
    }

    /* ========= UTILITIES ========= */
    .blurred {
      backdrop-filter: var(--glass);
      -webkit-backdrop-filter: var(--glass)
    }

    .pill {
      border-radius: 999px
    }

    .center {
      text-align: center
    }

    .mt-1 {
      margin-top: .5rem
    }

    .mt-2 {
      margin-top: 1rem
    }

    .mt-3 {
      margin-top: 1.5rem
    }

    .mt-4 {
      margin-top: 2rem
    }

    .mb-0 {
      margin-bottom: 0
    }

    /* ========= 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
      }
    }

    /* ========= PRINT ========= */
    @media print {

      header,
      .hero,
      .gallery,
      iframe,
      .social,
      .btn {
        display: none !important
      }

      body {
        background: #fff;
        color: #111
      }

      section {
        padding: 16px 0
      }

      .card {
        border: 1px solid #ddd;
        background: #fff
      }
    }
