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

:root {
  --bg: #fafaf7;
  --bg-2: #f1f0eb;
  --bg-3: #e5e3dd;
  --bg-card: #fefefe;
  --text: #1a1a1a;
  --text-2: #4a4946;
  --text-3: #85837d;
  --border: #ddd9d0;
  --accent: #1a1a1a;
  --accent-hover: #363533;
  --blue: #2952cc;
  --blue-soft: rgba(41,82,204,.07);
  --green: #1a8f6b;
  --red: #c4402a;
  --shadow: 0 1px 3px rgba(30,25,15,.06);
  --shadow-md: 0 4px 20px rgba(30,25,15,.08);
  --shadow-lg: 0 12px 40px rgba(30,25,15,.11);
  --ff: 'Inter', -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.25,.1,.25,1);
  --radius: 12px;
}

html.dark {
  --bg: #111110;
  --bg-2: #191917;
  --bg-3: #21201d;
  --bg-card: #1a1a18;
  --text: #e6e4df;
  --text-2: #a5a39d;
  --text-3: #6b6a65;
  --border: #2c2b27;
  --accent: #e6e4df;
  --accent-hover: #c5c3be;
  --blue: #6896e3;
  --blue-soft: rgba(104,150,227,.1);
  --green: #3ec99a;
  --red: #e76a56;
  --shadow: 0 1px 3px rgba(0,0,0,.35);
  --shadow-md: 0 4px 20px rgba(0,0,0,.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.45);
}

html, body,
.nav, .nav__logo, .nav__mid a, .nav__ghost, .nav__btn, .nav__clock, .nav__clock-mode,
.bento-card, .work-card, .work-info, .rev-card, .faq-q, .faq-a p,
.how-step, .how-num, .mock, .mock__bar, .mock__body, .mock__url,
.sec-h, .sec-p, .sec-tag, .stat__val, .stat__lbl,
.c-form, .c-side, .fg input, .fg textarea, .fg select,
.footer, .footer__logo, .footer__links a, .footer__copy,
.hero, .hero h1, .hero__sub, .hero__note,
.final-cta h2, .final-cta p,
.clock-face, .clock-hand-h, .clock-hand-m,
.page-hero, .page-hero h1, .page-hero p,
.pricing-card, .pricing-card h3, .pricing-card .price,
.booking-card, .cal-day, .time-slot,
.contact-card, .toast {
  transition: background-color .5s ease, border-color .5s ease, color .4s ease, box-shadow .4s ease;
}

html { scroll-behavior: smooth; }
body { animation: pageIn .5s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
::selection { background: color-mix(in srgb, var(--blue) 22%, transparent); color: var(--text); }
/* Top progress line adds a premium touch */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 0 14px color-mix(in srgb, var(--blue) 30%, transparent);
}
body {
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  font-family: var(--ff);
  background:
    radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 60%),
    radial-gradient(1000px 500px at 90% 110%, color-mix(in srgb, var(--green) 8%, transparent), transparent 62%),
    radial-gradient(900px 500px at 50% 120%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 70%),
    var(--bg);
  color: var(--text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.wrap {
  width: min(90%, calc(100vw - 1.5rem));
  max-width: 1140px;
  margin: 0 auto;
}
/* subtle texture so sections feel less flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 9%, transparent) 1px, transparent 0);
  background-size: 24px 24px;
}

/* ── NAV ──────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .75rem 0;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav__logo { display: inline-flex; align-items: center; gap: 0; font-size: 1.2rem; font-weight: 900; color: var(--text); letter-spacing: -.04em; transition: opacity .2s; }
.nav__logo:hover { opacity: .7; }
.nav__logo span { color: var(--blue); }
.nav__mid { display: flex; gap: 1.5rem; }
.nav__mid a {
  font-size: .8rem; font-weight: 500; color: var(--text-3);
  transition: color .2s, transform .2s; position: relative;
  padding: .25rem 0;
}
.nav__mid a::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; background: var(--blue); border-radius: 1px;
  transition: left .25s var(--ease), right .25s var(--ease);
}
.nav__mid a:hover { color: var(--text); }
.nav__mid a:hover::after { left: 0; right: 0; }
.nav__mid a.active { color: var(--text); }
.nav__mid a.active::after { left: 0; right: 0; }
.nav__right { display: flex; align-items: center; gap: .6rem; }
.nav__ghost {
  font-size: .8rem; font-weight: 500; color: var(--text-2);
  padding: .45rem .9rem; border-radius: 6px;
  transition: color .2s, background-color .2s;
}
.nav__ghost:hover { color: var(--text); background: var(--bg-2); }
.nav__btn {
  font-size: .78rem; font-weight: 600; color: #fff; background: var(--blue);
  padding: .5rem 1.1rem; border-radius: 8px; border: none; cursor: pointer;
  font-family: var(--ff); transition: .2s; display: inline-flex; align-items: center; gap: .35rem;
}
.nav__btn:hover { filter: brightness(1.15); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(41,82,204,.25); }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .25rem;
  margin-right: -.25rem;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: .2s; border-radius: 1px; }

.nav__clock {
  display: flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 600;
  color: var(--text-3); font-variant-numeric: tabular-nums;
}
.nav__clock-icon { width: 16px; height: 16px; position: relative; }
.clock-face {
  width: 16px; height: 16px;
  border: 1.5px solid var(--text-3);
  border-radius: 50%; position: relative;
}
.clock-hand-h, .clock-hand-m {
  position: absolute; bottom: 50%; left: 50%;
  transform-origin: bottom center;
  background: var(--text-3); border-radius: 1px;
}
.clock-hand-h { width: 1.5px; height: 4px; }
.clock-hand-m { width: 1px; height: 5.5px; }
.nav__clock-mode {
  display: inline-flex; align-items: center; gap: .2rem;
  font-size: .6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .15rem .4rem; border-radius: 4px;
  background: var(--blue-soft); color: var(--blue);
}

/* ── PAGE HERO (sub-pages) ────────────── */
.page-hero {
  padding: 9rem 0 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--blue) 8%, transparent), transparent),
    radial-gradient(ellipse 60% 50% at 80% 100%, color-mix(in srgb, var(--green) 6%, transparent), transparent);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--text);
  letter-spacing: -.04em; line-height: 1.1;
  margin-bottom: .75rem;
}
.page-hero p {
  font-size: 1rem; color: var(--text-3);
  max-width: 500px; margin: 0 auto;
}

/* ── SECTION HEADERS ──────────────────── */
section { padding: 5rem 0; }
.sec-tag { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .5rem; }
.sec-h { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--text); letter-spacing: -.03em; line-height: 1.12; margin-bottom: .5rem; }
.sec-p { font-size: .92rem; color: var(--text-3); max-width: 480px; line-height: 1.65; }
.sec-top { margin-bottom: 2.5rem; }
.sec-top--c { text-align: center; }
.sec-top--c .sec-p { margin: 0 auto; }

/* ── BUTTONS ──────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff); font-size: .88rem; font-weight: 600;
  color: #fff; background: var(--blue);
  padding: .85rem 2rem; border-radius: 10px;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  box-shadow: 0 4px 14px rgba(41,82,204,.25);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0; transition: opacity .25s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 25px rgba(41,82,204,.3); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(.98); box-shadow: 0 2px 8px rgba(41,82,204,.2); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff); font-size: .85rem; font-weight: 600;
  color: var(--text); background: var(--bg-card);
  padding: .8rem 1.8rem; border-radius: 10px;
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary:active { transform: translateY(0); }
.btn-secondary svg { transition: transform .25s var(--ease); }
.btn-secondary:hover svg { transform: translateX(3px); }
.btn-sm {
  font-size: .78rem; padding: .55rem 1.2rem;
}

/* ── FORM ELEMENTS ────────────────────── */
.fg { margin-bottom: .75rem; }
.fg:last-of-type { margin-bottom: 1.25rem; }
.fg label { display: block; font-size: .72rem; font-weight: 600; color: var(--text-3); margin-bottom: .3rem; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: .65rem .85rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: var(--ff); font-size: .84rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.fg input:hover, .fg textarea:hover, .fg select:hover {
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.fg textarea { resize: vertical; min-height: 100px; }
.fg select option { background: var(--bg); }
.fg .error-msg {
  font-size: .68rem; color: var(--red); margin-top: .25rem;
  display: none;
}
.fg.has-error input, .fg.has-error textarea, .fg.has-error select {
  border-color: var(--red);
}
.fg.has-error .error-msg { display: block; }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.f-2 .fg { margin-bottom: 0; }

.submit-btn {
  width: 100%; font-family: var(--ff); font-size: .85rem; font-weight: 600;
  color: #fff; background: var(--blue); padding: .75rem; border-radius: 8px;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, filter .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  box-shadow: 0 2px 8px rgba(41,82,204,.18);
}
.submit-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(41,82,204,.28); filter: brightness(1.1); }
.submit-btn:active:not(:disabled) { transform: translateY(0); box-shadow: 0 1px 4px rgba(41,82,204,.12); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.submit-btn .spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ──────────────────────────── */
.footer { padding: 2.5rem 0 2rem; border-top: 1px solid var(--border); }
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-bottom: 1.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__logo { display: inline-flex; align-items: center; gap: 0; font-size: 1rem; font-weight: 900; color: var(--text); letter-spacing: -.03em; transition: opacity .2s; }
.footer__logo:hover { opacity: .7; }
.footer__logo span { color: var(--blue); }
.footer__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__links a {
  font-size: .75rem; color: var(--text-3);
  transition: color .2s, transform .2s; display: inline-block;
}
.footer__links a:hover { color: var(--text); transform: translateY(-1px); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer__copy { font-size: .65rem; color: var(--text-3); }
.footer__location { font-size: .62rem; color: var(--text-3); margin-top: .25rem; }

.back-to-top {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  z-index: 90;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
  transform: translateY(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { border-color: var(--blue); transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; color: var(--text-3); }
.footer__socials { display: flex; gap: .75rem; }
.footer__socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.footer__socials a:hover { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-2px); }
.footer__socials svg { width: 14px; height: 14px; color: var(--text-3); transition: color .2s; }
.footer__socials a:hover svg { color: var(--blue); }

/* ── SCROLL REVEAL ────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.show { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; }

/* ── TOAST NOTIFICATIONS ──────────────── */
.toast-container {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 9999; display: flex; flex-direction: column; gap: .5rem;
}
.toast {
  display: flex; align-items: center; gap: .6rem;
  padding: .85rem 1.2rem; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: .82rem; color: var(--text);
  transform: translateX(120%); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s;
  max-width: 360px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast--success { border-color: var(--green); }
.toast--success .toast__icon { color: var(--green); }
.toast--error { border-color: var(--red); }
.toast--error .toast__icon { color: var(--red); }
.toast__icon { flex-shrink: 0; }
.toast__icon svg { width: 18px; height: 18px; }

/* ── FAQ ──────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; font-family: var(--ff);
  font-size: .88rem; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer;
  padding: 1rem 0; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: color .2s, padding-left .25s var(--ease);
}
.faq-q:hover { padding-left: .4rem; color: var(--blue); }
.faq-q svg { width: 16px; height: 16px; color: var(--text-3); transition: transform .2s, color .2s; flex-shrink: 0; }
.faq-q:hover svg { color: var(--blue); }
.faq-q.open svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { font-size: .82rem; color: var(--text-3); line-height: 1.65; padding-bottom: 1rem; }

/* ── CUSTOM CURSOR ────────────────────── */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor-dot {
  position: fixed;
  top: -20px; left: -20px;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transition: width .2s, height .2s, margin .2s, opacity .15s;
}
.cursor-ring {
  position: fixed;
  top: -20px; left: -20px;
  width: 34px; height: 34px;
  border: 1.5px solid color-mix(in srgb, var(--blue) 35%, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .2s, opacity .15s;
}
.cursor-dot.hover {
  width: 12px; height: 12px;
  margin: -2.5px 0 0 -2.5px;
  opacity: .6;
}
.cursor-ring.hover {
  width: 50px; height: 50px;
  margin: -8px 0 0 -8px;
  border-color: color-mix(in srgb, var(--blue) 55%, transparent);
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}

/* ── HOVER UTILITIES ──────────────────── */
.hover-lift {
  transition: transform .3s var(--ease), box-shadow .3s;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hover-glow:hover {
  box-shadow: 0 0 20px color-mix(in srgb, var(--blue) 15%, transparent);
}
a[href] { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--blue) 70%, transparent);
  outline-offset: 2px;
}

/* ── MISC ─────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  font-size: .62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .2rem .55rem; border-radius: 4px;
  background: var(--blue-soft); color: var(--blue);
}
.divider {
  height: 1px; background: var(--border);
  margin: 3rem 0;
}
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-3); }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 900px) {
  .f-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .f-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav__mid { display: none; }
  .nav__ghost { display: none; }
  .nav__clock { display: none; }
  .nav__toggle { display: flex; }
  /* Keep Book + menu hugged to the right; nudge CTA slightly toward the edge */
  .nav__right {
    margin-left: auto;
    gap: .35rem;
  }
  .nav__btn {
    margin-left: 0.35rem;
    margin-right: 0.15rem;
  }
  .nav__mid.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 150;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: .75rem max(5%, env(safe-area-inset-right)) .75rem max(5%, env(safe-area-inset-left));
    gap: 0;
    max-height: min(70vh, calc(100dvh - 4rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
  }
  .nav__mid.open a {
    padding: .85rem .25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: .9rem;
    border-radius: 8px;
  }
  .nav__mid.open a:active { background: var(--bg-2); }
  .f-2 { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 6.5rem 0 2.5rem; }
  .footer__top { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__bottom { justify-content: center; flex-direction: column; gap: .75rem; }
  .toast-container {
    left: max(.75rem, env(safe-area-inset-left));
    right: max(.75rem, env(safe-area-inset-right));
  }
  .toast { max-width: 100%; }
  /* Avoid iOS zoom on focus (inputs smaller than 16px) */
  .fg input, .fg textarea, .fg select {
    font-size: 16px;
  }
  .btn-primary, .btn-secondary {
    min-height: 44px;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
