/*
  Orux Wellness visual system.
  Bootstrap handles grid and collapse. This file owns type, color, and
  the late-night spa atmosphere so the site does not look like a default theme.
*/

:root {
  --ink: #161410;
  --ink-soft: #2c261c;
  --gold: #b8956c;
  --gold-light: #d4bc94;
  --cream: #f4efe6;
  --paper: #fffdf8;
  --stone: #7d7668;
  --line: rgba(22, 20, 16, 0.1);
  --shadow: 0 24px 60px rgba(22, 20, 16, 0.12);
  --radius: 2px;
  --header-h: 76px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #0b0b0b;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-place {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.2rem;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link[aria-current="page"] {
  color: var(--ink) !important;
}

.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.4em;
}

.lang-select {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  min-width: 8.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.lang-select:focus {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}

.btn-gold,
.btn-ink,
.btn-ghost {
  border-radius: var(--radius);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.85rem 1.25rem;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-ink:hover,
.btn-ink:focus {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 253, 248, 0.45);
  color: var(--paper);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 253, 248, 0.08);
  color: var(--paper);
  border-color: var(--paper);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: #1a1712 center / cover no-repeat;
  overflow-x: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 20, 16, 0.18) 0%, rgba(22, 20, 16, 0.42) 42%, rgba(22, 20, 16, 0.82) 100%),
    linear-gradient(90deg, rgba(22, 20, 16, 0.45) 0%, rgba(22, 20, 16, 0.08) 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(2rem, 7vw, 4.4rem);
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.05rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(212, 188, 148, 0.4);
  padding: 0.35rem 0.7rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c45c4a;
}

.status-pill.is-open .status-dot {
  background: #8fbf7a;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-paper {
  background: var(--paper);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.muted {
  color: var(--stone);
}

.section-ink .muted {
  color: rgba(255, 253, 248, 0.62);
}

.trust-grid .trust-card {
  height: 100%;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.trust-card h3,
.how-card h3,
.service-card h2,
.service-card h3,
.area-card h2,
.area-card h3,
.hours-card h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-list li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.04em;
}

/* Services */
.service-card {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.5rem 1.4rem 1.6rem;
}

.service-meta {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.include-grid .include-card {
  height: 100%;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.include-card p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0;
}

.ig-banner {
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem;
  background: var(--paper);
}

.catalog-photo {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #0b0b0b;
}

/* How */
.how-index {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

/* Areas / maps */
.area-card {
  background: var(--paper);
  border: 1px solid var(--line);
  height: 100%;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.area-card .card-body {
  padding: 1.5rem;
}

/* Hours + form */
.hours-table {
  width: 100%;
}

.hours-table th,
.hours-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-table th {
  font-weight: 400;
  color: var(--stone);
}

.form-atelier .form-control,
.form-atelier .form-select {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  box-shadow: none;
}

.form-atelier .form-control:focus,
.form-atelier .form-select:focus {
  box-shadow: none;
  border-color: var(--gold);
  background: transparent;
}

.form-atelier label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* FAQ */
.accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.accordion-button {
  background: transparent;
  box-shadow: none !important;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding-left: 0;
}

.accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--ink);
}

.accordion-button::after {
  background-size: 0.9rem;
}

.accordion-body {
  padding-left: 0;
  color: var(--stone);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
  padding: 3.5rem 0;
}

.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
}

.site-footer .brand-name {
  color: var(--paper);
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.mobile-bar {
  display: none;
}

html.is-mobile .mobile-bar {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1055;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(184, 149, 108, 0.35);
}

html.is-mobile .site-footer {
  padding-bottom: 7.5rem;
}

html.is-mobile .hero {
  min-height: 88svh;
}

.mobile-bar .btn {
  flex: 0 0 auto;
}

.navbar .container {
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.navbar-brand {
  min-width: 0;
}

.navbar-toggler {
  border: 1px solid var(--ink);
  background: var(--ink);
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -5px;
}

.menu-lines::after {
  top: 5px;
}

@media (max-width: 991.98px) {
  .navbar .container {
    position: relative;
    padding-right: 3.6rem;
  }

  .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .navbar-collapse {
    padding: 1rem 0 1.25rem;
  }

  .lang-select {
    margin: 0.75rem 0;
    width: 100%;
    max-width: 14rem;
  }

  .display {
    font-size: 1.8rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero-inner {
    padding-right: 0.15rem;
  }
}

html.gate-locked body > *:not(#site-gate) {
  display: none !important;
}

#site-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--cream);
}

.gate-card {
  width: min(26rem, 100%);
}

.gate-kicker,
.gate-lead,
.gate-error {
  color: var(--stone);
}

.gate-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
}

.gate-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.gate-form input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem;
  margin: 1.25rem 0 1rem;
}

.gate-error {
  margin-top: 1rem;
  font-size: 0.85rem;
}

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