/* ==========================================================================
   Grand Hotel Aurora — Demo Portfolio
   Design: lusso lacustre, blu notte e oro champagne, tipografia editoriale
   ========================================================================== */

:root {
  --ink: #0e1a24;
  --ink-2: #14242f;
  --ink-3: #1c3040;
  --gold: #c9a86a;
  --gold-2: #e6cf9f;
  --gold-dark: #a88850;
  --cream: #f4efe4;
  --paper: #fdfbf6;
  --text: #26323c;
  --muted: #7a8791;
  --line: rgba(201, 168, 106, 0.32);
  --line-soft: rgba(38, 50, 60, 0.12);
  --danger: #c0563f;
  --font-serif: "Marcellus", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(14, 26, 36, 0.18);
  --radius: 4px;
  --header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; margin: 0; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-lg { padding: 18px 42px; font-size: 12.5px; }
.btn-sm { padding: 10px 22px; font-size: 10.5px; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #211a0e;
  box-shadow: 0 10px 30px rgba(201, 168, 106, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201, 168, 106, 0.45);
  filter: brightness(1.05);
}

.btn-outline {
  border-color: rgba(244, 239, 228, 0.55);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 168, 106, 0.07);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 26, 36, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1320px, 94%);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-2);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.brand:hover .brand-mark { background: var(--gold); color: var(--ink); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--cream);
  white-space: nowrap;
}
.brand-tag { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-2); }

.primary-nav { display: flex; gap: 30px; }
.primary-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.85);
  padding: 6px 0;
  transition: color 0.3s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--gold-2); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(244, 239, 228, 0.4);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(244, 239, 228, 0.4);
  border-radius: var(--radius);
  padding: 0 10px;
}
.nav-toggle span {
  height: 1.6px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 26, 36, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  gap: 8px;
  padding: 40px 8% 48px;
  overflow-y: auto;
  z-index: 110;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
  transition: color 0.3s, padding-left 0.35s var(--ease);
}
.mobile-menu nav a:hover { color: var(--gold-2); padding-left: 12px; }
.mobile-menu .btn { margin-top: 26px; }
.mobile-lang { margin-top: 20px; font-size: 13px; letter-spacing: 0.15em; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.mobile-lang button { background: none; border: none; color: var(--gold-2); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, #16324a 0%, #0b1420 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 36, 0.62) 0%, rgba(14, 26, 36, 0.2) 45%, rgba(14, 26, 36, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 24px 110px;
  animation: heroFade 1.4s var(--ease) both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(30px, 4.5vw, 46px);
  color: var(--gold-2);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(48px, 8.5vw, 96px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #fdfbf6;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.hero-title em { font-style: italic; color: var(--gold-2); }

.hero-tagline {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(15.5px, 2vw, 18.5px);
  font-weight: 300;
  color: rgba(244, 239, 228, 0.9);
  letter-spacing: 0.02em;
}

.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.hero-badges {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 46px;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.85);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li span:first-child { color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 46px;
}
.scroll-line {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(244, 239, 228, 0.55);
  border-radius: 20px;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 9px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold-2);
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Quick booking bar ---------- */
.quickbook {
  position: relative;
  z-index: 60;
  margin-top: -58px;
  padding: 0 4%;
}
.quickbook-form {
  width: min(1060px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr 1.2fr auto;
  gap: 18px;
  align-items: end;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(14, 26, 36, 0.28);
  padding: 24px 26px;
}
.qb-field { display: flex; flex-direction: column; gap: 8px; }
.qb-field label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.qb-field input, .qb-field select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 400;
  padding: 12px 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.qb-field input:focus, .qb-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.2);
}
.qb-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a88850' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.qb-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5) sepia(0.4) saturate(3) hue-rotate(-10deg);
  cursor: pointer;
}
.qb-btn { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }

.dark { background: var(--ink); color: var(--cream); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head.left { text-align: left; }

.section-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section-number.light { color: var(--gold-2); }

.section-script {
  font-family: var(--font-script);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--gold-dark);
  margin-bottom: 2px;
}
.dark .section-script { color: var(--gold-2); }

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.dark .section-title { color: var(--cream); }

.divider {
  display: block;
  width: 120px;
  height: 1px;
  background: var(--line);
  margin: 26px auto 0;
  position: relative;
}
.section-head.left .divider { margin-left: 0; }
.divider i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--paper);
  border: 1px solid var(--gold);
}
.dark .divider i { background: var(--ink); }

.section-sub {
  max-width: 640px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 16px;
}
.section-head.left .section-sub { margin-left: 0; }

/* ---------- Hotel / Storia ---------- */
.hotel-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.hotel-images { position: relative; padding-bottom: 60px; }
.hotel-img { border-radius: var(--radius); overflow: hidden; background: #dbe3e6; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hotel-img:hover img { transform: scale(1.06); }

.hotel-img-main { height: 480px; }
.hotel-img-small {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 44%;
  height: 230px;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
}

.hotel-text p { color: #43505b; }
.hotel-text .hotel-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.6;
  color: #3c4852;
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0 4px;
}
.hotel-signature {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--gold-dark);
  margin-top: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
  border-top: 1px solid var(--line-soft);
  padding-top: 34px;
}
.stats li { text-align: left; }
.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Camere ---------- */
.rooms { background: var(--cream); }

.room-list { display: grid; gap: 34px; }

.room-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(14, 26, 36, 0.06);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.room-card:nth-child(even) .room-media { order: 2; }

.room-media {
  position: relative;
  min-height: 340px;
  background: linear-gradient(160deg, #1c3040 0%, #0e1a24 100%);
}
.room-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room-card:hover .room-media img { transform: scale(1.05); }

.room-ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--gold);
  color: #211a0e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.room-body { padding: 42px 44px; display: flex; flex-direction: column; justify-content: center; }

.room-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.room-head h3 { font-size: 30px; color: var(--ink); }
.room-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.room-price strong { font-family: var(--font-serif); font-size: 26px; color: var(--gold-dark); }
.room-price small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.room-short { margin: 16px 0 0; font-size: 15.5px; color: #43505b; }

.room-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.room-meta li { display: flex; flex-direction: column; gap: 2px; }
.room-meta li span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.room-meta li strong { font-size: 13.5px; font-weight: 500; color: var(--ink); }

.room-actions { display: flex; gap: 12px; margin-top: 28px; }

/* ---------- Servizi ---------- */
.amenities {
  position: relative;
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(201, 168, 106, 0.1) 0%, transparent 60%),
    var(--ink);
}

.amen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.amen-card {
  background: rgba(244, 239, 228, 0.045);
  border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s var(--ease);
}
.amen-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.amen-media { height: 190px; overflow: hidden; background: #1c3040; }
.amen-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.amen-card:hover .amen-media img { transform: scale(1.08); }

.amen-body { padding: 26px 26px 30px; }
.amen-icon { color: var(--gold); font-size: 15px; letter-spacing: 0.1em; }
.amen-body h3 { font-size: 21px; color: var(--gold-2); margin: 10px 0 10px; letter-spacing: 0.04em; }
.amen-body p { margin: 0; font-size: 13.8px; color: rgba(244, 239, 228, 0.72); line-height: 1.7; }

/* ---------- Galleria ---------- */
.gallery-grid {
  width: min(1320px, 94%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1c3040;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.5s;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 26, 36, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

.g-1 { grid-column: span 2; grid-row: span 2; }
.g-4 { grid-column: span 2; }
.g-5 { grid-row: span 2; }

/* ---------- Recensioni ---------- */
.reviews { background: var(--cream); }

.carousel { max-width: 760px; margin-inline: auto; overflow: hidden; }

.carousel-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}

.review {
  flex: 0 0 100%;
  text-align: center;
  padding: 10px 6% 20px;
}
.review-stars { color: var(--gold); letter-spacing: 6px; font-size: 17px; }
.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 23px);
  line-height: 1.65;
  color: #3c4852;
  margin: 20px auto 28px;
  max-width: 640px;
}
.review-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.review-author strong { display: block; font-family: var(--font-serif); font-size: 17px; color: var(--ink); }
.review-author small { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; }
.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  transition: all 0.3s var(--ease);
}
.carousel-btn:hover { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(38, 50, 60, 0.25);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.carousel-dot.is-active { background: var(--gold); transform: scale(1.35); }

/* ---------- Prenotazione ---------- */
.booking {
  position: relative;
  background:
    radial-gradient(90% 60% at 85% 0%, rgba(201, 168, 106, 0.12) 0%, transparent 60%),
    var(--ink);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.choice-card {
  background: rgba(244, 239, 228, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px 28px;
  margin-top: 36px;
}
.choice-card h3 {
  font-size: 22px;
  color: var(--gold-2);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.field { margin-bottom: 20px; position: relative; }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.75);
  margin-bottom: 9px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(244, 239, 228, 0.05);
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  padding: 13px 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 239, 228, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.07);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.18);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a86a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.field select option { background: var(--ink-2); color: var(--cream); }
.field textarea { resize: vertical; min-height: 90px; }

.field.is-invalid input, .field.is-invalid select {
  border-color: var(--danger);
}
.field-error {
  display: none;
  position: absolute;
  left: 0;
  bottom: -19px;
  font-size: 12px;
  color: #e08a72;
  letter-spacing: 0.02em;
}
.field.is-invalid .field-error { display: block; }

.field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.75) sepia(0.5) saturate(4) hue-rotate(-15deg);
  cursor: pointer;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(244, 239, 228, 0.05);
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: var(--radius);
  padding: 7px 14px;
}
.stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 228, 0.3);
  background: transparent;
  color: var(--gold-2);
  font-size: 18px;
  line-height: 1;
  transition: all 0.3s var(--ease);
}
.stepper button:hover { background: var(--gold); border-color: var(--gold); color: #211a0e; }
.stepper-value {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--cream);
  min-width: 24px;
  text-align: center;
}

.price-box {
  margin-top: 8px;
  border-top: 1px solid rgba(201, 168, 106, 0.28);
  padding-top: 18px;
}
.price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(244, 239, 228, 0.72);
  padding: 5px 0;
}
.price-line#pl-season {
  display: none;
  color: var(--gold-2);
  font-style: italic;
  font-size: 12.5px;
}
.price-total {
  align-items: baseline;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(201, 168, 106, 0.35);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.price-total strong {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}
.price-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: rgba(244, 239, 228, 0.5);
  font-style: italic;
  line-height: 1.6;
}

.book-form { margin-top: 36px; }

/* pulsante submit con spinner */
.btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(33, 26, 14, 0.3);
  border-top-color: #211a0e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(244, 239, 228, 0.45);
  text-align: center;
  font-style: italic;
}

/* ---------- Contatti ---------- */
.contact { background: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: stretch;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.contact-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line);
}
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 17px;
  margin-bottom: 16px;
}
.contact-card h3 {
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--ink);
}
.contact-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.contact-card a { color: #43505b; transition: color 0.3s; }
.contact-card a:hover { color: var(--gold-dark); }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-2); transform: translateY(-3px); }

.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  position: relative;
  min-height: 420px;
  background: #dbe3e6;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.02);
  transition: filter 0.4s;
}
.map-wrap:hover iframe { filter: none; }
.map-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--ink);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, color 0.3s;
}
.map-link:hover { background: var(--gold); color: #211a0e; }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.1);
}

.footer-brand p { color: rgba(244, 239, 228, 0.65); font-size: 14.5px; margin-top: 20px; max-width: 300px; }

.footer-col h3 {
  font-size: 13.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 20px;
}
.footer-col a, .footer-col p { display: block; color: rgba(244, 239, 228, 0.65); font-size: 14px; margin-bottom: 10px; }
.footer-col a { transition: color 0.3s, padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-2); padding-left: 6px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 13px;
  color: rgba(244, 239, 228, 0.45);
}
.footer-credits { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 14, 20, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1000px, 90vw); text-align: center; }
.lightbox-figure img {
  max-height: 78vh;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: lbIn 0.4s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox-figure figcaption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--cream);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(244, 239, 228, 0.08);
  border: 1px solid rgba(244, 239, 228, 0.25);
  color: var(--cream);
  border-radius: 50%;
  transition: all 0.3s;
}
.lightbox-close { top: 26px; right: 26px; width: 46px; height: 46px; font-size: 17px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 26px; }
.lightbox-prev { left: 26px; }
.lightbox-next { right: 26px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); border-color: var(--gold); color: #211a0e; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8, 14, 20, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  background: var(--paper);
  border-radius: 8px;
  width: min(540px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 52px 46px 40px;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  animation: lbIn 0.45s var(--ease);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  transition: all 0.3s;
}
.modal-close:hover { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }

.modal-check svg circle {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: draw 0.8s var(--ease) 0.15s forwards;
}
.modal-check svg path {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.5s var(--ease) 0.9s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.modal-card h3 {
  font-size: 32px;
  color: var(--ink);
  margin-top: 14px;
}
.modal-text { color: var(--muted); font-size: 15px; }
.modal-code-label { margin: 24px 0 2px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.modal-code {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  margin: 0;
}
.modal-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 20px 22px;
  margin: 26px 0;
}
.modal-summary dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.modal-summary dd { margin: 0 0 12px; font-size: 15px; color: var(--ink); font-weight: 400; }
.modal-summary dd:last-child { margin-bottom: 0; }
.modal-summary dd.full { grid-column: 1 / -1; }

/* ---------- Modale scheda camera ---------- */
.room-modal-card { width: min(680px, 100%); text-align: left; padding: 44px 44px 40px; }
.rm-gallery { margin-bottom: 24px; }
.rm-main {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  background: #1c3040;
}
.rm-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.rm-thumb {
  width: 92px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #1c3040;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.7;
}
.rm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rm-thumb:hover { opacity: 1; }
.rm-thumb.is-active { border-color: var(--gold); opacity: 1; }

.rm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rm-head h3 { font-size: 28px; color: var(--ink); }
.rm-price { font-family: var(--font-serif); font-size: 20px; color: var(--gold-dark); white-space: nowrap; }

.rm-meta { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.rm-meta li { display: flex; flex-direction: column; gap: 2px; }
.rm-meta span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.rm-meta strong { font-size: 13.5px; font-weight: 500; color: var(--ink); }

.rm-desc { margin: 22px 0 0; font-size: 15px; color: #43505b; line-height: 1.7; }
.rm-features-title {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 14px;
}
.rm-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 28px; }
.rm-features li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}
.rm-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  color: var(--gold-dark);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 260;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 26px;
  font-size: 14px;
  letter-spacing: 0.03em;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.4s var(--ease);
}
.toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: 0.12s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.36s; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .primary-nav { gap: 20px; }
  .primary-nav a { letter-spacing: 0.1em; }
  .hotel-grid { gap: 50px; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .quickbook-form { grid-template-columns: 1fr 1fr 1fr; }
  .qb-btn { grid-column: 1 / -1; }
  .booking-grid { gap: 44px; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .quickbook { margin-top: -34px; }
  .quickbook-form { grid-template-columns: 1fr 1fr; padding: 20px; }
  .qb-btn { grid-column: 1 / -1; }

  .hotel-grid { grid-template-columns: 1fr; }
  .hotel-images { max-width: 560px; margin-inline: auto; width: 100%; }
  .hotel-img-main { height: 400px; }
  .hotel-img-small { right: 0; width: 42%; }

  .room-card { grid-template-columns: 1fr; }
  .room-card:nth-child(even) .room-media { order: 0; }
  .room-media { min-height: 300px; }
  .room-body { padding: 32px 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-1 { grid-column: span 2; }

  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .header-inner { width: 94%; }

  .hero-content { padding-top: 110px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: min(320px, 100%); margin-inline: auto; }
  .hero-badges { gap: 16px; }

  .quickbook-form { grid-template-columns: 1fr; }
  .qb-room { display: none; }

  .hotel-img-main { height: 320px; }
  .hotel-img-small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 14px; }

  .room-media { min-height: 240px; }
  .room-actions { flex-direction: column; }
  .room-actions .btn { width: 100%; }

  .amen-grid { grid-template-columns: 1fr; }
  .amen-media { height: 210px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-1, .g-4 { grid-column: auto; grid-row: auto; }
  .g-5 { grid-row: auto; }

  .contact-cards { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .modal-card { padding: 44px 26px 32px; }
  .modal-summary { grid-template-columns: 1fr; }
  .rm-features { grid-template-columns: 1fr; }
  .room-modal-card { padding: 40px 24px 32px; }
  .rm-main { height: 230px; }
  .lightbox { padding: 20px; }
  .lightbox-nav { top: auto; bottom: 22px; transform: none; width: 44px; height: 44px; font-size: 22px; }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
