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

:root {
  --navy-950: #0b1733;
  --navy-900: #10234a;
  --navy-700: #244273;
  --blue-500: #2764ee;
  --blue-100: #e8efff;
  --grey-050: #f7f9fc;
  --grey-100: #eef2f7;
  --grey-300: #d5dce7;
  --grey-600: #5b687e;
  --text: #1a2942;
  --white: #ffffff;
  --green-100: #e7f6ef;
  --green-700: #19724a;
  --amber-100: #fff4d6;
  --amber-700: #8a5b00;
  --shadow-soft: 0 16px 40px rgba(16, 35, 74, 0.08);
  --radius-card: 16px;
  --radius-control: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--grey-050);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.header-note,
.footer-inner {
  color: var(--grey-600);
  font-size: 0.88rem;
}

.intro-section {
  padding: 68px 0 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: end;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.12;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.intro-text {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--grey-600);
  font-size: 1.1rem;
}

.sample-note {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-card);
  background: var(--white);
}

.notice-icon,
.empty-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-500);
  font-weight: 700;
}

.sample-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-900);
}

.sample-note p {
  margin-bottom: 0;
  color: var(--grey-600);
  font-size: 0.86rem;
}

.search-section {
  padding: 36px 0 56px;
  background: var(--navy-950);
}

.section-heading,
.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  color: var(--white);
}

.step-label,
.results-count {
  color: var(--grey-600);
  font-size: 0.86rem;
}

.step-label {
  color: #a9bcdf;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 700;
}

.field-group input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--text);
}

.field-group input:focus-visible,
.brand:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid #8caeff;
  outline-offset: 3px;
}

.field-group input[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  min-height: 1.25em;
  margin: 0;
  color: #b42318;
  font-size: 0.78rem;
}

.primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--blue-500);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.primary-button:hover {
  background: #1d50c6;
}

.button-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.25em;
  margin: 0;
  color: var(--grey-600);
  font-size: 0.86rem;
}

.results-section {
  padding: 64px 0 80px;
}

.results-heading {
  margin-bottom: 24px;
}

.empty-state {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 32px;
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-card);
  background: var(--white);
  text-align: center;
}

.empty-icon {
  margin-bottom: 14px;
  background: var(--grey-100);
  color: var(--grey-600);
  font-size: 1.2rem;
}

.empty-state p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--grey-600);
}

.empty-state--results {
  min-height: 230px;
}

.secondary-button {
  min-height: 44px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
}

.secondary-button:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.secondary-button:focus-visible {
  outline: 3px solid #8caeff;
  outline-offset: 3px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.room-card {
  padding: 22px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-card);
  background: var(--white);
}

.room-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grey-100);
}

.room-type,
.detail-label {
  margin: 0 0 6px;
  color: var(--grey-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-card h3 {
  margin-bottom: 0;
}

.availability-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 700;
}

.room-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}

.room-details div {
  min-width: 0;
}

.room-details dt {
  margin-bottom: 3px;
  color: var(--grey-600);
  font-size: 0.78rem;
}

.room-details dd {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 600;
}

.facility-list {
  padding-top: 16px;
  border-top: 1px solid var(--grey-100);
}

.facility-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-list li {
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--blue-100);
  color: var(--navy-700);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 1px solid var(--grey-100);
  background: var(--white);
}

.footer-inner {
  min-height: 64px;
}

.footer-inner span:first-child {
  color: var(--navy-900);
  font-weight: 700;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 32px, 560px);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
  }

  .header-note {
    font-size: 0.8rem;
  }

  .intro-section {
    padding: 48px 0 36px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .section-heading,
  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .primary-button {
    width: 100%;
  }

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

  .room-card-header {
    flex-direction: column;
  }

  .results-section {
    padding: 48px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
