@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap");

:root {
  color-scheme: light;
  --navy: #0b2a47;
  --navy-deep: #07182b;
  --gold: #c6a15b;
  --gold-light: #dfc68f;
  --ivory: #f7f4ee;
  --paper: #fffdf9;
  --ink: #12202d;
  --muted: #53616e;
  --line: rgba(18, 32, 45, 0.15);
  --success: #237a57;
  --danger: #a94232;
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 22px 60px rgba(7, 24, 43, 0.1);
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --max-width: 1180px;
}

html {
  min-height: 100%;
  background: var(--paper);
  scrollbar-color: var(--gold) var(--navy-deep);
  scrollbar-width: thin;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--paper), var(--ivory));
}

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb {
  border: 3px solid var(--navy-deep);
  border-radius: 999px;
  background: var(--gold);
}

::selection {
  color: var(--navy-deep);
  background: var(--gold);
}

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

.skip-link {
  z-index: 1100;
  border-radius: 0;
  color: #fff;
  background: var(--navy-deep);
}

.test-mode-banner {
  position: relative;
  top: auto;
  padding: 0.5rem 1rem;
  color: #fff;
  background: #8a3418;
  font: 600 0.68rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 40;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hotel-topbar {
  height: 31px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-deep);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hotel-topbar a,
.brand-wrap,
.main-nav a,
.nav-return,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.nav-wrap {
  height: 84px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-wrap {
  flex: 0 1 285px;
  min-width: 190px;
}

.brand-logo {
  width: 285px;
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.brand-wrap:hover .brand-logo {
  filter: drop-shadow(0 7px 10px rgba(11, 42, 71, 0.13));
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.main-nav a {
  position: relative;
  padding: 31px 0 28px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 20px;
  left: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.25s ease, right 0.25s ease;
}

.main-nav a:hover::after {
  right: 0;
  left: 0;
}

.nav-return {
  min-height: 49px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-return:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.site-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 64px 0 104px;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.card,
.hero-highlights article,
.feature-card,
.receipt-panel,
.status-region,
.availability-summary,
.field-group,
.room-card {
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  min-height: 570px;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 0;
  overflow: hidden;
  border: 0;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 82px);
  justify-content: center;
  gap: 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 24, 43, 0.98), rgba(11, 42, 71, 0.94)),
    var(--navy-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.86); }

.brand-copy h1,
.hero-copy h2,
.section-head h2,
.feature-card h3,
.room-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  -webkit-text-stroke: 0.35px currentColor;
  paint-order: stroke fill;
}

.hero-copy h2 {
  max-width: 11ch;
  margin: 0 0 26px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 0.99;
}

.hero-copy h2 em {
  color: var(--gold);
  font-style: italic;
}

.hero-text {
  max-width: 51ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
}

.hero-highlights {
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-highlights article {
  padding: 20px 16px 0 0;
  border: 0;
  background: transparent;
}

.hero-highlights article + article {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-highlights strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-highlights span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 570px;
  margin: 0;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 43, 0.35), transparent 45%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-panel:hover .hero-visual img { transform: scale(1.035); }

.hero-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  max-width: 290px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(7, 24, 43, 0.76);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.booking-panel,
.availability-panel,
.summary-panel {
  padding: clamp(28px, 3.2vw, 44px);
  box-shadow: 0 18px 48px rgba(7, 24, 43, 0.06);
}

.booking-panel {
  grid-column: 1;
  grid-row: 2;
}

.summary-panel {
  position: static;
  grid-column: 2;
  grid-row: 2;
  border-top: 3px solid var(--gold);
}

.availability-panel {
  grid-column: 1 / -1;
  grid-row: 3;
}

.section-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.section-head .eyebrow { margin-bottom: 10px; }

.section-head h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  line-height: 1;
}

.step-chip,
.status-badge,
.trust-pill {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--ivory);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.status-badge {
  border-radius: 0;
  white-space: normal;
}

.booking-form { gap: 22px; }

.field-group {
  padding: 22px;
  background: var(--ivory);
}

.field-group legend {
  padding: 0 8px;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

label {
  color: var(--ink);
  font-weight: 500;
}

label span {
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}

input,
select,
textarea {
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(18, 32, 45, 0.23);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

input::placeholder,
textarea::placeholder { color: #7d878f; }

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
.room-select:focus-visible {
  border-color: var(--gold);
  outline: 2px solid rgba(198, 161, 91, 0.24);
  outline-offset: 1px;
  box-shadow: none;
}

.policy-consent {
  color: var(--muted);
  font-size: 0.82rem;
}

.policy-consent input {
  border-radius: 0;
  accent-color: var(--gold);
}

.policy-consent a,
.policy-page a {
  color: var(--navy);
  text-underline-offset: 3px;
}

.form-actions { gap: 12px; }

.primary-btn,
.secondary-btn,
.room-select {
  position: relative;
  min-height: 50px;
  padding: 0 24px;
  overflow: hidden;
  border-radius: 0;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.primary-btn {
  color: var(--navy-deep);
  background: var(--gold);
}

.primary-btn:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.secondary-btn,
.room-select {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.secondary-btn:hover:not(:disabled),
.room-select:hover:not(:disabled) {
  color: #fff;
  background: var(--navy);
  transform: translateY(-2px);
}

.primary-btn:disabled {
  color: rgba(18, 32, 45, 0.55);
  background: #ded9ce;
}

.status-region,
.availability-summary,
.receipt-panel {
  padding: 18px;
  color: var(--ink);
  background: var(--ivory);
}

.status-region[data-state="success"],
.status-badge[data-state="success"] { border-color: rgba(35, 122, 87, 0.45); }
.status-region[data-state="error"],
.status-badge[data-state="error"] { border-color: rgba(169, 66, 50, 0.45); }

.status-title { color: var(--navy); }
.status-body,
.availability-summary,
.receipt-panel p,
.room-description,
.room-meta,
.feature-card p { color: var(--muted); }

.room-list { gap: 16px; }

.room-card {
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  padding: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.room-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.room-media { overflow: hidden; }

.room-media img {
  min-height: 225px;
  border: 0;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.room-card:hover .room-media img { transform: scale(1.025); }

.room-title {
  color: var(--navy);
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
}

.room-rate {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
}

.room-price { text-align: right; }

.room-tax {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.room-badges li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--muted);
  background: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.room-card.selected {
  border-color: var(--gold);
  background: #fffdf7;
  box-shadow: 0 18px 42px rgba(198, 161, 91, 0.15);
}

.room-card.selected .room-select {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.summary-list div { border-color: var(--line); }
.summary-list dt { color: var(--muted); }
.summary-list dd { color: var(--navy); }

.features-strip {
  margin-top: 24px;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.feature-card {
  min-height: 210px;
  padding: 34px;
  border: 0;
  background: transparent;
}

.feature-card + .feature-card { border-left: 1px solid var(--line); }

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.feature-card h3 {
  color: var(--navy);
  font-size: 1.55rem;
}

.toast {
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 72px 4.5vw 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-deep);
}

.footer-grid,
.footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid {
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-grid a:hover { color: var(--gold-light); }

.footer-brand img {
  width: min(285px, 100%);
  margin-bottom: 20px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-brand p { max-width: 34ch; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.policy-page {
  margin: 64px auto;
  border-top: 4px solid var(--gold);
}

.policy-list > div { border-color: var(--line); }
.policy-list dt { color: var(--navy); }
.policy-warning { color: #77321f; background: #fff4e8; }

@media (max-width: 1060px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 0.64rem; }
  .nav-return { display: none; }

  .layout-grid { grid-template-columns: 1fr; }
  .booking-panel,
  .summary-panel,
  .availability-panel {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }

  .summary-panel { order: 3; }
  .availability-panel { order: 2; }
}

@media (max-width: 820px) {
  .hotel-topbar { justify-content: center; }
  .hotel-topbar span { display: none; }
  .nav-wrap { height: 76px; padding-inline: 24px; }
  .brand-wrap { flex-basis: 235px; min-width: 170px; }
  .brand-logo { width: 235px; height: 62px; }
  .main-nav { display: none; }

  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding: 28px 0 72px;
  }

  .hero-panel {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy { padding: 48px 34px; }
  .hero-copy h2 { max-width: 12ch; }
  .hero-visual,
  .hero-visual img { min-height: 390px; }

  .hero-highlights { grid-template-columns: 1fr; }
  .hero-highlights article { padding: 14px 0; }
  .hero-highlights article + article { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }

  .features-strip { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card + .feature-card { border-left: 0; border-top: 1px solid var(--line); }

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

@media (max-width: 620px) {
  .hotel-topbar { padding-inline: 14px; font-size: 0.62rem; }
  .nav-wrap { justify-content: center; }
  .brand-wrap { flex: 0 1 240px; }
  .brand-logo { object-position: center; }

  .site-shell { width: min(calc(100% - 18px), var(--max-width)); }
  .hero-copy { padding: 38px 24px; }
  .room-price { text-align: left; }
  .hero-copy h2 { font-size: clamp(2.55rem, 14vw, 3.55rem); }
  .hero-visual,
  .hero-visual img { min-height: 290px; }
  .hero-visual figcaption { right: 12px; bottom: 12px; left: 12px; max-width: none; }

  .booking-panel,
  .availability-panel,
  .summary-panel { padding: 24px 18px; }

  .field-group { padding: 17px 14px; }
  .two-up { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 2.2rem; }

  .room-card { grid-template-columns: 1fr; gap: 18px; }
  .room-media img { min-height: 230px; max-height: 290px; }
  .room-head { display: grid; }
  .room-rate { text-align: left; }

  .form-actions { flex-direction: column; }
  .primary-btn,
  .secondary-btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 52px 24px 0; }
  .footer-bottom { flex-direction: column; }
}

@media (min-width: 821px) {
  .occupancy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .brand-logo,
  .nav-return,
  .primary-btn,
  .secondary-btn,
  .room-card { transition: none; }
}
