:root {
    --primary: #6c3454;
    --primary-hover: #542740;
    --accent: #c78398;
    --accent-soft: #e8c4cf;
    --background: #f8f6f7;
    --surface: #ffffff;
    --text: #211e20;
    --muted: #6f676b;
    --border: #e5dfe2;
    --success: #26845b;
    --success-soft: #e4f5ed;
    --warning: #c47a25;
    --warning-soft: #fff3df;
    --danger: #b84545;
    --danger-soft: #fbe8e8;
    --info: #3974a8;
    --info-soft: #e8f2fa;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(48, 29, 40, .03), 0 8px 24px rgba(48, 29, 40, .035);
    --shadow-md: 0 18px 60px rgba(48, 29, 40, .08);
    --container: 1240px;
    --sidebar: 238px;
    --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
[id] { scroll-margin-top: 110px; }
body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .brand { font-family: Manrope, Inter, sans-serif; }
h1 { font-size: clamp(2rem, 4vw, 4.25rem); line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.12; letter-spacing: -.04em; }
h3 { line-height: 1.25; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid rgba(108, 52, 84, .25); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }
.muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--surface); padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.skip-link:focus { top: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; color: var(--primary); }
.brand__mark { display: grid; gap: 2px; width: 24px; transform: rotate(-2deg); }
.brand__mark i { display: block; height: 9px; border-radius: 5px 1px 5px 1px; background: currentColor; transform: skewX(-24deg); }
.brand__mark i:last-child { opacity: .48; transform: skewX(-24deg) translateX(4px); }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-size: 17px; letter-spacing: .12em; }
.brand__text small { margin-top: 5px; color: var(--muted); font-family: Inter, sans-serif; font-size: 9px; letter-spacing: .02em; }

.btn {
    min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 0 20px; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
    font-size: 14px; font-weight: 650; transition: background var(--transition), color var(--transition), border var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { color: #fff; background: var(--primary); box-shadow: 0 8px 24px rgba(108, 52, 84, .14); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { color: var(--primary); background: var(--surface); border-color: rgba(108, 52, 84, .48); }
.btn--secondary:hover { border-color: var(--primary); background: #fdfafb; }
.btn--ghost { background: transparent; color: var(--primary); }
.btn--danger { color: var(--danger); border-color: rgba(184, 69, 69, .3); background: var(--surface); }
.btn--sm { min-height: 38px; padding-inline: 14px; font-size: 13px; }
.btn--block { width: 100%; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; transition: .18s ease; }
.icon-button:hover { color: var(--primary); border-color: var(--accent-soft); background: #fdfafb; }

.status { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--confirmed, .status--completed, .status--active, .status--success { color: var(--success); background: var(--success-soft); }
.status--pending, .status--warning { color: var(--warning); background: var(--warning-soft); }
.status--cancelled, .status--inactive, .status--danger { color: var(--danger); background: var(--danger-soft); }
.status--info { color: var(--info); background: var(--info-soft); }

.avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--primary); background: #f2dce4; font-size: 12px; font-weight: 700; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 36px; height: 36px; }
.avatar--lg { width: 62px; height: 62px; font-size: 18px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .field-label { font-size: 13px; font-weight: 650; }
.form-field small { color: var(--muted); font-size: 12px; }
.input, .select, .textarea {
    width: 100%; min-height: 46px; padding: 11px 13px; color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: 9px; outline: none; transition: border var(--transition), box-shadow var(--transition);
}
.textarea { min-height: 112px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108, 52, 84, .1); }
.input-group { position: relative; }
.input-group .input { padding-right: 48px; }
.input-group button { position: absolute; right: 3px; top: 3px; border: 0; background: transparent; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.checkbox { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--primary); }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel__header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.panel__title { display: flex; align-items: center; gap: 10px; }
.panel__title h2, .panel__title h3 { margin: 0; font-size: 16px; }
.panel__title svg { color: var(--primary); }
.panel__body { padding: 18px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin-bottom: 5px; font-size: clamp(1.7rem, 2.2vw, 2.35rem); letter-spacing: -.045em; }
.page-heading p { margin: 0; color: var(--muted); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.toolbar__filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-field { position: relative; width: min(100%, 300px); }
.search-field svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field .input { padding-left: 40px; }

.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 12px 16px; color: var(--muted); background: #fbfafb; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #eee9eb; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background var(--transition); }
.data-table tbody tr:hover { background: #fdfafb; }
.table-identity { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.table-identity strong, .table-identity small { display: block; }
.table-identity small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.table-actions { display: flex; justify-content: flex-end; gap: 7px; }
.table-actions .icon-button { width: 35px; height: 35px; border-color: transparent; background: transparent; }

.empty-state { max-width: 520px; margin: 60px auto; padding: 20px; text-align: center; }
.empty-state__icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--primary); background: #f5e8ed; border-radius: 18px; }
.empty-state h2 { margin-bottom: 8px; font-size: 21px; }
.empty-state p { color: var(--muted); }
.empty-inline { width: 100%; padding: 28px; color: var(--muted); background: #fbfafb; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }

.toast { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
.toast--success { color: var(--success); border-color: #c9e7d9; background: #f7fdf9; }
.toast--warning { color: #8b5718; border-color: #f0d5aa; background: #fffaf2; }
.toast--danger { color: var(--danger); border-color: #efc7c7; background: #fffafa; }
.toast span { flex: 1; color: var(--text); }
.toast button { border: 0; background: transparent; cursor: pointer; color: currentColor; }

/* Marketing */
.marketing-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229, 223, 226, .85); }
.marketing-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.marketing-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.marketing-nav a:not(.btn):hover { color: var(--primary); }
.marketing-nav__actions { display: flex; align-items: center; gap: 12px; }
.mobile-nav-button { display: none; }
.hero { min-height: 720px; position: relative; overflow: hidden; background: linear-gradient(110deg, #fff 0 47%, #f5e9ed 100%); }
.hero::after { content: ""; position: absolute; top: 80px; right: -100px; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(232,196,207,.6), rgba(232,196,207,0) 68%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; min-height: 720px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 60px; padding-block: 76px; }
.hero__copy h1 { max-width: 660px; margin-bottom: 24px; }
.hero__copy h1 span { color: var(--primary); }
.hero__copy > p { max-width: 570px; margin-bottom: 34px; color: var(--muted); font-size: 19px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn { min-height: 54px; padding-inline: 26px; }
.product-stage { position: relative; min-height: 510px; display: grid; place-items: center; }
.product-window { position: relative; z-index: 2; width: 650px; max-width: 100%; overflow: hidden; background: white; border: 1px solid rgba(108,52,84,.14); border-radius: 18px; box-shadow: 0 34px 80px rgba(75,42,60,.18); transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.product-window__bar { height: 38px; display: flex; align-items: center; gap: 5px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.product-window__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.product-window__body { min-height: 400px; display: grid; grid-template-columns: 126px 1fr; }
.mini-sidebar { padding: 20px 12px; color: #fff; background: var(--primary); }
.mini-sidebar strong { display: block; margin: 4px 8px 25px; font-family: Manrope, sans-serif; letter-spacing: .13em; }
.mini-sidebar span { display: block; margin: 5px 0; padding: 9px 10px; border-radius: 7px; font-size: 10px; opacity: .76; }
.mini-sidebar span:first-of-type { background: rgba(255,255,255,.13); opacity: 1; }
.mini-dashboard { padding: 24px; }
.mini-dashboard h3 { margin-bottom: 4px; font-size: 20px; }
.mini-dashboard > p { margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.mini-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.mini-metrics div { padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.mini-metrics span { display: block; color: var(--muted); font-size: 8px; }
.mini-metrics strong { font-size: 16px; }
.mini-agenda { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.mini-agenda h4 { padding: 12px; margin: 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.mini-agenda div { display: grid; grid-template-columns: 50px 1fr 1fr; padding: 10px 12px; border-bottom: 1px solid #f0ecee; font-size: 9px; }
.mini-agenda div:last-child { border-bottom: 0; }
.hero-phone { position: absolute; right: -18px; bottom: 9px; z-index: 3; width: 150px; height: 305px; padding: 8px; background: #171416; border-radius: 30px; box-shadow: 0 24px 50px rgba(33,30,32,.22); transform: rotate(2deg); }
.hero-phone__screen { height: 100%; padding: 18px 11px; background: #fff; border-radius: 24px; }
.hero-phone__screen h4 { margin: 8px 0 18px; font-size: 15px; }
.hero-phone__screen div { display: grid; grid-template-columns: 32px 1fr; gap: 8px; margin-bottom: 10px; padding: 9px 5px; border-bottom: 1px solid var(--border); font-size: 8px; }
.hero-phone__screen strong { color: var(--primary); }
.benefit-strip { position: relative; z-index: 4; margin-top: -40px; }
.benefit-strip__inner { display: grid; grid-template-columns: repeat(3,1fr); background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.benefit-item { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 16px; padding: 25px 30px; }
.benefit-item + .benefit-item { border-left: 1px solid var(--border); }
.benefit-item__icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--primary); background: #f6e8ed; border-radius: 12px; }
.benefit-item h3 { margin: 0 0 3px; font-size: 15px; }
.benefit-item p { margin: 0; color: var(--muted); font-size: 12px; }
.feature-section { padding: 125px 0 105px; }
.feature-split { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 100px; }
.feature-split--reverse { grid-template-columns: 1.15fr .85fr; }
.feature-copy h2 span { display: block; color: var(--primary); font-weight: 600; }
.feature-copy p { max-width: 490px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.calendar-showcase { min-height: 430px; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 24px; position: relative; }
.calendar-showcase::before { content: ""; position: absolute; inset: 40px 0 0 100px; background: #f2dfe6; border-radius: 38% 62% 51% 49% / 44% 40% 60% 56%; opacity: .75; }
.calendar-card { position: relative; z-index: 1; padding: 22px; background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.calendar-card__head { display: flex; justify-content: space-between; margin-bottom: 18px; }
.calendar-week { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 16px; text-align: center; font-size: 10px; color: var(--muted); }
.calendar-week span:nth-child(5) { padding: 7px 0; color: white; background: var(--primary); border-radius: 50%; }
.calendar-events { display: grid; gap: 7px; }
.calendar-events div { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 9px; background: #faf7f8; border-left: 3px solid var(--accent); border-radius: 6px; font-size: 10px; }
.feature-photo { position: relative; z-index: 1; width: 100%; height: 390px; object-fit: contain; object-position: center; background: #eee5df; border-radius: 14px; box-shadow: var(--shadow-sm); }
.crm-preview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; padding: 18px; background: #f2dfe6; border-radius: 18px; }
.crm-list, .crm-profile { padding: 20px; background: white; border: 1px solid var(--border); border-radius: 11px; }
.crm-list h3 { font-size: 16px; }
.crm-list-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.crm-list-row:last-child { border-bottom: 0; }
.crm-profile { align-self: center; }
.crm-profile h4 { margin: 10px 0 4px; }
.crm-profile p { color: var(--muted); font-size: 11px; }
.dark-band { padding: 75px 0; color: white; background: var(--primary); }
.dark-band__inner { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 62px; }
.dark-band__divider { background: rgba(255,255,255,.25); }
.dark-feature { display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
.dark-feature__icon { width: 58px; height: 58px; display: grid; place-items: center; color: white; background: rgba(255,255,255,.12); border-radius: 13px; }
.dark-feature h2 { margin-bottom: 8px; font-size: 27px; }
.dark-feature p { margin-bottom: 16px; color: rgba(255,255,255,.74); }
.dark-feature a { text-decoration: underline; text-underline-offset: 4px; }
.faq { max-width: 820px; margin: auto; }
.faq__heading { text-align: center; margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::after { content: "+"; position: absolute; right: 3px; font-size: 22px; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--muted); }
.pricing-section { background: #fbf8f9; }
.pricing-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.pricing-heading > span { display: block; margin-bottom: 9px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pricing-heading h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.5vw, 3rem); }
.pricing-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 18px; }
.pricing-grid--admin { margin-bottom: 24px; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 29px; background: white; border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow-sm); }
.pricing-card--featured { border: 2px solid var(--primary); box-shadow: 0 24px 55px rgba(108,52,84,.14); transform: translateY(-8px); }
.pricing-card.is-selected { box-shadow: 0 0 0 3px #ead4dd, var(--shadow-md); }
.pricing-card__badge { position: absolute; top: 0; left: 50%; padding: 7px 14px; color: white; background: var(--primary); border-radius: 0 0 9px 9px; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.pricing-card__head > span { display: block; margin-bottom: 8px; color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pricing-card--featured .pricing-card__head { padding-top: 15px; }
.pricing-card__head h3 { margin-bottom: 7px; font-size: 25px; }
.pricing-card__head p { min-height: 58px; margin: 0; color: var(--muted); font-size: 12px; }
.pricing-card__price { display: flex; align-items: baseline; margin: 23px 0 20px; color: var(--primary); }
.pricing-card__price small { margin-right: 5px; font-size: 14px; font-weight: 700; }
.pricing-card__price strong { font-family: Manrope,sans-serif; font-size: 44px; letter-spacing: -.06em; }
.pricing-card__price sup { top: -.9em; font-size: 15px; font-weight: 700; }
.pricing-card__price span { margin-left: 6px; color: var(--muted); font-size: 12px; }
.pricing-card ul { display: grid; gap: 11px; flex: 1; margin: 0 0 27px; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; }
.pricing-card li { display: flex; align-items: flex-start; gap: 9px; color: #514950; font-size: 12px; }
.pricing-card li svg { flex: 0 0 auto; color: var(--success); }
.pricing-card form { margin: 0; }
.pricing-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 31px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.pricing-footnote svg { color: var(--success); }
.selected-plan-note { display: flex; gap: 11px; margin: -13px 0 22px; padding: 13px 15px; color: var(--primary); background: #f8eef2; border: 1px solid #ead4dd; border-radius: 10px; font-size: 12px; }
.selected-plan-note svg { flex: 0 0 auto; }
.access-banner { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; padding: 18px 20px; border: 1px solid; border-radius: 12px; }
.access-banner__icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; }
.access-banner > div { flex: 1; }
.access-banner strong { display: block; margin-bottom: 3px; }
.access-banner p { margin: 0; font-size: 12px; }
.access-banner--active { color: #1f7253; background: #f4fcf8; border-color: #bde4d2; }
.access-banner--active .access-banner__icon { background: #dff4e9; }
.access-banner--pending { color: #87591d; background: #fffaf1; border-color: #ecd5ae; }
.access-banner--pending .access-banner__icon { background: #f9eacb; }
.access-banner--inactive { color: #a13c48; background: #fff7f7; border-color: #ecc5ca; }
.access-banner--inactive .access-banner__icon { background: #f7dfe2; }
.plan-conditions { margin-top: 8px; }
.plan-conditions__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.plan-conditions__grid > div { padding: 4px 22px; }
.plan-conditions__grid > div + div { border-left: 1px solid var(--border); }
.plan-conditions__grid strong { display: block; margin-bottom: 7px; font-size: 13px; }
.plan-conditions__grid p { margin: 0; color: var(--muted); font-size: 11px; }
.final-cta { overflow: hidden; padding: 80px 0; background: linear-gradient(110deg, #faeef2, #fff); }
.final-cta__inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 60px; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { color: var(--muted); font-size: 17px; }
.final-cta__visual { position: relative; height: 260px; }
.final-cta__visual .product-window { position: absolute; width: 410px; right: 0; top: 0; transform: none; }
.site-footer { background: white; border-top: 1px solid var(--border); }
.site-footer__inner { min-height: 100px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.site-footer__inner > p { margin: 0; text-align: center; }
.site-footer__links { display: flex; justify-content: flex-end; gap: 24px; }

/* Authentication and onboarding */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: white; }
.auth-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 56px; color: white; background: var(--primary); }
.auth-visual::after { content: ""; position: absolute; width: 620px; height: 620px; right: -260px; bottom: -240px; border: 110px solid rgba(255,255,255,.06); border-radius: 50%; }
.auth-visual .brand { position: relative; z-index: 1; color: white; }
.auth-visual .brand small { color: rgba(255,255,255,.68); }
.auth-visual__copy { position: relative; z-index: 1; max-width: 570px; }
.auth-visual__copy h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.auth-visual__copy p { color: rgba(255,255,255,.72); font-size: 18px; }
.auth-content { display: grid; place-items: center; padding: 50px; }
.auth-card { width: min(100%, 430px); }
.auth-card h2 { margin-bottom: 8px; font-size: 30px; }
.auth-card > p { margin-bottom: 30px; color: var(--muted); }
.auth-form { display: grid; gap: 17px; }
.auth-form__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.auth-form__footer { margin-top: 24px; color: var(--muted); text-align: center; }
.auth-form__footer a { color: var(--primary); font-weight: 600; }
.demo-credentials { margin-top: 26px; padding: 14px 16px; color: var(--muted); background: var(--background); border: 1px solid var(--border); border-radius: 10px; font-size: 12px; }
.error-list { margin: 0 0 20px; padding: 12px 16px 12px 35px; color: var(--danger); background: var(--danger-soft); border-radius: 9px; font-size: 13px; }
.onboarding-page { min-height: 100vh; background: var(--background); }
.onboarding-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; background: white; border-bottom: 1px solid var(--border); }
.onboarding-header p { margin: 0; color: var(--muted); font-size: 13px; }
.onboarding-layout { width: min(calc(100% - 40px), 1040px); margin: 46px auto; display: grid; grid-template-columns: 230px 1fr; gap: 50px; }
.onboarding-progress { display: grid; align-content: start; gap: 4px; }
.onboarding-progress__item { display: flex; align-items: center; gap: 12px; padding: 11px; color: var(--muted); border-radius: 9px; font-size: 13px; }
.onboarding-progress__item span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 50%; font-size: 11px; }
.onboarding-progress__item.is-active { color: var(--primary); background: #f2e4e9; font-weight: 650; }
.onboarding-progress__item.is-active span { color: white; background: var(--primary); border-color: var(--primary); }
.onboarding-progress__item.is-complete span { color: white; background: var(--success); border-color: var(--success); }
.onboarding-card { min-height: 580px; padding: 42px; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.onboarding-card__step > header { margin-bottom: 30px; }
.onboarding-card__step > header span { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.onboarding-card__step h1 { margin: 7px 0 8px; font-size: 31px; }
.onboarding-card__step header p { color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid--three { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; display: grid; align-content: start; gap: 8px; min-height: 112px; padding: 18px; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; transition: var(--transition); }
.choice-card:hover { border-color: var(--accent); background: #fdfafb; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { color: var(--primary); border-color: var(--primary); background: #f7edf1; box-shadow: inset 0 0 0 1px var(--primary); }
.choice-card svg { color: var(--primary); }
.choice-card strong { font-size: 14px; }
.choice-card small { color: var(--muted); }
.onboarding-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); }
.hours-grid { display: grid; gap: 9px; }
.hours-row { display: grid; grid-template-columns: 105px 1fr 1fr 1fr; align-items: center; gap: 10px; }
.hours-row strong { font-size: 12px; }

/* Admin */
.admin-body { overflow-x: hidden; background: var(--background); }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 80; width: var(--sidebar); display: flex; flex-direction: column; padding: 20px 14px; background: white; border-right: 1px solid var(--border); }
.admin-sidebar__top { height: 58px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 12px; }
.sidebar-close { display: none; }
.admin-nav { display: grid; gap: 3px; margin-top: 12px; }
.admin-nav__item { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #484147; border-radius: 9px; font-size: 13px; font-weight: 500; transition: .16s ease; }
.admin-nav__item svg { flex: 0 0 auto; width: 18px; height: 18px; }
.admin-nav__item:hover { color: var(--primary); background: #faf6f8; }
.admin-nav__item.is-active { color: white; background: var(--primary); box-shadow: 0 8px 22px rgba(108,52,84,.13); }
.sidebar-note { margin-top: auto; padding: 16px; color: var(--muted); background: linear-gradient(145deg,#f8eef2,#fbf9fa); border-radius: 12px; }
.sidebar-note__icon { width: 33px; height: 33px; display: grid; place-items: center; color: var(--primary); background: white; border-radius: 9px; }
.sidebar-note p { margin: 11px 0; font-family: Manrope,sans-serif; font-size: 13px; }
.sidebar-note small { color: var(--primary); font-size: 10px; font-weight: 650; }
.sidebar-logout { margin-top: 7px; }
.admin-workspace { grid-column: 2; min-width: 0; }
.admin-topbar { position: sticky; top: 0; z-index: 45; height: 68px; display: flex; align-items: center; gap: 22px; padding: 0 28px; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.sidebar-trigger { display: none; }
.global-search { width: min(100%, 500px); height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: #fcfbfc; }
.global-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 12px; }
.global-search kbd { padding: 1px 6px; color: var(--muted); background: white; border: 1px solid var(--border); border-radius: 5px; font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.notification-button { position: relative; border: 0; }
.notification-button span { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; background: #c62f5f; border: 2px solid white; border-radius: 50%; }
.account-menu { display: flex; align-items: center; gap: 10px; }
.account-menu__copy { display: grid; font-size: 11px; }
.account-menu__copy small { color: var(--muted); }
.admin-main { width: min(calc(100% - 48px), 1420px); margin: 0 auto; padding: 32px 0 54px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.metric-card { position: relative; min-height: 116px; padding: 20px; background: white; border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-sm); }
.metric-card__head { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 11px; }
.metric-card__icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); background: #f5e8ed; border-radius: 10px; }
.metric-card strong { display: block; margin: 9px 0 0 51px; font-family: Manrope,sans-serif; font-size: 24px; letter-spacing: -.04em; }
.metric-card small { position: absolute; right: 18px; bottom: 18px; color: var(--success); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(280px,.63fr); gap: 16px; margin-bottom: 16px; }
.agenda-panel { min-height: 455px; }
.agenda-table th { text-transform: none; letter-spacing: 0; font-size: 11px; }
.agenda-table td { font-size: 12px; }
.agenda-table tbody tr:first-child { background: #fcf4f7; }
.agenda-table time { font-weight: 700; }
.dashboard-rail { display: grid; gap: 16px; align-content: start; }
.next-appointment { padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: #fcfbfc; }
.next-appointment__time { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.next-appointment__time strong { font-family: Manrope,sans-serif; font-size: 27px; }
.next-appointment__client { display: flex; gap: 11px; margin-bottom: 15px; }
.next-appointment__client p { margin: 0; }
.next-appointment__details { display: grid; gap: 8px; margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.next-appointment__details span { display: flex; align-items: center; gap: 8px; }
.service-bars { display: grid; gap: 12px; }
.service-bar { display: grid; grid-template-columns: minmax(100px,1fr) 120px 24px; align-items: center; gap: 10px; font-size: 11px; }
.service-bar__track { height: 6px; background: #eee8eb; border-radius: 10px; overflow: hidden; }
.service-bar__track i { display: block; height: 100%; background: linear-gradient(90deg,var(--accent),var(--primary)); border-radius: inherit; }
.dashboard-bottom { display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; }
.financial-summary { display: grid; gap: 8px; }
.financial-row { display: flex; align-items: center; gap: 13px; padding: 11px; border: 1px solid var(--border); border-radius: 9px; }
.financial-row__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.financial-row:nth-child(1) .financial-row__icon { color: var(--success); background: var(--success-soft); }
.financial-row:nth-child(2) .financial-row__icon { color: var(--danger); background: var(--danger-soft); }
.financial-row:nth-child(3) .financial-row__icon { color: var(--primary); background: #eee1f2; }
.financial-row p { flex: 1; margin: 0; color: var(--muted); font-size: 11px; }
.financial-row strong { display: block; color: var(--text); font-size: 16px; }
.stat-note { color: var(--muted); font-size: 11px; }

.agenda-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.agenda-filters { display: flex; align-items: center; gap: 10px; }
.segmented { display: inline-flex; padding: 3px; background: white; border: 1px solid var(--border); border-radius: 10px; }
.segmented a, .segmented button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 12px; }
.segmented .is-active { color: white; background: var(--primary); }
.calendar-board { min-height: 650px; overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 12px; }
.calendar-board__head { display: grid; grid-template-columns: 64px repeat(7,1fr); background: #fbfafb; border-bottom: 1px solid var(--border); }
.calendar-board__head div { padding: 13px 8px; text-align: center; font-size: 11px; }
.calendar-board__head strong { display: block; font-size: 16px; }
.calendar-board__grid { display: grid; grid-template-columns: 64px repeat(7,1fr); min-width: 850px; }
.calendar-hours { display: grid; grid-template-rows: repeat(11,72px); color: var(--muted); font-size: 10px; text-align: center; }
.calendar-hours span { padding-top: 7px; border-bottom: 1px solid var(--border); }
.calendar-day { position: relative; min-height: 792px; border-left: 1px solid var(--border); background: repeating-linear-gradient(to bottom, transparent 0, transparent 71px, var(--border) 71px, var(--border) 72px); }
.calendar-event { position: absolute; left: 5px; right: 5px; min-height: 56px; padding: 7px 8px; overflow: hidden; color: var(--primary); background: #f5e6eb; border-left: 3px solid var(--primary); border-radius: 6px; font-size: 9px; }
.calendar-event strong { display: block; color: var(--text); font-size: 10px; }
.month-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.month-day { min-height: 125px; padding: 10px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.month-day:nth-child(7n) { border-right: 0; }
.month-day.is-outside { color: #aaa1a6; background: #fbfafb; }
.month-day > strong { display: block; margin-bottom: 7px; font-size: 12px; }
.month-event { display: block; overflow: hidden; margin-bottom: 4px; padding: 4px 6px; color: var(--primary); background: #f5e8ed; border-radius: 5px; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.month-event--cancelled { color: var(--danger); background: var(--danger-soft); text-decoration: line-through; }

.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.content-card { overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.content-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #f2ecef; }
.content-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f4efef; transition: transform .3s ease; }
.content-card:hover .content-card__media img { transform: scale(1.025); }
.content-card__body { padding: 16px; }
.content-card__body h3 { margin: 0 0 5px; font-size: 15px; }
.content-card__body p { color: var(--muted); font-size: 12px; }
.content-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }

.report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.report-value { font-family: Manrope,sans-serif; font-size: 32px; letter-spacing: -.04em; }
.horizontal-chart { display: grid; gap: 14px; margin-top: 22px; }
.horizontal-chart__row { display: grid; grid-template-columns: 140px 1fr 45px; align-items: center; gap: 12px; font-size: 12px; }
.horizontal-chart__bar { height: 9px; background: #eee8eb; border-radius: 9px; }
.horizontal-chart__bar span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }

dialog.modal { width: min(calc(100% - 30px), 650px); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 30px 100px rgba(33,30,32,.25); }
dialog.modal::backdrop { background: rgba(33,30,32,.48); backdrop-filter: blur(3px); }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.modal__header h2 { margin: 0; font-size: 20px; }
.modal__body { padding: 22px; }
.modal__footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; background: #fbfafb; border-top: 1px solid var(--border); }

/* My page */
.share-hero { display: grid; grid-template-columns: 1fr 250px; gap: 30px; align-items: center; padding: 34px; background: linear-gradient(115deg,#fff,#f5e8ed); }
.share-hero h2 { margin-bottom: 7px; font-size: 25px; }
.share-url { display: flex; align-items: center; gap: 10px; margin: 22px 0 16px; padding: 13px 15px; background: white; border: 1px solid var(--border); border-radius: 9px; }
.share-url code { flex: 1; min-width: 0; overflow: hidden; color: var(--primary); text-overflow: ellipsis; font-size: 13px; }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.qr-card { padding: 15px; text-align: center; background: white; border: 1px solid var(--border); border-radius: 12px; }
.qr-card img { width: 180px; height: 180px; margin: auto; }
.qr-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.page-preview { position: relative; min-height: 450px; overflow: hidden; padding: 30px; background: #eee7ea; }
.page-preview__browser { max-width: 760px; margin: auto; overflow: hidden; background: white; border: 1px solid #d9d0d4; border-radius: 13px; box-shadow: var(--shadow-md); }
.page-preview__bar { height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 13px; background: #fbfafb; border-bottom: 1px solid var(--border); }
.page-preview__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.page-preview__cover { height: 190px; background-color: #eee7ea; background-position: center; background-repeat: no-repeat; background-size: contain; }
.page-preview__profile { padding: 18px 24px 25px; }
.page-preview__profile h3 { margin-bottom: 4px; font-size: 22px; }
.page-preview__profile p { color: var(--muted); }

/* Public establishment page */
.profile-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.profile-header__inner { height: 66px; display: flex; align-items: center; gap: 24px; }
.profile-header__name { padding-left: 18px; border-left: 1px solid var(--border); font-weight: 600; }
.profile-header__actions { margin-left: auto; display: flex; gap: 9px; }
.profile-cover { height: clamp(260px, 37vw, 480px); position: relative; overflow: hidden; background: #dfd2cb; }
.profile-cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #dfd2cb; }
.profile-intro { position: relative; z-index: 3; margin-top: -74px; }
.profile-intro__surface { display: grid; grid-template-columns: 130px 1fr auto; align-items: end; gap: 25px; padding: 24px; background: rgba(255,255,255,.95); backdrop-filter: blur(15px); border: 1px solid rgba(229,223,226,.8); border-radius: 14px; box-shadow: var(--shadow-md); }
.profile-logo { width: 126px; height: 126px; display: grid; place-items: center; overflow: hidden; color: var(--primary); background: #f3dfe6; border: 6px solid white; border-radius: 50%; font-family: Manrope,sans-serif; font-size: 22px; text-align: center; }
.profile-logo img { width: 100%; height: 100%; padding: 4px; object-fit: contain; object-position: center; background: white; }
.profile-copy h1 { margin: 0 0 4px; font-size: 29px; }
.profile-copy p { max-width: 600px; margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.category-list { display: flex; gap: 6px; flex-wrap: wrap; }
.category-list span { padding: 5px 10px; color: var(--primary); background: #f5e8ed; border-radius: 14px; font-size: 10px; }
.profile-cta { display: flex; gap: 9px; }
.profile-section { padding: 70px 0 0; }
.profile-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.profile-section__head h2 { margin: 0; font-size: 26px; }
.profile-section__head a { color: var(--primary); font-size: 12px; font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.service-card { overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 11px; transition: .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card__image { aspect-ratio: 4/3; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f4efef; }
.service-card__body { padding: 15px; }
.service-card__body h3 { margin-bottom: 5px; font-size: 14px; }
.service-card__body p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.service-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.service-card__meta small { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.service-card__meta strong { color: var(--primary); }
.professional-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.professional-card { padding: 24px; text-align: center; background: white; border: 1px solid var(--border); border-radius: 11px; }
.professional-card .avatar { width: 76px; height: 76px; margin: 0 auto 12px; font-size: 21px; }
.professional-card h3 { margin-bottom: 4px; font-size: 15px; }
.professional-card p { margin: 0; color: var(--muted); font-size: 11px; }
.portfolio-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; grid-auto-rows: 240px; gap: 12px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 11px; }
.portfolio-item img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #f4efef; transition: transform .4s ease; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item figcaption { position: absolute; inset: auto 0 0; padding: 35px 14px 13px; color: white; background: linear-gradient(transparent,rgba(33,30,32,.72)); font-size: 11px; }
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.post-card { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.post-card img { width: 110px; height: 95px; object-fit: contain; object-position: center; background: #f4efef; border-radius: 9px; }
.post-card h3 { margin-bottom: 4px; font-size: 14px; }
.post-card p, .post-card time { color: var(--muted); font-size: 11px; }
.profile-info { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 75px; padding-bottom: 20px; }
.profile-info h2 { font-size: 24px; }
.profile-info p { color: var(--muted); }
.hours-list { display: grid; gap: 8px; margin: 18px 0 30px; }
.hours-list div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 12px; }
.location-card { padding: 24px; background: white; border: 1px solid var(--border); border-radius: 11px; }
.location-card__map { position: relative; height: 190px; margin-top: 17px; overflow: hidden; background-color: #ece8e9; background-image: linear-gradient(35deg,transparent 46%,#fff 47% 52%,transparent 53%),linear-gradient(-35deg,transparent 46%,#fff 47% 52%,transparent 53%); background-size: 75px 75px; border-radius: 9px; }
.location-card__pin { position: absolute; left: 52%; top: 45%; width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--primary); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 20px rgba(108,52,84,.28); }
.location-card__pin svg { transform: rotate(45deg); }
.mobile-booking-cta { display: none; }

/* Booking */
.booking-body { background: #f3f0f1; }
.booking-shell { width: min(calc(100% - 40px), 1120px); min-height: calc(100vh - 80px); margin: 38px auto; overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); }
.booking-header { height: 68px; display: flex; align-items: center; gap: 20px; padding: 0 28px; border-bottom: 1px solid var(--border); }
.booking-header__name { padding-left: 18px; border-left: 1px solid var(--border); font-weight: 600; }
.booking-header__secure { margin-left: auto; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.booking-progress { display: grid; grid-template-columns: repeat(6,1fr); padding: 18px 30px; border-bottom: 1px solid var(--border); }
.booking-progress__item { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 11px; }
.booking-progress__item:not(:last-child)::after { content: ""; position: absolute; right: -10%; width: 20%; height: 1px; background: var(--border); }
.booking-progress__item span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; }
.booking-progress__item.is-active { color: var(--text); font-weight: 650; }
.booking-progress__item.is-active span { color: white; background: var(--primary); border-color: var(--primary); }
.booking-progress__item.is-complete span { color: var(--primary); border-color: var(--accent); background: #f8edf1; }
.booking-mobile-progress { display: none; height: 3px; background: #f0e9ec; }
.booking-mobile-progress i { display: block; height: 100%; background: var(--primary); transition: width .25s ease; }
.booking-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 48px; padding: 38px 40px 46px; }
.booking-main { min-height: 470px; }
.booking-panel__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--primary); border: 0; background: transparent; cursor: pointer; font-size: 12px; }
.booking-panel h1 { margin-bottom: 9px; font-size: 29px; }
.booking-panel > p { margin-bottom: 30px; color: var(--muted); }
.booking-option-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.booking-option { width: 100%; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 13px; padding: 11px; text-align: left; background: white; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; transition: .18s ease; }
.booking-option:hover, .booking-option.is-selected { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.booking-option img { width: 62px; height: 62px; object-fit: contain; object-position: center; background: #f4efef; border-radius: 8px; }
.booking-option h3 { margin: 0 0 3px; font-size: 13px; }
.booking-option small { display: block; color: var(--muted); font-size: 10px; }
.booking-option strong { color: var(--primary); font-size: 12px; }
.booking-professional { grid-template-columns: 48px 1fr; }
.booking-professional .avatar { width: 48px; height: 48px; }
.booking-professional--any { grid-column: 1 / -1; background: #fbf5f7; }
.booking-professional--any .avatar { color: var(--primary); background: #f1dce4; }
.booking-date { max-width: 460px; }
.booking-date .input { min-height: 58px; font-size: 16px; }
.time-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.time-slot { min-height: 52px; color: var(--text); background: white; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; font-size: 14px; }
.time-slot:hover, .time-slot.is-selected { color: white; background: var(--primary); border-color: var(--primary); }
.booking-panel__actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.booking-summary { align-self: start; position: sticky; top: 30px; padding: 18px; background: #fcfbfc; border: 1px solid var(--border); border-radius: 11px; }
.booking-summary h2 { padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 15px; }
.summary-row { display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-bottom: 13px; font-size: 11px; }
.summary-row__icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--primary); background: #f5e8ed; border-radius: 50%; }
.summary-row small, .summary-row strong { display: block; }
.summary-row small { color: var(--muted); }
.booking-total { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding: 15px 0; border-top: 1px solid var(--border); }
.booking-total strong { font-size: 20px; }
.booking-data-form { max-width: 610px; }
.booking-review { display: grid; gap: 10px; max-width: 610px; }
.booking-review .summary-row { margin: 0; padding: 13px; border: 1px solid var(--border); border-radius: 9px; }
.booking-mobile-bar { display: none; }
.booking-success { padding: 65px 40px 70px; text-align: center; }
.booking-success__icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; color: white; background: var(--success); border-radius: 50%; box-shadow: 0 12px 30px rgba(38,132,91,.2); }
.booking-success h1 { margin-bottom: 9px; font-size: 31px; }
.booking-success > p { color: var(--muted); }
.booking-success__grid { width: min(100%,760px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px auto; text-align: left; }
.booking-success__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Public discovery */
.discover-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 13px; }
.discover-page { min-height: 70vh; background: #faf8f9; }
.discover-hero { padding: 68px 0 42px; color: white; background: linear-gradient(135deg,#412235,#783a5e); }
.discover-hero h1 { max-width: 720px; margin: 8px 0 12px; font-size: clamp(2rem,5vw,3.7rem); }
.discover-hero > .container > p { max-width: 720px; color: #eadde4; }
.eyebrow { color: #f0becf; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.discover-search { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; padding: 20px; color: var(--text); background: white; border-radius: 14px; box-shadow: var(--shadow-md); }
.discover-search__actions { grid-column: 1 / -1; display: flex; gap: 10px; }
.discover-location-status { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.discover-results { padding-top: 42px; padding-bottom: 80px; }
.discover-results__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.discover-results__head h2 { margin-bottom: 4px; }
.discover-results__head p { margin: 0; color: var(--muted); }
.discover-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.discover-card { display: grid; grid-template-columns: 190px minmax(0,1fr); overflow: hidden; background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.discover-card__image { min-height: 100%; background: #eee5e8; }
.discover-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.discover-card__body { min-width: 0; padding: 20px; }
.discover-card__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.discover-card__title h3 { margin-bottom: 3px; font-size: 19px; }
.discover-card__title p { margin: 0; color: var(--muted); font-size: 12px; }
.discover-card__title > strong { flex: 0 0 auto; color: var(--primary); font-size: 13px; }
.discover-card__services { margin: 15px 0 10px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.discover-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; }
.next-slot { display: flex; align-items: center; gap: 8px; margin: 14px 0; padding: 10px; color: var(--primary); background: #fbf2f5; border-radius: 8px; font-size: 11px; }
.next-slot--muted { color: var(--muted); background: #f7f5f6; }
.discover-card__actions { display: flex; gap: 8px; }
.discover-card__actions .btn { flex: 1; padding-inline: 12px; }
.legal-page { min-height: 70vh; padding: 54px 0 80px; background: #faf8f9; }
.legal-page article { max-width: 820px; }
.legal-page h1 { margin: 8px 0 8px; }
.legal-page h2 { margin-top: 28px; font-size: 20px; }
.legal-page p { line-height: 1.75; }

@media (max-width: 1100px) {
    :root { --sidebar: 218px; }
    .hero__inner { gap: 30px; }
    .product-window { width: 560px; }
    .metric-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-rail { grid-template-columns: repeat(2,1fr); }
    .service-grid { grid-template-columns: repeat(2,1fr); }
    .portfolio-grid { grid-template-columns: repeat(2,1fr); }
    .feature-split, .feature-split--reverse { gap: 50px; }
    .profile-intro__surface { grid-template-columns: 110px 1fr; }
    .profile-logo { width: 105px; height: 105px; }
    .profile-cta { grid-column: 2; }
}

@media (max-width: 880px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 75px 0; }
    .marketing-nav > a:not(.btn), .marketing-nav__actions > a:first-child { display: none; }
    .marketing-nav.is-open { position: absolute; top: 68px; left: 16px; right: 16px; display: grid; gap: 4px; padding: 12px; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); }
    .marketing-nav.is-open > a:not(.btn), .marketing-nav.is-open .marketing-nav__actions > a:first-child { display: block; padding: 11px 12px; }
    .marketing-nav.is-open .marketing-nav__actions { display: flex; align-items: center; justify-content: space-between; }
    .mobile-nav-button { display: inline-grid; }
    .hero, .hero__inner { min-height: auto; }
    .hero__inner { grid-template-columns: 1fr; padding-block: 65px 105px; }
    .hero__copy { max-width: 670px; }
    .product-stage { min-height: 480px; }
    .product-window { width: min(92%,650px); }
    .benefit-strip__inner { grid-template-columns: 1fr; }
    .benefit-item + .benefit-item { border-left: 0; border-top: 1px solid var(--border); }
    .feature-split, .feature-split--reverse { grid-template-columns: 1fr; }
    .feature-split--reverse .feature-copy { order: -1; }
    .dark-band__inner { grid-template-columns: 1fr; }
    .dark-band__divider { width: 100%; height: 1px; }
    .final-cta__inner { grid-template-columns: 1fr; }
    .final-cta__visual { display: none; }
    .site-footer__inner { grid-template-columns: 1fr; padding: 28px 0; text-align: center; }
    .site-footer__links { justify-content: center; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-visual { min-height: 330px; padding: 35px; }
    .auth-content { padding: 45px 24px; }
    .onboarding-layout { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
    .onboarding-progress { grid-template-columns: repeat(6,1fr); }
    .onboarding-progress__item { padding: 4px; justify-content: center; }
    .onboarding-progress__item strong { display: none; }
    .admin-shell { display: block; }
    .admin-sidebar { transform: translateX(-105%); box-shadow: var(--shadow-md); transition: transform .25s ease; }
    .sidebar-is-open .admin-sidebar { transform: translateX(0); }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 70; visibility: hidden; opacity: 0; background: rgba(33,30,32,.35); transition: .2s ease; }
    .sidebar-is-open .sidebar-backdrop { visibility: visible; opacity: 1; }
    .sidebar-close, .sidebar-trigger { display: inline-grid; }
    .admin-workspace { width: 100%; }
    .admin-topbar { padding-inline: 18px; }
    .account-menu__copy { display: none; }
    .admin-main { width: min(calc(100% - 32px), 1420px); padding-top: 25px; }
    .dashboard-bottom { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: repeat(2,1fr); }
    .report-grid { grid-template-columns: 1fr; }
    .pricing-grid { width: min(100%,540px); grid-template-columns: 1fr; margin-inline: auto; }
    .pricing-card--featured { transform: none; }
    .plan-conditions__grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
    .plan-conditions__grid > div:nth-child(3) { border-left: 0; }
    .profile-header__actions .btn span { display: none; }
    .profile-info { grid-template-columns: 1fr; gap: 35px; }
    .booking-layout { grid-template-columns: 1fr; gap: 25px; }
    .booking-summary { position: static; }
    .booking-progress__item { font-size: 0; }
    .booking-progress__item span { font-size: 11px; }
    .discover-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 14px; }
    .container { width: min(calc(100% - 28px), var(--container)); }
    .marketing-header__inner { height: 64px; }
    .marketing-nav__actions .btn { display: none; }
    .hero__inner { padding-top: 48px; gap: 35px; }
    .hero__copy h1 { font-size: clamp(2.55rem,12vw,3.65rem); }
    .hero__copy > p { font-size: 16px; }
    .hero__actions { display: grid; }
    .pricing-card { padding: 24px 20px; }
    .pricing-card__head p { min-height: 0; }
    .pricing-footnote { align-items: flex-start; }
    .access-banner { align-items: flex-start; flex-wrap: wrap; padding: 15px; }
    .access-banner .btn { width: 100%; }
    .plan-conditions__grid { grid-template-columns: 1fr; }
    .plan-conditions__grid > div { padding: 0; }
    .plan-conditions__grid > div + div { padding-top: 18px; border-top: 1px solid var(--border); border-left: 0; }
    .product-stage { min-height: 340px; }
    .product-window { width: 100%; transform: none; border-radius: 12px; }
    .product-window__body { grid-template-columns: 83px 1fr; min-height: 260px; }
    .mini-sidebar { padding: 10px 6px; }
    .mini-sidebar strong { margin-inline: 4px; font-size: 8px; }
    .mini-sidebar span { padding: 6px; font-size: 7px; }
    .mini-dashboard { padding: 13px; }
    .mini-dashboard h3 { font-size: 14px; }
    .mini-metrics { gap: 5px; }
    .mini-metrics div { padding: 7px; }
    .mini-metrics strong { font-size: 10px; }
    .mini-agenda div { grid-template-columns: 35px 1fr; }
    .mini-agenda div span:last-child { display: none; }
    .hero-phone { display: none; }
    .benefit-strip { margin-top: -55px; }
    .benefit-item { padding: 19px; }
    .calendar-showcase { display: block; min-height: 350px; }
    .calendar-card { width: 90%; }
    .feature-photo { position: absolute; width: 47%; height: 250px; right: 0; bottom: 0; }
    .crm-preview { grid-template-columns: 1fr; }
    .crm-profile { display: none; }
    .dark-feature { grid-template-columns: 45px 1fr; }
    .dark-feature__icon { width: 45px; height: 45px; }
    .final-cta { padding: 65px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
    .auth-visual { min-height: 280px; padding: 28px 22px; }
    .auth-visual__copy h1 { font-size: 2.5rem; }
    .onboarding-header { height: auto; padding: 18px 20px; }
    .onboarding-header p { display: none; }
    .onboarding-layout { width: min(calc(100% - 24px),1040px); }
    .onboarding-card { min-height: 0; padding: 24px 18px; }
    .choice-grid, .choice-grid--three { grid-template-columns: 1fr; }
    .hours-row { grid-template-columns: 80px 1fr 1fr; }
    .hours-row .break-field { grid-column: 2 / -1; }
    .admin-topbar { height: 62px; gap: 9px; padding-inline: 12px; }
    .global-search { height: 40px; }
    .global-search kbd { display: none; }
    .topbar-actions { gap: 4px; }
    .account-menu { display: none; }
    .admin-main { width: min(calc(100% - 24px),1420px); }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1; }
    .agenda-controls { align-items: stretch; flex-direction: column; }
    .agenda-filters { display: grid; grid-template-columns: 1fr 1fr; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .metric-card { min-height: 110px; padding: 14px; }
    .metric-card__head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .metric-card__icon { width: 32px; height: 32px; }
    .metric-card strong { margin: 8px 0 0; font-size: 19px; }
    .metric-card small { display: none; }
    .dashboard-rail { grid-template-columns: 1fr; }
    .data-table--responsive thead { display: none; }
    .data-table--responsive, .data-table--responsive tbody, .data-table--responsive tr, .data-table--responsive td { display: block; width: 100%; }
    .data-table--responsive tr { padding: 13px 14px; border-bottom: 1px solid var(--border); }
    .data-table--responsive td { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; border: 0; }
    .data-table--responsive td::before { content: attr(data-label); color: var(--muted); font-size: 11px; }
    .data-table--responsive td:first-child::before { display: none; }
    .agenda-table td:nth-child(4), .agenda-table th:nth-child(4) { display: none; }
    .toolbar { align-items: stretch; flex-direction: column; }
    .search-field { width: 100%; }
    .content-grid { grid-template-columns: 1fr; }
    .report-grid { grid-template-columns: 1fr; }
    .horizontal-chart__row { grid-template-columns: 100px 1fr 35px; }
    .share-hero { grid-template-columns: 1fr; padding: 22px; }
    .qr-card { max-width: 220px; }
    .profile-header__inner { height: 61px; }
    .profile-header__name { display: none; }
    .profile-header__actions { margin-left: auto; }
    .profile-header__actions .btn { width: 42px; padding: 0; }
    .profile-cover { height: 210px; }
    .profile-intro { margin-top: -47px; }
    .profile-intro__surface { display: block; padding: 16px; }
    .profile-logo { width: 88px; height: 88px; margin-top: -55px; border-width: 4px; font-size: 17px; }
    .profile-copy { margin-top: 12px; }
    .profile-copy h1 { font-size: 23px; }
    .profile-cta { display: grid; margin-top: 16px; }
    .profile-section { padding-top: 55px; }
    .profile-section__head h2 { font-size: 21px; }
    .service-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
    .service-card { display: grid; grid-template-columns: 84px 1fr; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
    .service-card__image { aspect-ratio: 1; margin: 10px; border-radius: 8px; }
    .service-card__body { padding: 13px 10px 13px 0; }
    .service-card__body p { display: none; }
    .professional-grid { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .professional-card { min-width: 165px; scroll-snap-align: start; }
    .portfolio-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; gap: 7px; }
    .portfolio-item:nth-child(n+5) { display: none; }
    .post-list { grid-template-columns: 1fr; }
    .post-card { grid-template-columns: 82px 1fr; }
    .post-card img { width: 82px; height: 72px; }
    .profile-info { margin-bottom: 100px; }
    .mobile-booking-cta { position: fixed; inset: auto 12px 12px; z-index: 70; display: flex; align-items: center; justify-content: center; min-height: 52px; color: white; background: var(--primary); border-radius: 11px; box-shadow: 0 12px 35px rgba(108,52,84,.28); font-weight: 650; }
    .booking-shell { width: 100%; min-height: 100vh; margin: 0; border: 0; border-radius: 0; }
    .booking-header { height: 61px; padding: 0 16px; }
    .booking-header__secure { font-size: 0; }
    .booking-progress { display: grid; padding: 13px 12px; }
    .booking-progress__item { gap: 0; }
    .booking-progress__item:not(:last-child)::after { right: -20%; width: 40%; }
    .booking-progress__item span { width: 27px; height: 27px; }
    .booking-mobile-progress { display: block; }
    .booking-layout { display: block; padding: 28px 16px 110px; }
    .booking-summary { display: none; }
    .booking-mobile-bar { position: fixed; inset: auto 0 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 10px 16px; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(48,29,40,.06); }
    .booking-mobile-bar[hidden] { display: none; }
    .booking-mobile-bar > div { display: grid; }
    .booking-mobile-bar strong { font-family: Manrope,sans-serif; font-size: 17px; }
    .booking-mobile-bar small { color: var(--muted); font-size: 10px; }
    [data-booking-step="4"] .booking-panel__actions { display: none; }
    .booking-main { min-height: auto; }
    .booking-panel h1 { font-size: 25px; }
    .booking-option-list { grid-template-columns: 1fr; }
    .time-slots { grid-template-columns: repeat(3,1fr); }
    .booking-summary { position: fixed; inset: auto 0 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: white; border-width: 1px 0 0; border-radius: 0; box-shadow: 0 -12px 35px rgba(33,30,32,.08); }
    .booking-summary h2, .booking-summary .summary-row, .booking-summary .booking-total span { display: none; }
    .booking-summary .booking-total { margin: 0; padding: 0; border: 0; }
    .booking-summary .booking-total strong { font-size: 17px; }
    .booking-summary .btn { width: auto; min-width: 135px; }
    .booking-success { padding: 60px 18px; }
    .booking-success__grid { grid-template-columns: 1fr; }
    .discover-nav > a:first-child { display: none; }
    .discover-hero { padding: 44px 0 28px; }
    .discover-search { grid-template-columns: 1fr; padding: 15px; }
    .discover-search__actions { display: grid; }
    .discover-card { grid-template-columns: 108px minmax(0,1fr); }
    .discover-card__body { padding: 14px; }
    .discover-card__services { white-space: normal; }
    .discover-card__meta { display: grid; }
    .discover-card__actions { grid-column: 1 / -1; }
}

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