:root {
  --menu-header-h: 64px;
  --menu-footer-h: 64px;

  --color-bg: #050405;
  --color-black: #000000;
  --color-cream: #f7efe3;
  --color-cream-alt: #f2e4d2;
  --color-text: #14110f;
  --color-muted: #7b6c58;
  --color-accent: #c9a15b;
  --color-accent-soft: #e0c49a;

  --font-primary: "AtacamaVF", "AtacamaVF-fallback", Arial, sans-serif;
  --font-secondary: "Hellix", "Hellix-fallback", Arial, sans-serif;
}

/* TODO: wire your real font files here */
@font-face {
  font-family: "AtacamaVF";
  src: local("AtacamaVF"); /* replace with your actual src */
  font-display: swap;
}
@font-face {
  font-family: "Hellix";
  src: local("Hellix"); /* replace with your actual src */
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-light {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-gold {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

.btn:hover {
  filter: brightness(1.05);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.eyebrow-on-dark {
  color: #a99a7a;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--menu-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  z-index: 1000;
  padding: 0 20px;
}

.icon {
  position: absolute;
  left: 20px;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
}

.logo img {
  height: 30px;
  display: block;
}

/* MENU OVERLAY */

.overlay-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 1500;
}

.overlay-bg.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 2px 0 20px rgba(0,0,0,.18);
  transition: left .32s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.menu-overlay.open {
  left: 0;
}

.menu-header {
  height: var(--menu-header-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  flex: 0 0 var(--menu-header-h);
}

.menu-header button {
  font-size: 22px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-footer {
  height: var(--menu-footer-h);
  border-top: 1px solid #eee;
  display: flex;
  flex: 0 0 var(--menu-footer-h);
  background: #fff;
}

.menu-footer button {
  flex: 1;
  border: 0;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8rem;
}

.menu-footer button.active {
  border: 2px solid #000;
}

.menu-level {
  height: calc(100% - var(--menu-header-h) - var(--menu-footer-h));
  position: relative;
}

/* panels */
.menu-panel {
  position: absolute;
  inset: 0;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.menu-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-panel .content {
  padding-bottom: calc(var(--menu-footer-h) + 18px);
}

.menu-panel a {
  display: block;
  text-decoration: none;
  color: #111;
  margin: 14px 0;
  font-size: 0.9rem;
}

.menu-panel a.highlight {
  color: var(--color-accent);
  font-weight: 600;
}

.submenu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.submenu-header button {
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

.submenu-eyebrow {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #999;
}

.icon-grid {
  display: flex;
  gap: 12px;
  margin: 12px 0 22px;
  flex-wrap: wrap;
}

.icon-grid .item {
  width: 80px;
  text-align: center;
  font-size: 0.7rem;
  color: #333;
}

.icon-grid img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
}

.menu-cta {
  text-align: center;
  margin-top: 10px;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - var(--menu-header-h));
  padding-top: var(--menu-header-h);
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-fallback {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-fallback.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

.hero-overlay {
  position: relative;
  max-width: 720px;
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.72),
    rgba(0,0,0,0.88)
  );
  border-radius: 32px;
  border: 1px solid rgba(201,161,91,0.28);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.hero-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 0.6rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-primary);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.6rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-disclaimer {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* GENERIC SECTIONS */

.section {
  padding: 4.5rem 1.5rem;
}

.section-cream {
  background: var(--color-cream);
}

.section-cream-alt {
  background: var(--color-cream-alt);
}

.section-black {
  background: #000;
  color: #fff;
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

.section h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  margin: 0.3rem 0 0.7rem;
}

.section p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Image strip */

.image-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.image-strip-item {
  overflow: hidden;
  border-radius: 20px;
}

.image-strip-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(1.2) contrast(1.05);
}

.image-strip-item img:hover {
  transform: scale(1.07);
}

/* Curated treatments */

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.section-heading-row h2 {
  flex: 1 1 220px;
}

.section-heading-copy {
  flex: 2 1 260px;
}

.card-grid {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid #e6dfd1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
}

.card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.card-meta {
  margin-top: 0.5rem;
  color: var(--color-muted);
}

.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Black band */

.section-black .section-inner {
  text-align: left;
}

.section-black h2 {
  font-size: 1.4rem;
}

.section-copy-narrow {
  max-width: 520px;
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.75);
}

.on-dark {
  color: #fff;
}

/* Booking layout */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.booking-copy h2 {
  margin-bottom: 0.5rem;
}

.booking-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.8rem;
  font-size: 0.86rem;
}

.booking-list li {
  margin-bottom: 0.35rem;
}

.booking-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.8rem 1.6rem 1.4rem;
  border: 1px solid #e6dfd1;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.booking-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
}

.booking-card form {
  display: grid;
  gap: 0.9rem;
}

.booking-card label {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.booking-card select,
.booking-card input[type="date"] {
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #ddd3c2;
  font-size: 0.85rem;
  font-family: var(--font-secondary);
}

.booking-card button {
  margin-top: 0.4rem;
  width: 100%;
}

.booking-note {
  margin-top: 0.9rem;
  font-size: 0.7rem;
  color: var(--color-muted);
}

/* FOOTER */

.site-footer {
  background: #050403;
  color: #f2e5d3;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto 1.8rem;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 2rem;
}

.footer-column h4,
.footer-column h5 {
  margin: 0 0 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

.footer-column p {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-meta {
  color: #b9a688;
}

.footer-links a {
  display: inline-block;
  margin-right: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-soft);
}

.footer-links a:hover {
  text-decoration: underline;
}

.site-footer a {
  color: inherit;
}

.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #a89272;
}

.footer-bottom-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: inherit;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .section-two-column {
    grid-template-columns: 1fr;
  }
  .image-strip-item img {
    height: 200px;
  }
  .footer-inner {
    grid-template-columns: 1.6fr 1.4fr;
  }
}

@media (max-width: 768px) {
  :root {
    --menu-header-h: 56px;
  }

  .site-header {
    padding: 0 12px;
  }

  .logo img {
    height: 24px;
  }

  .hero-overlay {
    margin: 0 1rem;
    padding: 3.2rem 1.3rem 3.4rem;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.82rem;
  }

  .section {
    padding: 3.2rem 1.4rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .image-strip-item img {
    height: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
