/*
Theme Name: Solarium Luxury
Theme URI: https://solariumtanspa.com
Author: Dev
Description: Staging-only luxury theme for Solarium TanSpa. Do not activate on production.
Version: 2.0.37
Text Domain: solarium-luxury
*/

:root {
  --bg: #ffffff;
  --ink: #141816;
  --muted: #4a5550;
  --line: #dce8e3;
  --emerald: #0b5d4a;
  --emerald-dark: #073d31;
  --emerald-soft: #eef6f3;
  --gold: #c4a35a;
  --paper: #f6faf8;
  --max: 76rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --num: "DM Serif Display", Georgia, "Times New Roman", serif;
  --shadow: 0 24px 60px rgba(11, 93, 74, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--emerald);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--emerald-dark); }

a:focus-visible,
button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--emerald);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 2000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 93, 74, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: 11rem;
  height: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.site-nav a[aria-current="page"],
.site-nav a:hover { color: var(--emerald); }

.site-nav a.nav-vip {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--emerald);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover { background: var(--emerald-dark); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Type */
.kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--emerald);
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); margin: 0 0 1rem; }
h1.page-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }

.section-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.section-head h2,
.section-head .section-label {
  margin: 0;
}

.learn-more {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

#all-access,
#uv,
#booth-spray,
#airbrush,
#uv-tanning,
#wellness,
#rates {
  scroll-margin-top: 6rem;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0 0 0.85rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); margin: 0 0 0.5rem; }

.lede {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  color: var(--muted);
  max-width: 38rem;
  font-weight: 300;
}

.italic { font-style: italic; }

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1.5px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--emerald);
  color: #fff;
}

.btn-primary:hover { background: var(--emerald-dark); color: #fff; }

.btn-ghost {
  border-color: var(--emerald);
  color: var(--emerald);
  background: transparent;
}

.btn-ghost:hover { background: var(--emerald-soft); color: var(--emerald-dark); }

.btn-light {
  background: #fff;
  color: var(--emerald-dark);
}

.btn-light:hover { background: var(--emerald-soft); color: var(--emerald-dark); }

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-on-dark:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Home: full-bleed photo, copy + buttons on the image */
.home-hero {
  position: relative;
  width: 100%;
  min-height: min(82vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.home-hero-media,
.home-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 24, 0.12) 0%, rgba(7, 28, 24, 0.22) 40%, rgba(7, 28, 24, 0.78) 100%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 6.5rem) 0 clamp(2.75rem, 6vw, 4rem);
}

.home-hero .kicker { color: #e4cc86; }
.home-hero h1 { color: #fff; }
.home-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img { object-position: 50% 62%; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 28, 24, 0.15) 0%, rgba(7, 28, 24, 0.28) 42%, rgba(7, 28, 24, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100% - 2 * var(--pad));
  margin: 0 auto;
  padding: 5.5rem 0 4.25rem;
}

.hero h1 { color: #fff; }
.hero .kicker { color: #e4cc86; }
.hero .lede { color: rgba(255, 255, 255, 0.88); }

/* Inner pages: same split as home — copy + buttons beside the photo, never on it */
.page-hero {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.75rem, 7vw, 5.5rem) 0;
  color: var(--ink);
  overflow: visible;
}

.page-hero-media {
  position: relative;
}

.page-hero-media img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.page-hero-inner {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  order: -1;
}

.page-hero .kicker { color: var(--gold); }
.page-hero .lede { color: var(--muted); }

/* Bands */
.band { padding: clamp(4rem, 8vw, 7rem) 0; }
.band-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.band-soft { background: var(--paper); }
.band-emerald { background: var(--emerald); color: #fff; }
.band-emerald h2,
.band-emerald h3 { color: #fff; }
.band-emerald .kicker { color: #cde8de; }
.band-emerald a { color: #fff; }

/* Intro */
.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.intro p { color: var(--muted); font-size: 1.12rem; }

/* Service panels */
.panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.panel {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  text-decoration: none;
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 24, 0.05) 20%, rgba(8, 30, 24, 0.78) 100%);
}

.panel-copy {
  position: relative;
  z-index: 1;
  padding: 2.2rem 1.7rem 2.4rem;
}

.panel h2 {
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 0.4rem;
}

.panel p {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 22rem;
}

.panel span {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #dff3ea;
}

.panel:hover img { transform: scale(1.09); }
.panel:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.split-media img {
  width: 100%;
  height: min(38rem, 70vh);
  object-fit: cover;
}

/* Cards / quotes */
.cards,
.grid-3,
.grid-2 {
  display: grid;
  gap: 1.4rem;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.per {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.55rem;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: -1.5rem -1.4rem 1.15rem;
  width: calc(100% + 2.8rem);
  max-width: none;
}

.card-media {
  position: relative;
  margin: -1.5rem -1.4rem 1.15rem;
  overflow: hidden;
}

.card-media img {
  margin: 0;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7, 28, 24, 0.68));
  pointer-events: none;
}

.card-media .btn {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 1.6rem);
  padding: 0.7rem 1.15rem;
}

.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  min-height: 22rem;
}

.service-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 28, 24, 0.72));
  pointer-events: none;
}

.service-tile .btn {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
}

.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  font-style: italic;
}

.quote footer {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.price-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.price-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card .kicker { color: var(--gold); }

.price-card > h3 {
  font-family: var(--num);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.15rem;
}

.price-card > h3 + ul {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.price-card.spray-level {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-items: start;
}

.price-card.spray-level ul {
  margin: 0.15rem 0 0;
  min-height: 6.6em;
  padding-bottom: 1.15rem;
}

.price-card .level-copy {
  min-height: 11em;
  margin: 0.15rem 0 0;
}

.price-card .level-copy ul {
  margin: 0;
  padding-bottom: 1.15rem;
}

.price-card .vip-features {
  min-height: 6.6em;
  margin: 0.15rem 0 0;
  padding: 0 0 0.35rem 1.05rem;
}

.price-card.spray-level .rate .kicker {
  margin: 0 0 0.12rem;
}

.price-card.spray-level .rate .amount {
  margin: 0;
}

.price-card .list-spacer {
  margin: 0;
  min-height: 1.7em;
  line-height: 1.7;
  visibility: hidden;
}

.price-card.spray-level ul + .kicker {
  margin-top: 0;
  padding-top: 0;
}

.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.price-line .kicker { margin: 0; }
.price-line .amount { margin: 0; }

.price-card .includes-heading {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 1.35rem 0 0.45rem;
}

.price-card.featured {
  border-color: var(--emerald);
  box-shadow: var(--shadow);
  background: var(--emerald);
  color: #fff;
}

.price-card.featured h2,
.price-card.featured h3,
.price-card.featured .amount { color: #fff; }

.price-card.featured .kicker { color: #cde8de; }
.price-card.featured .note,
.price-card.featured .per { color: #d7efe6; }

.amount {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1;
  margin: 0.2rem 0 0.35rem;
  color: var(--emerald);
}

.price-card ul {
  margin: 1rem 0 0;
  padding: 0 0 0 1.05rem;
  color: var(--gold);
  list-style: none;
}

.prose ul {
  color: var(--gold);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.75rem;
}

.price-table th,
.price-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.price-table th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.price-table .empty { color: var(--muted); }
.note { font-size: 0.92rem; color: var(--muted); }

.vip-banner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--emerald);
  color: #fff;
}

.vip-banner h2 { color: #fff; margin: 0 0 0.4rem; }
.vip-banner .amount { color: #fff; }

/* Visit */
.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

/* Footer */
.site-footer {
  background: #081c18;
  color: #e7f2ee;
  padding: 3.4rem 0 2rem;
}

.site-footer a { color: #dff3ea; }
.site-footer a:hover { color: #fff; }
.site-footer .kicker { color: #9ec9b8; }
.site-footer h2 { color: #fff; font-size: 1.45rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr;
  gap: 3.75rem;
}

.fine { color: #b7ccc4; font-size: 0.95rem; }

.legal {
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Generic page */
.prose :where(p, ul) { max-width: 42rem; }
.prose ul { padding-left: 1.15rem; }

body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .home-hero,
  .page-hero,
  .panels,
  .service-tiles,
  .price-grid,
  .price-grid.cols-2,
  .price-grid.cols-4,
  .intro,
  .split,
  .grid-4,
  .grid-3,
  .footer-grid,
  .vip-banner { grid-template-columns: 1fr; }

  .service-tile { min-height: 18rem; }
  .service-tile img { aspect-ratio: 16 / 10; }

  .panel { min-height: 62vh; }
  .split-media img { height: 22rem; }
  .home-hero-media img,
  .page-hero-media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    inset: 4.75rem 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--pad) 1.2rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: block; }
  .site-nav.is-open ul { flex-direction: column; align-items: stretch; }
  .site-nav .nav-cta { align-self: flex-start; margin-top: 0.4rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel img,
  .panel:hover img { transition: none; transform: none; }
}
