:root {
  --ivory: #fbfaf6;
  --paper: #ffffff;
  --warm: #f4f0e8;
  --ink: #272422;
  --muted: #706a63;
  --line: #ded6c8;
  --gold: #a7894f;
  --gold-dark: #866b39;
  --dark: #24211f;
  --dark-soft: #2d2925;
  --shadow: 0 18px 36px rgba(42, 36, 30, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
.lead {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
  text-align: center;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(36, 33, 31, .98);
  border-bottom: 1px solid rgba(167, 137, 79, .32);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 228px;
  filter: brightness(1.18);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(167, 137, 79, .55);
  background: transparent;
  color: #fff;
  font-size: 22px;
}

.main-nav {
  position: absolute;
  inset: 76px 0 auto 0;
  display: none;
  padding: 18px 24px 24px;
  background: var(--dark);
  border-bottom: 1px solid rgba(167, 137, 79, .32);
  box-shadow: var(--shadow);
}

.main-nav.is-open { display: block; }
.main-nav a {
  display: block;
  padding: 12px 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3eee4;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.outline {
  background: transparent;
  color: var(--gold-dark);
}

.button:hover,
.button:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  background: #2c2925;
  overflow: hidden;
}

.hero.compact { min-height: 430px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,19,17,.62), rgba(22,19,17,.2)), var(--hero-image) center/cover no-repeat;
}

.hero-content {
  position: relative;
  padding: 86px 0 96px;
  text-align: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.3rem, 8vw, 4.7rem);
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 12px auto 0;
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  text-transform: uppercase;
}

.booking-panel {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 18px;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.section .booking-panel {
  width: 100%;
  margin: 0 auto 42px;
}

.hero .booking-panel {
  margin-top: -74px;
}

.room-detail .booking-panel {
  width: 100%;
  margin: 28px 0 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  box-shadow: none;
}

.room-detail .booking-panel .button {
  width: 100%;
  grid-column: auto;
}

.booking-field label {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid rgba(222, 214, 200, .75);
  background: var(--ivory);
}

.section.white { background: var(--paper); }
.section.tight { padding: 64px 0; }

.section-title {
  margin-bottom: 34px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase;
}

.ornament {
  width: 86px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--line);
  position: relative;
}

.ornament::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}

.split {
  display: grid;
  gap: 34px;
  align-items: center;
}

.split-copy {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.split-copy h2 { font-size: clamp(2rem, 5vw, 3.3rem); text-transform: uppercase; }
.split-copy .eyebrow {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.framed-image {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.room-grid,
.place-grid,
.tour-grid,
.service-grid {
  display: grid;
  gap: 24px;
}

.room-card,
.place-card,
.tour-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(42, 36, 30, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.room-card:hover,
.place-card:hover,
.tour-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 137, 79, .5);
  box-shadow: 0 18px 34px rgba(42, 36, 30, .11);
}

.room-card img,
.place-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-card-body,
.place-card-body,
.tour-card {
  padding: 20px;
}

.room-card h3,
.place-card h3,
.tour-card h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.room-card p,
.place-card p,
.tour-card p {
  color: var(--muted);
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .88rem;
}

.palazzo-band {
  display: grid;
  gap: 28px;
  align-items: center;
}

.palazzo-band img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
}

.map-section {
  display: grid;
  gap: 30px;
  align-items: center;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-address {
  margin: 18px 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 14px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.room-detail {
  display: grid;
  gap: 36px;
  align-items: start;
}

.facts {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact strong { text-transform: uppercase; font-size: .76rem; }
.fact span { color: var(--muted); text-align: right; }

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.room-nav {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.room-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-nav-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--gold-dark);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.room-nav-links a:hover,
.room-nav-links a:focus-visible {
  border-color: var(--gold);
  background: var(--warm);
}

.site-footer {
  background: var(--dark);
  color: #f3eee4;
  padding: 44px 0 20px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-logo { width: 220px; filter: brightness(1.2); }
.footer-title {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a,
.social-links a {
  display: block;
  color: #d7d0c4;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: #fff;
  font-weight: 700;
}

.copyright {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #bcb5aa;
  font-size: .78rem;
}
