/* ============================================================
   Salon Glow — global stylesheet
   ============================================================ */
:root {
  --bg: #fdf9f4;
  --bg-soft: #f7efe6;
  --card: #ffffff;
  --espresso: #2b2118;
  --espresso-2: #3d3229;
  --gold: #b98a3d;
  --gold-2: #d9b36a;
  --gold-soft: #f0e2c9;
  --rose: #c86a6a;
  --rose-soft: #f7e3e1;
  --green: #3f8f5f;
  --green-soft: #e2f3e7;
  --text: #3d362e;
  --muted: #8d8072;
  --line: #eadfce;
  --shadow: 0 10px 30px rgba(43, 33, 24, 0.08);
  --shadow-lg: 0 18px 50px rgba(43, 33, 24, 0.16);
  --radius: 16px;
  --font: "Jost", "Segoe UI", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--espresso); line-height: 1.15; }

.ic { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.container { width: 92%; max-width: 1180px; margin: 0 auto; }

.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; font-size: 12.5px; margin-bottom: 12px;
}
.section-kicker::before, .section-kicker::after {
  content: ""; width: 26px; height: 1px; background: var(--gold-2);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: .3px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn .ic { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #2a1e0e; box-shadow: 0 8px 22px rgba(185, 138, 61, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(185, 138, 61, .45); }

.btn-dark {
  background: var(--espresso); color: #f7eede;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(43, 33, 24, .3); }

.btn-outline {
  background: transparent; color: var(--espresso); border: 1.5px solid var(--espresso);
}
.btn-outline:hover { background: var(--espresso); color: #f7eede; transform: translateY(-3px); }

.btn-ghost {
  background: transparent; color: var(--espresso); border: 0; padding: 12px 18px;
}
.btn-ghost:hover { background: var(--gold-soft); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn-shine:hover::after { left: 130%; transition: left .7s ease; }

/* ---------------- Navbar ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 244, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; width: 100%; max-width: 100%; padding: 0 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 700; color: var(--espresso); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold));
  box-shadow: 0 4px 14px rgba(185, 138, 61, .4);
}
.brand .mark .ic { width: 20px; height: 20px; }
.brand-name { display: inline-flex; align-items: baseline; letter-spacing: .5px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(185, 138, 61, .35), 0 3px 8px rgba(224, 187, 116, .5)); animation: glowPulse 3.5s ease-in-out infinite; }
.brand-name .w, .brand-name em {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: normal; font-weight: 700;
  font-size: 1em; line-height: 1;
  background: linear-gradient(115deg, #fbe5b0 0%, #e2bd72 45%, #b98a3c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand-name em { margin-left: 6px; }
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(185, 138, 61, .35), 0 3px 8px rgba(224, 187, 116, .5)); }
  50% { filter: drop-shadow(0 2px 4px rgba(185, 138, 61, .45), 0 5px 14px rgba(224, 187, 116, .75)); }
}
.brand-btn .brand-name { font-size: 21px; }
.brand-btn .brand-name em { font-size: 1em; margin-left: 6px; font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.nav-links a { padding: 7px 13px; border-radius: 999px; color: var(--text); font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--gold-soft); color: var(--espresso); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--espresso); padding: 6px; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; }
.page-hero .hero-inner { min-height: 420px; padding: 90px 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(107deg, rgba(30,22,14,.9) 0%, rgba(30,22,14,.62) 42%, rgba(43,33,24,.34) 100%),
    url("../img/store-interior.jpg");
  background-size: cover; background-position: center top;
}
.hero-inner {
  position: relative; z-index: 1; min-height: 620px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #f7edda; padding: 110px 0;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); color: #f1d789;
  border: 1px solid rgba(241, 215, 153, .35);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .5px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 70px); color: #fff;
  margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.35);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700; letter-spacing: 1px; line-height: 1.1;
}
.hero h1 .accent {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic;
  font-size: 1.12em; font-weight: 700; line-height: 1.1;
  background: linear-gradient(115deg, #f6e2ae 0%, #d9b36a 45%, #a8741f 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: inline-block; padding: 0 6px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
  animation: glowPulse 3.5s ease-in-out infinite;
}
.hero p.lead { font-size: 17px; color: rgba(247, 237, 218, .9); max-width: 520px; margin: 0 auto 32px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-links { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #f1d789; cursor: pointer; }
.hero-links:hover { color: #fff; }
.hero-links .ic { width: 18px; height: 18px; transition: transform .25s; }
.hero-links:hover .ic { transform: translateX(4px); }
.hero-stats { display: flex; justify-content: center; gap: 34px; }
.stat b { display: block; font-family: var(--font); font-size: 26px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { color: rgba(247, 237, 218, .75); font-size: 13.5px; }

/* Hero visual (uses store interior background) */
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold)); }

/* entrance animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero .anim { opacity: 0; animation: fadeUp .9s ease forwards; }
.anim.d1 { animation-delay: .08s; } .anim.d2 { animation-delay: .2s; }
.anim.d3 { animation-delay: .34s; } .anim.d4 { animation-delay: .48s; }
.anim.d5 { animation-delay: .66s; } .anim.d6 { animation-delay: .5s; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; background: var(--espresso); padding: 16px 0; position: relative; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: scroll 26s linear infinite; align-items: center; }
.marquee-track span { color: #e9d8b4; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track i { font-style: normal; color: var(--gold-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs .a1 {
  border-radius: 22px; height: 380px; background:
    radial-gradient(circle at 25% 20%, #f6e2c8, transparent 50%),
    linear-gradient(160deg, #3d3229, #1f180f);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about-imgs .a1 .ic { width: 90px; height: 90px; color: var(--gold-2); opacity: .8; }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 15.8px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat .fic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--espresso); background: var(--gold-soft);
}
.feat .fic .ic { width: 20px; height: 20px; }
.feat b { font-size: 15px; display: block; color: var(--espresso); }
.feat span { font-size: 13px; color: var(--muted); }

/* ---------------- Services ---------------- */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; position: relative; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: fadeUp .7s ease both;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-2); }
.svc-top { display: flex; align-items: center; gap: 12px; }
.svc-ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; color: var(--espresso); background: var(--gold-soft); transition: background .3s, color .3s, transform .3s; }
.svc-ic .ic { width: 22px; height: 22px; }
.svc-card:hover .svc-ic { background: var(--espresso); color: var(--gold-2); transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 17px; margin: 0; line-height: 1.25; }
.svc-card p { color: var(--muted); font-size: 12.5px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.svc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-price { font-family: var(--font); font-size: 18px; color: var(--gold); font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.svc-price small { font-size: 11px; color: var(--muted); font-weight: 400; font-family: var(--font); }
.svc-book {
  display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 12px;
  color: var(--espresso); background: var(--gold-soft); padding: 7px 11px; border-radius: 999px;
  transition: background .25s, color .25s, transform .25s; white-space: nowrap;
}
.svc-book:hover { background: var(--espresso); color: #f1d9a8; transform: scale(1.04); }

/* ---------------- Services rotator ---------------- */
.rotor-wrap { position: relative; }
.rotor { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: stretch; }
.rotor-float {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; background: var(--card);
}
.rotor-prev-float { left: -23px; }
.rotor-next-float { right: -23px; }
.rotor-card { border-radius: 24px; padding: 38px 34px; box-shadow: var(--shadow); min-height: 280px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.rotor-desc {
  color: #e9d8b4; background:
    radial-gradient(420px 260px at 90% 0%, rgba(217,179,106,.45), transparent 60%),
    linear-gradient(140deg, #2b2118, #4a3a2c);
}
.rotor-desc p { color: #d8c8a8; font-size: 18px; line-height: 1.75; max-width: 440px; }
.rotor-ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(217,179,106,.2); color: var(--gold-2); margin-bottom: 26px;
}
.rotor-ic .ic { width: 24px; height: 24px; }
.rotor-kicker, .rotor-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 12px;
}
.rotor-kicker { color: var(--gold-2); }
.rotor-tag { color: var(--gold); }
.rotor-photo { padding: 0; border: 0; overflow: hidden; background: var(--espresso); }
.rotor-photo .rotor-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.rotor-overlay {
  position: relative; z-index: 2; min-height: 280px; padding: 32px 34px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(205deg, rgba(20,14,8,.05) 35%, rgba(20,14,8,.88) 100%);
}
.rotor-overlay h3 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); margin: 0;
  line-height: 1.12; color: #fff; letter-spacing: -0.3px;
}
.rotor-overlay .rotor-tag { color: var(--gold-2); margin-bottom: 10px; }
.rotor-overlay .rotor-count { color: rgba(255,255,255,.85); }
.rotor-overlay .rotor-price span { color: rgba(255,255,255,.75); }
.rotor-overlay .rotor-price b { color: var(--gold-2); }
.rotor-bottom {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding-top: 20px;
}
.rotor-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  display: grid; place-items: center; color: var(--espresso); background: var(--bg-soft);
  font-family: var(--font); transition: all .2s;
}
.rotor-btn:hover { background: var(--espresso); color: var(--gold-2); border-color: var(--espresso); }
.rotor-btn .ic { width: 18px; height: 18px; }
#rotorPrev .ic { transform: rotate(180deg); }
.rotor-count { font-size: 13px; font-weight: 600; color: var(--muted); align-self: flex-end; font-variant-numeric: tabular-nums; }
.rotor-price { text-align: right; }
.rotor-price span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; }
.rotor-price b { font-family: var(--font); font-size: clamp(22px, 2.6vw, 30px); color: var(--gold); font-weight: 700; line-height: 1.25; letter-spacing: .2px; }
.rotor .swap { animation: rotorSwap .45s ease both; }
.rotor.out-left .rotor-card { animation: rOutLeft .28s ease both; }
.rotor.in-right .rotor-card { animation: rInRight .32s ease both; }
.rotor.out-right .rotor-card { animation: rOutRight .28s ease both; }
.rotor.in-left .rotor-card { animation: rInLeft .32s ease both; }
@keyframes rOutLeft { to { opacity: 0; transform: translateX(-48px); } }
@keyframes rInRight { from { opacity: 0; transform: translateX(48px); } }
@keyframes rOutRight { to { opacity: 0; transform: translateX(48px); } }
@keyframes rInLeft { from { opacity: 0; transform: translateX(-48px); } }
@keyframes rotorSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .rotor { grid-template-columns: 1fr; }
  .rotor-card { min-height: 0; }
}

/* ---------------- Why / Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.step .num {
  width: 46px; height: 46px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold)); box-shadow: 0 8px 18px rgba(185,138,61,.35);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.testi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); text-align: center;
}
.testi .stars { color: var(--gold); display: flex; justify-content: center; gap: 3px; margin-bottom: 14px; }
.testi .stars .ic { width: 16px; height: 16px; }
.testi p { color: var(--text); font-size: 15px; font-style: italic; margin-bottom: 18px; }
.testi .who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testi .who .avatar { width: 38px; height: 38px; font-size: 15px; }
.testi .who b { display: block; font-size: 14px; color: var(--espresso); }
.testi .who span { font-size: 12.5px; color: var(--muted); }

/* ---------------- CTA banner ---------------- */
.cta-band {
  border-radius: 26px; background:
    radial-gradient(600px 300px at 85% 20%, rgba(217,179,106,.4), transparent 60%),
    linear-gradient(135deg, #2b2118, #4a3a2c);
  padding: 58px 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  color: #f4e7cd; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.cta-band p { color: #cfbda0; max-width: 460px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--espresso); color: #c9b898; margin-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 0 44px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer a { display: block; padding: 5px 0; font-size: 14px; transition: color .2s, transform .2s; }
.footer a:hover { color: var(--gold-2); transform: translateX(4px); }
.footer .f-brand { display: flex; align-items: center; gap: 11px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; color: #fff; margin-bottom: 14px; }
.footer .f-brand .mark { background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold)); }
.footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.footer .f-contact .ic { width: 17px; height: 17px; color: var(--gold-2); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: #938570; }

/* ---------------- Auth pages ---------------- */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.auth-art {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(217,179,106,.5), transparent 60%),
    radial-gradient(500px 360px at 90% 90%, rgba(200,106,106,.25), transparent 60%),
    linear-gradient(160deg, #33271c, #1d1610);
  color: #f2e3c6; display: grid; place-items: center; padding: 48px;
}
.auth-art .art-inner { max-width: 380px; }
.auth-art h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; margin: 18px 0 14px; }
.auth-art p { color: #d2bd93; font-size: 15.5px; }
.auth-art .mark {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px rgba(217, 179, 106, .35);
}
.auth-art .mark .ic { width: 30px; height: 30px; color: #2a1e0e; }
.auth-art .art-quote { margin-top: 34px; background: rgba(255,255,255,.06); padding: 20px 24px; border-radius: 16px; border-left: 3px solid var(--gold-2); font-style: italic; }
.auth-panel { display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 430px; }
.auth-box h1 { font-size: 30px; margin-bottom: 6px; }
.auth-box > p { color: var(--muted); margin-bottom: 28px; font-size: 15px; }

.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow);
}
.auth .form-card { padding: 20px; border-radius: 16px; background: var(--bg); border-color: #d8c9b2; }
.auth .field { margin-bottom: 10px; }
.auth .field label { font-size: 12px; margin-bottom: 3px; font-weight: 700; color: #4a3d2e; }
.auth .field label .ic { color: #9c7a3c; }
.auth .field input, .auth .field select, .auth .field textarea {
  padding: 7px 10px; font-size: 13px; border-radius: 8px; color: #2b2118;
  background: #f5eee3; border-color: #d3c3aa;
}
.auth .field input::placeholder, .auth .field textarea::placeholder { color: #a99a85; }
.auth .field input:focus, .auth .field select:focus, .auth .field textarea:focus {
  background: #fff; border-color: #b98a3d;
}
.auth .field textarea { min-height: 56px; }
.auth .auth-box { max-width: 380px; }
.auth .auth-box h1 { font-size: 22px; color: #2b2118; }
.auth .auth-box > p { margin-bottom: 16px; font-size: 13.5px; }
.auth .auth-back { margin-bottom: 14px; font-size: 13px; }
.auth .btn-block { padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.auth .auth-alt { margin-top: 12px; font-size: 12.5px; }
.field { margin-bottom: 18px; }
.field label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--espresso); margin-bottom: 7px; }
.field label .ic { width: 15px; height: 15px; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--text); background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(185,138,61,.14); background: #fff;
}
.field textarea { resize: vertical; min-height: 76px; }
.err-msg { color: var(--rose); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--rose); }
.field.invalid .err-msg { display: block; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--gold); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }

.auth-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; margin-bottom: 22px; font-weight: 600; }
.auth-back .ic { width: 16px; height: 16px; }
.auth-back:hover { color: var(--gold); }

/* ============================================================
   Dashboard — premium SaaS shell
   ============================================================ */
.side { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f5f1ea; }
.side-nav {
  background: #fffdfa; color: var(--text);
  padding: 26px 14px 18px; display: flex; flex-direction: column; gap: 3px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  border-right: 1px solid var(--line);
}
.side-nav .brand-btn { display: flex; align-items: center; gap: 11px; color: var(--espresso); font-family: var(--font-display); font-size: 21px; padding: 4px 10px 26px; font-weight: 700; }
.side-nav .brand-btn .mark { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 8px 18px rgba(185,138,61,.35); }
.side-nav .brand-btn .mark .ic { width: 20px; height: 20px; color: #fff; }
.side-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px;
  color: var(--text); font-weight: 500; font-size: 14px; border: 0; background: none; cursor: pointer;
  width: 100%; text-align: left; transition: background .18s, color .18s;
}
.side-link .ic { width: 18px; height: 18px; color: #a99a86; transition: color .18s; }
.side-link:hover { background: var(--gold-soft); color: var(--espresso); }
.side-link:hover .ic { color: var(--gold); }
.side-link.active { background: var(--gold-soft); color: var(--espresso); font-weight: 600; }
.side-link.active .ic { color: var(--gold); }
.side-sep { margin: 15px 12px 6px; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #b3a48f; font-weight: 600; }
.side-nav .nav-owner { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.side-owner-card { background: var(--gold-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; gap: 11px; align-items: center; }
.side-owner-card .avatar { width: 40px; height: 40px; font-size: 15px; }
.side-owner-card b { color: var(--espresso); font-size: 14px; display: block; }
.side-owner-card span { font-size: 12px; color: #9a8b76; }
.logout-btn {
  margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 12px; background: transparent; border: 1px solid var(--line);
  color: var(--rose); cursor: pointer; font-weight: 600; font-size: 13px; transition: background .2s;
}
.logout-btn:hover { background: var(--rose-soft); border-color: #e9c4c2; }
.logout-btn .ic { width: 16px; height: 16px; }

.dash-main { padding: 34px 40px 64px; overflow-x: hidden; max-width: 1500px; margin: 0 auto; width: 100%; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.dash-head h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 4px; font-weight: 700; letter-spacing: -0.3px; }
.dash-head p { color: var(--muted); font-size: 14.5px; font-weight: 400; }
.dash-actions { display: flex; gap: 10px; align-items: center; }
.dash-topbar { display: none; }

/* ---------- KPI cards ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }
.kpi-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  box-shadow: 0 12px 30px rgba(43,33,24,.05); display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.kpi-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.kpi-card:nth-child(1)::before { background: linear-gradient(90deg, #d9b36a, #b98a3d); }
.kpi-card:nth-child(2)::before { background: linear-gradient(90deg, #e8a0a0, #c86a6a); }
.kpi-card:nth-child(3)::before { background: linear-gradient(90deg, #7bc49a, #3f8f5f); }
.kpi-card:nth-child(4)::before { background: linear-gradient(90deg, #a890c8, #7b5fa0); }
.kpi-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(43,33,24,.09); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.kpi-ic .ic { width: 20px; height: 20px; }
.kpi-val {
  font-family: var(--font); font-size: 33px; font-weight: 700;
  color: var(--espresso); line-height: 1.1; letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.kpi-label { color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: 0.2px; }
.kpi-trend { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; font-family: var(--font); white-space: nowrap; }
.kpi-trend.up { color: var(--green); background: var(--green-soft); }
.kpi-trend.down { color: var(--rose); background: var(--rose-soft); }

/* ---------- overview cards ---------- */
.ov-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; margin: 24px 0; align-items: stretch; }
.ov-grid-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin: 24px 0; align-items: stretch; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 30px rgba(43,33,24,.05); }
.dash-card + .dash-card { margin-top: 24px; }
.ov-grid > .dash-card, .ov-grid-2 > .dash-card { margin: 0; }
.dash-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-card-head h3 { font-size: 18px; margin: 0 0 3px; font-weight: 700; letter-spacing: -0.2px; }
.dash-card-head p { font-size: 13px; color: var(--muted); margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 13px; border: 0; background: none; cursor: pointer; font-family: var(--font); }
.link-arrow .ic { width: 15px; height: 15px; }
.link-arrow:hover { text-decoration: underline; }

/* today's appointments */
.appt-list { display: flex; flex-direction: column; }
.appt-row { display: flex; align-items: center; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.appt-row:last-child { border-bottom: 0; }
.appt-time { width: 76px; font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--espresso); flex-shrink: 0; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.appt-mid { flex: 1; min-width: 0; }
.appt-mid b { display: block; font-size: 14.5px; font-weight: 600; color: var(--espresso); }
.appt-mid span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.appt-staff { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; min-width: 96px; font-weight: 500; }
.appt-staff .ic { width: 14px; height: 14px; }

/* status badge extras */
.badge.amber { background: #fbeed3; color: #a8791e; }
.badge.grey { background: #ece7e0; color: #7d7163; }

/* revenue overview + chart */
.rev-total { font-family: var(--font); font-size: 30px; font-weight: 700; color: var(--espresso); line-height: 1.1; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.rev-sub { color: var(--green); font-weight: 600; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.rev-sub .ic { width: 15px; height: 15px; }
.rev-sub.down { color: var(--rose); }
.ov-period { display: flex; gap: 3px; background: var(--bg-soft); padding: 4px; border-radius: 11px; }
.ov-period button { border: 0; background: none; padding: 7px 14px; border-radius: 8px; font-weight: 600; font-size: 12.5px; color: var(--muted); cursor: pointer; font-family: var(--font); transition: all .18s; }
.ov-period button.active, .ov-period button:hover { background: #fff; color: var(--espresso); box-shadow: 0 2px 8px rgba(43,33,24,.08); }
.ov-chart { margin-top: 20px; }
.ov-chart svg { width: 100%; height: auto; display: block; }
.ov-bar { transition: opacity .2s, filter .2s; cursor: pointer; }
.ov-bar:hover { opacity: .85; filter: drop-shadow(0 6px 10px rgba(185,138,61,.35)); }
.ov-bar-val { font-family: var(--font); font-size: 11px; font-weight: 700; fill: #8f6826; }
.ov-bar-x { font-family: var(--font); font-size: 11px; font-weight: 600; fill: var(--muted); }

/* popular services */
.pop-row { display: flex; align-items: center; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.pop-row:last-child { border-bottom: 0; }
.pop-rank { width: 28px; height: 28px; border-radius: 9px; background: var(--bg-soft); color: var(--muted); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.pop-name { flex: 1; min-width: 0; }
.pop-name b { font-size: 14px; font-weight: 600; color: var(--espresso); display: block; }
.pop-bar { height: 7px; border-radius: 999px; background: var(--bg-soft); margin-top: 6px; overflow: hidden; }
.pop-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.pop-count { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* quick actions */
.qa-rect { margin-bottom: 24px; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.qa-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 14px 12px; border-radius: 14px; border: 1px solid var(--line);
  color: var(--espresso); background: #fff; min-height: 84px;
  font-family: var(--font); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: center;
  transition: all .2s; position: relative; overflow: hidden;
}
.qa-btn::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.qa-btn:nth-child(1) { background: var(--gold-soft); border-color: #e3cd9e; }
.qa-btn:nth-child(1)::before { background: linear-gradient(90deg, #d9b36a, #b98a3d); }
.qa-btn:nth-child(1) .ic { color: var(--gold); }
.qa-btn:nth-child(2) { background: var(--rose-soft); border-color: #ecc8c6; }
.qa-btn:nth-child(2)::before { background: linear-gradient(90deg, #e8a0a0, #c86a6a); }
.qa-btn:nth-child(2) .ic { color: var(--rose); }
.qa-btn:nth-child(3) { background: #e8e0f4; border-color: #d3c2e8; }
.qa-btn:nth-child(3)::before { background: linear-gradient(90deg, #a890c8, #7b5fa0); }
.qa-btn:nth-child(3) .ic { color: #7b5fa0; }
.qa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43,33,24,.1); }
.qa-btn .ic { width: 20px; height: 20px; }
.qa-btn.primary { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.qa-btn.primary .ic { color: var(--gold-2); }
.qa-btn.primary:hover { background: #3a2d21; }

/* services catalogue + reports + settings */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.cat-row:last-child { border-bottom: 0; }
.cat-row b { color: var(--espresso); font-size: 14px; }
.cat-row span { color: var(--muted); font-size: 12.5px; display: block; }
.cat-row .price { font-family: var(--font); font-weight: 700; color: var(--gold); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cat-row .cat-price { font-family: var(--font); font-weight: 700; color: var(--gold); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rep-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.rep-stat span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; font-weight: 500; }
.rep-stat b { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--espresso); font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }

/* ---------- Owner Profile ---------- */
.profile-header {
  background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-2) 100%);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.profile-header::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(185, 138, 61, 0.12);
  pointer-events: none;
}
.profile-header::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: 80px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(185, 138, 61, 0.08);
  pointer-events: none;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.profile-info { position: relative; z-index: 1; min-width: 0; }
.profile-name {
  font-size: 26px;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.profile-role {
  display: inline-block;
  background: rgba(185, 138, 61, 0.25);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.profile-salon {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin: 0;
}
.profile-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile-detail-row:last-child { border-bottom: none; }
.profile-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.profile-detail-icon .ic { width: 18px; height: 18px; }
.profile-detail-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 500;
}
.profile-detail-value {
  display: block;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--espresso);
  margin-top: 1px;
}
.profile-plan-badge {
  background: linear-gradient(135deg, var(--gold-soft) 0%, #f5ecd8 100%);
  border: 1px solid var(--gold-2);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.profile-plan-badge .ic { width: 22px; height: 22px; color: var(--gold); }
.profile-plan-label {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-plan-name {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold);
  font-weight: 700;
}
.profile-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--rose);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.profile-logout-btn .ic { width: 18px; height: 18px; }
.profile-logout-btn:hover {
  background: var(--rose-soft);
  border-color: #e9c4c2;
  transform: translateY(-1px);
}
.profile-bio {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin: 6px 0 0;
  font-style: italic;
}
.profile-edit-btn {
  background: var(--gold-soft);
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s;
}
.profile-edit-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* profile stats row */
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.profile-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.profile-stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,33,24,.07); }
.profile-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.profile-stat-icon .ic { width: 20px; height: 20px; }
.profile-stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.profile-stat-val {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.1;
  display: block;
  margin-top: 2px;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

/* notification toggles */
.profile-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile-toggle-row:last-child { border-bottom: none; }
.profile-toggle-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-toggle-label {
  display: block;
  font-size: 14px;
  color: var(--espresso);
  font-weight: 600;
}
.profile-toggle-desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.profile-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.profile-toggle input { opacity: 0; width: 0; height: 0; }
.profile-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: background .3s;
}
.profile-toggle-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s;
}
.profile-toggle input:checked + .profile-toggle-slider { background: var(--gold); }
.profile-toggle input:checked + .profile-toggle-slider::before { transform: translateX(20px); }

.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-title .tic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--espresso); background: var(--gold-soft); }
.section-title .tic .ic { width: 20px; height: 20px; }
.section-title h2 { font-size: 22px; margin: 0; font-weight: 700; letter-spacing: -0.2px; }
.section-title p { color: var(--muted); font-size: 13.5px; margin: 0; font-weight: 400; }

/* stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-bottom: 34px; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card .s-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.stat-card .s-icon .ic { width: 24px; height: 24px; }
.stat-card .s-meta b { font-family: var(--font); font-size: 25px; font-weight: 700; color: var(--espresso); display: block; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.stat-card .s-meta span { color: var(--muted); font-size: 13px; font-weight: 500; }
.s-gold { background: var(--gold-soft); color: var(--gold); }
.s-rose { background: var(--rose-soft); color: var(--rose); }
.s-green { background: var(--green-soft); color: var(--green); }
.s-esp { background: #e8e0d6; color: var(--espresso); }

/* staff summary counts */
.staff-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
.ss-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.ss-card .s-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.ss-card .s-icon .ic { width: 20px; height: 20px; }
.ss-card .s-meta b { font-family: var(--font); font-size: 23px; font-weight: 700; color: var(--espresso); display: block; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.ss-card .s-meta span { color: var(--muted); font-size: 13px; font-weight: 500; }

/* checkbox line */
.check-line { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; margin: 4px 0 18px; }
.check-line input { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; }

/* panel / tab layout */
.mode-pills { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.pill {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); transition: all .25s;
}
.pill.active { background: var(--espresso); color: #f2e3c6; border-color: var(--espresso); }

.panel { display: none; animation: fadeIn .45s ease; }
.panel.active { display: block; }

.panel-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.panel-card h3 { font-size: 19px; margin-bottom: 6px; font-weight: 700; letter-spacing: -0.2px; }
.panel-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; font-weight: 400; }
.panel-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); padding: 12px 12px; border-bottom: 2px solid var(--line); font-weight: 600; }
td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
td b { font-weight: 600; }
td.qty-cell { font-variant-numeric: tabular-nums; }
td.qty-cell span { font-weight: 500; }
td.num-cell { font-variant-numeric: tabular-nums; }
tr:hover td { background: #fbf6ee; }
.cell-user { display: flex; align-items: center; gap: 11px; }
.cell-user .avatar { width: 36px; height: 36px; font-size: 14px; }
.cell-user b { font-size: 14px; font-weight: 600; color: var(--espresso); display: block; }
.cell-user span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
td.qty-cell { font-variant-numeric: tabular-nums; }
td.qty-cell span { font-weight: 500; }
.phone-cell {
  white-space: nowrap; font-weight: 600; font-size: 14px; letter-spacing: .8px;
  font-variant-numeric: tabular-nums; color: var(--espresso); padding-right: 28px;
}
.spec-text { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.gold { background: var(--gold-soft); color: #8a6219; }
.badge.rose { background: var(--rose-soft); color: var(--rose); }
.badge.esp { background: #e8e0d6; color: var(--espresso); }

.actions { display: flex; gap: 8px; }

/* three-dot menu */
.menu-wrap { position: relative; }
.menu-btn {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--muted);
  transition: all .2s;
}
.menu-btn:hover { background: var(--gold-soft); color: var(--espresso); border-color: var(--gold-2); }
.menu-btn.open { background: var(--gold-soft); color: var(--espresso); border-color: var(--gold-2); }
.menu-btn .ic { width: 18px; height: 18px; }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 150px; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; display: none;
}
.menu-pop.open { display: block; animation: zoomIn .15s ease; }
.menu-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 12px; border: 0; background: none; border-radius: 8px;
  font-family: var(--font); font-size: 13.5px; font-weight: 600; color: var(--espresso);
  cursor: pointer; text-align: left; transition: background .15s, color .15s;
}
.menu-item .ic { width: 16px; height: 16px; color: var(--gold); }
.menu-item:hover { background: var(--gold-soft); }
.menu-item.danger { color: var(--rose); }
.menu-item.danger .ic { color: var(--rose); }
.menu-item.danger:hover { background: var(--rose-soft); }
.mini-btn {
  font-family: var(--font); font-size: 12px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--espresso); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.mini-btn:hover { transform: translateY(-1px); }
.mini-btn.warn { color: var(--gold); border-color: var(--gold-2); }
.mini-btn.ok { color: var(--green); border-color: var(--green); }
.mini-btn.danger { color: var(--rose); }
.mini-btn.danger:hover { background: var(--rose-soft); border-color: var(--rose); }

/* compact services form */
.svc-cat-row { flex-wrap: nowrap; align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; }
.svc-cat-row .svc-name { flex: 0 0 auto; justify-self: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding-right: 12px; }
.svc-cat-row .svc-mid-price { justify-self: center; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--gold); letter-spacing: .2px; white-space: nowrap; }
.svc-cat-row .svc-tail { flex: 0 0 auto; justify-self: end; display: flex; align-items: center; gap: 14px; padding-left: 12px; }
#panel-services .field { margin-bottom: 10px; }
#panel-services .field label { font-size: 12.5px; margin-bottom: 4px; }
#panel-services .field input, #panel-services .field select, #panel-services .field textarea {
  padding: 7px 10px; font-size: 13.5px; border-radius: 8px;
}
#panel-services .field textarea { min-height: 54px; }
#panel-services .panel-card h3 { font-size: 16px; }
#panel-services .btn-block { padding-top: 8px; padding-bottom: 8px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: all .2s; color: var(--espresso);
}
.icon-btn .ic { width: 16px; height: 16px; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn.edit:hover { background: var(--gold-soft); border-color: var(--gold-2); }
.icon-btn.del:hover, .icon-btn.danger:hover { background: var(--rose-soft); border-color: var(--rose); color: var(--rose); }
.icon-btn.warn:hover { background: var(--gold-soft); border-color: var(--gold-2); color: var(--gold); }

/* search / toolbar */
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search-box {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px;
}
.search-box .ic { width: 17px; height: 17px; color: var(--muted); }
.search-box input { border: 0; background: none; padding: 11px 0; font-family: var(--font); font-size: 14.5px; width: 100%; outline: none; color: var(--text); }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(29,22,16,.55); backdrop-filter: blur(4px);
  z-index: 100; display: none; place-items: center; padding: 20px;
}
.modal-backdrop.show { display: grid; animation: fadeIn .25s ease; }
.modal {
  background: var(--card); border-radius: 22px; width: 100%; max-width: 460px;
  padding: 30px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto;
  animation: zoomIn .3s ease; position: relative;
}
@keyframes zoomIn { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 22px; margin-bottom: 20px; }
.modal-close {
  position: sticky; top: 8px; float: right; z-index: 6;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); cursor: pointer; box-shadow: var(--shadow);
  transition: color .2s, border-color .2s, transform .2s;
}
.modal-close:hover { color: var(--rose); border-color: var(--rose); transform: rotate(90deg); }
.modal-close .ic { width: 16px; height: 16px; }

/* export modal */
.exp-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.exp-preset {
  border: 1.5px solid var(--line); background: var(--bg); color: var(--espresso);
  border-radius: 11px; padding: 10px 12px; font-family: var(--font); font-size: 13.5px;
  font-weight: 600; cursor: pointer; transition: all .18s; text-align: center;
}
.exp-preset:hover { border-color: var(--gold-2); }
.exp-preset.active { border-color: var(--gold); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #2a1e0e; }
.exp-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; padding-top: 4px; }
.exp-custom .field { margin-bottom: 0; }
.exp-custom label { font-size: 12.5px; font-weight: 600; color: var(--espresso); margin-bottom: 5px; display: block; }
.exp-custom input { width: 100%; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 9px; font-family: var(--font); font-size: 13px; color: var(--text); background: var(--bg); }
.exp-custom input:focus { outline: none; border-color: var(--gold); }

/* customer detail */
.detail-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.detail-head .avatar { width: 64px; height: 64px; font-size: 24px; }
.detail-head h3 { font-size: 24px; }
.detail-head p { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 14px; margin-bottom: 24px; }
.meta-chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.meta-chip span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.meta-chip b { font-size: 14.5px; color: var(--espresso); }

/* offers */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.offer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; align-items: center; gap: 18px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-ribbon { position: absolute; right: -42px; top: 14px; transform: rotate(45deg); background: var(--espresso); color: var(--gold-2); font-size: 11px; letter-spacing: 1px; padding: 4px 46px; font-weight: 700; text-transform: uppercase; }
.offer-d { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--espresso); flex-shrink: 0; }
.offer-d b { font-family: var(--font); font-size: 21px; font-weight: 700; letter-spacing: -0.3px; font-variant-numeric: tabular-nums; }
.offer-d span { display: block; font-size: 11px; }
.offer-b { flex: 1; min-width: 0; }
.offer-b h4 { font-size: 17px; margin-bottom: 4px; font-weight: 700; letter-spacing: -0.2px; }
.offer-b p { color: var(--muted); font-size: 13.5px; }
.offer-actions { display: flex; gap: 8px; align-items: center; }

/* toggle switch */
.switch { position: relative; width: 46px; height: 26px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0; background: #d8cdbc; border-radius: 999px; cursor: pointer; transition: .25s;
}
.slider::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; left: 3px; top: 3px; background: #fff; transition: .25s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* integrations */
.integ-list { display: flex; flex-direction: column; }
.integ-list .integ-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.integ-list .integ-row:last-child { border-bottom: 0; }
.integ-list .integ-row .logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; flex-shrink: 0; font-size: 15px; }
.integ-list .integ-info { flex: 1; min-width: 0; }
.integ-list .integ-info b { display: block; font-size: 14.5px; color: var(--espresso); }
.integ-list .integ-info span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.integ-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.integ-status em { font-style: normal; }
.integ-status.ok { color: var(--green); }
.integ-status.ok .ic { color: var(--green); }
.integ-status.off { color: var(--rose); }
.integ-status.off .ic { color: var(--rose); margin-top: 2px; }

/* Finops */
.finops-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.finops-hero { border-radius: 22px; padding: 28px 30px; color: #f2e3c6; background: radial-gradient(500px 280px at 85% 10%, rgba(217,179,106,.4), transparent 60%), linear-gradient(140deg, #2b2118, #4a3a2c); position: relative; overflow: hidden; }
.finops-hero .finops-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,179,106,.2); border: 1px solid rgba(217,179,106,.4); color: var(--gold-2); padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; margin-bottom: 18px; }
.finops-hero h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.finops-hero .amount { font-family: var(--font); font-size: clamp(30px, 4vw, 42px); font-weight: 700; color: var(--gold-2); line-height: 1.1; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.finops-hero p { color: #c9b593; font-size: 14px; }
.finops-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.finops-stats .fc { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; }
.finops-stats .fc span { font-size: 12px; color: #a89473; display: block; font-weight: 500; }
.finops-stats .fc b { font-size: 18px; font-family: var(--font); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.integ-box { display: flex; flex-direction: column; border-radius: 22px; padding: 28px 30px; margin-bottom: 0; }
.integ-box .integ-list { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.integ-box .integ-row .logo { width: 42px; height: 42px; font-size: 16px; }
.integ-box .integ-info b { font-size: 14px; }
.integ-box .integ-info span { font-size: 12px; margin-top: 1px; }

.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.chart-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.chart-head span { font-size: 12.5px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; padding-top: 10px; border-bottom: 2px solid var(--line); }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar-track { width: 100%; max-width: 42px; height: 100%; display: flex; align-items: flex-end; }
.bar {
  width: 100%; border-radius: 8px 8px 4px 4px; min-height: 4px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  position: relative; transition: transform .3s;
}
.bar:hover { transform: scaleY(1.03); }
.bar .bar-val {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .2s;
}
.bar:hover .bar-val { opacity: 1; }
.bar-col span { font-size: 11.5px; color: var(--muted); }

.tx-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tx-row:last-child { border-bottom: 0; }
.tx-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--espresso); flex-shrink: 0; }
.tx-ic .ic { width: 18px; height: 18px; }
.tx-b { flex: 1; min-width: 0; }
.tx-b b { font-size: 14px; font-weight: 600; color: var(--espresso); display: block; }
.tx-b span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.tx-amt { font-family: var(--font); font-weight: 700; color: var(--green); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx-amt.out { color: var(--rose); }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .e-ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--gold); margin: 0 auto 16px; }
.empty .e-ic .ic { width: 30px; height: 30px; }
.empty b { color: var(--espresso); display: block; font-size: 17px; font-family: var(--font-display); margin-bottom: 6px; }

/* toast */
/* ---------- calendar ---------- */
.appt-filters {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin: 0 0 18px;
}
.appt-filters .field { margin-bottom: 0; }
.appt-filters .field label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; display: block; }
.appt-filters .field input {
  padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 13px; color: var(--text); background: var(--card);
}
.appt-filters .field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,138,61,.14); }
.icon-btn.active { background: var(--gold-soft); border-color: var(--gold-2); color: var(--gold); }

/* calendar */
.cal-card { align-self: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { font-size: 17px; margin: 0; }
.cal-nav { display: flex; gap: 6px; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 6px; }
.cal-week span { text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-day {
  aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); font-size: 13.5px; color: var(--text);
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.cal-day:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.cal-day.blank { background: transparent; border-color: transparent; cursor: default; }
.cal-day.blank:hover { transform: none; }
.cal-day.today { border-color: var(--gold); color: var(--espresso); font-weight: 700; }
.cal-day.has-bkg { background: var(--gold-soft); }
.cal-day.sel { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: #2a1e0e; font-weight: 700; box-shadow: 0 4px 12px rgba(185,138,61,.35); }
.cal-day .cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-day.sel .cal-dot { background: #2a1e0e; }
.cal-day.today.has-bkg .cal-dot { background: var(--green); }
.day-bookings { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; max-height: 240px; overflow-y: auto; }
.day-bookings h4 { font-size: 14px; font-family: var(--font); font-weight: 600; color: var(--espresso); margin-bottom: 4px; }
.day-bookings .tx-row { border-bottom: 1px dashed var(--line); padding: 9px 0; }
.day-bookings .tx-row:last-child { border-bottom: 0; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); z-index: 200;
  display: flex; align-items: center; gap: 12px; background: var(--espresso); color: #f2e3c6;
  padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14.5px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: transform .35s ease, opacity .35s ease; max-width: 92vw;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--green); color: #fff; }
.toast-ic .ic { width: 16px; height: 16px; }
.toast.error .toast-ic { background: var(--rose); }

/* ---------- Book Now page ---------- */
.book-hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 300px at 25% 0%, rgba(217,179,106,.4), transparent 60%),
    radial-gradient(600px 300px at 80% 100%, rgba(200,106,106,.2), transparent 60%), var(--bg);
  padding: 92px 0 40px;
}
.book-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.book-hero p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.book-wrap { max-width: 1060px; margin: -10px auto 70px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.services-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); position: sticky; top: 94px; }
.pkg-section { margin-bottom: 18px; }
.sc-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin-bottom: 10px; }
.pkg-picks { display: flex; flex-direction: column; gap: 10px; }
.pkg-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--text);
  border-radius: 14px; padding: 12px 14px; cursor: pointer;
  font-family: var(--font); transition: border-color .2s, background .2s, transform .15s;
}
.pkg-pick:hover { border-color: var(--gold); transform: translateY(-1px); }
.pkg-pick.sel { border-color: var(--gold); background: var(--gold-soft); }
.pkg-pick b { display: block; color: var(--espresso); font-size: 14.5px; font-family: var(--font-display); }
.pkg-pick span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.pkg-price { color: var(--gold); font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pick-summary {
  margin-top: 18px; padding: 14px 2px 0; border-top: 1.5px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--muted);
}
.pick-summary b { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: -0.3px; font-variant-numeric: tabular-nums; }

/* selected-services summary + chips */
.svc-summary { display: flex; flex-wrap: wrap; gap: 8px; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; min-height: 48px; }
.field.invalid .svc-summary, .svc-summary.bad { border-color: var(--rose); }
.svc-none { color: var(--muted); font-size: 13px; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); color: var(--espresso);
  border-radius: 999px; padding: 6px 10px; font-size: 12.5px; font-weight: 600;
}
.chip-pkg { background: var(--gold-soft); border-color: var(--gold); }
.chip button { background: none; border: 0; cursor: pointer; color: var(--rose); display: grid; place-items: center; padding: 0; }
.chip button .ic { width: 11px; height: 11px; }
.service-picks { display: grid; grid-template-columns: 1fr; gap: 9px; }
.svc-pick {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--text);
  border-radius: 12px; padding: 11px 12px; cursor: pointer;
  font-family: var(--font); font-size: 13.5px; font-weight: 600; line-height: 1.3;
  transition: border-color .2s, background .2s, transform .15s;
}
.svc-pick:hover { border-color: var(--gold); transform: translateY(-1px); }
.svc-pick.sel { border-color: var(--gold); background: var(--gold-soft); color: var(--espresso); }
.svc-pick .dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center;
  color: transparent; transition: all .2s;
}
.svc-pick .dot .ic { width: 11px; height: 11px; }
.svc-pick.sel .dot { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: #fff; }

/* package service picks */
.pkg-svc-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 200px; overflow-y: auto; }
.pkg-svc-picks .pkg-pick {
  justify-content: flex-start; padding: 10px 12px; font-size: 13px;
  background: var(--bg); border-radius: 12px; cursor: pointer;
}
.pkg-svc-picks .pkg-pick .dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center;
  color: transparent; transition: all .2s; margin-right: 4px;
}
.pkg-svc-picks .pkg-pick.sel { border-color: var(--gold); background: var(--gold-soft); }
.pkg-svc-picks .pkg-pick.sel .dot { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: #fff; }
.pkg-svc-picks .pkg-pick .dot .ic { width: 11px; height: 11px; }

/* coupon */
.coupon-box { display: flex; gap: 10px; }
.coupon-status { font-size: 13px; margin-top: 8px; font-weight: 600; }
.coupon-status.ok { color: var(--green); }
.coupon-status.err { color: var(--rose); }
.coupon-status b { color: var(--espresso); }
.coupon-remove { color: var(--rose); text-decoration: underline; margin-left: 4px; }
.book-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.book-summary .ic-h { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.book-summary .ic-h .ic { width: 20px; height: 20px; }
.book-summary b { color: var(--espresso); display: block; font-size: 14.5px; }
.book-summary span { font-size: 13px; color: var(--muted); }

/* success screen */
.success-view { display: none; text-align: center; padding: 40px 20px; }
.success-view.show { display: block; animation: zoomIn .4s ease; }
.success-ring {
  width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #67a97f, var(--green));
  display: grid; place-items: center; color: #fff; box-shadow: 0 20px 50px rgba(63,143,95,.4);
  animation: pop .6s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.success-ring .ic { width: 46px; height: 46px; }
.success-view h2 { font-size: 30px; margin-bottom: 10px; }
.success-view p { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.booking-card { max-width: 400px; margin: 24px auto; text-align: left; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.booking-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.booking-card li:last-child { border: 0; }
.booking-card li span { color: var(--muted); }
.booking-card li b { color: var(--espresso); }

/* responsive */
.dash-menu {
  display: none; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
}
.dash-menu .ic { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .hero-inner { padding: 100px 0; min-height: 540px; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-links { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side { grid-template-columns: 1fr; }
  .side-nav {
    position: fixed; left: -280px; top: 0; bottom: 0; width: 260px; z-index: 120;
    transition: left .3s ease; box-shadow: 20px 0 60px rgba(0,0,0,.3);
  }
  .side-nav.open { left: 0; }
  .dash-menu { display: grid; }
  .dash-main { padding: 24px 18px 60px; }
  .panel-grid, .finops-grid, .ov-grid, .ov-grid-2, .cat-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .book-layout { grid-template-columns: 1fr; }
  .services-card { position: static; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 12px 18px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; animation: fadeUp .3s ease; }
  .nav-links a { text-align: center; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat b { font-size: 21px; }
  .form-card { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .panel-card { padding: 18px; }
  .offer-card { flex-wrap: wrap; }
  .bars { gap: 6px; }
  .bar-col span { font-size: 10px; }
  .qa-grid { grid-template-columns: 1fr; }
  .appt-row { flex-wrap: wrap; }
  .appt-staff { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 24px; }
}

/* ---------- Profile Responsive ---------- */
@media (max-width: 980px) {
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
  .profile-header { padding: 28px 28px; }
}
@media (max-width: 760px) {
  .profile-header { flex-direction: column; text-align: center; padding: 28px 20px; }
  .profile-avatar { width: 64px; height: 64px; font-size: 22px; border-radius: 16px; }
  .profile-role { margin: 0 auto 8px; }
  .profile-stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .profile-stat-card { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .profile-stats-row { grid-template-columns: 1fr; }
  .profile-header { padding: 22px 16px; }
  .profile-name { font-size: 22px; }
}