
:root {
  --sp-gold: #B0A06D;
  --sp-gold-strong: #A68143;
  --sp-taupe: #7D7866;
  --sp-dark: #332E1E;
  --sp-dark-2: #211F19;
  --sp-cream: #F7F4EC;
  --sp-cream-2: #FBFAF7;
  --sp-white: #FFFFFF;
  --sp-line: rgba(51,46,30,.12);
  --sp-text-soft: rgba(51,46,30,.62);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }

html {
  background: var(--sp-cream-2);
  color: var(--sp-dark);
  font-family: "Apercu Pro", "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--sp-cream-2);
}

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

button { color: inherit; }

.guest-app {
  min-height: 100svh;
  background: var(--sp-cream-2);
}

.guest-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: calc(64px + var(--safe-top));
  padding: var(--safe-top) 18px 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(251,250,247,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--sp-line);
}

.guest-hotel-logo {
  width: min(180px, 48vw);
  height: 44px;
  object-fit: contain;
  justify-self: center;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-button svg,
.quick-icon svg,
.accordion-icon svg,
.bottom-nav-item svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.guest-main {
  padding-bottom: calc(96px + var(--safe-bottom));
}

.guest-hero {
  position: relative;
  min-height: 42svh;
  overflow: hidden;
  background: var(--sp-dark);
}

.guest-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 22%, rgba(176,160,109,.52), transparent 30%),
    linear-gradient(140deg, #625C48 0%, #332E1E 46%, #17150F 100%);
  transform: scale(1.02);
}

.guest-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.05) 30% 31%, transparent 31% 100%),
    radial-gradient(circle at 25% 62%, rgba(255,255,255,.12), transparent 18%);
}

.guest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,12,.05), rgba(20,18,12,.62));
}

.guest-hero-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  color: white;
}

.guest-eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
}

.guest-hero h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 48px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.035em;
}

.guest-hero p {
  margin: 13px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.guest-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 13px;
  opacity: .86;
}

.quick-actions {
  margin: -1px 18px 0;
  padding: 18px 0 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-action {
  min-height: 90px;
  padding: 14px 8px 12px;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(51,46,30,.04);
}

.quick-icon {
  width: 28px;
  height: 28px;
  color: var(--sp-gold-strong);
}

.quick-icon svg {
  width: 100%;
  height: 100%;
}

.quick-action span:last-child {
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.guest-sections {
  padding: 8px 18px 22px;
}

.accordion-card {
  margin-bottom: 10px;
  border: 1px solid var(--sp-line);
  border-radius: 20px;
  background: white;
  overflow: hidden;
}

.accordion-head {
  width: 100%;
  min-height: 82px;
  padding: 16px 16px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 12px;
  align-items: center;
  text-align: left;
}

.accordion-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sp-cream);
  color: var(--sp-gold-strong);
  display: grid;
  place-items: center;
}

.accordion-icon svg {
  width: 21px;
  height: 21px;
}

.accordion-title-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accordion-title-wrap strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.accordion-title-wrap small {
  color: var(--sp-text-soft);
  font-size: 12.5px;
  line-height: 1.35;
}

.accordion-chevron {
  justify-self: end;
  font-size: 22px;
  transition: transform .22s ease;
}

.accordion-card.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}

.accordion-card.is-open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 16px;
}

.accordion-card.is-open .accordion-inner {
  padding-bottom: 18px;
}

.accordion-inner p {
  margin: 0 0 14px;
  color: var(--sp-text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.info-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--sp-line);
}

.info-row span {
  color: var(--sp-gold-strong);
  font-size: 13px;
}

.info-row strong {
  font-size: 14px;
  font-weight: 500;
}

.text-link,
.primary-action {
  border: 0;
  padding: 0;
  background: transparent;
}

.text-link {
  margin-top: 12px;
  color: var(--sp-dark);
  font-weight: 600;
  font-size: 14px;
}

.text-link span {
  color: var(--sp-gold-strong);
  margin-left: 8px;
}

.primary-action {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  background: var(--sp-dark);
  color: white;
  font-weight: 600;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.content-tile {
  min-height: 82px;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  background: var(--sp-cream-2);
  font-weight: 500;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  min-height: calc(74px + var(--safe-bottom));
  padding: 8px 6px var(--safe-bottom);
  background: var(--sp-dark-2);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -8px 30px rgba(0,0,0,.12);
}

.bottom-nav-item {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 4px 2px;
}

.bottom-nav-item svg {
  width: 23px;
  height: 23px;
}

.bottom-nav-item span {
  font-size: 10.5px;
}

.bottom-nav-item.is-active {
  color: #D8C387;
}

@media (min-width: 760px) {
  body {
    display: grid;
    place-items: start center;
    background: #ECE7DB;
  }

  .guest-app {
    width: min(100%, 480px);
    box-shadow: 0 0 60px rgba(51,46,30,.12);
  }

  .bottom-nav {
    left: 50%;
    width: min(100%, 480px);
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
