/* ===========================================================
   RARE BEAUTY LOUNGE — Stylesheet
   Palette: cream #FFF8F4 · burgundy #7A1733 · blush #D89CB3 · gold #D4AF37
   Type: Playfair Display (display/script) + Poppins (body/UI)
   =========================================================== */

:root {
  --cream: #FFF8F4;
  --cream-deep: #FBEFE8;
  --burgundy: #7A1733;
  --burgundy-dark: #5A0F26;
  --blush: #D89CB3;
  --blush-soft: #F3D9E2;
  --gold: #D4AF37;
  --gold-soft: #E8CE85;
  --ink: #2B1420;
  --white: #FFFFFF;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(122, 23, 51, 0.08);
  --shadow-card: 0 14px 40px rgba(122, 23, 51, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--burgundy);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ---------- signature ornament (echoes the salon's own gold-line florals) ---------- */
.ornament {
  width: 46px;
  height: 46px;
  color: var(--gold);
  opacity: 0.85;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 46px;
}
.divider .line {
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.divider .line.right { background: linear-gradient(to left, transparent, var(--gold)); }
.divider svg { width: 16px; height: 16px; color: var(--burgundy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(122, 23, 51, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(122, 23, 51, 0.34); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37, 211, 102, 0.36); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 248, 244, 0.6);
}
.btn-outline:hover { background: rgba(255, 248, 244, 0.12); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-dark);
  font-weight: 600;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35); }

.btn-block { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(122, 23, 51, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { font-family: var(--font-display); line-height: 1.05; }
.brand-text .rare { font-size: 1.15rem; font-weight: 700; color: var(--burgundy); letter-spacing: 0.12em; }
.brand-text .lounge { font-size: 0.6rem; letter-spacing: 0.34em; color: var(--gold); font-family: var(--font-body); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--burgundy-dark);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--burgundy); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.82rem; }
.header-cta .btn-outline { color: var(--burgundy); border-color: var(--burgundy); }
.header-cta .btn-outline:hover { background: var(--burgundy); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--burgundy); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--blush-soft) 0%, var(--cream) 55%), var(--cream);
  padding: 90px 24px 70px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(120deg, rgba(212,175,55,0.05) 0 2px, transparent 2px 90px);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 0.3em;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--burgundy);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 1.1em;
}
.hero-copy .lede {
  max-width: 46ch;
  color: #5b3a44;
  margin-bottom: 2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn-primary { color: var(--white); }
.hero-actions .btn-outline { color: var(--burgundy); border-color: var(--burgundy); }
.hero-actions .btn-outline:hover { background: var(--burgundy); color: var(--white); }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, var(--blush) 0%, var(--burgundy) 100%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge svg { width: 30px; height: 30px; color: var(--gold); }
.hero-badge strong { display: block; color: var(--burgundy); font-family: var(--font-display); font-size: 1.1rem; }
.hero-badge span { font-size: 0.75rem; color: #7c5b64; letter-spacing: 0.04em; }

/* Small page hero (About / Services / Contact) */
.page-hero {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--cream);
  padding: 78px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 120%, rgba(212,175,55,0.18), transparent);
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--gold-soft); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero p { color: var(--blush-soft); max-width: 56ch; margin: 0 auto; }

/* ===================== SECTIONS ===================== */
.section { padding: 90px 24px; }
.section.alt { background: var(--cream-deep); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 20px; }
.section-head p { color: #6b4b54; }

/* ---------- service cards (home) ---------- */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}
.service-card .icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blush-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover .icon { background: var(--gold-soft); transform: scale(1.08) rotate(-4deg); }
.service-card .icon svg { width: 28px; height: 28px; color: var(--burgundy); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-card p { color: #6b4b54; font-size: 0.92rem; margin-bottom: 0; }

/* ---------- about / story split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-copy .lede { color: #5b3a44; }

/* ---------- why choose us ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
}
.why-card .check {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
}
.why-card .check svg { width: 20px; height: 20px; color: var(--gold-soft); }
.why-card h4 { font-size: 1.02rem; margin-bottom: 0; color: var(--burgundy-dark); }

/* ---------- features (icon list) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(122,23,51,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  background: var(--white);
  padding: 34px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.86rem; color: #6b4b54; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  border-radius: var(--radius);
  padding: 56px 44px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 80% 20%, rgba(212,175,55,0.25), transparent);
}
.cta-banner h2 { color: var(--cream); position: relative; }
.cta-banner p { color: var(--blush-soft); position: relative; max-width: 50ch; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ---------- services page ---------- */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}
.category-nav a {
  font-size: 0.82rem;
  padding: 9px 18px;
  border-radius: 30px;
  border: 1px solid rgba(122,23,51,0.25);
  color: var(--burgundy);
  transition: all 0.25s ease;
}
.category-nav a:hover { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }

.service-category { margin-bottom: 64px; scroll-margin-top: 100px; }
.category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(212,175,55,0.35);
  padding-bottom: 14px;
}
.category-head .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
}
.category-head h2 { margin: 0; font-size: 1.5rem; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}
.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(122,23,51,0.15);
  font-size: 0.95rem;
  color: #43242e;
}
.service-list li::before {
  content: "";
}
.service-list li .name { display: flex; align-items: center; gap: 10px; }
.service-list li .name::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
  align-items: start;
}
.contact-info-card, .contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.contact-info-card { background: var(--burgundy); color: var(--cream); }
.contact-info-card h3 { color: var(--cream); }
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,248,244,0.15);
}
.info-row:last-child { border-bottom: none; }
.info-row svg { width: 22px; height: 22px; color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }
.info-row strong { display: block; font-size: 0.9rem; color: var(--gold-soft); margin-bottom: 2px; letter-spacing: 0.03em; }
.info-row span, .info-row a { font-size: 0.95rem; color: var(--cream); }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,248,244,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; color: var(--cream); }

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--burgundy-dark);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(122,23,51,0.2);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.78rem; color: #8a6570; margin-top: 6px; }

.map-wrap {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--burgundy-dark);
  color: var(--blush-soft);
  padding: 70px 24px 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,248,244,0.12);
}
.footer-brand .brand-text .rare { color: var(--cream); }
.footer-brand p { font-size: 0.88rem; color: var(--blush-soft); margin: 16px 0 20px; max-width: 32ch; }
.footer-col h4 {
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-hours div { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 10px; }
.footer-hours span:last-child { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  color: #b98999;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; color: white; }
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { aspect-ratio: 16/9; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-links, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .header-cta { gap: 8px; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-card);
  }
  .section { padding: 64px 20px; }
  .grid-6, .grid-4, .features { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 20px 56px; }
  .hero-badge { position: static; margin-top: 18px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* ---------- logo image (replaces the SVG monogram + text lockup) ---------- */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* keeps the logo from getting squeezed by nav links */
}

.brand img {
  height: clamp(38px, 6vw, 56px);
  width: auto;
  max-width: 40vw; /* safety net on very narrow screens */
  display: block;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.03);
}

/* Fine-tune at key breakpoints if clamp() alone isn't enough
   for your specific logo's proportions */
@media (max-width: 1024px) {
  .brand img {
    height: clamp(36px, 5.5vw, 50px);
  }
}

@media (max-width: 780px) {
  .brand img {
    height: 44px; /* fixed here since header switches to hamburger layout */
  }
}

@media (max-width: 400px) {
  .brand img {
    height: 38px;
  }
}