/* ============================================================
   SXM Sensual Massage — main.css
   Dark palette, oxblood accent, warm off-white body text.
   All body copy tested at WCAG AA or higher.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --bg:           #0e0807;
  --bg-alt:       #171010;
  --bg-card:      #1e1414;
  --bg-elevated:  #241a1a;

  /* Text */
  --ink:          #f5ede3;   /* 18.9:1 on bg */
  --ink-soft:     #b3a49a;   /* 8.1:1 on bg  */
  --ink-muted:    #a89a8f;   /* 7.3:1 on bg — passes AA/AAA */

  /* Accent — used for backgrounds and borders, never body text */
  --accent:       #8b1e2d;
  --accent-hi:    #b02d40;
  --accent-lo:    #5a1119;

  /* Links — amber, distinct from accent */
  --link:         #e0a04d;   /* 9.7:1 on bg */
  --link-hi:      #f0b96a;

  /* Lines */
  --line:         #2d1f1e;
  --line-strong:  #4a3332;

  /* Feedback */
  --success:      #6ba368;
  --warning:      #d4a017;
  --danger:       #c14545;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font:         'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container:    1180px;
  --narrow:       760px;
  --radius:       14px;
  --radius-sm:    8px;

  /* Shadows */
  --shadow:       0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  --shadow-lg:    0 24px 60px rgba(0,0,0,.55);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); margin-top: 1.5em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin-top: 1.4em; }

h2:first-child, h3:first-child { margin-top: 0; }

p {
  margin: 0 0 1.1em;
  color: var(--ink);
}

strong { font-weight: 700; color: var(--ink); }

.h2-look {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.9vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.h3-look {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 2rem 0 .85rem;
}

.h3-look:first-child { margin-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: .9rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.note {
  font-size: .88rem;
  color: var(--ink-muted);
  margin-top: 1.25rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 2rem;
}

/* ---------- 4. Links ---------- */
a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s ease;
}

a:hover {
  color: var(--link-hi);
  text-decoration-thickness: 2px;
}

.main-nav a,
.mobile-menu a,
.brand,
.btn,
.breadcrumb a,
.footer-grid a,
.cta-links a,
.link-list a,
.footer-contact a,
.contact-list a,
.top-banner a {
  text-decoration: none;
}

.main-nav a:hover,
.mobile-menu a:hover,
.breadcrumb a:hover,
.footer-grid a:hover,
.cta-links a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 5. Layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.wrap-narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 48px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.section-cta {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--accent-lo) 200%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { margin: 0 0 2.25rem; }

@media (max-width: 900px) {
  .wrap { padding: 0 32px; }
  .wrap-narrow { padding: 0 32px; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .wrap { padding: 0 24px; }
  .wrap-narrow { padding: 0 24px; }
}

/* ---------- 6. Top banner ---------- */
.top-banner {
  background: var(--accent);
  color: var(--ink);
  padding: 14px 48px;
  text-align: center;
  font-size: .92rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--accent-lo);
}

.top-banner strong {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .top-banner { padding: 14px 32px; }
}

@media (max-width: 640px) {
  .top-banner { font-size: .86rem; padding: 12px 24px; }
}

/* ---------- 7. Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--accent-hi), var(--accent-lo));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.08rem;
  line-height: 1.15;
  color: var(--ink);
}

.brand-name small {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  font-size: .68rem;
  color: var(--ink-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
  padding: 8px 2px;
  transition: color .15s ease;
}

.main-nav a:hover { color: var(--link); }
.main-nav a[aria-current="page"] { color: var(--link); }

.nav-cta {
  padding: 10px 18px !important;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--accent-hi);
  color: #fff !important;
}

/* ---------- 8. Nav toggle (mobile) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}

.nav-toggle:hover { border-color: var(--link); }
.nav-toggle:hover span { background: var(--link); }

/* ---------- 9. Mobile menu ---------- */
.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  z-index: 60;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 16px 24px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--bg-elevated); color: var(--link); }

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
}

.breadcrumb .wrap {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- 11. Hero (homepage) ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 30, 45, .22), transparent 60%),
    var(--bg);
  padding: 80px 0 90px;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: .5em; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-strong);
}

/* ---------- 12. Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 90% -20%, rgba(139, 30, 45, .16), transparent 60%),
    var(--bg);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 22ch; margin-bottom: .5em; }

/* ---------- 13. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  min-height: 48px;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--link);
  color: var(--link);
}

/* ---------- 14. Media-text grid ---------- */
.media-text {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.media-text-reverse {
  grid-template-columns: 1.15fr .85fr;
}

.media-text-reverse .media-text-img { order: 2; }

.media-text-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line-strong);
  width: 100%;
}

.media-text-copy h2:first-child { margin-top: 0; }

@media (max-width: 820px) {
  .media-text,
  .media-text-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-text-reverse .media-text-img { order: 0; }
}

/* ---------- 15. Steps grid ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 2rem;
}

.step-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.step-item h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step-item p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- 16. Treatments grid (cards) ---------- */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.treatment-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .15s ease, transform .15s ease;
}

.treatment-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.treatment-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.treatment-meta {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 14px;
}

.treatment-card p {
  font-size: .93rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 700px) {
  .treatment-grid { grid-template-columns: 1fr; }
}

/* ---------- 17. Treatment detail (services page) ---------- */
.treatment-detail {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 20px;
}

.treatment-detail h3 { margin: 0 0 6px; font-size: 1.25rem; }
.treatment-detail p { color: var(--ink-soft); font-size: .95rem; }
.treatment-detail p:last-child { margin-bottom: 0; }

/* ---------- 18. Price table ---------- */
.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 1.5rem 0;
  background: var(--bg-card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--bg-elevated);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table td:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--link);
  white-space: nowrap;
  font-size: 1rem;
}

.price-table td { color: var(--ink); }
.price-table td:first-child { color: var(--ink); }

/* ---------- 19. Lists ---------- */
.fact-list,
.check-list,
.cross-list,
.link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.fact-list li,
.check-list li,
.cross-list li,
.link-list li {
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.fact-list li strong { color: var(--ink); }

.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  margin-right: 10px;
}

.cross-list li::before {
  content: "×";
  color: var(--danger);
  font-weight: 800;
  margin-right: 10px;
}

.link-list li a { color: var(--link); font-weight: 600; }
.link-list li a:hover { color: var(--link-hi); }

/* ---------- 20. FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--link);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 0 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- 21. CTA section ---------- */
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1.75rem 0 1.25rem;
}

.cta-links {
  font-size: .94rem;
  color: var(--ink-soft);
}

.cta-links a { color: var(--link); font-weight: 600; }

/* ---------- 22. Contact list ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-list li {
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.contact-list li strong {
  color: var(--ink);
  margin-right: 8px;
}

/* ---------- 23. Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.footer-heading {
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}

.footer-tagline {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.6;
}

.footer-contact {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
}

.footer-contact a { color: var(--link); font-weight: 600; }

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: .9rem;
}

.footer-grid a {
  color: var(--ink-soft);
  transition: color .15s ease;
}

.footer-grid a:hover { color: var(--link); }

.hours-list li {
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  font-size: .82rem;
  color: var(--ink-muted);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 24. Footer legal (trademark + non-affiliation) ---------- */
.footer-legal {
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-legal p {
  font-size: .78rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 .6em;
}

.footer-legal p:last-child { margin-bottom: 0; }

.footer-legal strong {
  color: var(--ink);
  font-weight: 700;
}

.footer-legal a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.footer-legal a:hover { color: var(--link); }

/* ---------- 25. Responsive — nav ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { justify-content: space-between; }
}

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 44px 0 52px; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 27. Floating WhatsApp button + scroll-top ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  z-index: 50;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.wa-float:hover,
.wa-float:focus {
  color: #fff;
  text-decoration: none;
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.wa-float:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--accent);
}

@media (max-width: 640px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .scroll-top-btn {
    right: 16px;
    bottom: 80px;
    width: 40px;
    height: 40px;
  }
}