:root {
  --ink: #172026;
  --muted: #65727d;
  --line: #dfe5e8;
  --paper: #f7f4ee;
  --white: #ffffff;
  --teal: #006f73;
  --teal-dark: #05484b;
  --coral: #e4573d;
  --gold: #c58b22;
  --charcoal: #101820;
  --shadow: 0 24px 70px rgba(14, 26, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  overflow: hidden;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--teal-dark);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  max-width: 230px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #34444f;
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-button,
.secondary-button,
.booking-form button,
.room-footer button,
.admin-sidebar button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.header-action,
.primary-button,
.booking-form button,
.room-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--coral);
  border-radius: 8px;
  flex-shrink: 0;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid rgba(5, 72, 75, 0.2);
  border-radius: 8px;
}

.secondary-button.dark {
  color: var(--white);
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 80px);
  color: var(--white);
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.88) 0%, rgba(16, 24, 32, 0.58) 46%, rgba(16, 24, 32, 0.18) 100%),
    url("assets/hotel-01.jpg") center/cover;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  width: min(420px, 100%);
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.rating {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  color: var(--white);
  font-weight: 900;
  background: var(--teal);
  border-radius: 6px;
}

.hero-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mini-grid span {
  padding: 10px;
  text-align: center;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  background: #edf7f4;
  border-radius: 6px;
}

.booking-band,
.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.booking-band {
  display: grid;
  grid-template-columns: 0.8fr 2.1fr 0.7fr;
  gap: 18px;
  align-items: end;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.booking-band h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 42px);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 10px;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: #50616b;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.availability-card {
  display: grid;
  gap: 6px;
  padding: 17px;
  background: #f4faf8;
  border: 1px solid #cfebe4;
  border-radius: 8px;
}

.availability-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.amenity-copy h2,
.location-card h2 {
  color: var(--charcoal);
}

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

.room-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(14, 26, 36, 0.08);
}

.featured-room {
  grid-column: span 2;
}

.room-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.room-card div {
  padding: 20px;
}

.room-card p,
.amenity-copy p,
.amenity-grid p,
.location-card p,
.source-section p {
  color: var(--muted);
  line-height: 1.6;
}

.room-tag,
.pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
}

.room-tag {
  color: var(--teal-dark);
  background: #e6f4f0;
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 42px;
  align-items: start;
  background: #edf1ef;
}

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

.amenity-photo {
  display: block;
  width: 100%;
  max-height: 280px;
  margin-top: 26px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(14, 26, 36, 0.14);
}

.amenity-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
}

.amenity-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.amenity-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.location-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
  background: var(--charcoal);
}

.location-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
  background: #123235;
}

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
  border-radius: 8px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: rgba(16, 24, 32, 0.72);
  border-radius: 6px;
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.map-section {
  height: 430px;
  background: var(--white);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card h2,
.location-card p {
  color: var(--white);
}

dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
}

dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.admin-section {
  min-height: 100vh;
  padding: 0;
  background: #eef2f3;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 3vw, 34px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 73px);
}

.admin-page-main {
  padding: clamp(18px, 3vw, 34px);
}

.admin-hero-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-hero-row h1 {
  margin-bottom: 8px;
  color: var(--charcoal);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.admin-hero-row p {
  color: var(--muted);
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 32, 38, 0.09);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-layout .admin-shell {
  display: block;
  min-height: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  color: var(--white);
  background: var(--charcoal);
}

.admin-layout .admin-sidebar {
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar strong {
  margin-bottom: 18px;
  font-size: 20px;
}

.admin-sidebar button {
  min-height: 42px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  background: transparent;
  border-radius: 8px;
}

.admin-sidebar button.active {
  color: var(--white);
  background: var(--teal);
}

.admin-panel {
  display: none;
  padding: 26px;
}

.admin-panel.active {
  display: block;
}

.admin-layout .admin-panel {
  padding: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.backend-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.backend-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(14, 26, 36, 0.06);
}

.backend-card h3 {
  margin-bottom: 18px;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #f7f9f9;
  border-radius: 8px;
}

.task-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.task-list .pill {
  flex: 0 0 auto;
  color: #075c3d;
}

.stats-row article {
  padding: 20px;
  background: #f4faf8;
  border: 1px solid #d5ebe5;
  border-radius: 8px;
}

.stats-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stats-row strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.mock-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 230px;
  padding: 22px;
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mock-chart span {
  flex: 1;
  min-width: 22px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  border-radius: 6px 6px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 13px;
}

.pill.confirmed {
  color: #075c3d;
  background: #dff6ec;
}

.pill.pending {
  color: #77520a;
  background: #fff1cf;
}

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

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.inventory-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inventory-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inventory-grid strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 28px;
}

.content-editor {
  margin-bottom: 16px;
}

.primary-button.small {
  width: fit-content;
  min-height: 40px;
}

.source-section {
  max-width: 1000px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .booking-band,
  .booking-form,
  .split-section,
  .location-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .brand strong {
    max-width: 138px;
    font-size: 14px;
    line-height: 1.15;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .hero {
    min-height: 760px;
    padding: 96px 16px 30px;
    align-items: end;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.42) 0%, rgba(16, 24, 32, 0.92) 58%, rgba(16, 24, 32, 0.98) 100%),
      url("assets/hotel-01.jpg") center/cover;
  }

  h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-panel {
    padding: 16px;
  }

  .booking-band,
  .section {
    padding: 44px 16px;
  }

  .booking-band {
    gap: 22px;
  }

  .booking-form button,
  .booking-form label,
  .availability-card {
    width: 100%;
  }

  input,
  select,
  textarea,
  .booking-form button {
    min-height: 50px;
  }

  .booking-form,
  .room-grid,
  .amenity-grid,
  .gallery-grid,
  .admin-shell,
  .stats-row,
  .rate-list,
  .backend-grid,
  .inventory-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-grid figure {
    min-height: 240px;
  }

  .featured-room {
    grid-column: span 1;
  }

  .room-card img {
    height: 230px;
  }

  .location-section {
    padding-left: 0;
    padding-right: 0;
  }

  .location-visual img {
    min-height: 300px;
  }

  .location-card {
    padding: 34px 16px;
  }

  .admin-shell {
    min-height: auto;
  }

  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: thin;
  }

  .admin-layout .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
  }

  .admin-topbar,
  .admin-hero-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page-main {
    padding: 16px;
  }

  .admin-sidebar strong {
    display: none;
  }

  .admin-sidebar button {
    flex: 0 0 auto;
    min-width: 112px;
    text-align: center;
  }

  .admin-panel {
    padding: 16px;
    overflow-x: auto;
  }

  .mock-chart {
    height: 190px;
    gap: 8px;
    padding: 14px;
  }

  table {
    min-width: 520px;
  }

  th,
  td {
    padding: 12px 8px;
    font-size: 13px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  .map-section {
    height: 360px;
  }
}

@media (max-width: 420px) {
  .header-action {
    min-width: 62px;
    font-size: 0;
  }

  .header-action::after {
    content: "Book";
    font-size: 14px;
  }

  .hero-actions,
  .room-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .room-footer button {
    width: 100%;
  }

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

  .stats-row strong {
    font-size: 28px;
  }
}
