/* =========================================================
   942NAILS — DESIGN TOKENS (Dusty Rose Studio theme)
   Palette: near-black base, desaturated blush rose accents.
   Display face: Fraunces · Body: Work Sans · Utility: Space Mono
========================================================= */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --surface-2: #1a1416;
  --ink: #FAF5F6;
  --ink-soft: #d4b8bc;
  --ink-faint: #8a6a70;

  /* Dusty rose accent palette (from brand reference) */
  --accent: #a76f77;           /* Mid-tone rose */
  --accent-2: #e298a1;         /* Light highlight */
  --accent-dark: #6a464c;      /* Deep rose shadow */
  --accent-soft: rgba(226, 152, 161, 0.14);

  --white: #FFFFFF;
  --line: rgba(226, 152, 161, 0.12);
  --line-strong: rgba(226, 152, 161, 0.28);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.6);
  --glow-sm: 0 0 18px rgba(226, 152, 161, 0.28);
  --glow-md: 0 0 40px rgba(167, 111, 119, 0.32);
  --radius-nail: 22px 22px 8px 8px;
  --radius-sm: 10px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-accent: 'Akira Expanded', 'Archivo Black', var(--font-body), sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------
   ACCENT DISPLAY FACE — hero title + "942Nails.ph" about heading
   Akira Expanded (by Typologic) is a paid commercial font — it
   isn't something that can be auto-downloaded or hosted here.
   To use the real thing: buy it (e.g. via Creative Market /
   MasterBundles), then drop the woff2 (and ideally otf) files
   into a "fonts" folder next to this stylesheet using the exact
   filenames below. The @font-face will pick it up automatically
   and --font-accent will start using it with no further changes.
   Until then, both headings fall back to Archivo Black (free,
   loaded via the Google Fonts link in index.html) which has a
   similarly bold, blocky feel.
--------------------------------------------------------- */
@font-face {
  font-family: 'Akira Expanded';
  src: url('fonts/AkiraExpanded-Bold.woff2') format('woff2'),
       url('fonts/AkiraExpanded-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Force any element with the 'hidden' attribute to be hidden, overriding flex/grid */
[hidden] {
  display: none !important;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 111, 119, 0.35) transparent;
}
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb {
  background: rgba(167, 111, 119, 0.35);
  border-radius: 3px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  background-image: var(--noise),
    radial-gradient(ellipse 90% 70% at 50% 18%, rgba(167, 111, 119, 0.28) 0%, transparent 72%),
    linear-gradient(180deg, #2b1d1f 0%, #161012 42%, #0a0a0a 100%);
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 140px 140px, 100% 100%, 100% 100%;
  background-position: center, center, center;
  mix-blend-mode: normal;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; }
p { margin: 0 0 1em; line-height: 1.65; color: var(--ink-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* =========================================================
   GLOW CURSOR — soft trailing dot + ring, replaces the
   system cursor on precision pointers. Signature touch, kept
   off on admin (needs a precise native cursor for the table).
   html.cursor-fx is only added by JS once it's actually running,
   so we never hide the cursor unless the effect is live.
========================================================= */
.n942-cursor-dot, .n942-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-100px, -100px);
  opacity: 0;
  transition: opacity 0.25s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.n942-cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(226, 152, 161, 0.75), 0 0 22px rgba(167, 111, 119, 0.4);
}
.n942-cursor-ring {
  width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 1px solid var(--line-strong);
}
.n942-cursor-ring.hover {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-color: var(--accent);
  background: var(--accent-soft);
}
.n942-cursor-ring.active { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
html.cursor-fx .n942-cursor-dot,
html.cursor-fx .n942-cursor-ring { opacity: 1; }
html.cursor-fx, html.cursor-fx * { cursor: none !important; }

#mainContent { position: relative; z-index: 1; overflow-x: clip; max-width: 100%; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}
.eyebrow-light { color: var(--accent-2); }
.section-title { font-family: var(--font-accent); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; color: var(--ink); }
.section-lead { max-width: 560px; margin-bottom: 36px; }

.section { padding: 96px 0; position: relative; z-index: 1; }

/* Reveal-on-scroll (used for section headers, about, faq) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* =========================================================
   BUTTONS — asymmetric "nail tip" radius as recurring signature
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-2)); color: #fff; box-shadow: var(--glow-sm);
  position: relative; overflow: hidden;
}
.btn-accent::before {
  content: '';
  position: absolute; top: 0; left: -75%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}
.btn-accent:hover::before { left: 130%; }
.btn-accent:hover { box-shadow: var(--glow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow-sm); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =========================================================
   SCROLL PROGRESS BAR — thin fixed bar at the very top of the
   viewport; fills left-to-right as the page is scrolled.
========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: var(--glow-sm);
  transition: width 0.12s ease-out;
}

/* =========================================================
   HEADER / NAV
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(43, 29, 31, 0.94) 0%, rgba(18, 12, 14, 0.92) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 152, 161, 0.22);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 8, 9, 0.96);
  border-bottom-color: rgba(226, 152, 161, 0.32);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner { padding: 9px 24px; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); }
.logo-word { font-family: var(--font-accent); font-weight: 600; font-size: 20px; letter-spacing: 0.01em; color: var(--ink); }
.logo-word small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); display: block; letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 30px; }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

/* "square" book-now CTA, distinct from the nail-tip shape used elsewhere */
#headerBookBtn, #mobileBookBtn {
  border-radius: 8px;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(18, 12, 14, 0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; top: -12%; left: 0; right: 0; height: 124%;
  background-size: cover; background-position: center;
  background-color: #2b1d1f;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 9, 0.4) 0%, rgba(10, 8, 9, 0.62) 55%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(circle at 25% 20%, rgba(167, 111, 119, 0.32) 0%, rgba(10, 8, 9, 0) 55%);
}
.hero-content {
  position: relative; z-index: 2; padding: 120px 24px 90px; max-width: 640px;
  animation: heroRise 0.9s ease both;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px; background: rgba(255,255,255,0.9); }
.hero-title {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(38px, 6vw, 60px); line-height: 1.08; margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(167, 111, 119, 0.3);
  position: relative; overflow: hidden;
}
.hero-sub { color: rgba(255,255,255,0.82); max-width: 480px; font-size: 16.5px; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating glow orbs — ambient depth behind the hero copy */
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: transform; }
.hero-orb { position: absolute; }
.hero-orb span { display: block; border-radius: 50%; filter: blur(60px); animation: orbFloat linear infinite alternate; }
.hero-orb-1 { top: 8%; left: 4%; width: 280px; height: 280px; }
.hero-orb-1 span { width: 100%; height: 100%; background: radial-gradient(circle, rgba(167, 111, 119, 0.5), transparent 70%); animation-duration: 9s; }
.hero-orb-2 { top: 50%; right: 2%; width: 230px; height: 230px; }
.hero-orb-2 span { width: 100%; height: 100%; background: radial-gradient(circle, rgba(226, 152, 161, 0.38), transparent 70%); animation-duration: 12s; animation-delay: -3s; }
.hero-orb-3 { bottom: -6%; left: 34%; width: 200px; height: 200px; }
.hero-orb-3 span { width: 100%; height: 100%; background: radial-gradient(circle, rgba(106, 70, 76, 0.45), transparent 70%); animation-duration: 14s; animation-delay: -6s; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(22px, -26px) scale(1.1); }
}

/* Wet-gloss shine sweep — the site's signature motion, tied to
   a nail's top coat catching light. Hero title shimmers on a
   loop; section titles get a single sweep the moment they reveal. */
.hero-title::after, .section-title::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.65) 50%, transparent 65%);
  mix-blend-mode: overlay;
  transform: translateX(-120%) skewX(-15deg);
  pointer-events: none;
}
.hero-title::after { animation: shineIdle 6.5s ease-in-out 1.3s infinite; }
.section-title { position: relative; overflow: hidden; }
.reveal.revealed .section-title::after { animation: shineSweep 1.3s ease 0.15s 1 both; }

@keyframes shineSweep {
  0% { transform: translateX(-120%) skewX(-15deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateX(160%) skewX(-15deg); opacity: 0; }
}
@keyframes shineIdle {
  0%, 82% { transform: translateX(-120%) skewX(-15deg); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: translateX(160%) skewX(-15deg); opacity: 0; }
}

.swatch-strip { position: absolute; bottom: 0; left: 0; right: 0; display: flex; z-index: 2; }
.swatch-strip span { flex: 1; height: 6px; }
.swatch-strip span:nth-child(1) { background: #6a464c; }
.swatch-strip span:nth-child(2) { background: #a76f77; }
.swatch-strip span:nth-child(3) { background: #e298a1; }
.swatch-strip span:nth-child(4) { background: #2b1d1f; }
.swatch-strip span:nth-child(5) { background: #8a5a62; }
.swatch-strip span:nth-child(6) { background: #121010; }
.swatch-strip span:nth-child(7) { background: #d4b8bc; }
.swatch-strip span:nth-child(8) { background: #4a3135; }

/* =========================================================
   SERVICES
========================================================= */
.service-group { margin-bottom: 48px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.service-group-title { font-size: 20px; color: var(--ink); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  background: linear-gradient(165deg, rgba(26, 20, 22, 0.98) 0%, var(--surface) 55%, #0f0d0e 100%);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(226, 152, 161, 0.14);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.25s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.service-card.revealed { opacity: 1; transform: translateY(0); }
.service-card:hover {
  box-shadow: var(--glow-md);
  transform: translateY(-4px);
  border-color: rgba(226, 152, 161, 0.42);
  transition-delay: 0s;
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4 / 3; /* This replaces height: 170px for responsive scaling */
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
}
.service-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card-body h4 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); }
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  background: var(--accent-soft);
  color: var(--accent-2);
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}
.service-desc { font-size: 14px; flex: 1; }
.price { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--ink); margin: 4px 0 10px; }

/* =========================================================
   GALLERY — dual-row infinite marquee + lightbox
========================================================= */
.gallery-section { overflow: hidden; overflow-x: clip; }

.gallery-marquee {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  max-width: 100%;
}

.gallery-marquee-row {
  overflow: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  contain: layout paint;
}

.gallery-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  /* No pointer events while sliding. While the track is moving under a
     stationary cursor, the browser has to re-hit-test :hover on every
     item that passes under the pointer, every frame — that per-frame
     hit-test (not the pause itself) is what caused the hover lag.
     Turning pointer-events off while animating skips that entirely;
     it's switched back on below, only once the row is actually
     hovered and the track has stopped moving. */
  pointer-events: none;
}

.gallery-marquee-row--left .gallery-marquee-track {
  animation: gallery-marquee-left var(--marquee-duration, 48s) linear infinite;
}

.gallery-marquee-row--right .gallery-marquee-track {
  animation: gallery-marquee-right var(--marquee-duration, 54s) linear infinite;
}

.gallery-marquee-row:hover .gallery-marquee-track {
  animation-play-state: paused;
  pointer-events: auto;
}

@keyframes gallery-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes gallery-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.gallery-item {
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 240px);
  height: clamp(220px, 22vw, 300px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--surface-2);
  cursor: pointer;
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease, box-shadow 0.3s ease;
}

.gallery-item.revealed { opacity: 1; transform: translateY(0) scale(1); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(226, 152, 161, 0.32) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item.revealed:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-md);
  z-index: 2;
  transition-delay: 0s;
}

.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex; opacity: 0; visibility: hidden;
  align-items: center; justify-content: center;
  padding: 40px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 90vw; border-radius: 10px; transform: scale(0.92); transition: transform 0.3s ease; box-shadow: var(--glow-md); }
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: #fff; font-size: 34px; line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 18, 20, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(43, 29, 31, 0.95);
  box-shadow: var(--glow-sm);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =========================================================
   ABOUT
========================================================= */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-img {
  min-height: 420px; border-radius: 24px; background-size: cover; background-position: center;
  background-color: var(--surface-2); border: 1px solid var(--line); will-change: transform;
}
.about-copy .section-title {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* =========================================================
   FAQ
========================================================= */
.faq-section .container { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.faq-item.revealed { opacity: 1; transform: translateY(0); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-icon { font-family: var(--font-mono); color: var(--accent); font-size: 20px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; margin: 0; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer { background: #050404; color: rgba(255,255,255,0.85); padding: 56px 0 28px; margin-top: 40px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.5); margin: 6px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14.5px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { width: 100%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.4); }
.admin-link { color: rgba(255,255,255,0.3); font-size: 12px; }
.admin-link:hover { color: var(--accent); }

/* =========================================================
   BOOKING — full page (book.html)
========================================================= */
.book-page-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1140px; margin: 0 auto;
  position: relative; z-index: 1;
}
.booking-page-wrap {
  position: relative; z-index: 1;
  min-height: calc(100vh - 72px);
  padding: 20px 24px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.booking-page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.booking-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.booking-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.booking-progress span.done { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.booking-step { display: none; }
.booking-step.active { display: block; animation: stepFade 0.35s ease; }
.booking-step h3 { font-size: 24px; margin-bottom: 16px; line-height: 1.3; color: var(--ink); }
@keyframes stepFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.choice-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14.5px; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.choice-card i { font-size: 22px; color: var(--accent); }
.choice-card:hover { border-color: var(--accent); box-shadow: var(--glow-sm); transform: translateY(-2px); }

.booking-form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.booking-form label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.booking-form input {
  font-family: var(--font-body);
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-2);
}
.booking-form input::placeholder { color: var(--ink-faint); }
.booking-form input:focus { border-color: var(--accent); }

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.form-actions .btn-accent { flex: 1; }

.step-hint { font-size: 13.5px; color: var(--ink-faint); margin-top: -8px; margin-bottom: 4px; }

/* Policy agreement checkbox (new/returning client forms) */
.policy-check { display: flex; flex-direction: column; gap: 12px; }
.policy-check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer;
}
.policy-check-label input[type="checkbox"] {
  margin-top: 2px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent);
}
.policy-panel {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; animation: stepFade 0.3s ease;
}
.policy-panel .policy-img { width: 100%; border-radius: 8px; display: block; }

.service-pick-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; max-height: 380px; overflow-y: auto; }
.service-pick-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  text-align: left; background: var(--surface-2); transition: border-color 0.15s ease;
}
.service-pick-item:hover { border-color: var(--accent); box-shadow: var(--glow-sm); }
.service-pick-item .spi-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.service-pick-item .spi-price { font-family: var(--font-mono); font-weight: 700; color: var(--accent-2); }

/* Calendar (shared: booking page + admin) */
.calendar-wrap { margin-top: 8px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.cal-nav { background: var(--surface-2); border: 1px solid var(--line); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; color: var(--ink); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.calendar-grid .cal-dow { font-size: 11px; color: var(--ink-faint); font-weight: 600; padding-bottom: 4px; }
.calendar-grid .cal-day {
  padding: 8px 0; border-radius: 10px; font-size: 13.5px; border: 1px solid transparent; background: none; color: var(--ink-soft);
}
.calendar-grid .cal-day.has-slots { font-weight: 700; color: var(--accent-2); box-shadow: inset 0 -3px 0 var(--accent); }
.calendar-grid .cal-day.selected { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: none; }
.calendar-grid .cal-day.disabled { color: rgba(255,255,255,0.15); pointer-events: none; }
.calendar-grid .cal-day.empty { visibility: hidden; }

.slot-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.slot-btn { border: 1px solid var(--line-strong); background: var(--surface-2); padding: 10px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.slot-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.slot-btn.selected { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
.slot-empty { color: var(--ink-faint); font-size: 14px; padding: 6px 0; }

.payment-summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 6px 0 16px; font-size: 14.5px; }
.payment-summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.payment-summary div span:first-child { color: var(--ink-faint); }
.payment-summary div span:last-child { font-weight: 600; color: var(--ink); }

.payment-instructions p { font-size: 13.5px; margin-bottom: 8px; }
.receipt-preview-wrap { margin-top: 4px; }
.receipt-preview-wrap img { max-height: 160px; border-radius: 10px; border: 1px solid var(--line); }
.upload-error { color: var(--accent-2); font-size: 13px; }

.confirm-check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
  box-shadow: var(--glow-sm);
}

/* =========================================================
   ADMIN (admin.html)
========================================================= */
.admin-login { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login-card { max-width: 380px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-md); }
.admin-note { font-size: 13.5px; margin-bottom: 20px; }
.admin-login-card form { display: flex; flex-direction: column; gap: 14px; }
.admin-login-card label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.admin-login-card input { padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font-size: 15px; background: var(--surface-2); color: var(--ink); }
.back-to-site { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--ink-faint); }
.back-to-site:hover { color: var(--accent); }

.admin-dashboard { position: relative; z-index: 1; min-height: 100vh; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 32px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
  flex-wrap: wrap;
}
.admin-tabs { display: flex; gap: 6px; background: var(--bg); padding: 4px; border-radius: 12px; }
.admin-tab-btn { background: none; border: none; padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.admin-tab-btn.active { background: var(--surface-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.admin-header-actions { display: flex; align-items: center; gap: 16px; }

.admin-panel { padding: 32px; max-width: 1140px; margin: 0 auto; }
.admin-panel-head { margin-bottom: 22px; }
.admin-panel-head h2 { font-size: 24px; margin-bottom: 6px; color: var(--ink); }

.bookings-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
.bookings-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.bookings-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bookings-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; color: var(--ink-soft); }
.bookings-table tr:last-child td { border-bottom: none; }
.receipt-thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 1px solid var(--line); }
.status-select { border: 1px solid var(--line-strong); border-radius: 20px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink); }
.empty-state { text-align: center; padding: 40px; color: var(--ink-faint); }

.admin-slots-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.admin-slot-editor h3 { font-size: 16px; margin-bottom: 14px; color: var(--ink); }
.admin-slot-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.admin-slot-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font-size: 14px; color: var(--ink-soft); }
.admin-slot-row.booked { background: var(--accent-soft); }
.admin-slot-row .slot-status { font-size: 11px; color: var(--ink-faint); font-family: var(--font-mono); text-transform: uppercase; }
.remove-slot-btn { background: none; border: none; color: var(--ink-faint); font-size: 18px; line-height: 1; }
.remove-slot-btn:hover { color: var(--accent); }
.add-slot-form { display: flex; gap: 8px; }
.add-slot-form input { flex: 1; padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font-size: 14px; background: var(--surface-2); color: var(--ink); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); padding: 12px 22px; border-radius: 30px; font-size: 14px; z-index: 900;
  box-shadow: var(--glow-sm);
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .gallery-item, .gallery-marquee-track, .service-card, .faq-item, .hero-content, .booking-step.active { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .gallery-marquee-row { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .gallery-marquee { -webkit-mask-image: none; mask-image: none; }
  .hero-bg, .about-img, .hero-orbs { transform: none !important; }
  .hero-orb span, .hero-title::after, .section-title::after, .btn-accent::before { animation: none !important; display: none !important; }
  .n942-cursor-dot, .n942-cursor-ring { display: none !important; }
  html.cursor-fx, html.cursor-fx * { cursor: auto !important; }
}

/* Cursor effect needs a fine, hover-capable pointer — never hide
   the system cursor on touch/coarse devices even if JS misfires */
@media (hover: none), (pointer: coarse) {
  .n942-cursor-dot, .n942-cursor-ring { display: none !important; }
  html.cursor-fx, html.cursor-fx * { cursor: auto !important; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { min-height: 280px; }
  .admin-slots-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-item { width: 160px; height: 200px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .section { padding: 64px 0; }
  .hero { min-height: 94vh; }
  .hero-content { padding: 100px 20px 70px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .admin-header { padding: 14px 18px; }
  .admin-panel { padding: 20px; }
  .choice-grid { grid-template-columns: 1fr; }
  .booking-page-card { padding: 30px 22px; border-radius: 22px; }
}

/* Fix for stretched Hero emblem/avatar */
.hero-badge img,
.hero-avatar img,
.hero img,
.badge img {
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

/* Fix for stretched Navbar Logo */
.brand img,
.nav-logo img,
.logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Price Highlight Badge */
.price-badge-wrap {
  margin: 12px 0;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* Keeps neat spacing between label and price */
  font-family: var(--font-mono);
  font-size: 13px; /* Slightly smaller for the "Base price:" label */
  font-weight: 500;
  color: var(--ink-soft); 
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(226, 152, 161, 0.28);
  box-shadow: 0 0 12px rgba(226, 152, 161, 0.18);
}

/* Color and size for the actual price number (e.g. ₱999) */
.price-badge .price-value {
  color: #FFFFFF; /* Bright contrast */
  font-size: 18px; /* Bigger font size for the price */
  font-weight: 700;
}

/* Make sure hero acts as the positioning anchor */
.hero {
  position: relative; 
  /* keep your existing flex/padding properties here */
}

/* Absolute position for the note at the very bottom */
.hero-note {
  position: absolute;
  bottom: 24px; /* Adjust spacing from the bottom edge */
  left: 50%;
  transform: translateX(-50%); /* Centers it horizontally */
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  opacity: 0.8;
  text-transform: uppercase;
  margin: 0;
  pointer-events: none; /* Prevents blocking clicks underneath */
}

.footer-dedicated {
  font-size: 14px;
}

/* Hide image boxes specifically for the Removals section */
#grid-removals .service-card-img {
  display: none;
}

/* Adjust navbar and 'Book Now' button for mobile screens */
@media (max-width: 720px) {
  #headerBookBtn {
    padding: 7px 14px; /* Reduces button height and width */
    font-size: 13px;   /* Fits comfortably on smaller screens */
  }

  .header-inner {
    padding: 10px 16px; /* Adds extra breathing room inside the header */
  }

  .header-actions {
    gap: 10px; /* Adjusts spacing between the button and hamburger icon */
  }
}

/* =========================================================
   POLICY POPUP MODAL
========================================================= */
.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.policy-panel:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.policy-panel-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 24px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-md);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.policy-panel:not([hidden]) .policy-panel-content {
  transform: scale(1) translateY(0);
}

.policy-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.policy-close:hover {
  color: var(--ink);
}

.policy-panel-content .policy-img {
  border-radius: 8px;
  margin: 16px 0;
  width: 100%;
}

/* =========================================================
   CUSTOM POLICY CHECKBOX
========================================================= */
/* Policy agreement checkbox (new/returning client forms) */
.policy-check { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

.booking-form .policy-check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}

.booking-form .policy-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.policy-check-label input[type="checkbox"] {
  /* Hides the default browser checkbox */
  appearance: none;
  -webkit-appearance: none;
  
  /* Creates the custom square box */
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink-soft);
  border-radius: var(--radius-sm, 4px);
  background-color: var(--surface);
  
  /* Prevents the box from squishing if the text wraps to a new line */
  flex-shrink: 0; 
  
  /* Prepares the box to center the checkmark */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* Styling when the user clicks/checks the box */
.policy-check-label input[type="checkbox"]:checked {
  background-color: var(--ink); /* Fills the box with your main dark text color */
  border-color: var(--ink);
}

/* The checkmark icon (Using FontAwesome) */
.policy-check-label input[type="checkbox"]::after {
  content: "\f00c"; /* FontAwesome Unicode for the checkmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--surface); /* Checkmark color (matches your background) */
  font-size: 14px;
  
  /* Start hidden and scaled down for animation */
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Animate the checkmark popping in when checked */
.policy-check-label input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: scale(1);
}

/* Fine-tune the text next to the checkbox */
.policy-check-label span {
  line-height: 1.4;
  font-size: 0.95rem;
  color: var(--ink);
}

