@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500&family=Cinzel+Decorative:wght@400&display=swap');

/* Ensure font-display: swap for all loaded faces */
@font-face { font-family: 'Cormorant Garamond'; font-display: swap; src: local('Cormorant Garamond'); }
@font-face { font-family: 'DM Sans'; font-display: swap; src: local('DM Sans'); }
@font-face { font-family: 'Cinzel Decorative'; font-display: swap; src: local('Cinzel Decorative'); }

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --bg-void:        #0A0A0A;
  --bg-surface:     #111111;
  --bg-raised:      #160808;
  --bg-overlay:     rgba(10, 10, 10, 0.85);
  --crimson:        #C0392B;
  --crimson-dark:   #8B1A1A;
  --crimson-glow:   rgba(192, 57, 43, 0.20);
  --gold:           #B8860B;
  --gold-bright:    #D4A017;
  --gold-muted:     #7A6030;
  --text-primary:   #F5F0E8;
  --text-secondary: #C8B89A;
  --text-muted:     #8B7355;
  --border:         rgba(184, 134, 11, 0.15);
  --border-hover:   rgba(184, 134, 11, 0.40);
  --border-crimson: rgba(192, 57, 43, 0.25);
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-sacred:    'Cinzel Decorative', serif;
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --radius-sm:   2px;
  --radius-md:   2px;
  --radius-lg:   4px;
  --radius-pill: 9999px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Grain overlay ──────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.30;
}

/* ── Skip link ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--crimson); color: #fff;
  padding: 8px 16px; z-index: 10000;
  font-family: var(--font-body); transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Scroll progress ────────────────────────────────────── */
.scroll-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--crimson);
  z-index: 9999; transition: width 0.1s linear;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
p  { color: var(--text-secondary); }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Scroll Reveal ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal="slow"] {
  transition-duration: 1.3s;
}
[data-reveal="d1"] { transition-delay: 0.10s; }
[data-reveal="d2"] { transition-delay: 0.20s; }
[data-reveal="d3"] { transition-delay: 0.30s; }
[data-reveal="d4"] { transition-delay: 0.45s; }
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease,
              border-color 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--crimson); color: #fff;
  border: 1px solid var(--crimson);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  border-color: var(--crimson-dark);
  box-shadow: 0 4px 20px var(--crimson-glow);
}

.btn-outline-gold {
  background: transparent; color: var(--gold-muted);
  border: 1px solid rgba(184,134,11,0.28);
}
.btn-outline-gold:hover {
  color: var(--gold-bright);
  border-color: rgba(184,134,11,0.55);
  background: rgba(184,134,11,0.06);
}

/* ── Layout ─────────────────────────────────────────────── */
section { padding: var(--space-3xl) var(--space-xl); }
/* Defer rendering of off-screen sections — improves LCP & TTI */
section:not(#hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-xl); }

.section-header {
  text-align: center; margin-bottom: var(--space-2xl);
}
.section-header .label { margin-bottom: var(--space-sm); display: block; }
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { max-width: 60ch; margin: 0 auto; color: var(--text-muted); }

/* section heading underline accent */
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--crimson);
  margin: 0.6rem auto 0;
  transition: width 0.6s ease;
}
.section-header h2.is-visible::after { width: 80px; }

.shimmer-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,134,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(192,57,43,0.05) 0%, transparent 50%),
    var(--bg-void);
}

/* ── NAV (scoped to .site-nav to avoid footer nav being fixed) */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem var(--space-xl);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,4,4,0.72) 0%, transparent 100%);
  transition: background 0.35s ease, border-bottom 0.35s ease, padding 0.25s ease;
}
.site-nav.scrolled {
  background: rgba(14,7,7,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  padding: 0.85rem var(--space-xl);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; z-index: 1;
}
.nav-logo-svg { width: 38px; height: 27px; }
.nav-wordmark {
  font-family: var(--font-sacred);
  font-size: 1rem; letter-spacing: 0.22em; color: var(--text-primary);
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-xl);
}
.nav-links a {
  font-family: var(--font-body); font-size: 0.72rem;
  font-weight: 400; letter-spacing: 0.12em;
  color: var(--text-secondary); text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { right: 0; }
.nav-cta { padding: 0.45rem 1.1rem; font-size: 0.68rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; z-index: 1;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: rgba(8,4,4,0.98); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-xl); backdrop-filter: blur(20px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 300; color: var(--text-primary);
  letter-spacing: 0.1em; transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--text-muted);
  cursor: pointer; line-height: 1;
}

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/ambient/ambient-goddess-gold.webp');
  background-size: cover; background-position: center top; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(8,4,4,0.62); z-index: 1;
}
#starCanvas {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-lg); padding: 0 var(--space-xl);
  animation: fadeInUp 1.1s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-mantra {
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.18em; color: var(--gold-muted); text-transform: uppercase;
}
.hero-logo-svg { width: 110px; height: 77px; animation: eyeFlicker 4s infinite; }
.hero-h1 {
  font-family: var(--font-sacred);
  font-size: clamp(2rem, 8vw, 5.5rem);
  letter-spacing: 0.22em; color: var(--text-primary); line-height: 1;
}
.hero-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  color: var(--text-secondary); letter-spacing: 0.05em;
}
.hero-sub {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text-muted); letter-spacing: 0.04em;
}
.hero-ctas {
  display: flex; gap: var(--space-md);
  flex-wrap: wrap; justify-content: center;
  margin-top: var(--space-sm);
}
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
  gap: 4px; color: var(--text-muted);
  animation: scrollBounce 2s infinite ease-in-out;
}
.scroll-cue svg { width: 20px; height: 20px; opacity: 0.4; }

/* ── ABOUT ──────────────────────────────────────────────── */
#about { background: var(--bg-surface); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl); align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-image-wrap { position: relative; }
.about-image-wrap::before {
  content: ''; position: absolute; inset: -10px;
  border: 1px solid var(--border);
  pointer-events: none;
}
.about-image-wrap img {
  width: 100%;
  object-fit: cover; aspect-ratio: 3/4;
  filter: brightness(0.9) saturate(0.85);
}

/* ── About Mystic Art ──────────────────────────────────── */
.about-mystic-art {
  width: 100%; aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  background: #050505;
}
.mystic-svg { width: 100%; height: 100%; display: block; }

.mg-rays {
  opacity: 0.12;
  animation: mgRaysPulse 4.5s ease-in-out infinite;
}
.mg-eye-aura {
  animation: mgAuraPulse 3.2s ease-in-out infinite;
}
.mg-third-glow {
  animation: mgThirdGlowPulse 2.8s ease-in-out infinite 0.6s;
}

@keyframes mgRaysPulse {
  0%, 100% { opacity: 0.08; }
  50%       { opacity: 0.26; }
}
@keyframes mgAuraPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}
@keyframes mgThirdGlowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Particles float upward with staggered delays */
.mg-p1  { animation: mgFloat 8.0s ease-in-out infinite 0.0s; }
.mg-p2  { animation: mgFloat 9.5s ease-in-out infinite 1.4s; }
.mg-p3  { animation: mgFloat 7.2s ease-in-out infinite 0.7s; }
.mg-p4  { animation: mgFloat 10.0s ease-in-out infinite 2.2s; }
.mg-p5  { animation: mgFloat 8.8s ease-in-out infinite 3.0s; }
.mg-p6  { animation: mgFloat 7.6s ease-in-out infinite 0.3s; }
.mg-p7  { animation: mgFloat 9.2s ease-in-out infinite 1.1s; }
.mg-p8  { animation: mgFloat 8.3s ease-in-out infinite 3.9s; }
.mg-p9  { animation: mgFloat 11.0s ease-in-out infinite 1.8s; }
.mg-p10 { animation: mgFloat 8.0s ease-in-out infinite 4.8s; }
.mg-p11 { animation: mgFloat 9.0s ease-in-out infinite 3.4s; }
.mg-p12 { animation: mgFloat 7.8s ease-in-out infinite 5.2s; }
.mg-p13 { animation: mgFloat 10.5s ease-in-out infinite 2.6s; }

@keyframes mgFloat {
  0%   { transform: translateY(0)    scale(1);   opacity: 0;   }
  12%  { opacity: 1; }
  88%  { opacity: 0.5; }
  100% { transform: translateY(-90px) scale(0.4); opacity: 0;  }
}
.about-copy { display: flex; flex-direction: column; gap: var(--space-lg); }
.about-copy h2 { margin-bottom: var(--space-sm); }
.about-copy p { line-height: 1.85; }
.about-credentials {
  display: flex; gap: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border); flex-wrap: wrap;
}
.cred-item { display: flex; flex-direction: column; gap: 2px; }
.cred-number { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold); }
.cred-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.about-blog-link {
  color: var(--gold-muted); font-size: 0.875rem;
  text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s;
  align-self: flex-start;
}
.about-blog-link:hover { color: var(--gold-bright); }

/* ── SERVICES ───────────────────────────────────────────── */
#services { background: var(--bg-void); }
.services-tabs {
  display: flex; gap: var(--space-sm); justify-content: center;
  margin-bottom: var(--space-2xl); flex-wrap: wrap;
}
.tab-btn {
  padding: 0.55rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); background: transparent;
  cursor: pointer; transition: all 0.22s ease;
}
.tab-btn.active {
  background: var(--crimson); color: #fff; border-color: var(--crimson);
}
.tab-btn:hover:not(.active) { border-color: var(--border-hover); color: var(--text-secondary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.services-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-lg);
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg-raised);
  border-top: 2px solid var(--crimson-dark);
  border-right: 1px solid rgba(184,134,11,0.08);
  border-bottom: 1px solid rgba(184,134,11,0.08);
  border-left: 1px solid rgba(184,134,11,0.08);
  padding: var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-md);
  opacity: 0; transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1),
              border-top-color 0.3s,
              box-shadow 0.3s;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--crimson);
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover {
  border-top-color: var(--crimson);
  transform: translateY(-3px) scale(1);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55), 0 0 28px rgba(192,57,43,0.12);
}
.service-card:hover::after { width: 100%; }
.service-card.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* ── Tattoo cards ───────────────────────────────────────── */
.service-card--tattoo {
  justify-content: center; align-items: center; text-align: center;
  background: var(--bg-void);
  border-top-color: var(--crimson);
  gap: var(--space-sm);
}
.tattoo-devanagari {
  font-family: 'Noto Serif Devanagari', 'Mangal', serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold-bright); line-height: 1.5; letter-spacing: 0.02em;
  margin: var(--space-xs) 0;
}
.tattoo-roman {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-muted);
}
.tattoo-meaning {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-primary); line-height: 1.4;
}
.tattoo-divider {
  width: 28px; height: 1px; background: var(--crimson-dark);
  margin: var(--space-xs) auto;
}
.tattoo-context {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.65;
  max-width: 24ch;
}

/* ── Oracle + CTA filler cards ─────────────────────────── */
.service-card--oracle {
  justify-content: center; align-items: center; text-align: center;
  background: var(--bg-void);
  border-top-color: var(--crimson);
  gap: var(--space-lg);
}
.oracle-eye-svg {
  width: 72px; height: 52px; opacity: 0.65;
  animation: eyeFlicker 7s infinite ease-in-out;
}
.oracle-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary); line-height: 1.65;
  max-width: 26ch;
}
.service-card--book-cta {
  background: linear-gradient(145deg, rgba(139,26,26,0.14) 0%, var(--bg-raised) 100%);
  border-top-color: var(--crimson);
  justify-content: center; align-items: center; text-align: center;
  gap: var(--space-md);
}
.book-cta-title {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem) !important;
  color: var(--gold) !important;
}
.book-cta-body {
  font-size: 0.82rem; color: var(--text-muted) !important;
  max-width: 22ch; line-height: 1.65;
}

.service-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.service-category {
  font-size: 0.63rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--crimson);
  font-family: var(--font-body);
}
.service-category svg { display: none; }
.badge-featured {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-muted); border: 1px solid rgba(184,134,11,0.25);
  padding: 2px 8px;
}
.service-card h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold); font-family: var(--font-display); font-weight: 600;
  line-height: 1.3;
}
.service-bullets {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.service-bullets li {
  font-size: 0.845rem; color: var(--text-secondary);
  padding-left: 1rem; position: relative; line-height: 1.5;
}
.service-bullets li::before { content: '·'; position: absolute; left: 0; color: var(--gold-muted); }
.service-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); font-weight: 400; padding-top: var(--space-xs); }
.card-ctas {
  display: flex; flex-direction: column; gap: 6px; margin-top: auto;
}
.card-ctas .btn {
  width: 100%; justify-content: center;
  padding: 0.62rem 1rem; font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.card-ctas .btn svg { display: none; }

.card-ig-link {
  display: block; text-align: center;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-muted); padding: 0.35rem;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s;
}
.card-ig-link:hover { color: var(--gold-bright); }

/* ── Flip Cards ─────────────────────────────────────────── */
.flip-card {
  cursor: pointer; height: 100%;
  opacity: 0; transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.flip-card.revealed { opacity: 1; transform: translateY(0) scale(1); }
.flip-inner {
  position: relative; width: 100%; min-height: 420px; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
}
.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-right: 1px solid rgba(184,134,11,0.08);
  border-bottom: 1px solid rgba(184,134,11,0.08);
  border-left: 1px solid rgba(184,134,11,0.08);
  background: var(--bg-raised);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: var(--space-xl); gap: var(--space-md);
}
.flip-front { border-top: 2px solid var(--gold-muted); }
.flip-back {
  transform: rotateY(180deg);
  background: var(--bg-void);
  border-top: 2px solid var(--crimson);
}
.flip-front-eyes {
  width: 68px; height: 48px; opacity: 0.45;
  animation: eyeFlicker 9s infinite ease-in-out;
}
.flip-front-label {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.flip-front-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-secondary); line-height: 1.55; max-width: 22ch;
}
.flip-hint {
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--crimson-dark); margin-top: var(--space-lg);
  animation: subtlePulse 3s ease-in-out infinite;
}
.flip-back-art { width: 145px; height: 185px; }
.flip-back-caption {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.85rem; color: var(--gold-muted); letter-spacing: 0.04em;
}
@keyframes subtlePulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.95; }
}

/* ── SHOP ───────────────────────────────────────────────── */
#shop { background: var(--bg-surface); }
.shop-subsection { margin-bottom: var(--space-3xl); }
.shop-subsection:last-child { margin-bottom: 0; }
.shop-subsection-header {
  display: flex; align-items: center; gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.shop-subsection-header h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--text-primary); white-space: nowrap; }
.shop-subsection-header::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.products-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.products-grid.baths-grid { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .products-grid.baths-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid.baths-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--bg-raised);
  border-top: 2px solid var(--gold-muted);
  border-right: 1px solid rgba(184,134,11,0.08);
  border-bottom: 1px solid rgba(184,134,11,0.08);
  border-left: 1px solid rgba(184,134,11,0.08);
  overflow: hidden;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1),
              border-top-color 0.3s,
              box-shadow 0.3s;
}
.product-card:hover { border-top-color: var(--gold); transform: translateY(-3px) scale(1); box-shadow: 0 18px 48px rgba(0,0,0,0.55); }
.product-card.revealed { opacity: 1; transform: translateY(0) scale(1); }

.product-image-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 0; left: 0;
  background: var(--crimson); color: #fff;
  font-size: 0.58rem; padding: 4px 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.product-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.product-body h3 { font-size: 1.2rem; color: var(--gold); font-family: var(--font-display); font-weight: 600; }
.product-tagline { font-style: italic; font-family: var(--font-display); font-size: 0.95rem; color: var(--text-secondary); }
.product-benefits { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-benefits li { font-size: 0.8rem; color: var(--text-muted); padding-left: 1rem; position: relative; line-height: 1.5; }
.product-benefits li::before { content: '·'; position: absolute; left: 0; color: var(--gold-muted); }
.product-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-bright); margin-top: var(--space-sm); }
.product-price small { font-family: var(--font-body); font-size: 0.68rem; color: var(--text-muted); margin-left: 4px; }
.product-card .card-ctas { padding: 0 var(--space-lg) var(--space-lg); }
.product-card .card-ctas .btn { padding: 0.6rem 0.75rem; font-size: 0.68rem; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
#how-it-works { background: var(--bg-void); }
.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-2xl);
  max-width: 900px; margin: 0 auto; position: relative;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
  .steps-grid::before {
    content: ''; position: absolute; top: 1.75rem;
    left: 16.66%; right: 16.66%; height: 1px;
    background: linear-gradient(to right, transparent, var(--crimson), transparent);
    opacity: 0.35;
  }
}
.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: var(--space-md);
  opacity: 0; transform: translateY(28px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.step.revealed { opacity: 1; transform: translateY(0) scale(1); }
.step-number {
  width: 52px; height: 52px;
  border: 1px solid var(--border-crimson);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--crimson); background: var(--bg-raised); flex-shrink: 0;
}
.step h3 { font-size: 1.02rem; color: var(--text-primary); }
.step p { font-size: 0.87rem; color: var(--text-muted); }

/* ── TESTIMONIALS ───────────────────────────────────────── */
#testimonials { background: var(--bg-surface); }
.testimonials-inner { max-width: 780px; margin: 0 auto; }
.testimonial-track { overflow: hidden; position: relative; }
.testimonial-slide {
  display: none; text-align: center;
  padding: var(--space-xl) var(--space-md);
  animation: fadeInUp 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.testimonial-slide.active { display: block; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: var(--space-md); }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }
blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  color: var(--text-primary); line-height: 1.8; font-weight: 300;
  margin-bottom: var(--space-lg);
}
.testimonial-author { font-family: var(--font-body); font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.08em; }
.testimonial-author strong { color: var(--gold-muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: var(--space-xl); }
.testimonial-dots button {
  width: 6px; height: 6px;
  background: var(--border); cursor: pointer;
  transition: background 0.2s, transform 0.2s; padding: 0;
}
.testimonial-dots button.active { background: var(--crimson); transform: scale(1.4); }

/* ── FAQ ────────────────────────────────────────────────── */
#faq { background: var(--bg-void); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
details {
  border-bottom: 1px solid var(--border);
  background: transparent; overflow: hidden;
  transition: border-color 0.2s;
}
details:first-child { border-top: 1px solid var(--border); }
details[open] { border-bottom-color: var(--border-crimson); }
summary {
  padding: var(--space-lg) var(--space-md);
  cursor: pointer;
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 600; color: var(--text-primary);
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: var(--space-md);
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 16px; height: 16px; color: var(--gold-muted); flex-shrink: 0; transition: transform 0.3s ease; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--space-md) var(--space-lg); color: var(--text-muted); font-size: 0.92rem; line-height: 1.85; }

/* ── REVIEWS ───────────────────────────────────────────── */
#reviews { background: var(--bg-void); padding: var(--space-3xl) 0; overflow: hidden; }
.reviews-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-intro {
  font-size: 0.9rem; color: var(--text-muted);
  max-width: 500px; margin: var(--space-md) auto 0;
  letter-spacing: 0.04em; line-height: 1.7;
}

/* Gallery strip */
.reviews-gallery { position: relative; overflow: hidden; padding: var(--space-sm) 0; }
.rg-track {
  display: flex; gap: 10px;
  width: max-content;
  will-change: transform;
}
.rg-track--fwd { animation: rgFwd 55s linear infinite; }
.rg-track--rev { animation: rgRev 55s linear infinite; }
.rg-track:hover { animation-play-state: paused; }

@keyframes rgFwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes rgRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.rg-item {
  display: block; flex-shrink: 0;
  width: 135px;
  border: 1px solid rgba(184,134,11,0.12);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.rg-item img {
  width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 9/20;
  display: block;
  filter: brightness(0.92) saturate(0.9);
  transition: filter 0.3s, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.rg-item:hover { border-color: rgba(184,134,11,0.55); box-shadow: 0 0 18px rgba(184,134,11,0.18); }
.rg-item:hover img { filter: brightness(1) saturate(1); transform: scale(1.04); }

/* Golden shimmer line */
.rg-gold-line {
  position: relative; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,134,11,0.15) 20%, rgba(212,160,23,0.5) 50%, rgba(184,134,11,0.15) 80%, transparent 100%);
  margin: var(--space-sm) 0;
  overflow: hidden;
}
.rg-gold-line span {
  position: absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.9), transparent);
  animation: goldSweep 3.5s ease-in-out infinite;
}
@keyframes goldSweep {
  0%   { left: -40%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

/* Text testimonials grid */
.reviews-quotes { padding: var(--space-2xl) 0; }
.rq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 640px)  { .rq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rq-grid { grid-template-columns: repeat(3, 1fr); } }

.rq-card {
  background: var(--bg-raised);
  border-top: 2px solid var(--crimson-dark);
  border-left: none;
  padding: var(--space-xl) var(--space-lg);
  margin: 0;
  display: flex; flex-direction: column; gap: var(--space-md);
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.rq-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.rq-icon {
  width: 22px; height: 16px;
  color: var(--crimson-dark); opacity: 0.6; flex-shrink: 0;
}
.rq-card p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text-secondary); line-height: 1.8;
  margin: 0;
}

.reviews-footer { text-align: center; padding-top: var(--space-2xl); }

/* Lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,3,3,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-img {
  max-width: min(420px, 90vw);
  max-height: 90svh;
  object-fit: contain;
  border: 1px solid rgba(184,134,11,0.2);
  display: block;
}
.lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-size: 2rem; line-height: 1; color: var(--text-muted);
  cursor: pointer; background: none; border: none;
  transition: color 0.2s;
}
.lb-close:hover { color: var(--gold-bright); }

/* ── CTA SECTION ────────────────────────────────────────── */
#contact { background: var(--shimmer-bg); }
.contact-inner {
  max-width: 640px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-lg);
}
.contact-inner h2 { font-style: italic; }
.contact-inner p { max-width: 52ch; color: var(--text-muted); }
.contact-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; justify-content: center; }
.contact-ctas .btn { padding: 0.85rem 2rem; font-size: 0.72rem; }
.contact-note { font-size: 0.76rem; color: var(--text-muted); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--bg-surface); border-top: 1px solid var(--border);
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  text-align: center;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-xl);
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); }
.footer-logo-svg { width: 34px; height: 24px; }
.footer-wordmark { font-family: var(--font-sacred); font-size: 1rem; letter-spacing: 0.28em; }
.footer-tagline { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em; }
.footer-links { display: flex; gap: var(--space-xl); flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: var(--space-lg); align-items: center; }
.footer-social a { color: var(--text-muted); transition: color 0.2s; display: flex; align-items: center; gap: 6px; font-size: 0.82rem; }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-copy { font-size: 0.72rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: var(--space-lg); width: 100%; }
.footer-disclaimer { font-size: 0.66rem; color: #3a3a3a; margin-top: var(--space-sm); max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ── FLOATING WHATSAPP ──────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000;
  display: flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: #fff;
  padding: 0.7rem 1.2rem 0.7rem 0.9rem;
  border-radius: 0;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  animation: floatingWhatsApp 3.5s infinite ease-in-out;
  transition: box-shadow 0.2s;
}
.wa-float:hover { box-shadow: 0 8px 28px rgba(37,211,102,0.45); animation-play-state: paused; }
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes eyeFlicker {
  0%, 100% { opacity: 1; }
  45%       { opacity: 0.72; }
  50%       { opacity: 0.88; }
  55%       { opacity: 0.68; }
}
@keyframes floatingWhatsApp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 80px; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── RESPONSIVE — Tablet (≤1023px) ─────────────────────── */
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-image-wrap { max-width: 420px; margin: 0 auto; }
  section { padding: var(--space-2xl) var(--space-xl); }
}

/* ── RESPONSIVE — Mobile (≤639px) ──────────────────────── */
@media (max-width: 639px) {
  section { padding: var(--space-2xl) var(--space-md); }
  .container { padding: 0 var(--space-md); }

  .site-nav { padding: 0.9rem var(--space-md); }
  .site-nav.scrolled { padding: 0.7rem var(--space-md); }

  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.3rem); }

  .hero-content { gap: var(--space-md); padding: 0 var(--space-md); }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 0.85rem 1rem; }

  .about-grid { gap: var(--space-xl); }
  .about-image-wrap { max-width: 100%; }
  .about-image-wrap::before { inset: -6px; }
  .about-credentials { gap: var(--space-lg); }

  .services-tabs { gap: var(--space-xs); }
  .tab-btn { padding: 0.5rem 1rem; font-size: 0.65rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: var(--space-lg); }
  .card-ctas { flex-direction: column; }
  .card-ctas .btn { width: 100%; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid.baths-grid { grid-template-columns: 1fr; }
  .product-card .card-ctas { flex-direction: column; }
  .product-card .card-ctas .btn { width: 100%; }

  .steps-grid { gap: var(--space-xl); }
  .step-number { width: 44px; height: 44px; font-size: 1.2rem; }

  .testimonial-slide { padding: var(--space-lg) 0; }
  blockquote { font-size: clamp(0.95rem, 4vw, 1.2rem); }

  .faq-list { gap: 0; }
  summary { padding: var(--space-md); font-size: 0.95rem; }
  .faq-answer { padding: 0 var(--space-md) var(--space-md); }

  .contact-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .contact-ctas .btn { width: 100%; justify-content: center; }

  .footer-links { gap: var(--space-lg); }
  .footer-social { gap: var(--space-md); }

  .wa-float span { display: none; }
  .wa-float { padding: 0.9rem; }
}
