/* Lacquery Nails — Editorial Luxury */

:root {
  --plum-deepest: #020049;
  --plum-deep: oklch(0.28 0.14 275);
  --plum: oklch(0.40 0.16 275);
  --plum-soft: oklch(0.62 0.10 275);
  --plum-mist: oklch(0.92 0.02 275);
  --gold: oklch(0.78 0.13 85);
  --gold-deep: oklch(0.66 0.13 70);
  --gold-soft: oklch(0.88 0.06 85);
  --ivory: oklch(0.985 0.006 90);
  --ivory-warm: oklch(0.96 0.01 80);
  --ink: #020049;
  --muted: oklch(0.50 0.04 275);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-script: 'Italianno', 'Cormorant Garamond', cursive;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;

  --shadow-soft: 0 8px 32px -12px oklch(0.20 0.18 280 / 0.18);
  --shadow-lift: 0 20px 60px -20px oklch(0.20 0.18 280 / 0.32);
}

/* ── DARK MODE ──────────────────────────────
   Inverts surface tokens so the navy brand color becomes the
   dominant background and ivory becomes text/cards. Most rules
   use these tokens, so they flip automatically. */
:root[data-theme="dark"] {
  --ivory: #020049;
  --ivory-warm: oklch(0.26 0.16 280);
  --ink: oklch(0.985 0.006 90);
  --muted: oklch(0.78 0.04 280);
  --plum-deepest: oklch(0.985 0.006 90);
  --plum-deep: oklch(0.92 0.02 90);
  --plum: oklch(0.86 0.04 85);
  --plum-soft: oklch(0.70 0.08 85);
  --plum-mist: oklch(1 0 0 / 0.14);

  --shadow-soft: 0 8px 32px -12px oklch(0 0 0 / 0.4);
  --shadow-lift: 0 20px 60px -20px oklch(0 0 0 / 0.6);
}
/* Header glass — re-tint for dark backdrop */
:root[data-theme="dark"] .header { background: oklch(0.18 0.16 280 / 0.85) !important; }
/* Footer in dark mode — flip to an ivory band so it stays distinct from page */
:root[data-theme="dark"] .footer { background: oklch(0.985 0.006 90); color: #020049; }
:root[data-theme="dark"] .footer * { color: inherit; }
:root[data-theme="dark"] .footer .footer-tag em,
:root[data-theme="dark"] .footer a:hover { color: oklch(0.66 0.13 70); }
/* Bestseller pill expects dark bg → swap to gold-on-navy in dark */
:root[data-theme="dark"] .shop-card-tag.tag-bestseller { background: var(--gold); color: #020049; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  text-wrap: pretty;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 0.9;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Inline script accent — used across all pages */
.script-inline {
  font-family: var(--font-script);
  color: var(--gold-deep);
  font-size: 1.4em;
  line-height: 0.7;
  font-weight: 400;
  display: inline-block;
  vertical-align: -0.1em;
}

/* ── LAYOUT ─────────────────────────────────── */
.page { min-height: 100vh; background: var(--ivory); }
.shell { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .shell { padding: 0 48px; } }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--plum-deepest);
  color: var(--ivory);
  border: 1px solid var(--plum-deepest);
}
.btn-primary:hover {
  background: var(--plum);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--plum-deepest);
  border: 1px solid var(--gold-deep);
  font-weight: 600;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  color: var(--plum-deepest);
  border: 1px solid var(--plum-deepest);
}
.btn-ghost:hover { background: var(--plum-deepest); color: var(--ivory); }
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 1px solid #1da851;
}
.btn-whatsapp:hover { background: #1da851; }

/* ── PLACEHOLDER IMAGE ──────────────────────── */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--plum-mist) 0px,
      var(--plum-mist) 14px,
      var(--ivory-warm) 14px,
      var(--ivory-warm) 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph.loaded::after { display: none !important; content: none !important; }
.ph { transition: background-image 0.3s ease; }
.ph::after {
  content: attr(data-label);
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--ivory);
  padding: 6px 12px;
  border: 1px solid var(--plum-mist);
  text-align: center;
  max-width: 80%;
}

/* ── GOLD HAIRLINE FRAME ────────────────────── */
.gold-frame {
  position: relative;
  padding: 12px;
}
.gold-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.gold-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  pointer-events: none;
}

/* ── HEADER ─────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.985 0.006 90 / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--plum-mist);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 1; min-width: 0; overflow: hidden; }
.header-logo img { height: 44px; width: auto; max-width: 200px; }
@media (max-width: 600px) {
  .header-logo img { height: 34px; max-width: 140px; }
}
.header-logo .name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--plum-deepest);
}
.header-logo .name em {
  font-family: var(--font-script);
  font-size: 30px;
  font-style: normal;
  color: var(--gold-deep);
  margin-right: 2px;
}
.header-nav { display: none; gap: 36px; }
@media (min-width: 900px) { .header-nav { display: flex; } }
.header-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.header-nav a.active { color: var(--plum-deepest); }
.header-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.header-nav a:hover { color: var(--plum); }
.header-cta-mobile { display: block; }
.header-cta-desktop { display: none; }
@media (min-width: 900px) {
  .header-cta-mobile { display: none; }
  .header-cta-desktop { display: inline-flex; }
}
.menu-btn {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--plum-mist);
  border-radius: 2px;
  background: transparent;
  color: var(--plum-deepest);
  cursor: pointer;
}
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Mobile-only compact Book CTA between logo and hamburger */
.header-book-mobile {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 34px;
  padding: 0 13px;
  margin-left: auto;
  margin-right: 8px;
  background: var(--plum-deepest);
  color: var(--ivory);
  border-radius: 2px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(2,0,73,0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.header-book-mobile:active { transform: scale(0.96); }
@media (min-width: 900px) { .header-book-mobile { display: none; } }
@media (max-width: 380px) {
  .header-book-mobile { padding: 0 9px; font-size: 9px; letter-spacing: 0.1em; height: 30px; margin-right: 6px; }
}

/* mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--ivory);
  z-index: 40;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--plum-deepest);
  padding: 12px 0;
  border-bottom: 1px solid var(--plum-mist);
}
/* Restore proper button styling for the in-menu Book CTA */
.mobile-menu a.btn {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 16px 24px;
  border: 1px solid var(--plum-deepest);
  text-align: center;
  white-space: normal;
  border-bottom: 1px solid var(--plum-deepest);
  color: var(--ivory);
  background: var(--plum-deepest);
}
.mobile-menu a.btn:hover { color: var(--ivory); background: var(--plum); }

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--plum-deepest);
  color: var(--ivory);
  padding: 80px 0 32px;
  margin-top: 120px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 56px; } }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
@media (min-width: 768px) { .footer h4 { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 20px; } }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer ul li { font-size: 12px; }
.footer ul a, .footer p { font-size: 12px; color: oklch(0.85 0.02 320); line-height: 1.55; }
@media (min-width: 768px) {
  .footer ul { gap: 10px; }
  .footer ul li { font-size: 14px; }
  .footer ul a, .footer p { font-size: 14px; line-height: 1.7; }
}
.footer ul a:hover { color: var(--gold); }
.footer-logo {
  display: flex; flex-direction: column; gap: 16px;
}
.footer-logo img { height: 56px; width: auto; max-width: 240px; }
.footer-tag {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory);
  line-height: 1.3;
}
.footer-tag em {
  font-family: var(--font-script);
  font-size: 36px;
  font-style: normal;
  color: var(--gold);
}
.footer-map {
  height: 180px;
  border: 1px solid var(--gold);
  background:
    repeating-linear-gradient(45deg, oklch(0.30 0.14 275), oklch(0.30 0.14 275) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(-45deg, oklch(0.30 0.14 275), oklch(0.30 0.14 275) 1px, transparent 1px, transparent 12px),
    var(--plum-deep);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.footer-map .pin {
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px oklch(0.78 0.13 85 / 0.3), 0 0 0 12px oklch(0.78 0.13 85 / 0.15);
}
.footer-map .pin-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -160%);
  background: var(--gold);
  color: var(--plum-deepest);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.4 0.06 320);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: oklch(0.7 0.03 320);
  letter-spacing: 0.1em;
}
@media (min-width: 600px) { .footer-bottom { flex-direction: row; } }

/* ── SECTION CHROME ────────────────────────── */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section-head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.section-head .script-accent {
  font-family: var(--font-script);
  font-size: 56px;
  color: var(--gold-deep);
  line-height: 0.8;
}
.section-head .display {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--plum-deepest);
  max-width: 720px;
}
.section-head p {
  color: var(--muted);
  max-width: 540px;
  font-size: 15px;
  margin-top: 10px;
}

/* ── DIVIDER ─────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 12px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ── SCROLLBAR HIDE ────────────────────────── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* =============================================================================
   SCROLL REVEAL + MOTION
   ============================================================================= */
[data-reveal], .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
[data-reveal].in-view, .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* Subtle hero glow drift — pure CSS, no JS */
.hero-photo {
  animation: lq-drift 14s ease-in-out infinite alternate;
}
@keyframes lq-drift {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-6px) scale(1.012); }
}

/* Service card lift on hover/focus + entrance */
.service-card {
  transition: background 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2,0,73,0.06);
  z-index: 2;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photo { animation: none; }
  .service-card { transition: background 0.2s; }
  .service-card:hover { transform: none; }
}
