/* =========================================================================
   FENG RONG SPA — Dark Editorial Stylesheet
   V4 aesthetic: near-black + lit gold gradient + frosted secondary
   ========================================================================= */

/* -------------------- Tokens -------------------- */
:root {
  /* Color */
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --bg-elevated: #0f0c08;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(201, 163, 90, 0.25);

  --text: #f5ede0;
  --text-muted: rgba(245, 237, 224, 0.62);
  --text-subtle: rgba(245, 237, 224, 0.42);

  --gold-bright: #e6c378;
  --gold: #c9a35a;
  --gold-deep: #b8902f;
  --gold-glow: rgba(201, 163, 90, 0.25);

  --gradient-gold: linear-gradient(180deg, #e6c378 0%, #b8902f 100%);
  --gradient-glow-top: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 163, 90, 0.08) 0%, transparent 60%);

  /* Type scale */
  --fs-display: clamp(3.25rem, 6.5vw, 6rem);
  --fs-page: clamp(2.25rem, 4vw, 3.5rem);
  --fs-section: clamp(1.75rem, 2.6vw, 2.5rem);
  --fs-card: clamp(1.25rem, 1.5vw, 1.5rem);
  --fs-title-md: clamp(1.05rem, 1.2vw, 1.25rem);
  --fs-body-lg: clamp(1.05rem, 1.1vw, 1.18rem);
  --fs-body: 1rem;
  --fs-body-sm: 0.9rem;
  --fs-micro: 0.7rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Type families */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* -------------------- Body -------------------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle warm glow at top of every page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 60vh;
  background: var(--gradient-glow-top);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em 0; max-width: 65ch; }

.display {
  font-size: var(--fs-display);
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.page-title {
  font-size: var(--fs-page);
  text-wrap: balance;
}

.section-title {
  font-size: var(--fs-section);
  text-wrap: balance;
}

.card-title {
  font-size: var(--fs-card);
  line-height: 1.2;
}

.title-md {
  font-size: var(--fs-title-md);
  line-height: 1.25;
}

.lead {
  font-family: var(--serif);
  font-size: var(--fs-body-lg);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
  max-width: 50ch;
}

.body-lg { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }

.eyebrow {
  font-family: var(--serif);
  font-size: var(--fs-micro);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.label {
  font-family: var(--sans);
  font-size: var(--fs-micro);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}

.divider {
  width: 60px;
  border: 0;
  border-top: 1px solid var(--gold);
  margin: var(--space-md) 0;
  position: relative;
}

.divider::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.divider.center { margin-left: auto; margin-right: auto; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0a0a0a;
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 163, 90, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 500;
}

.btn-ghost:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-link {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.btn-link:hover { opacity: 0.7; }

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.section-sm { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.35em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 400;
}

.brand-mark {
  color: var(--gold);
  font-style: italic;
  margin-right: 0.4em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover, .nav a.active { color: var(--gold); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

  .nav-phone {
  color: var(--gold) !important;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
}

.nav-contact-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-left: 1rem;
}

.nav-phone-secondary {
  opacity: 0.5;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

/* -------------------- Hero -------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--gutter) 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.85) 70%, var(--bg) 100%);
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.hero-meta span::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.5em;
}

/* Page hero (interior pages) */
.page-hero {
  padding: 10rem var(--gutter) 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero .lead { margin: 1.5rem auto 0; }

/* -------------------- Section heading helpers -------------------- */
.section-head {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head .lead { margin-top: 1.25rem; }

/* -------------------- Cards -------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
  padding: var(--space-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}

.feature-card .label { color: var(--gold); }
.feature-card .card-title { margin-top: 0.25rem; }
.feature-card p { color: var(--text-muted); margin: 0; }

/* -------------------- Service preview cards (homepage) -------------------- */
.service-preview {
  position: relative;
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.service-preview:hover { border-color: var(--gold); }

.service-preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3) brightness(0.55);
  transition: transform 0.6s ease, filter 0.5s ease;
}

.service-preview:hover .service-preview-bg {
  transform: scale(1.06);
  filter: grayscale(0) brightness(0.7);
}

.service-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, 0.95) 100%);
}

.service-preview-content {
  position: relative;
  z-index: 2;
}

.service-preview .label { color: var(--gold); margin-bottom: 0.5rem; display: block; }
.service-preview h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.service-preview p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* -------------------- Service detail rows (services page) -------------------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.service-row:last-child { border-bottom: 0; }

.service-row-image {
  height: 320px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2) brightness(0.85);
}

.service-row-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-row .eyebrow { margin-bottom: 0; }
.service-row h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }

.service-pricing {
  display: flex;
  gap: 2.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.price-tier {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-tier .duration {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.price-tier .amount {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

/* Alternating rows */
.service-row:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.service-row:nth-child(even) .service-row-image { order: 2; }
.service-row:nth-child(even) .service-row-body { order: 1; }

/* -------------------- Experience steps (timeline) -------------------- */
.timeline {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child { border-bottom: 0; }

.timeline-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}

.timeline-step h3 { margin-bottom: 0.5rem; }
.timeline-step p { color: var(--text-muted); margin: 0; }

/* -------------------- Quote -------------------- */
.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 1.5rem 0;
}

.quote-block blockquote::before {
  content: "“";
  display: block;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1rem;
}

.quote-block cite {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-style: normal;
}

/* -------------------- Final CTA band -------------------- */
.cta-band {
  text-align: center;
  padding: var(--space-2xl) var(--gutter);
  background: var(--bg-elevated);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 163, 90, 0.06) 0%, transparent 70%);
}

.cta-band > * { position: relative; }

.cta-band .display { font-size: clamp(2.25rem, 4.5vw, 4rem); }

.phone-cta {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  display: inline-block;
  margin: 1.5rem 0;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  transition: opacity 0.2s ease;
}

.phone-cta:hover { opacity: 0.8; }

/* Alt / secondary phone line — unified treatment site-wide */
.alt-phone {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0.25rem 0 0;
}

.alt-phone a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--text-subtle);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-left: 0.4em;
}

.alt-phone a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* -------------------- Hours table -------------------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
}

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

.hours-table td:first-child {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* -------------------- Contact panels -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: var(--space-lg);
}

.contact-panel h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.contact-panel + .contact-panel { margin-top: 1rem; }

.address-block {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: #030303;
  border-top: 1px solid var(--line);
  padding: var(--space-xl) var(--gutter) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto var(--space-lg);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  display: block;
  margin: 0 0 0.4rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-phone {
  font-family: var(--serif);
  font-size: 1.2rem !important;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
  margin-bottom: 0.25rem !important;
}

.footer-col .alt-phone {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.footer-brand .brand { font-size: 1.4rem; }
.footer-brand .lead {
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 0;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text-subtle);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

/* -------------------- Reveal animations -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .service-row:nth-child(even) .service-row-image { order: -1; }
  .service-row:nth-child(even) .service-row-body { order: 0; }
  .service-row-image { height: 240px; }
  .hero-meta { flex-direction: column; gap: 0.75rem; align-items: center; }
  .nav { display: none; }
  .nav-toggle { display: block; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(20px);
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .nav.open a { font-size: 1rem; }

  .nav.open .nav-contact-group {
    align-items: flex-start;
    margin-left: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero { min-height: 90vh; padding-top: 7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-cta .btn { justify-content: center; }
  .timeline-step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .timeline-num { font-size: 2rem; }
  .service-pricing { gap: 1.5rem; }
  .nav { gap: 1rem; }
  .nav a { font-size: 0.7rem; letter-spacing: 0.18em; }
  .brand { font-size: 1rem; letter-spacing: 0.25em; }
}

/* -------------------- WhatsApp floating button -------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  display: block;
}

@media (max-width: 560px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}
