:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --panel: rgba(17, 17, 17, 0.76);
  --panel-strong: rgba(25, 18, 32, 0.9);
  --panel-light: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f3f8;
  --muted: #b8b3be;
  --accent: #301934;
  --accent-bright: #4e1e74;
  --accent-soft: #6f3aa4;
  --accent-deep: #200426;
  --success: #25d366;
  --telegram: #27a7e7;
  --shadow-xl: 0 30px 100px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 32px));
  --transition: 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(78, 30, 116, 0.2), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(58, 13, 83, 0.28), transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(48, 25, 52, 0.22), transparent 34%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  opacity: 0.32;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.68));
  pointer-events: none;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

iframe {
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.app-loading [data-page-shell] {
  opacity: 0;
  transform: translateY(16px);
}

[data-page-shell] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.is-ready [data-page-shell] {
  opacity: 1;
  transform: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background-color var(--transition), border-color var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(9, 9, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand-mark {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 22px rgba(111, 58, 164, 0.42));
}

.brand-mark .line {
  fill: none;
  stroke: url(#brandGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: mark-draw 2.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.brand-mark .line:nth-of-type(2) {
  animation-delay: 0.14s;
}

.brand-mark .line:nth-of-type(3) {
  animation-delay: 0.28s;
}

.brand-mark .spark {
  animation: spark-shift 5.4s ease-in-out infinite;
  transform-origin: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-link,
.nav-link-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  color: rgba(245, 243, 248, 0.76);
  transition: color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-link:hover,
.nav-link-button:hover,
.nav-link.is-active,
.nav-link-button.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav-link-button {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-group {
  position: relative;
}

.services-flyout {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(420px, 70vw);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(18, 14, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  backdrop-filter: blur(24px);
}

.nav-group:hover .services-flyout,
.nav-group.is-open .services-flyout {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.services-flyout a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.services-flyout a:hover,
.services-flyout a.is-active {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(78, 30, 116, 0.24), rgba(255, 255, 255, 0.05));
  color: var(--text);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.messenger-chip,
.floating-btn,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
  backdrop-filter: blur(18px);
}

.messenger-chip,
.icon-button {
  width: 46px;
  height: 46px;
}

.messenger-chip:hover,
.floating-btn:hover,
.icon-button:hover,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 38px rgba(48, 25, 52, 0.34);
}

.messenger-chip.is-wa:hover,
.floating-btn.is-wa:hover,
.btn.is-wa:hover {
  border-color: rgba(37, 211, 102, 0.3);
}

.messenger-chip.is-tg:hover,
.floating-btn.is-tg:hover,
.btn.is-tg:hover {
  border-color: rgba(39, 167, 231, 0.3);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle {
  position: relative;
}

.menu-toggle::before {
  transform: translateY(-6px);
}

.menu-toggle::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

main {
  position: relative;
  z-index: 1;
}

.section,
.page-hero,
.home-hero {
  padding: 120px 0;
}

.home-hero {
  position: relative;
  padding-top: 160px;
  min-height: 100vh;
  overflow: clip;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.82) 18%, rgba(0, 0, 0, 0.52) 44%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at center, rgba(78, 30, 116, 0.22), transparent 48%);
  z-index: 1;
}

.hero-canvas,
.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop {
  z-index: 0;
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.88fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d2c8df;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #6f3aa4);
  box-shadow: 0 0 18px rgba(111, 58, 164, 0.8);
}

.hero-title,
.page-title,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.hero-title,
.page-title {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-copy,
.page-copy,
.section-copy,
.service-card p,
.feature-card p,
.master-card p,
.portfolio-card p,
.detail-text p,
.contact-card p,
.note-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-copy,
.page-copy {
  margin: 26px 0 0;
  max-width: 58ch;
}

.hero-actions,
.cta-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 22px;
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 36%, transparent 64%, rgba(255, 255, 255, 0.1));
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(78, 30, 116, 0.92), rgba(32, 4, 38, 0.96));
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.btn.is-wa {
  border-color: rgba(37, 211, 102, 0.14);
}

.btn.is-tg {
  border-color: rgba(39, 167, 231, 0.14);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.glass-card,
.stat-card,
.service-card,
.feature-card,
.master-card,
.carousel-slide,
.contact-card,
.note-card,
.faq-card,
.price-table,
.portfolio-card,
.filter-chip,
.detail-panel,
.map-frame {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(24px);
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-sculpture {
  position: absolute;
  inset: 40px 0 0 20px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 16%),
    radial-gradient(circle at 68% 22%, rgba(111, 58, 164, 0.3), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(48, 25, 52, 0.16));
  overflow: hidden;
  isolation: isolate;
}

.hero-sculpture::before,
.hero-sculpture::after {
  content: "";
  position: absolute;
  inset: 12% auto auto 12%;
  width: 52%;
  height: 72%;
  border-radius: 48% 52% 40% 60% / 44% 33% 67% 56%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(111, 58, 164, 0.05));
  filter: blur(1px);
  transform: rotate(-14deg);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.hero-sculpture::after {
  inset: 22% 8% auto auto;
  width: 38%;
  height: 58%;
  transform: rotate(8deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(48, 25, 52, 0.12));
}

.strand {
  position: absolute;
  width: 78%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.34), rgba(111, 58, 164, 0.1));
  box-shadow: 0 0 28px rgba(111, 58, 164, 0.18);
  transform-origin: left center;
  animation: strand-float 7s ease-in-out infinite;
}

.strand-a {
  top: 22%;
  left: -8%;
  transform: rotate(24deg);
}

.strand-b {
  top: 40%;
  right: -10%;
  width: 68%;
  animation-delay: -2.2s;
  transform: rotate(-18deg);
}

.strand-c {
  bottom: 22%;
  left: -4%;
  width: 72%;
  animation-delay: -4.1s;
  transform: rotate(12deg);
}

.hero-float {
  position: absolute;
  max-width: 240px;
  padding: 20px 22px;
  border-radius: 22px;
}

.hero-float strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-float span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.hero-float.is-top {
  top: 6%;
  right: 0;
}

.hero-float.is-bottom {
  bottom: 2%;
  left: 0;
}

.section-intro,
.page-hero-copy {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.section-intro h2,
.page-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.section-kicker {
  color: #d2c8df;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.service-grid,
.feature-grid,
.team-grid,
.detail-grid,
.note-grid,
.contact-grid,
.master-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.team-grid,
.master-grid,
.note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.feature-card,
.master-card,
.contact-card,
.note-card,
.faq-card,
.portfolio-card,
.detail-panel {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
}

.service-card::before,
.feature-card::before,
.master-card::before,
.detail-panel::before,
.portfolio-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(111, 58, 164, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.service-card:hover::before,
.feature-card:hover::before,
.master-card:hover::before,
.detail-panel:hover::before,
.portfolio-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.card-index {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.service-card h3,
.feature-card h3,
.master-card h3,
.detail-panel h3,
.contact-card h3,
.note-card h3,
.faq-card h3,
.portfolio-card h3 {
  font-size: 1.34rem;
  line-height: 1.15;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-line strong,
.price-pill strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
}

.inline-link {
  color: #ede3ff;
  white-space: nowrap;
}

.chip-row,
.tag-list,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.filter-chip {
  cursor: pointer;
}

.filter-chip.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(78, 30, 116, 0.26), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon,
.contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(78, 30, 116, 0.3), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.03);
  margin-bottom: 22px;
}

.feature-icon svg,
.contact-icon svg {
  width: 26px;
  height: 26px;
}

.avatar-shell,
.media-shell,
.carousel-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.055) 0px, rgba(255, 255, 255, 0.055) 2px, transparent 2px, transparent 13px),
    repeating-linear-gradient(58deg, rgba(140, 88, 192, 0.14) 0px, rgba(140, 88, 192, 0.14) 2px, transparent 2px, transparent 16px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(48, 25, 52, 0.34)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 32%);
}

.avatar-shell::before,
.media-shell::before,
.carousel-media::before {
  animation: shell-sheen 6.5s ease-in-out infinite;
}

.avatar-shell {
  aspect-ratio: 0.88;
  margin-bottom: 22px;
}

.avatar-shell::before,
.media-shell::before,
.carousel-media::before,
.portfolio-card .media-shell::after {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 58, 164, 0.36), transparent 60%);
  filter: blur(28px);
}

.avatar-shell::after,
.media-shell::after,
.carousel-media::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-shell img,
.media-shell img,
.carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.02;
  transition: opacity var(--transition), transform 0.8s ease;
}

.avatar-shell:hover img,
.media-shell:hover img,
.carousel-slide:hover img,
.portfolio-card:hover img {
  transform: scale(1.06);
}

.lazy.is-loaded {
  opacity: 0.15;
}

.master-meta,
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.master-meta span,
.team-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
}

.carousel {
  position: relative;
  perspective: 1600px;
}

.carousel-track {
  position: relative;
  min-height: 660px;
  transform-style: preserve-3d;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(420px, 80vw);
  padding: 18px;
  border-radius: 30px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease, filter 0.6s ease;
}

.carousel-slide[data-active="true"] {
  cursor: default;
}

.carousel-media {
  aspect-ratio: 0.86;
}

.carousel-caption {
  padding: 18px 6px 6px;
}

.carousel-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.carousel-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.carousel-controls {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 64px;
}

.carousel-controls button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.cta-band {
  position: relative;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(111, 58, 164, 0.3), transparent 32%),
    linear-gradient(135deg, rgba(27, 18, 34, 0.96), rgba(12, 12, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 58, 164, 0.24), transparent 60%);
  filter: blur(26px);
}

.cta-band h2,
.cta-band p {
  position: relative;
  z-index: 1;
}

.cta-band p {
  max-width: 56ch;
}

.page-hero {
  padding-top: 170px;
  position: relative;
  overflow: clip;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(78, 30, 116, 0.2), transparent 32%);
  z-index: 0;
}

.page-hero-grid,
.detail-grid,
.contact-grid {
  position: relative;
  z-index: 1;
}

.page-hero-visual {
  position: relative;
  min-height: 380px;
}

.page-visual-panel {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(48, 25, 52, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-visual-panel .strand {
  width: 92%;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-panel ul,
.faq-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.detail-panel li,
.faq-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.detail-panel li::before,
.faq-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #6f3aa4);
  box-shadow: 0 0 12px rgba(111, 58, 164, 0.5);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card,
.portfolio-card {
  position: relative;
}

.gallery-card .media-shell,
.portfolio-card .media-shell {
  aspect-ratio: 0.84;
}

.gallery-card h3,
.portfolio-card h3 {
  margin: 18px 0 8px;
}

.faq-grid,
.prices-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.price-table th {
  color: #e3d8f3;
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
}

.contact-card a,
.footer-nav a,
.footer-services a {
  color: #efe6ff;
}

.map-frame {
  padding: 10px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 460px;
  border-radius: calc(var(--radius-xl) - 10px);
}

.portfolio-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card.is-hidden {
  display: none;
}

.site-footer {
  padding: 60px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 15% 0%, rgba(111, 58, 164, 0.18), transparent 30%),
    rgba(9, 9, 11, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(24px);
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: var(--muted);
  line-height: 1.75;
}

.footer-nav,
.footer-services {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.floating-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.floating-btn {
  min-width: 60px;
  min-height: 60px;
  padding: 0 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  animation: pulse-breathe 3.2s ease-in-out infinite;
}

.floating-btn span {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.split-text .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(18deg);
}

.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;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

#page-transition {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    radial-gradient(circle at 25% 15%, rgba(111, 58, 164, 0.45), transparent 24%),
    linear-gradient(180deg, rgba(15, 10, 18, 0.98), rgba(5, 5, 6, 0.98));
  opacity: 0;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top center;
}

@keyframes strand-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--strand-rotate, 0deg));
  }
  50% {
    transform: translate3d(18px, -12px, 0) rotate(calc(var(--strand-rotate, 0deg) + 2deg));
  }
}

@keyframes pulse-breathe {
  0%,
  100% {
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), 0 0 0 0 rgba(111, 58, 164, 0.18);
  }
  50% {
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.36), 0 0 0 14px rgba(111, 58, 164, 0);
  }
}

@keyframes mark-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes spark-shift {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

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

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-nav {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    inset: 84px 16px auto;
    padding: 20px;
    border-radius: 26px;
    background: rgba(14, 14, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    max-height: calc(100vh - 120px);
    overflow: auto;
  }

  body.menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav-inner {
    display: grid;
    gap: 14px;
  }

  .mobile-nav a,
  .mobile-services summary {
    display: block;
    padding: 14px 0;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-services ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 4px 16px;
    display: grid;
    gap: 8px;
  }

  .hero-grid,
  .page-hero-grid,
  .detail-grid,
  .contact-grid,
  .prices-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 460px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .team-grid,
  .master-grid,
  .gallery-grid,
  .portfolio-wall,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 0;
  }

  .brand-copy small,
  .messenger-chip {
    display: none;
  }

  .home-hero,
  .section,
  .page-hero {
    padding-top: 132px;
    padding-bottom: 88px;
  }

  .hero-title,
  .page-title {
    max-width: 12ch;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 390px;
  }

  .hero-sculpture {
    inset: 20px 0 0 0;
  }

  .hero-float {
    max-width: 200px;
    padding: 16px 18px;
  }

  .service-grid,
  .feature-grid,
  .team-grid,
  .master-grid,
  .gallery-grid,
  .portfolio-wall,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    min-height: 560px;
  }

  .carousel-slide {
    width: min(360px, 86vw);
  }

  .cta-band,
  .service-card,
  .feature-card,
  .master-card,
  .detail-panel,
  .portfolio-card,
  .contact-card,
  .note-card,
  .faq-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-stack {
    right: 12px;
    bottom: 12px;
  }
}

/* ============ Premium polish layer ============ */
::selection {
  background: rgba(124, 59, 178, 0.55);
  color: #fff;
}

html {
  scrollbar-color: rgba(124, 59, 178, 0.6) transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(140, 88, 192, 0.7), rgba(48, 25, 52, 0.9));
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Fine film grain over the whole page for a "shot on film" luxe feel */
.grain-layer {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 5s steps(6) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -5%); }
  60% { transform: translate(-3%, 6%); }
  80% { transform: translate(5%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Gradient-lit headings */
.hero-title,
.page-title,
.section-intro h2,
.cta-band h2 {
  background: linear-gradient(180deg, #ffffff 6%, #e6dcf5 52%, #a678d6 128%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.split-text .letter {
  background: linear-gradient(180deg, #ffffff 6%, #efe7fb 55%, #b98fe0 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Diagonal sheen that glides over media placeholders */
@keyframes shell-sheen {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: translate3d(-14%, -10%, 0); opacity: 1; }
}

/* Braid glyph watermark inside empty shells */
.avatar-shell::after,
.media-shell::after,
.carousel-media::after {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 60%);
}

.avatar-shell img[src^="data:"],
.media-shell img[src^="data:"],
.carousel-media img[src^="data:"] {
  opacity: 0;
}

/* Real client photos must sit above the placeholder treatment. */
.avatar-shell img[data-src^="assets/images/"],
.media-shell img[data-src^="assets/images/"],
.carousel-media img[data-src^="assets/images/"] {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 1;
}

.avatar-shell::after,
.media-shell::after,
.carousel-media::after {
  z-index: 2;
  pointer-events: none;
}

/* Richer primary CTA: velvet gradient + amethyst aura */
.btn-primary {
  background:
    radial-gradient(circle at 30% 0%, rgba(140, 88, 192, 0.55), transparent 60%),
    linear-gradient(135deg, rgba(78, 30, 116, 0.95), rgba(32, 4, 38, 0.98));
  box-shadow: 0 10px 30px rgba(48, 25, 52, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 46px rgba(124, 59, 178, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* Animated conic aura behind hero eyebrow dot & feature icons */
.feature-icon,
.contact-icon {
  position: relative;
  overflow: hidden;
}

.feature-icon::after,
.contact-icon::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(140, 88, 192, 0.5) 90deg, transparent 180deg);
  animation: icon-spin 6s linear infinite;
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover .feature-icon::after,
.contact-card:hover .contact-icon::after {
  opacity: 0.7;
}

.feature-icon svg,
.contact-icon svg {
  position: relative;
  z-index: 1;
}

@keyframes icon-spin {
  to { transform: rotate(360deg); }
}

/* Hairline accent that sweeps across section intros */
.section-intro,
.page-hero-copy {
  position: relative;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8c58c0);
}

/* Card lift refinement — never transition transform (tilt writes it per-frame) */
.service-card,
.feature-card,
.master-card,
.portfolio-card,
.detail-panel,
.contact-card,
.note-card {
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.feature-card:hover,
.master-card:hover,
.portfolio-card:hover {
  border-color: rgba(140, 88, 192, 0.35);
  box-shadow: 0 30px 70px rgba(20, 8, 28, 0.6), 0 0 0 1px rgba(140, 88, 192, 0.14);
}

/* Chips get a subtle inner glow on hover */
.chip {
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.service-card:hover .chip {
  border-color: rgba(140, 88, 192, 0.3);
  color: var(--text);
}

/* Floating buttons: glass ring + channel-tinted aura */
.floating-btn.is-wa {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), 0 0 0 0 rgba(37, 211, 102, 0.3);
}

.floating-btn.is-tg {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), 0 0 0 0 rgba(39, 167, 231, 0.3);
}

/* Nicer link underline for inline links */
.inline-link {
  position: relative;
}

.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #8c58c0, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover .inline-link::after,
.inline-link:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .grain-layer { display: none; }
}

/* ============ Motion & visual upgrade v2 ============ */

/* Smooth interpolated glow driven by JS --glow (0..1) instead of opacity flip */
.service-card::before,
.feature-card::before,
.master-card::before,
.detail-panel::before,
.portfolio-card::before,
.contact-card::before,
.note-card::before {
  opacity: var(--glow, 0) !important;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(150, 92, 210, 0.28), rgba(90, 40, 140, 0.06) 38%, transparent 60%) !important;
  transition: none !important;
}

/* Specular sheen sweep across cards on hover */
.service-card,
.feature-card,
.master-card,
.portfolio-card,
.detail-panel,
.contact-card,
.note-card {
  position: relative;
}

.service-card::after,
.feature-card::after,
.master-card::after,
.portfolio-card::after,
.detail-panel::after,
.contact-card::after,
.note-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::after,
.feature-card:hover::after,
.master-card:hover::after,
.portfolio-card:hover::after,
.detail-panel:hover::after,
.contact-card:hover::after,
.note-card:hover::after {
  opacity: 1;
  animation: card-sheen 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes card-sheen {
  from { background-position: 120% 0; }
  to { background-position: -40% 0; }
}

/* Carousel: premium controls + active glow */
.carousel-controls button {
  position: relative;
  overflow: hidden;
}

.carousel-controls button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(150, 92, 210, 0.6), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.carousel-controls button:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(150, 92, 210, 0.5);
  box-shadow: 0 12px 30px rgba(90, 40, 140, 0.4);
}

.carousel-controls button:hover::before {
  opacity: 0.8;
}

.carousel-controls button:active {
  transform: translateY(-1px) scale(0.98);
}

.carousel-slide {
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
}

.carousel-slide[data-active="true"] {
  box-shadow: 0 40px 90px rgba(20, 8, 30, 0.7), 0 0 0 1px rgba(150, 92, 210, 0.35);
}

.carousel-slide[data-active="true"] .carousel-media::after {
  border-color: rgba(150, 92, 210, 0.4);
}

/* Reveal cascade slightly springier */
.reveal { will-change: transform, opacity; }

/* Buttons: soft breathing shadow on primary CTAs at rest */
.btn-primary {
  animation: cta-glow 4.5s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(48, 25, 52, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 14px 40px rgba(124, 59, 178, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
}

/* Eyebrow dot pulses */
.eyebrow::before {
  animation: dot-pulse 2.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(150, 92, 210, 0.8); transform: scale(1); }
  50% { box-shadow: 0 0 26px rgba(150, 92, 210, 1); transform: scale(1.25); }
}

/* Nav links: sliding underline */
.nav-link::after,
.nav-link-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8c58c0, #d9c4f0);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.is-active::after,
.nav-link-button:hover::after,
.nav-link-button.is-active::after {
  width: 22px;
}

/* Media images scale a touch more elegantly */
.carousel-slide[data-active="true"]:hover .carousel-media img,
.avatar-shell:hover img,
.media-shell:hover img {
  transform: scale(1.08) rotate(0.4deg);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .eyebrow::before,
  .card-sheen,
  .service-card::after,
  .feature-card::after { animation: none !important; }
}

/* ============ Typography wrap fixes ============ */
.split-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title,
.page-title {
  max-width: 16ch;
  text-wrap: balance;
}

/* Keep brand name intact where used inline */
.brand-copy span,
.nobr { white-space: nowrap; }

/* Service card photos on home */
.service-media {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  border-radius: 18px;
}

/* Comparison table + FAQ term links */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  min-width: 720px;
}

.compare-table td:last-child,
.compare-table th:last-child {
  text-align: left;
}

.faq-term {
  color: #efe6ff;
  border-bottom: 1px dashed rgba(178, 132, 224, 0.6);
  transition: color var(--transition), border-color var(--transition);
  cursor: help;
}

.faq-term:hover {
  color: #fff;
  border-bottom-color: #b284e0;
}

/* Highlight FAQ card when arrived via anchor */
.faq-card:target {
  outline: 1px solid rgba(140, 88, 192, 0.5);
  box-shadow: 0 0 0 4px rgba(140, 88, 192, 0.18);
}
.faq-card:target h3 {
  color: #efe6ff;
}
