/*
Theme Name: Bliss Massage
Theme URI: https://blissmassagenottingham.com
Author: OpsHelp
Description: Custom one-page theme for Bliss Massage, Nottingham. Therapist rota and gallery are editable via custom post types; contact details and homepage copy via the Customizer.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bliss-massage
*/

/* ===== Tokens ===== */

:root {
  --bg: #0a060d;
  --bg-panel: #110b15;
  --bg-card: #170f1c;
  --line: #34243c;
  --line-soft: #261a2c;
  --accent: #c879de;
  --accent-deep: #8e3aa6;
  --accent-soft: #e3b6ef;
  --gold: #d8b28a;
  --gold-soft: #ecd9c0;
  --green: #8fdca6;
  --text: #f0e9f3;
  --text-dim: #b3a5bb;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", sans-serif;
  --shadow-lift: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius: 14px;
}

/* ===== Base ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* keep anchored sections clear of the sticky header */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

/* faint film grain for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--accent-deep); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-deep), #4a2358);
  border-radius: 5px;
  border: 2px solid var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Ornamental divider ===== */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0.9rem auto 1.1rem;
  color: var(--gold);
  max-width: 300px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.65;
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider span { font-size: 0.75rem; text-shadow: 0 0 12px rgba(216, 178, 138, 0.6); }
.divider.left { margin-left: 0; justify-content: flex-start; max-width: 210px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.78rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: linear-gradient(135deg, #da93ea, var(--accent-deep));
  color: #fff;
  font-weight: 400;
  box-shadow: 0 6px 24px rgba(200, 121, 222, 0.35);
}
.btn-solid:hover { box-shadow: 0 10px 32px rgba(200, 121, 222, 0.5); }

.btn-outline {
  border: 1px solid rgba(200, 121, 222, 0.6);
  color: var(--text);
  background: rgba(200, 121, 222, 0.05);
}
.btn-outline:hover {
  background: rgba(200, 121, 222, 0.14);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(200, 121, 222, 0.18);
}

/* ===== Header ===== */

.site-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 4vw;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: rgba(10, 6, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: rgba(10, 6, 13, 0.97);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.logo { display: flex; align-items: center; gap: 0.65rem; color: var(--accent-soft); }
.logo-mark {
  color: var(--accent);
  display: flex;
  filter: drop-shadow(0 0 6px rgba(200, 121, 222, 0.5));
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.logo-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; gap: 1.9rem; margin-left: auto; }
.main-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--text); }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(200, 121, 222, 0.55);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
  background: rgba(200, 121, 222, 0.05);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.phone-pill:hover {
  background: rgba(200, 121, 222, 0.15);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(200, 121, 222, 0.25);
}
.phone-pill svg { color: var(--accent); }

.nav-toggle { display: none; }

/* ===== Hero ===== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem 5vw 6rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* candle-glow atmosphere */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
}
.hero::before {
  width: 520px;
  height: 520px;
  right: -6%;
  top: -15%;
  background: radial-gradient(circle, rgba(142, 58, 166, 0.4), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 380px;
  height: 380px;
  left: -10%;
  bottom: -25%;
  background: radial-gradient(circle, rgba(216, 178, 138, 0.16), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 35px) scale(1.12); }
}

/* large decorative line-art curve behind the content */
.hero-art {
  position: absolute;
  right: 38%;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  color: var(--accent);
  opacity: 0.1;
  pointer-events: none;
}

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.04;
  background: linear-gradient(120deg, #ffffff 30%, var(--accent-soft) 70%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  margin-top: 0.4rem;
  font-weight: 400;
}

.hero-tags {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-copy { margin-top: 1.3rem; max-width: 47ch; color: var(--text-dim); font-size: 1.02rem; }

.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* double-frame around the hero photo */
.hero-frame { position: relative; }
.hero-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid rgba(216, 178, 138, 0.4);
  border-radius: var(--radius);
  pointer-events: none;
  transition: transform 0.4s ease;
}
.hero-frame:hover::before { transform: translate(-5px, -5px); }
.hero-frame .hero-photo,
.hero-frame .hero-placeholder {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lift);
}

.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
}
.scroll-cue:hover { color: var(--accent-soft); }
.scroll-cue svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ===== Sections ===== */

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-align: center;
  text-shadow: 0 0 30px rgba(200, 121, 222, 0.25);
}
.section-title.small { font-size: 1.4rem; }

.section-intro { text-align: center; color: var(--text-dim); max-width: 60ch; margin: 0 auto; }

/* ===== Availability ===== */

.availability {
  padding: 5.5rem 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.availability::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 400px;
  left: 50%;
  top: -200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(142, 58, 166, 0.14), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.therapist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 2.6rem 0 2.2rem;
}

.therapist-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(165deg, rgba(216, 178, 138, 0.45), rgba(200, 121, 222, 0.3) 40%, rgba(52, 36, 60, 0.6)) border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.therapist-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lift), 0 0 35px rgba(200, 121, 222, 0.12);
}

.card-photo-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.therapist-card:hover .card-photo { transform: scale(1.05); }

.card-body { padding: 1.4rem 1.5rem 1.7rem; text-align: center; }
.card-body h3 {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status.available {
  color: var(--green);
  background: rgba(143, 220, 166, 0.08);
  border: 1px solid rgba(143, 220, 166, 0.3);
}
.status.available .dot {
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(143, 220, 166, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(143, 220, 166, 0); }
}
.status.unavailable {
  color: var(--text-dim);
  background: rgba(179, 165, 187, 0.06);
  border: 1px solid rgba(179, 165, 187, 0.22);
}
.status.unavailable .dot { background: var(--text-dim); }

.hours {
  color: var(--gold-soft);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  margin-top: 0.55rem;
}
.bio { color: var(--text-dim); font-size: 0.87rem; margin-top: 0.45rem; }
.bio p { margin: 0; }

/* ===== Services + Gallery ===== */

.split-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-bottom: 1px solid var(--line-soft);
}

.services {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 4.5rem 3.5vw;
  border-right: 1px solid var(--line-soft);
  background: var(--bg-panel);
}
.services .section-title { text-align: left; font-size: 1.7rem; }
.services p { color: var(--text-dim); max-width: 44ch; }

.services-photo-wrap {
  overflow: hidden;
  border-radius: 10px;
  min-height: 300px;
  box-shadow: var(--shadow-lift);
}
.services-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }

.service-list { list-style: none; margin: 1.4rem 0 1.8rem; }
.service-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 2.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.service-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(200, 121, 222, 0.35);
}

.gallery {
  padding: 4.5rem 3.5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.gallery::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -160px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(142, 58, 166, 0.13), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  width: 100%;
  max-width: 580px;
  margin: 1.8rem 0 2rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  border: 1px solid var(--line-soft);
}
.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-photo { transform: scale(1.07); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.55rem;
  background: linear-gradient(transparent, rgba(10, 6, 13, 0.85));
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ===== Footer ===== */

.site-footer {
  background:
    radial-gradient(ellipse 50% 80% at 50% 110%, rgba(142, 58, 166, 0.16), transparent),
    var(--bg-panel);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: 4rem 4vw 3rem;
}

.footer-logo .logo-text strong { font-size: 1.9rem; }

.contact-block { justify-self: center; }
.contact-list { list-style: none; margin-top: 1.3rem; }
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.55rem 0;
}
.contact-list li .icon-ring {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(200, 121, 222, 0.4);
  background: rgba(200, 121, 222, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-list li > span, .contact-list li > a { padding-top: 0.3rem; }
.contact-list a:hover { color: var(--accent-soft); }
.contact-list small { color: var(--text-dim); }

.promise-box {
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  max-width: 310px;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(165deg, rgba(216, 178, 138, 0.4), rgba(52, 36, 60, 0.6)) border-box;
}
.promise-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.promise-box h3 svg { color: var(--gold); }
.promise-box p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.65rem; }

.footer-bar {
  border-top: 1px solid var(--line-soft);
  padding: 1.3rem 4vw;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-bar .copyright { margin-top: 0.45rem; letter-spacing: 0.08em; text-transform: none; opacity: 0.75; }

/* ===== Back to top ===== */

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(200, 121, 222, 0.55);
  background: rgba(10, 6, 13, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s, box-shadow 0.25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover {
  background: rgba(200, 121, 222, 0.18);
  box-shadow: 0 6px 22px rgba(200, 121, 222, 0.3);
}

/* ===== Placeholders (replaced by real photos when uploaded) ===== */

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(142, 58, 166, 0.3), transparent 60%),
    linear-gradient(160deg, #221527, #100a13);
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
}
/* slow sheen sweep so placeholders feel alive, not broken */
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(227, 182, 239, 0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.ph-icon { font-size: 2rem; color: var(--accent); opacity: 0.7; text-shadow: 0 0 18px rgba(200, 121, 222, 0.7); }
.ph-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  text-align: center;
  padding: 0 0.5rem;
}

.hero-placeholder { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.card-placeholder { aspect-ratio: 4 / 3; border-radius: 0; border: none; border-bottom: 1px solid var(--line-soft); }
.services-placeholder { border-radius: 10px; min-height: 300px; }
.gallery-placeholder { aspect-ratio: 4 / 3; }

/* ===== Scroll-reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
/* gentle stagger inside grids */
.therapist-grid > :nth-child(2),
.gallery-grid > :nth-child(3n + 2) { transition-delay: 0.12s; }
.therapist-grid > :nth-child(3),
.gallery-grid > :nth-child(3n) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after,
  .scroll-cue svg,
  .img-placeholder::after,
  .status.available .dot { animation: none; }
  .btn, .therapist-card, .card-photo, .gallery-photo, .hero-frame::before { transition: none; }
}

/* ===== WordPress bits ===== */

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.logo .custom-logo { max-height: 52px; width: auto; }

.editor-hint {
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  color: var(--accent-soft);
  font-size: 0.85rem;
  text-align: center;
  max-width: 480px;
}

.page-wrap { max-width: 820px; margin: 0 auto; padding: 3.5rem 4vw; min-height: 50vh; }
.page-wrap h1 { font-size: 2.2rem; letter-spacing: 0.12em; color: var(--accent-soft); margin-bottom: 1rem; }
.page-wrap p { margin-bottom: 1rem; color: var(--text-dim); }
.page-wrap a { color: var(--accent-soft); text-decoration: underline; }

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3.5rem 6vw 5rem; gap: 2.5rem; }
  .hero-art { display: none; }
  .hero-frame { max-width: 520px; }
  .split-row { grid-template-columns: 1fr; }
  .services { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .contact-list li { justify-content: center; text-align: left; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }

  .site-header { flex-wrap: wrap; gap: 1rem; }
  .phone-pill { margin-left: auto; padding: 0.5rem 1rem; font-size: 0.8rem; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    order: 4;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line-soft);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0; }
  .main-nav a::after { display: none; }

  .hero h1 { letter-spacing: 0.07em; }
  .scroll-cue { display: none; }

  .availability { padding: 4rem 6vw; }
  .services { grid-template-columns: 1fr; padding: 3.5rem 6vw; }
  .services-placeholder, .services-photo-wrap { min-height: 160px; }
  .gallery { padding: 3.5rem 6vw; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-caption { opacity: 1; transform: none; } /* no hover on touch */

  .back-to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

/* ===== Skip link ===== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 8px 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }

/* ===== Reviews ===== */

.reviews {
  padding: 5.5rem 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-panel);
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 360px;
  left: 50%;
  bottom: -180px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(216, 178, 138, 0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-top: 2.6rem;
}

.review-card {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 1.7rem;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(165deg, rgba(216, 178, 138, 0.35), rgba(52, 36, 60, 0.6)) border-box;
}
.review-mark {
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
}
.review-card .stars {
  color: var(--gold);
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  text-shadow: 0 0 10px rgba(216, 178, 138, 0.5);
}
.review-text {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text);
}
.review-text p { margin: 0 0 0.5rem; }
.review-card cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.review-grid > :nth-child(2) { transition-delay: 0.12s; }
.review-grid > :nth-child(3) { transition-delay: 0.24s; }

/* ===== Service prices ===== */

.service-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.service-name { flex-shrink: 0; }
.service-list li::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
  order: 2;
}
.service-name { order: 1; }
.service-price {
  order: 3;
  color: var(--gold-soft);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.service-list li:not(:has(.service-price))::after { display: none; }

/* ===== Lightbox ===== */

.lightbox-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 6, 13, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lb-overlay.open { opacity: 1; }
.lb-overlay img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb-caption {
  margin-top: 1rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 121, 222, 0.5);
  background: transparent;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover { background: rgba(200, 121, 222, 0.18); }

/* ===== Mobile call/WhatsApp bar ===== */

.mobile-cta { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(10, 6, 13, 0.97);
    backdrop-filter: blur(10px);
  }
  .mobile-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 400;
  }
  .mobile-cta-call {
    background: linear-gradient(135deg, #da93ea, var(--accent-deep));
    color: #fff;
  }
  .mobile-cta-whatsapp { color: var(--green); }

  .back-to-top { bottom: calc(72px + env(safe-area-inset-bottom)); }

  .reviews { padding: 4rem 6vw; }
}
