/*
Theme Name: Tezla Electrotherapy
Theme URI: https://tezlaelectrotherapy.com
Author: Tezla Electrotherapy
Description: Modern electrical stimulation for pain relief and recovery. Chicago · Lemont, IL.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tezla-electrotherapy
*/

/* ---------- Tokens: sampled from the flyer ---------- */
:root {
  --bg: #08050F;
  --bg-2: #0F0920;
  --bg-3: #17102E;
  --ink: #EFEBF9;
  --ink-muted: #A79EC4;
  --line: rgba(168,139,250,.28);

  --violet: #7C3AED;
  --violet-deep: #4C1D95;
  --violet-hi: #C4A6FF;
  --violet-glow: #A855F7;

  --gold: #C9A227;
  --gold-hi: #F5D67B;
  --gold-deep: #8C6A15;

  --sec-bg: #EEEBF8;
  --sec-ink: #170E31;
  --sec-muted: #554B72;
  --sec-line: rgba(23,14,49,.17);
  --sec-card: #FFFFFF;
  --sec-accent: #4C1D95;

  --f-disp: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sec-bg: #0D0819; --sec-ink: #EFEBF9; --sec-muted: #A79EC4;
    --sec-line: rgba(168,139,250,.28); --sec-card: #17102E; --sec-accent: #C4A6FF;
  }
}
:root[data-theme="dark"] {
  --sec-bg: #0D0819; --sec-ink: #EFEBF9; --sec-muted: #A79EC4;
  --sec-line: rgba(168,139,250,.28); --sec-card: #17102E; --sec-accent: #C4A6FF;
}

.sec--dark, .dialog-dark {
  --t: var(--ink); --t-muted: var(--ink-muted); --t-line: var(--line);
  --t-card: var(--bg-3); --t-accent: var(--violet-hi); --t-focus: var(--gold-hi);
  --t-fill: rgba(255,255,255,.05);
}
.sec--light {
  --t: var(--sec-ink); --t-muted: var(--sec-muted); --t-line: var(--sec-line);
  --t-card: var(--sec-card); --t-accent: var(--sec-accent); --t-focus: var(--violet-deep);
  --t-fill: rgba(23,14,49,.03);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec--light { --t-focus: var(--gold-hi); --t-fill: rgba(255,255,255,.05); }
}
:root[data-theme="dark"] .sec--light { --t-focus: var(--gold-hi); --t-fill: rgba(255,255,255,.05); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top,0px) + 84px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
[hidden] { display: none !important; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--t-focus, var(--gold-hi)); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold-hi); color: #170E31; padding: 10px 16px; border-radius: 3px; font-weight: 600; }
.skip:focus { left: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; }
.sec { padding: clamp(60px, 9vw, 116px) 24px; position: relative; }
.sec--dark { background: var(--bg); color: var(--t); }
.sec--light { background: var(--sec-bg); color: var(--t); }

h1, h2 { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
h2 { font-size: clamp(36px, 5.2vw, 62px); max-width: 16ch; }
h3 { font-family: var(--f-disp); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: .01em; }
.sec--dark h2 { color: var(--gold-hi); }
.sec--light h2 { color: var(--t); }
.sub { color: var(--t-muted); font-size: 18px; max-width: 58ch; margin-top: 20px; }

/* Gold foil, as on the flyer's wordmark */
.foil {
  background: linear-gradient(180deg, #FBEFC4 0%, #F5D67B 26%, #C9A227 56%, #8C6A15 78%, #E7C86A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .foil { color: var(--gold-hi); background: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; font: 600 16px/1 var(--f-body);
  border-radius: 3px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn--primary { background: linear-gradient(180deg, #8B5CF6, #6D28D9); color: #fff; border-color: #A97BFF; box-shadow: 0 0 22px rgba(139,92,246,.35); }
.btn--primary:hover { background: linear-gradient(180deg, #7C3AED, #5B21B6); }
.btn--ghost { background: transparent; color: var(--gold-hi); border-color: var(--gold); }
.btn--ghost:hover { background: rgba(201,162,39,.14); }
.sec--light .btn--ghost { color: var(--violet-deep); border-color: var(--violet-deep); }
.sec--light .btn--ghost:hover { background: rgba(76,29,149,.08); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sec--light .btn--ghost { color: var(--gold-hi); border-color: var(--gold); }
  :root:not([data-theme="light"]) .sec--light .btn--ghost:hover { background: rgba(201,162,39,.14); }
}
:root[data-theme="dark"] .sec--light .btn--ghost { color: var(--gold-hi); border-color: var(--gold); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8,5,15,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { max-width: 1160px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-disp); font-weight: 700; font-size: 31px; letter-spacing: .05em; text-transform: uppercase; }
.brand-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--gold); }
.menu-btn { display: none; align-items: center; gap: 8px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; min-height: 42px; padding: 0 14px; font: 500 15px var(--f-body); cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #08050F; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(124,58,237,.30), transparent 70%),
    radial-gradient(55% 45% at 8% 82%, rgba(76,29,149,.32), transparent 72%);
}
.hero > * { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); color: #fff; text-shadow: 0 0 40px rgba(124,58,237,.45); }
.hero h1 .h1-b { display: block; margin-top: .16em; color: var(--violet-hi); text-shadow: 0 0 34px rgba(168,85,247,.6); }
.pulse { display: block; width: 210px; height: 26px; margin-top: 28px; color: var(--gold); filter: drop-shadow(0 0 6px rgba(245,214,123,.55)); }
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 46ch; margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.call { margin-top: 22px; color: var(--ink-muted); font-size: 16px; }
.call a { color: var(--gold-hi); font-weight: 600; text-decoration: none; white-space: nowrap; }
.call a:hover { text-decoration: underline; }

.arc-panel {
  position: relative; aspect-ratio: 5 / 4; width: 100%;
  border: 1px solid rgba(201,162,39,.5);
  box-shadow: 0 0 0 1px rgba(201,162,39,.16), 0 24px 70px rgba(88,28,180,.35);
  background: #0A0618; overflow: hidden; touch-action: pan-y;
}
.arc-panel::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201,162,39,.22); pointer-events: none; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .arc-panel { aspect-ratio: 4/3; } }

/* ---------- Assurance strip ---------- */
.assure { background: linear-gradient(180deg, #0D0820, #08050F); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 24px; }
.assure ul { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.assure li { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-left: 1px solid var(--line); font-weight: 500; }
.assure li:first-child { border-left: 0; padding-left: 0; }
.assure svg { width: 32px; height: 32px; flex: none; }
@media (max-width: 920px) {
  .assure ul { grid-template-columns: 1fr 1fr; }
  .assure li:nth-child(3) { border-left: 0; padding-left: 0; }
  .assure li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .assure ul { grid-template-columns: 1fr; }
  .assure li { border-left: 0; padding-left: 0; }
  .assure li:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- Therapy ---------- */
.therapy-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.how { border-left: 3px solid var(--violet); padding-left: 24px; }
.how h3 { color: var(--t-accent); margin-bottom: 10px; }
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--t-line); }
.benefits li { padding: 28px 22px 6px; border-left: 1px solid var(--t-line); }
.benefits li:first-child { border-left: 0; padding-left: 0; }
.benefits .ico { width: 46px; height: 46px; margin-bottom: 16px; }
.benefits h3 { font-size: 22px; margin-bottom: 6px; }
.benefits p { color: var(--t-muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 980px) {
  .therapy-head { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits li { border-left: 0; padding-left: 0; padding-bottom: 24px; }
  .benefits li:nth-child(even) { border-left: 1px solid var(--t-line); padding-left: 22px; }
}
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } .benefits li:nth-child(even) { border-left: 0; padding-left: 0; } }

/* ---------- Uses ---------- */
.uses-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { background: transparent; color: var(--t); border: 1px solid var(--t-line); padding: 11px 18px; border-radius: 3px; font: 500 16px var(--f-body); cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.chip:hover { border-color: var(--violet-hi); }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, #8B5CF6, #6D28D9); border-color: #A97BFF; color: #fff; box-shadow: 0 0 18px rgba(139,92,246,.4); }
.use-detail { margin-top: 26px; padding: 22px 24px; border: 1px solid rgba(201,162,39,.42); background: var(--t-fill); min-height: 118px; }
.use-detail h3 { color: var(--gold-hi); margin-bottom: 6px; }
.note { margin-top: 22px; color: var(--t-muted); font-size: 15px; max-width: 60ch; }
.figure-frame {
  position: relative; width: min(100%, 520px); margin: 0 auto;
  border: 1px solid rgba(201,162,39,.5);
  box-shadow: 0 0 0 1px rgba(201,162,39,.18), 0 30px 80px rgba(88,28,180,.45), 0 0 60px rgba(124,58,237,.25);
  overflow: hidden;
}
.figure-frame img { display: block; width: 100%; height: auto; mask-image: radial-gradient(ellipse 88% 88% at 50% 44%, black 52%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 44%, black 52%, transparent 100%); }
.spot { cursor: pointer; }
.spot .halo { opacity: .22; transform-box: fill-box; transform-origin: center; transform: scale(.5); transition: opacity .25s, transform .25s; }
.spot .core { fill: #fff; opacity: .5; transition: opacity .25s; }
.spot.on .halo { opacity: 1; transform: scale(1); animation: throb 2s ease-in-out infinite; }
.spot.on .core { opacity: 1; }
@keyframes throb { 0%,100% { transform: scale(.88); } 50% { transform: scale(1.22); } }
@media (max-width: 920px) { .uses-grid { grid-template-columns: 1fr; } .figure-frame { max-width: 440px; margin: 0 auto; } }

/* ---------- Memberships ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(36px, 5vw, 56px); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--t-card); border: 1px solid var(--t-line); padding: 32px 28px 28px; }
.plan--featured { border: 2px solid var(--violet); position: relative; box-shadow: 0 0 40px rgba(124,58,237,.22); }
.plan--featured::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 5px; background: linear-gradient(90deg, #8C6A15, #F5D67B 45%, #C9A227); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.price .amt { font-family: var(--f-disp); font-weight: 700; font-size: 60px; line-height: 1; }
.price .per { color: var(--t-muted); font-size: 16px; }
.renew { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--t-accent); }
.plan ul { margin: 22px 0 28px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--t-accent); }
.plan .btn { margin-top: auto; }
.manage { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--t-line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.manage p { color: var(--t-muted); max-width: 52ch; }
.manage-msg { flex-basis: 100%; color: var(--t); font-weight: 500; }
.banner { margin-top: 30px; padding: 20px 24px; border: 1px solid rgba(201,162,39,.5); background: var(--t-fill); }
.banner h3 { color: var(--t-accent); margin-bottom: 6px; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Legacy ---------- */
.legacy-grid { display: grid; grid-template-columns: 1fr; max-width: 720px; }
.legacy-copy p { max-width: 56ch; }
.legacy-copy p + p { margin-top: 16px; }
.legacy-copy h2 { margin-bottom: 26px; }
.quote { margin-top: 34px; padding: 26px 28px; border: 1px solid var(--gold); outline: 1px solid rgba(201,162,39,.32); outline-offset: 6px; max-width: 520px; background: linear-gradient(180deg, rgba(124,58,237,.10), transparent); }
.quote p { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--gold-hi); }
.quote cite { display: block; margin-top: 12px; font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--ink-muted); }


/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-top: 40px; border-top: 1px solid var(--t-line); }
.faq-list details { border-bottom: 1px solid var(--t-line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-disp); font-weight: 600; font-size: 24px; letter-spacing: .01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--t-accent); border-bottom: 2px solid var(--t-accent); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { padding: 0 0 24px; color: var(--t-muted); max-width: 64ch; }

/* ---------- Forms ---------- */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact-lines { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--t-line); display: grid; gap: 20px; }
.contact-lines p { color: var(--t-muted); font-size: 15px; }
.contact-lines a { display: inline-block; margin-top: 2px; font-family: var(--f-disp); font-weight: 700; letter-spacing: .02em; color: var(--gold-hi); text-decoration: none; word-break: break-word; }
.contact-lines .tel { font-size: 38px; }
.contact-lines .mail { font-size: 26px; }
.contact-lines a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; color-scheme: dark; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--f-body); color: var(--t); background: rgba(255,255,255,.06); border: 1px solid var(--t-line); border-radius: 3px; padding: 12px 14px; min-height: 48px; }
.field textarea { min-height: 112px; resize: vertical; }
.field select option { color: #170E31; background: #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--gold-hi); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; color: #FFB4B4; font-weight: 500; }
.done { padding: 30px; border: 1px solid rgba(201,162,39,.5); background: var(--t-fill); }
.done h3 { color: var(--gold-hi); font-size: 32px; margin-bottom: 10px; }
.done p + p { margin-top: 12px; }
.done .btn { margin-top: 22px; }
.done .fine { color: var(--t-muted); font-size: 15px; }
@media (max-width: 920px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Ask block ---------- */
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 920px) { .ask-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #05030B; border-top: 1px solid var(--line); padding: 48px 24px 56px; color: var(--ink-muted); font-size: 15px; }
.foot { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; }
.foot a { color: var(--gold-hi); text-decoration: none; font-weight: 600; word-break: break-word; }
.foot a:hover { text-decoration: underline; }
.foot .legal { max-width: 68ch; }
.foot .copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Dialog ---------- */
dialog.dialog-dark { width: calc(100% - 32px); max-width: 490px; padding: 30px 28px 28px; background: #110A22; color: var(--t); border: 1px solid var(--gold); border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
dialog.dialog-dark::backdrop { background: rgba(4,2,9,.8); }
dialog h3 { color: var(--gold-hi); font-size: 32px; }
.co-sum { margin: 8px 0 22px; color: var(--t-muted); }
.co-form { display: grid; gap: 16px; color-scheme: dark; }
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.co-done p { margin-top: 12px; }
.co-lock { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--t-muted); }
.co-lock svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--t-accent); }

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

/* ---------- Member Calendar ---------- */
.cal-gate { max-width: 520px; text-align: center; margin: 0 auto; padding: 40px 32px; border: 1px solid var(--line); background: var(--bg-3); }
.cal-gate h3 { color: var(--gold-hi); font-size: 32px; margin-bottom: 12px; }
.cal-gate p  { color: var(--ink-muted); margin-bottom: 24px; }
.cal-wrap { max-width: 700px; margin: 0 auto; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cal-header h3 { color: var(--gold-hi); font-size: 28px; }
.cal-nav { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cal-nav:hover { border-color: var(--gold); color: var(--gold-hi); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal-day-name { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-muted); padding-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.cal-day { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 3px; font-weight: 500; font-size: 15px; cursor: default; border: 1px solid transparent; }
.cal-day.empty { }
.cal-day.past { color: rgba(255,255,255,.18); }
.cal-day.available { background: rgba(124,58,237,.14); border-color: rgba(124,58,237,.4); color: var(--ink); cursor: pointer; }
.cal-day.available:hover { background: rgba(124,58,237,.35); border-color: var(--violet-hi); }
.cal-day.selected { background: linear-gradient(180deg,#8B5CF6,#6D28D9); border-color: #A97BFF; color: #fff; box-shadow: 0 0 18px rgba(139,92,246,.5); }
.cal-day.booked { color: rgba(255,255,255,.3); text-decoration: line-through; cursor: not-allowed; }
.cal-legend { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.cal-legend span { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-muted); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 2px; }
.leg-avail { background: rgba(124,58,237,.35); border: 1px solid rgba(124,58,237,.7); }
.leg-sel { background: #7C3AED; }
.leg-book { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.slot { background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 10px 18px; border-radius: 3px; font: 500 15px var(--f-body); cursor: pointer; }
.slot:hover { border-color: var(--violet-hi); }
.slot.sel-slot { background: linear-gradient(180deg,#8B5CF6,#6D28D9); border-color: #A97BFF; color:#fff; }
.cal-confirm { margin-top: 28px; padding: 24px; border: 1px solid rgba(201,162,39,.4); background: rgba(255,255,255,.03); }
.cal-confirm h3 { color: var(--gold-hi); margin-bottom: 16px; font-size: 24px; }
.cal-step { display: none; }
.cal-step.active { display: block; }
.cal-done { padding: 32px; text-align: center; border: 1px solid rgba(201,162,39,.5); background: rgba(255,255,255,.03); }
.cal-done h3 { color: var(--gold-hi); font-size: 32px; margin-bottom: 10px; }

