/* Salonak CMS pages — matches salonak.co.uk marketing shell (header, hero, footer) */
:root {
  --night: #04100f;
  --ink: #0a1c1f;
  --charcoal: #16272b;
  --muted: #5c6b6f;
  --faint: #8b989b;
  --line: #e6e1d8;
  --line-strong: #d3ccc0;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --brand: #2bb8c8;
  --brand-dark: #17879a;
  --brand-soft: #e4f6f8;
  --shadow-lift: 0 40px 80px -32px rgba(10, 28, 31, 0.35), 0 8px 20px -10px rgba(10, 28, 31, 0.14);
  --shadow-soft: 0 10px 24px -14px rgba(10, 28, 31, 0.18);
  --shadow-btn: 0 12px 24px -10px rgba(23, 135, 154, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 26px;
  --r-xl: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 899px) {
  .wrap,
  .header-inner,
  .footer-bottom-inner {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}

@media (min-width: 900px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-display {
  font-family: Fraunces, Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.display-lg {
  font-size: clamp(1.7rem, 5.6vw, 3.4rem);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.lede {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Header (matches SiteHeader dark variant) ── */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}

@media (min-width: 768px) {
  .header-inner {
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.brand-logo img {
  display: block;
  height: 28px;
  width: auto;
  background: transparent;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 18px;
}

.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-signup-mobile {
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header-nav,
  .header-actions {
    display: flex;
  }

  .header-mobile-actions {
    display: none !important;
  }
}

.header-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: #fff;
}

.header-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.menu-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.menu-bars span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.menu-bars span:nth-child(1) {
  top: 0;
}

.menu-bars span:nth-child(2) {
  top: 5px;
}

.menu-bars span:nth-child(3) {
  top: 10px;
}

.menu-toggle[aria-expanded='true'] .menu-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] .menu-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu-root.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 15, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-root.is-open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  inset: 12px 12px auto 12px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow-lift);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
}

.mobile-menu-root.is-open .mobile-menu-panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-links a {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.6rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: var(--brand-dark);
}

.mobile-menu-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-actions .btn-ghost-light,
.mobile-menu-actions .btn-primary {
  width: 100%;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: transform 0.25s var(--ease-out), filter 0.25s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
}

.btn-compact {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.grain {
  position: relative;
}

.grain::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  border-radius: inherit;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 650;
}

.btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

.btn-row > * {
  min-width: 0;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .btn-row > * {
    width: auto;
  }

  .btn-primary,
  .btn-ghost-dark,
  .btn-ghost-light {
    padding: 14px 28px;
    font-size: 14px;
  }
}

.page-hero--split .btn-row {
  display: flex;
  margin-top: 20px;
}

.page-hero--split .btn-row > * {
  width: auto;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 650;
}

.btn-ghost-light:hover {
  border-color: var(--brand);
}

/* ── Hero ── */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  opacity: 0.34;
  transform: scale(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, var(--ink) 8%, rgba(10, 28, 31, 0.86) 46%, rgba(4, 16, 15, 0.6) 100%);
}

.hero-shell {
  position: relative;
  padding: 96px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
  min-width: 0;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lede,
.hero-copy .btn-row {
  padding-right: 4px;
}

.hero-inner {
  position: relative;
  padding: 96px 0 56px;
  max-width: 640px;
}

.hero-inner .eyebrow,
.hero-inner h1,
.hero-inner .lede,
.hero-inner .btn-row {
  padding-right: 4px;
}

@media (min-width: 768px) {
  .hero-shell {
    padding: 144px 0 88px;
  }

  .hero-inner {
    padding: 144px 0 88px;
  }
}

.page-hero--split .hero-shell {
  padding: 68px 0 24px;
}

@media (min-width: 768px) {
  .page-hero--split .hero-shell {
    padding: 120px 0 64px;
  }
}

@media (min-width: 900px) {
  .page-hero--split .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px 56px;
  }
}

.page-hero h1 {
  margin: 12px 0 0;
}

.hero-book {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 4px auto 0;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-book {
    max-width: 430px;
  }
}

@media (min-width: 900px) {
  .hero-book {
    margin: 0 0 0 auto;
  }
}

.hero-book-glow {
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background: rgba(43, 184, 200, 0.18);
  filter: blur(22px);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-book-glow {
    inset: -40px;
    filter: blur(48px);
    background: rgba(43, 184, 200, 0.22);
  }
}

/* ── Main content ── */
main {
  padding: 28px 0 48px;
}

@media (min-width: 768px) {
  main {
    padding: 48px 0 72px;
  }
}

.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: #334247;
  max-width: 640px;
  margin: 0 0 16px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

@media (min-width: 540px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.card strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.faq {
  margin-top: 40px;
  max-width: 680px;
}

.faq h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  color: var(--ink);
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

details p {
  margin: 10px 0 0;
  color: #334247;
  line-height: 1.6;
}

.promo {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--brand-soft);
  border: 1px solid #bfe6ec;
  max-width: 520px;
}

.reviews {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rev {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-size: 14.5px;
  line-height: 1.55;
}

.rev b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
}

.section-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  color: var(--ink);
  margin: 0;
}

.muted-note {
  margin-top: 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 48px 0 40px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding: 96px 0 64px;
  }
}

.footer-statement {
  max-width: 32rem;
}

.footer-statement h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.footer-statement h2 em {
  display: block;
  font-style: italic;
  color: var(--brand);
}

.footer-statement p {
  margin: 16px 0 0;
  max-width: 24rem;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.footer-downloads {
  width: 100%;
  margin-top: 0;
}

@media (min-width: 768px) {
  .footer-downloads {
    width: auto;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 16px;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 0;
  }
}

.footer-brand-col {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-brand-col {
    grid-column: span 1;
  }
}

.footer-brand-col p {
  margin: 16px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  padding: 6px 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin: 0 0 16px;
}

.footer-col {
  min-width: 0;
}

.footer-col a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.2s ease;
  word-break: break-word;
}

@media (min-width: 768px) {
  .footer-col a {
    font-size: 14px;
    margin-bottom: 14px;
  }
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

body.menu-open {
  overflow: hidden;
}

.hero-book {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 4px auto 0;
  z-index: 1;
}

.hero-book-glow {
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background: rgba(43, 184, 200, 0.18);
  filter: blur(22px);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-book-glow {
    inset: -40px;
    filter: blur(48px);
    background: rgba(43, 184, 200, 0.22);
  }
}

.hero-book-frame {
  width: 100%;
  height: 480px;
  max-width: 400px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  display: block;
  overflow: hidden;
  color-scheme: light;
}

@media (min-width: 768px) {
  .hero-book-frame {
    height: 540px;
    max-width: 430px;
    border-radius: 28px;
  }
}

.hero-after-book {
  margin-top: 4px;
}

.hero-after-book .btn-ghost-dark {
  display: inline-flex;
  width: auto;
}

@media (min-width: 900px) {
  .page-hero--split .hero-grid {
    align-items: center;
  }

  .page-hero--split .hero-book {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0 0 0 auto;
  }

  .hero-after-book {
    grid-column: 1;
  }
}

/* Pro supply strip on area/service SEO pages */
.pro-supply {
  margin-top: 8px;
  padding: 36px 0 48px;
  background: var(--ink, #0a1c1f);
  color: #fff;
}

.pro-supply-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.pro-supply-copy {
  max-width: 520px;
}

.pro-supply-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: #fff;
}

.pro-supply-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.pro-supply .btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand, #2bb8c8);
  color: #04100f;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  text-decoration: none;
  white-space: nowrap;
}

.pro-supply .btn-ink:hover {
  filter: brightness(1.05);
}

