:root {
  color-scheme: dark;
  --bg: #07101d;
  --surface: #0e1a2b;
  --surface-2: #142237;
  --text: #f4f8fb;
  --muted: #b5c3d1;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #63d6e5;
  --accent: #68f2c2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #eaf1f8;
  --text: #101827;
  --muted: #52616f;
  --line: rgba(16, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(12, 35, 64, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand, .nav, .header-actions, .hero-actions, .contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand { font-weight: 800; letter-spacing: 0; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--primary) 58%, transparent);
  border-radius: 12px;
  color: #f8fbff;
  background:
    radial-gradient(circle at 76% 24%, color-mix(in srgb, var(--accent) 82%, transparent) 0 4px, transparent 5px),
    linear-gradient(135deg, #101a2e, #050915);
  box-shadow: 0 16px 36px rgba(5, 9, 21, 0.28), inset 0 0 0 1px rgba(248, 251, 255, 0.08);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.brand-logo {
  overflow: hidden;
  padding: 0;
  border-color: rgba(99, 214, 229, 0.28);
  background: transparent;
  box-shadow: 0 14px 34px rgba(5, 9, 21, 0.28);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover { color: var(--text); }

.chip, .icon-button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}
.chip.is-active { border-color: var(--primary); color: var(--primary); }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(70px, 11vw, 140px) clamp(18px, 6vw, 80px);
}
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(5, 13, 24, 0.94), rgba(5, 13, 24, 0.72) 45%, rgba(5, 13, 24, 0.18));
}
.hero-content {
  position: relative;
  max-width: 820px;
  z-index: 1;
}
body:not(.beauty-page) .hero-content {
  color: #f4f8fb;
}
body:not(.beauty-page) .hero-subtitle,
body:not(.beauty-page) .hero .availability {
  color: #d4deea;
}
body:not(.beauty-page) .hero .secondary {
  color: #f4f8fb;
  background: rgba(14, 26, 43, 0.78);
}
.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 20, 34, 0.7);
}
.availability span:first-child {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent);
}
.availability span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}
h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 { font-size: 1.3rem; line-height: 1.2; }
.hero-subtitle {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 750;
  cursor: pointer;
}
.primary {
  color: #05111e;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
}
.secondary {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose {
  color: var(--muted);
  font-size: 1.08rem;
}
.profile-portrait {
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.profile-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 34%;
}
.profile-portrait figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.panel, .card, .contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.timeline, .cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.panel, .card { padding: 24px; }
.project-points {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.project-points li + li { margin-top: 8px; }
.meta {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.skill-grid span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}
.feature-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.text-link {
  color: var(--primary);
  font-weight: 800;
}
.testimonial {
  margin: 18px 0;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  color: var(--muted);
}
.testimonial p {
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.testimonial cite {
  color: var(--text);
  font-style: normal;
  font-weight: 800;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: var(--surface-2);
}
.contact-form select {
  min-height: 48px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cv-page .site-header {
  position: static;
}
.cv-layout {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 84px) 0;
}
.cv-sheet {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.cv-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.cv-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cv-section:last-child { border-bottom: 0; }
.cv-section h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cv-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: var(--muted);
}
.notice {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-2);
}

.beauty-page {
  --bg: #fbf6ef;
  --surface: #fffaf4;
  --surface-2: #f2e6d8;
  --text: #2a1d16;
  --muted: #745f50;
  --line: rgba(67, 43, 31, 0.14);
  --primary: #8a5c3b;
  --accent: #cba46f;
}
.beauty-mark, .beauty-primary {
  color: #fffaf4;
  background: linear-gradient(135deg, #6d432c, #cba46f);
  border-color: transparent;
}
.beauty-secondary {
  color: var(--text);
  background: rgba(255, 250, 244, 0.74);
}
.beauty-overlay {
  background: linear-gradient(90deg, rgba(251, 246, 239, 0.96), rgba(251, 246, 239, 0.72) 48%, rgba(251, 246, 239, 0.12));
}
.beauty-availability { background: rgba(255, 250, 244, 0.76); }
.beauty-band {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - 1120px) / 2));
  padding-right: max(18px, calc((100% - 1120px) / 2));
  background: #f3e6d6;
}
.beauty-portrait {
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.beauty-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 26%;
}
.beauty-portrait figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.treatment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.beauty-card ul { padding-left: 20px; color: var(--muted); }
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fffaf4;
  font-weight: 900;
  background: #25d366;
  box-shadow: var(--shadow);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.demo-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 28rem),
    var(--bg);
}
.demo-page .button {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.demo-page .button:hover {
  transform: translateY(-2px);
}
.demo-page a:focus-visible,
.demo-page button:focus-visible,
.demo-page input:focus-visible,
.demo-page textarea:focus-visible,
.demo-page summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 72%, white);
  outline-offset: 4px;
}
.demo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.demo-brand,
.demo-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.demo-brand { font-weight: 850; }
.demo-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.demo-nav a:hover { color: var(--text); }
.demo-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 780px;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 9vw, 124px) clamp(18px, 6vw, 86px);
}
.demo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--demo-hero-overlay);
}
.demo-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.demo-hero-content {
  max-width: 980px;
}
.demo-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.demo-hero-content h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 6.5vw, 6rem);
  line-height: 0.96;
}
.demo-hero-content > p {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--hero-muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}
.demo-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.demo-quick-facts li {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  backdrop-filter: blur(10px);
}
.demo-quick-facts strong,
.demo-quick-facts span {
  display: block;
}
.demo-quick-facts strong {
  margin-bottom: 8px;
  color: var(--text);
}
.demo-quick-facts span {
  color: var(--hero-muted);
  font-size: 0.93rem;
}
.demo-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 112px) 0;
}
.demo-intro {
  align-items: start;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.demo-band {
  width: min(1160px, calc(100% - 36px));
  padding: clamp(36px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-2) 88%, transparent), color-mix(in srgb, var(--surface) 88%, transparent));
  box-shadow: var(--shadow);
}
.demo-offer-grid,
.demo-pricing-grid,
.demo-review-grid,
.demo-work-grid,
.demo-method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.demo-offer-card,
.demo-gallery-card,
.demo-review,
.demo-work-grid article,
.demo-method-steps article,
.demo-price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.demo-offer-card,
.demo-gallery-card,
.demo-review,
.demo-work-grid article,
.demo-method-steps article {
  padding: 24px;
}
.demo-offer-card span,
.demo-method-steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #05111e;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}
.demo-offer-card p,
.demo-gallery-card p,
.demo-review p,
.demo-work-grid p,
.demo-method-steps p,
.demo-price-card p {
  color: var(--muted);
}
.demo-menu {
  display: grid;
  gap: 4px;
}
.demo-menu-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.demo-menu-row span,
.demo-menu-row strong,
.demo-menu-row small {
  display: block;
}
.demo-menu-row span {
  color: var(--text);
  font-weight: 780;
}
.demo-menu-row small {
  margin-top: 6px;
  color: var(--muted);
}
.demo-menu-row strong {
  flex: 0 0 auto;
  color: var(--primary);
}
.demo-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr);
  gap: 18px;
}
.demo-gallery-main {
  grid-row: span 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.demo-gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.demo-gallery-main figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}
.demo-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid color-mix(in srgb, var(--primary) 36%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 22%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}
.demo-cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}
.demo-review {
  min-height: 230px;
  display: grid;
  align-content: space-between;
}
.demo-review p {
  font-size: 1.06rem;
}
.demo-review strong,
.demo-review span {
  display: block;
}
.demo-review strong {
  margin-top: 18px;
  color: var(--text);
}
.demo-review span {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 780;
}
.fitness-results .demo-review {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 80%, transparent), var(--surface));
}
.demo-work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
  padding: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
}
.demo-work-grid {
  grid-template-columns: 1fr;
}
.demo-faq-list {
  display: grid;
  gap: 12px;
}
.demo-faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.demo-faq-list summary {
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.demo-faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}
.demo-price-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}
.demo-price-card strong {
  color: var(--text);
  font-size: 1.45rem;
}
.demo-price-card.featured {
  border-color: color-mix(in srgb, var(--primary) 58%, transparent);
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 15rem),
    var(--surface);
}
.demo-contact-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.demo-contact-list span {
  color: var(--muted);
}
.demo-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 88%, #000);
}
.restaurant-demo {
  --bg: #140d09;
  --surface: #21150f;
  --surface-2: #2c1d14;
  --text: #fff7ec;
  --muted: #d9c0a7;
  --hero-muted: #f1dfca;
  --line: rgba(255, 247, 236, 0.16);
  --primary: #f1b66d;
  --accent: #f7dba9;
  --demo-hero-overlay: linear-gradient(90deg, rgba(20, 13, 9, 0.96), rgba(20, 13, 9, 0.78) 46%, rgba(20, 13, 9, 0.18));
}
.fitness-demo {
  --bg: #10110b;
  --surface: #181a10;
  --surface-2: #232514;
  --text: #fbfff2;
  --muted: #c7cfb2;
  --hero-muted: #eef7da;
  --line: rgba(246, 255, 216, 0.15);
  --primary: #d7ff38;
  --accent: #ff6a2a;
  --demo-hero-overlay:
    radial-gradient(circle at 82% 22%, rgba(255, 106, 42, 0.32), transparent 18rem),
    linear-gradient(90deg, rgba(16, 17, 11, 0.97), rgba(16, 17, 11, 0.84) 47%, rgba(16, 17, 11, 0.2));
}
.fitness-demo .brand-mark {
  color: #10110b;
  border-color: color-mix(in srgb, var(--primary) 70%, transparent);
  background:
    radial-gradient(circle at 74% 24%, color-mix(in srgb, var(--accent) 86%, transparent) 0 4px, transparent 5px),
    linear-gradient(135deg, var(--primary), #f6ffd8);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(16, 17, 11, 0.18);
}
.fitness-demo .demo-hero-image {
  filter: saturate(0.9) hue-rotate(26deg) contrast(1.08) brightness(0.92);
}
.fitness-demo .primary {
  color: #10110b;
  background: linear-gradient(135deg, var(--primary), #efff9a);
}
.fitness-demo .secondary {
  color: var(--text);
  background: rgba(24, 26, 16, 0.74);
}
.fitness-demo .demo-kicker,
.fitness-demo .demo-quick-facts li,
.fitness-demo .demo-cta-band {
  background: rgba(24, 26, 16, 0.78);
}
.fitness-demo .demo-price-card.featured,
.fitness-demo .demo-cta-band {
  border-color: color-mix(in srgb, var(--primary) 54%, transparent);
}

.project-preview {
  display: grid;
  gap: 10px;
  min-height: 168px;
  margin: -6px 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
}
.project-preview span {
  display: block;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.booking-preview {
  grid-template-columns: 0.8fr 1.2fr;
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 197, 94, 0.22), transparent 9rem),
    linear-gradient(135deg, rgba(236, 253, 245, 0.9), rgba(240, 253, 250, 0.55));
}
.booking-preview span:first-child {
  grid-row: span 3;
  background: linear-gradient(180deg, #0f766e, #14b8a6);
}
.booking-preview span:nth-child(2) { background: #d1fae5; }
.booking-preview span:nth-child(3) { background: #ecfeff; }
.sales-preview {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.24), transparent 9rem),
    linear-gradient(135deg, #18122f, #2a174b);
}
.sales-preview span {
  min-height: 96px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.92), rgba(124, 58, 237, 0.72));
}
.sales-preview span:nth-child(2) { min-height: 128px; }
.sales-preview span:nth-child(3) { min-height: 78px; }

.app-demo {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 24rem),
    radial-gradient(circle at 90% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 24rem),
    var(--bg);
}
.app-demo *,
.app-demo *::before,
.app-demo *::after {
  box-sizing: border-box;
}
.app-header {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}
.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  width: min(1440px, calc(100% - 36px));
  margin: 28px auto 0;
  min-height: calc(100vh - 118px);
}
.app-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}
.app-sidebar strong {
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.app-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
}
.app-sidebar a:hover,
.app-sidebar a.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}
.app-dashboard {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.app-topbar,
.app-panel,
.app-kpi-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
}
.app-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  padding: clamp(24px, 4vw, 38px);
}
.app-topbar h1 {
  max-width: 940px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 4.85rem);
  line-height: 0.96;
}
.app-topbar p:not(.demo-kicker) {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.05rem;
}
.app-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.app-kpi-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.app-kpi-card span,
.app-kpi-card small,
.panel-note,
.activity-list,
.request-card p,
.request-card small,
.client-card p {
  color: var(--muted);
}
.app-kpi-card strong {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1;
}
.booking-grid,
.sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  align-items: start;
}
.booking-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
}
.app-panel {
  padding: 20px;
}
.app-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.app-panel-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}
.app-panel-heading button,
.calendar-board button {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 80%, transparent);
  cursor: pointer;
}
.app-panel-heading button {
  padding: 8px 10px;
  font-weight: 800;
}
.request-list {
  display: grid;
  gap: 12px;
}
.request-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.request-card strong,
.client-card strong {
  color: var(--text);
}
.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 16%, transparent);
}
.request-card.urgent {
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
}
.calendar-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.calendar-board > span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}
.calendar-board button {
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  text-align: left;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.calendar-board button.booked {
  background: color-mix(in srgb, var(--primary) 20%, var(--surface-2));
}
.calendar-board button.pending {
  background: color-mix(in srgb, var(--accent) 22%, var(--surface-2));
}
.client-panel,
.forecast-panel,
.activity-panel {
  display: grid;
  gap: 14px;
}
.client-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-2);
}
.client-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--avatar-text);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}
.app-checklist,
.activity-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.app-checklist li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}
.app-checklist span {
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--primary);
}
.pipeline-panel {
  grid-row: span 2;
}
.pipeline-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pipeline-board article {
  min-height: 430px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}
.pipeline-board h3 {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.deal-card {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.deal-card span,
.deal-card small {
  color: var(--muted);
}
.deal-card.hot {
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
}
.deal-card.won {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.forecast-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 180px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 24%, color-mix(in srgb, var(--line) 70%, transparent) 25%, transparent 26%),
    var(--surface-2);
}
.forecast-chart span {
  flex: 1;
  min-height: 24px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.activity-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.activity-list span {
  display: inline-flex;
  min-width: 58px;
  color: var(--primary);
  font-weight: 900;
}
.booking-desk-demo {
  --bg: #effaf7;
  --surface: #fbfffd;
  --surface-2: #e1f7ef;
  --text: #09231f;
  --muted: #4d7169;
  --line: rgba(10, 95, 82, 0.16);
  --primary: #12b886;
  --accent: #f59f00;
  --avatar-text: #06241d;
  --shadow: 0 22px 70px rgba(11, 91, 77, 0.12);
}
.booking-desk-demo .brand-mark,
.booking-desk-demo .primary {
  color: #06241d;
  background: linear-gradient(135deg, #12b886, #9ff5d5);
}
.booking-desk-demo .secondary {
  color: var(--text);
  background: #ffffff;
}
.booking-desk-demo .demo-kicker {
  color: #087f5b;
  background: #dcfff0;
}
.sales-desk-demo {
  --bg: #111222;
  --surface: #181a33;
  --surface-2: #202345;
  --text: #fff8eb;
  --muted: #c8bfd9;
  --line: rgba(255, 248, 235, 0.16);
  --primary: #f59e0b;
  --accent: #8b5cf6;
  --avatar-text: #171222;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}
.sales-desk-demo .brand-mark,
.sales-desk-demo .primary {
  color: #171222;
  background: linear-gradient(135deg, #f59e0b, #fef3c7);
}
.sales-desk-demo .secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.sales-desk-demo .demo-kicker {
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.16);
}
.sales-desk-demo .app-topbar {
  background:
    radial-gradient(circle at 82% 10%, rgba(139, 92, 246, 0.2), transparent 18rem),
    var(--surface);
}
.brand-mark.brand-logo {
  color: inherit;
  background: transparent;
  box-shadow: 0 14px 34px rgba(5, 9, 21, 0.28);
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; }
  .hero { min-height: 620px; }
  .split, .timeline, .cards, .feature-card, .contact, .treatment-grid,
  .demo-offer-grid, .demo-pricing-grid, .demo-review-grid,
  .demo-work-section, .demo-gallery, .demo-method-steps,
  .app-shell, .booking-grid, .sales-grid, .pipeline-board {
    grid-template-columns: 1fr;
  }
  .app-sidebar { position: static; }
  .app-topbar { flex-direction: column; }
  .app-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-board article { min-height: auto; }
  .demo-header { align-items: flex-start; flex-direction: column; }
  .demo-hero {
    min-height: 680px;
    padding-top: 82px;
  }
  .demo-quick-facts { grid-template-columns: 1fr; }
  .section-heading,
  .demo-cta-band,
  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .demo-gallery-main { grid-row: auto; }
  .demo-work-section { padding: 28px; }
  .feature-card { grid-column: auto; }
  .footer { flex-direction: column; }
  .cv-heading { flex-direction: column; }
}

@media (max-width: 540px) {
  .nav a { font-size: 0.9rem; }
  .hero { padding-top: 92px; }
  h1 { font-size: 2.35rem; }
  .button { width: 100%; }
  .hero-actions, .contact-links { align-items: stretch; flex-direction: column; }
  .demo-nav {
    width: 100%;
    gap: 10px;
  }
  .demo-nav a { font-size: 0.9rem; }
  .demo-hero {
    min-height: 720px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .demo-hero-content h1 {
    font-size: clamp(2.28rem, 11vw, 3.35rem);
    overflow-wrap: normal;
  }
  .demo-quick-facts li { min-height: auto; }
  .demo-menu-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .demo-band,
  .demo-work-section,
  .demo-cta-band {
    width: min(100% - 36px, 1160px);
    padding: 24px;
  }
  .demo-contact-list {
    align-items: stretch;
    flex-direction: column;
  }
  .demo-contact-list .button { width: 100%; }
  .app-shell { width: min(100% - 24px, 1440px); }
  .app-topbar,
  .app-panel,
  .app-kpi-card {
    padding: 16px;
  }
  .app-kpi-grid,
  .calendar-board {
    grid-template-columns: 1fr;
  }
  .request-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .request-card small {
    grid-column: 2;
  }
}

@media print {
  body { background: white; color: #111827; }
  .site-header, .footer, .hero-actions { display: none; }
  .cv-layout { width: 100%; padding: 0; }
  .cv-sheet { border: 0; box-shadow: none; }
  .cv-list, .prose, .meta { color: #374151; }
}
