/* Beauty Spa — Spa in Deira
   Luxury, mobile-first conversion theme. Cream, gold, charcoal. */
:root {
  --cream: #f6f0e6;
  --ivory: #fbf7f1;
  --sand: #e8dcc8;
  --gold: #c4a36a;
  --gold-deep: #9a7840;
  --gold-soft: #e8d5a8;
  --ink: #1b1714;
  --charcoal: #2c2722;
  --taupe: #7a6e62;
  --muted: #94887c;
  --line: rgba(196, 163, 106, .38);
  --line-strong: rgba(196, 163, 106, .7);
  --white: #fffdf9;
  --wa: #1c6b45;
  --wa-bright: #25d366;
  --call: #2c2722;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(27, 23, 20, .10);
  --header: 78px;
  --topbar: 36px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 108px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.45rem; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 200;
}
.skip:focus { left: 8px; top: 8px; }

/* Eyebrow / gold rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block;
}
.lead { font-size: 1.12rem; color: var(--taupe); max-width: 40em; }
.price-note {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin: 0 0 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  letter-spacing: .04em; cursor: pointer; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-gold {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }
.btn-ink {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.btn-ink:hover { background: var(--charcoal); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.4); color: var(--ink); }
.btn-call {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn-call:hover { background: var(--charcoal); color: #fff; }
.btn-wa {
  background: var(--wa); color: #fff; border-color: var(--wa);
}
.btn-wa:hover { background: #145536; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 14px; font-size: .82rem; }

/* Top bar + header */
.topbar {
  background: var(--ink); color: var(--sand);
  font-size: .8rem; letter-spacing: .04em;
}
.topbar .wrap {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; align-items: center;
}
.topbar a { color: var(--gold-soft); }
.topbar a:hover { color: #fff; }
.topbar .hide-sm { display: none; }
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 241, .96);
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter on .hdr would make it the containing block for
   position:fixed descendants, clipping the mobile drawer. */
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hdr .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 16px;
}
.hdr .logo,
.hdr .menu-btn {
  position: relative;
  z-index: 2;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: .01em;
}
.logo-text small {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-top: 3px;
}
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-family: var(--sans);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--charcoal); padding: 8px 12px; font-size: .92rem; letter-spacing: .04em;
  display: block;
}
.nav a:hover, .nav .current-menu-item > a, .nav a[aria-current="page"] {
  color: var(--gold-deep);
}
.hdr-cta { display: none; }

body.nav-open { overflow: hidden; }
body.nav-open .topbar { display: none; }
body.nav-open .hdr { top: 0; }
body.nav-open .float-btns { visibility: hidden; pointer-events: none; }
body.nav-open .nav {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: var(--ivory);
  padding: calc(var(--header) + 16px) 20px 120px;
  overflow: auto;
}
body.nav-open .nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
body.nav-open .nav a { font-size: 1.5rem; font-family: var(--serif); padding: 10px 0; color: var(--ink); }
body.nav-open .nav .btn { font-family: var(--sans); font-size: 1rem; margin-top: 12px; }

/* Hero */
.hero {
  display: grid; gap: 0;
  background: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 48px 0 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy .wrap { width: min(680px, calc(100% - 40px)); margin: 0 auto; }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.hero-photo { position: relative; min-height: 520px; background: #d9cbb8; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  position: absolute; inset: 0;
}
.hero-photo figcaption { display: none; }

/* Intro band */
.intro {
  padding: 56px 0;
  text-align: center;
  background: var(--ivory);
}
.intro p { margin: 0 auto 0; max-width: 40em; color: var(--taupe); }

/* Services */
.section { padding: 72px 0; }
.section-head { margin-bottom: 36px; max-width: 40em; }
.section-head.center { text-align: center; margin-inline: auto; }
.svc-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(196,163,106,.08);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.svc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-body {
  padding: 18px 22px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-card h3 { margin-bottom: 8px; font-size: 1.55rem; }
.svc-card .svc-body p:not(.price-note) { color: var(--taupe); flex: 1; font-size: .98rem; }
.svc-card .btn-row { margin-top: 6px; }
.svc-card .btn { flex: 1 1 auto; }

/* Team */
.team { background: var(--cream); border-block: 1px solid var(--line); }
.team-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.team-card {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); background: #d9cbb8; aspect-ratio: 3/4;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.team-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(27,23,20,.55), transparent);
  color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}

/* Visit / about split */
.split {
  display: grid; gap: 32px; align-items: center;
}
.split-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #d9cbb8; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; aspect-ratio: 4/5; }

/* CTA band */
.cta {
  background: var(--ink); color: var(--sand);
  padding: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: var(--cream); }
.cta p { color: var(--sand); margin: 0 auto 24px; max-width: 34em; }
.cta .btn-gold:hover { color: #fff; }

/* Page hero (inner) */
.page-hero {
  padding: 64px 0 48px;
  background:
    linear-gradient(180deg, rgba(246,240,230,.92), rgba(251,247,241,.96)),
    url("../img/wash.webp") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero p { margin: 0 auto; max-width: 36em; color: var(--taupe); }

/* Contact */
.contact-grid {
  display: grid; gap: 28px;
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.info-list a { color: var(--ink); }
.info-list a:hover { color: var(--gold-deep); }
.info-list strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.map {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-height: 280px; background: var(--sand);
}
.map iframe { width: 100%; height: 320px; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 6px; }
.form .hint { color: var(--taupe); font-size: .92rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1rem;
  padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,163,106,.22); background: #fff;
}

/* Footer */
.ftr {
  background: var(--ink); color: var(--sand);
  padding: 56px 0 28px;
  font-size: .95rem;
}
.ftr a { color: var(--gold-soft); }
.ftr a:hover { color: #fff; }
.ftr .cols {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
.ftr h3 {
  color: var(--cream); font-size: 1.2rem; margin-bottom: 12px;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 8px; }
.ftr .logo-text small { color: var(--gold); }
.ftr .logo { color: var(--cream); margin-bottom: 12px; }
.ftr .logo:hover { color: var(--cream); }
.ftr .base {
  border-top: 1px solid rgba(196,163,106,.22);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--muted); font-size: .82rem;
}

/* Floating call + WhatsApp */
.float-btns {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(27,23,20,.22);
  color: #fff !important;
  transition: transform .25s var(--ease);
}
.float-btn:hover { transform: translateY(-2px) scale(1.04); color: #fff !important; }
.float-btn svg { width: 24px; height: 24px; }
.float-btn.call { background: var(--ink); }
.float-btn.wa { background: #1f9e4f; }
.float-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 404 */
.empty { padding: 100px 0; text-align: center; }

/* Desktop */
@media (min-width: 760px) {
  body { padding-bottom: 32px; }
  .topbar .hide-sm { display: inline; }
  .menu-btn { display: none; }
  .nav { display: block; }
  .nav ul { flex-wrap: nowrap; }
  body.nav-open .nav {
    position: static; inset: auto; top: auto; left: auto; right: auto; bottom: auto;
    background: none; padding: 0; overflow: visible; z-index: auto;
  }
  body.nav-open .nav ul { flex-direction: row; align-items: center; gap: 4px; }
  body.nav-open .nav a { font-size: .92rem; font-family: var(--sans); padding: 8px 12px; }
  .hdr-cta { display: inline-flex; }
  .hero {
    grid-template-columns: 1fr 1.05fr;
    min-height: min(86vh, 820px);
  }
  .hero-copy { padding: 80px 0 80px 0; }
  .hero-copy .wrap {
    width: auto; margin: 0;
    padding-left: max(20px, calc((100vw - var(--wrap)) / 2));
    padding-right: 40px;
    max-width: none;
  }
  .hero-photo { min-height: 100%; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .ftr .cols { grid-template-columns: 1.4fr .8fr .9fr; }
  .ftr .base { flex-direction: row; justify-content: space-between; }
  .float-btns { right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
  .float-btn { width: 58px; height: 58px; }
}
@media (min-width: 1020px) {
  .svc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero { grid-template-columns: 1.05fr .95fr; }
}

@media (max-width: 759px) {
  .svc-card .btn-row { padding-right: 64px; }
  .svc-card .btn { flex: 1 1 calc(50% - 40px); }
}

/* Header call button (v1.0.1)
   .nav a { display:block; padding:8px 12px } was overriding
   .btn { display:inline-flex; align-items:center }, which pinned
   the label to the top of the gold pill. These rules are more
   specific so the pill stays vertically centred. */
.hdr .nav li.hdr-cta {
  display: none;
  margin-left: 8px;
  flex: 0 0 auto;
  align-self: center;
}
@media (min-width: 760px) {
  .hdr .nav li.hdr-cta,
  .hdr .nav .hdr-cta {
    display: flex;
    align-items: center;
  }
}
.hdr .nav li.hdr-cta a.btn,
.hdr .nav a.btn,
.hdr-cta a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 18px;
  margin: 0;
  line-height: 1;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  overflow: visible;
  vertical-align: middle;
}
.hdr .nav li.hdr-cta a.btn svg,
.hdr .nav a.btn svg,
.hdr-cta a.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  overflow: visible;
}
.hdr .nav li.hdr-cta a.btn-gold,
.hdr .nav a.btn-gold {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.hdr .nav li.hdr-cta a.btn-gold:hover,
.hdr .nav a.btn-gold:hover {
  color: #fff;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* Open mobile menu: keep the same centred pill, slightly larger tap target */
body.nav-open .hdr .nav li.hdr-cta {
  display: block;
  width: auto;
  margin: 16px 0 0;
}
body.nav-open .hdr .nav li.hdr-cta a.btn,
body.nav-open .hdr .nav a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 500;
  padding: 0 22px;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

/* 800px-class desktops: tighten nav so the pill does not wrap or overflow */
@media (min-width: 760px) and (max-width: 900px) {
  .hdr .wrap { gap: 10px; }
  .hdr .nav ul { gap: 0; flex-wrap: nowrap; }
  .hdr .nav a:not(.btn) { padding: 8px 8px; }
  .hdr .nav li.hdr-cta { margin-left: 4px; }
  .hdr .nav li.hdr-cta a.btn,
  .hdr .nav a.btn { padding: 0 14px; font-size: .85rem; }
}

/* WordPress admin bar: sticky header and the mobile drawer sit below it */
body.admin-bar .hdr { top: 32px; }
body.admin-bar.nav-open .hdr { top: 32px; }
body.admin-bar.nav-open .nav {
  padding-top: calc(var(--header) + 32px + 16px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .hdr { top: 46px; }
  body.admin-bar.nav-open .hdr { top: 46px; }
  body.admin-bar.nav-open .nav {
    padding-top: calc(var(--header) + 46px + 16px);
  }
}
@media screen and (max-width: 600px) {
  /* WP un-fixes the admin bar below 600px (it sits in normal flow at the top). */
  body.admin-bar .hdr { top: 0; }
  body.admin-bar.nav-open .hdr { top: 0; }
  body.admin-bar.nav-open .nav {
    padding-top: calc(var(--header) + 46px + 16px);
  }
}
