/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f6f6f6;
  --gray-50: #efefef;
  --gray-100: #e2e2e2;
  --gray-300: #b0b0b0;
  --gray-500: #777777;
  --gray-700: #333333;
  --font: 'DM Sans', sans-serif;
  --font-ui: 'DM Sans', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --d1: rgba(255,255,255,0.85);
  --d2: rgba(255,255,255,0.45);
  --d3: rgba(255,255,255,0.22);
  --d4: rgba(255,255,255,0.08);
  --d5: rgba(255,255,255,0.04);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--d1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== INTRO ===== */
.intro {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 1s var(--ease) 0.2s;
}

.intro.exit { transform: translateY(-100%); }

.intro__logo {
  font-family: var(--font);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -3px;
  opacity: 0;
  transform: translateY(16px);
  animation: introIn 0.65s var(--ease) 0.25s both;
}

.intro__logo span { opacity: 0.35; }

@keyframes introIn {
  to { opacity: 1; transform: translateY(0); }
}

body.intro-active { overflow: hidden; }

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.032) 0%, transparent 68%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  will-change: left, top;
  left: 0; top: 0;
  transition: opacity 0.4s ease;
}

body:not(:hover) .cursor-glow { opacity: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  position: relative;
  overflow: hidden;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  border-radius: 0;
  line-height: 1;
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}

.btn--black {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--black:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--d1);
  border-color: rgba(255,255,255,0.2);
}
.btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--full { width: 100%; justify-content: center; }

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, padding 0.3s ease, transform 0.45s var(--ease);
  padding: 28px 0;
}
.nav--hidden { transform: translateY(-100%); }

.nav.scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
  flex-shrink: 0;
}
.nav__logo span { opacity: 0.3; }

.nav__center {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__center a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}
.nav__center a:hover { color: var(--white); }

.nav__dashboard {
  color: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  font-size: 0.72rem !important;
  letter-spacing: 1px !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.nav__dashboard:hover {
  border-color: rgba(255,255,255,0.4) !important;
  color: var(--white) !important;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav__cta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 20px;
  transition: background 0.2s, border-color 0.2s;
}
.nav__cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav__hamburger.open span:first-child { transform: rotate(45deg) translate(3.5px, 3.5px); }
.nav__hamburger.open span:last-child  { transform: rotate(-45deg) translate(3.5px, -3.5px); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  background: rgba(0,0,0,0.97);
  transition: max-height 0.4s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__mobile.open { max-height: 400px; }

.nav__mobile a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.nav__mobile a:last-child { border-bottom: none; padding-bottom: 24px; }
.nav__mobile a:hover { color: var(--white); }
.nav__mobile-cta { color: var(--white) !important; font-weight: 600 !important; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: stretch;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(255,255,255,0.028) 0%, transparent 65%),
    radial-gradient(ellipse 35% 25% at 85% 15%, rgba(255,255,255,0.018) 0%, transparent 55%);
  animation: heroGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0%   { opacity: 0.6; transform: scale(1)    translateY(0px); }
  100% { opacity: 1;   transform: scale(1.06) translateY(-18px); }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 100px;
  gap: 0;
}

.hero__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 36px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 0 0 40px;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
}

.hero__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__wave {
  position: absolute;
  width: 200%;
  height: 55%;
  bottom: 0;
  left: -50%;
}

.hero__wave--1 {
  bottom: 10%;
  animation: waveFloat1 14s ease-in-out infinite;
}

.hero__wave--2 {
  bottom: 20%;
  animation: waveFloat2 18s ease-in-out infinite;
}

.hero__wave--3 {
  bottom: 30%;
  animation: waveFloat3 22s ease-in-out infinite;
}

@keyframes waveFloat1 {
  0%, 100% { transform: translateX(0) translateY(0); }
  33%       { transform: translateX(3%) translateY(-18px); }
  66%       { transform: translateX(-2%) translateY(12px); }
}

@keyframes waveFloat2 {
  0%, 100% { transform: translateX(0) translateY(0); }
  40%       { transform: translateX(-4%) translateY(20px); }
  70%       { transform: translateX(2%) translateY(-10px); }
}

@keyframes waveFloat3 {
  0%, 100% { transform: translateX(0) translateY(0); }
  50%       { transform: translateX(5%) translateY(-24px); }
}

.hero__inner { position: relative; z-index: 1; }

.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
}

.hero__book {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.hero__book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}

.hero__book:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}

.hero__book:hover::before {
  transform: scaleX(1);
}

.hero__book-icon {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.hero__book:hover .hero__book-icon {
  opacity: 0.9;
}

.hero__book-arrow {
  margin-left: 4px;
  transition: transform 0.25s ease;
  opacity: 0.5;
}

.hero__book:hover .hero__book-arrow {
  transform: translateX(5px);
  opacity: 1;
}

.btn__arrow { transition: transform 0.2s ease; }
.btn--white:hover .btn__arrow,
.btn--black:hover .btn__arrow { transform: translateX(3px); }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { top: -100%; }
  100% { top: 100%; }
}

.hero__scroll-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-strip__inner {
  display: flex;
  align-items: stretch;
  padding: 52px 40px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 0;
}

.stat-item__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
}

.stat-item__num em {
  font-style: normal;
  font-size: 0.65em;
  color: rgba(255,255,255,0.28);
}

.stat-item__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

.stat-item__sep {
  width: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
  margin: 8px 0;
}

/* ===== MARQUEE ===== */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  background: #050505;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
}

.marquee-track span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  white-space: nowrap;
}

.marquee-track .sep {
  color: rgba(255,255,255,0.1);
  letter-spacing: 0;
  font-size: 0.6rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== NUMBERS SECTION ===== */
.numbers-section { padding: 100px 0; }

.numbers-section__head { margin-bottom: 48px; }

.numbers-section__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  letter-spacing: -1px;
  display: block;
}

/* Dashboard panel */
.dash-panel {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  overflow: hidden;
  background: #080808;
}

.dash-panel__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.dash-panel__bar-left {
  display: flex;
  gap: 6px;
  margin-right: 4px;
}

.dash-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.dash-panel__title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.3);
  flex: 1;
}

.dash-panel__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.dash-panel__live b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.dash-panel__body { padding: 0; }

.dash-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dash-kpi {
  padding: 36px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s ease, transform 0.35s var(--ease);
}
.dash-kpi:hover {
  background: rgba(255,255,255,0.03);
  transform: translateY(-4px);
}

.dash-kpi:last-child { border-right: none; }

.dash-kpi__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.dash-kpi__val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -3px;
}

.dash-kpi__val em {
  font-style: normal;
  font-size: 0.45em;
  color: rgba(255,255,255,0.22);
  letter-spacing: -1px;
}

.dash-kpi__sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
  margin-top: 4px;
}

.dash-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.dash-stat {
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-stat:last-child { border-right: none; }

.dash-stat__label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}

.dash-stat__val {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: -1px;
  line-height: 1;
}

.dash-stat__val--text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
  .dash-primary { grid-template-columns: repeat(2, 1fr); }
  .dash-kpi:nth-child(2) { border-right: none; }
  .dash-kpi:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); border-right: none; grid-column: 1 / -1; }
  .dash-secondary { grid-template-columns: repeat(2, 1fr); }
  .dash-stat:nth-child(2) { border-right: none; }
  .dash-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 560px) {
  .dash-primary { grid-template-columns: 1fr; }
  .dash-kpi { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .dash-kpi:nth-child(3) { grid-column: auto; }
  .dash-secondary { grid-template-columns: repeat(2, 1fr); }
  .dash-kpi { padding: 28px 24px; }
  .dash-stat { padding: 20px 24px; }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--alt  { background: #050505; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section__head-left {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.section__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.18);
  letter-spacing: 1px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--white);
}

.section__head-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
  max-width: 340px;
  align-self: end;
}

/* ===== SERVICES ===== */
.services__list { display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: start;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: padding-left 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.025) 0%, transparent 80%);
  transform: translateX(-105%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}

.service-row:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.service-row:hover { padding-left: 12px; }
.service-row:hover::before { transform: translateX(0); }

.service-row__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.18);
  padding-top: 3px;
}

.service-row__body h3 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.2;
  color: var(--white);
  transition: letter-spacing 0.3s ease, color 0.25s;
}

.service-row:hover .service-row__body h3 {
  letter-spacing: 0px;
  color: var(--white);
}

.service-row__body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.35s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.service-row:hover .service-row__body p,
.service-row.open .service-row__body p {
  max-height: 60px;
  opacity: 1;
  margin-top: 8px;
}

.service-row__arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.2);
  transition: transform 0.3s var(--ease), color 0.25s;
  padding-top: 2px;
  justify-self: end;
}

.service-row:hover .service-row__arrow {
  transform: translate(4px, -4px);
  color: var(--white);
}

/* ===== CLIENTS ===== */
.clients-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #030303;
  overflow: hidden;
  padding: 18px 0;
}

.clients-eyebrow { display: none; }

.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.clients-marquee:hover .clients-track { animation-play-state: paused; }

.clients-track {
  display: flex;
  width: max-content;
  animation: clientsScroll 50s linear infinite;
}

.clients-track__set {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}

.clients-track span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  transition: color 0.3s ease;
  cursor: default;
}

.clients-track span:hover { color: rgba(255,255,255,0.65); }

.clients-link {
  text-decoration: none;
  color: rgba(255,255,255,0.28);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
  cursor: pointer;
}
.clients-link:hover { color: rgba(255,255,255,0.9); }

.clients-track em {
  font-style: normal;
  color: rgba(255,255,255,0.12);
  font-size: 0.4rem;
  flex-shrink: 0;
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--cw, 3000px))); }
}

/* ===== PROCESS ===== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.process__top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.process__n {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  flex-shrink: 0;
}

.process__rule {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease) 0.3s;
}

.process__item.visible .process__rule { transform: scaleX(1); }
.process__item {
  transition: transform 0.4s var(--ease);
}
.process__item:hover { transform: translateY(-8px); }

.process__item h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  color: var(--white);
}

.process__item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}

.pricing-card {
  padding: 40px 36px;
  position: relative;
  background: var(--black);
  transition: background 0.3s ease;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
  transform-origin: left;
}

.pricing-card:hover { background: #080808; }
.pricing-card:hover::before { transform: scaleX(1); }

.pricing-card--inv {
  background: #0e0e0e;
}
.pricing-card--inv:hover { background: #111; }

.pricing-card__badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-bottom: 20px;
}

.pricing-card__name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--white);
}

.pricing-card__price span {
  font-size: 0.8rem;
  font-family: var(--font);
  font-weight: 400;
  opacity: 0.35;
  letter-spacing: 0;
}

.pricing-card__for {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 30px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pricing-card__features li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '—';
  color: rgba(255,255,255,0.18);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 72px;
}

.about__top-left { padding-top: 4px; }

.about__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 18px 0 0;
  color: var(--white);
}

.about__headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

.about__top-right { padding-top: 8px; }

.about__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about__sub-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

.about__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 48px;
}

.about__stats {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}

.about__stat {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  margin-right: 32px;
  transition: transform 0.35s var(--ease);
}
.about__stat:hover { transform: translateY(-6px); }

.about__stat:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.about__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--white);
}

.about__stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.22);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about__tags span {
  font-size: 0.72rem;
  font-weight: 400;
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
}

.about__tags span:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}

/* ===== CONTACT ===== */
.section--contact {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact__head { margin-bottom: 80px; }

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--white);
}

.contact__sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2px;
}

.contact__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 11px 0;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.18); }

.form-field select { cursor: pointer; color-scheme: dark; }
.form-field select option { background: #0a0a0a; color: var(--white); }
.form-field textarea { resize: vertical; min-height: 96px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: rgba(255,255,255,0.6); }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact__info-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 6px;
}

.contact__info-item a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--d1);
  transition: color 0.2s;
}

.contact__info-item a:hover { color: rgba(255,255,255,0.5); }

.contact__trial {
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.contact__trial strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.contact__trial p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #050505;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer__logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1.5px;
}
.footer__logo span { opacity: 0.25; }

.footer__nav { display: flex; gap: 32px; }

.footer__nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer__nav a:hover { color: rgba(255,255,255,0.65); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.12);
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 8px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Marquee edge fade */
.marquee-strip {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Stagger delays — siblings */
.services__list .service-row:nth-child(2) { transition-delay: 0.07s; }
.services__list .service-row:nth-child(3) { transition-delay: 0.14s; }
.services__list .service-row:nth-child(4) { transition-delay: 0.21s; }
.services__list .service-row:nth-child(5) { transition-delay: 0.28s; }
.services__list .service-row:nth-child(6) { transition-delay: 0.35s; }

.process__grid .process__item:nth-child(2) { transition-delay: 0.15s; }
.process__grid .process__item:nth-child(3) { transition-delay: 0.30s; }

.about__stats .about__stat:nth-child(1) { transition-delay: 0.05s; }
.about__stats .about__stat:nth-child(2) { transition-delay: 0.12s; }
.about__stats .about__stat:nth-child(3) { transition-delay: 0.19s; }
.about__stats .about__stat:nth-child(4) { transition-delay: 0.26s; }

.pricing__grid .pricing-card:nth-child(2) { transition-delay: 0.10s; }
.pricing__grid .pricing-card:nth-child(3) { transition-delay: 0.20s; }

.stats-strip__inner .stat-item:nth-child(1) { transition-delay: 0.05s; }
.stats-strip__inner .stat-item:nth-child(3) { transition-delay: 0.10s; }
.stats-strip__inner .stat-item:nth-child(5) { transition-delay: 0.15s; }
.stats-strip__inner .stat-item:nth-child(7) { transition-delay: 0.20s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1060px) {
  .container { padding: 0 28px; }
  .nav__inner { padding: 0 28px; }
  .stats-strip__inner { padding: 44px 28px; }
  .section__head { grid-template-columns: 1fr; }
  .section__head-desc { max-width: 100%; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; background: transparent; border: none; gap: 1px; }
  .pricing-card { border: 1px solid rgba(255,255,255,0.06); }
  .about__top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .about__stats { flex-wrap: wrap; gap: 24px; }
  .about__stat { flex: 0 0 calc(50% - 12px); border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 20px; }
  .about__stat:last-child { border-bottom: none; }
  .contact__body { grid-template-columns: 1fr; gap: 56px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 768px) {
  .nav__center { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .section { padding: 80px 0; }

  .hero { padding: 0 0 56px; }
  .hero__title { letter-spacing: -2px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__scroll { display: none; }

  .stats-strip__inner { flex-wrap: wrap; gap: 0; }
  .stat-item { min-width: 50%; padding: 24px 0; }
  .stat-item__sep { display: none; }

  .marquee-strip { padding: 13px 0; }

  .process__grid { grid-template-columns: 1fr; gap: 40px; }
  .process__rule { display: none; }

  .clients-band__names { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .clients-band__names span { border-right: none; flex: none; }

  .about__stats { gap: 24px; flex-wrap: wrap; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .container, .nav__inner, .stats-strip__inner { padding: 0 20px; }
  .hero__title { letter-spacing: -1px; }
  .btn { padding: 12px 20px; }
  .contact__title { letter-spacing: -2px; }
  .about__name { letter-spacing: -2px; }
}

/* ===== BOOKING MODAL ===== */
.bk-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bk-modal.open {
  opacity: 1;
  pointer-events: all;
}

.bk-panel {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.99);
  transition: transform 0.4s var(--ease);
}
.bk-modal.open .bk-panel {
  transform: translateY(0) scale(1);
}

.bk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bk-head__title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.bk-head__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.3);
  padding: 4px;
  display: flex;
  transition: color 0.2s;
}
.bk-head__close:hover { color: var(--white); }

/* Steps */
.bk-step { display: none; }
.bk-step.active { display: flex; }
.bk-step--form.active { display: block; }

/* Calendar side */
.bk-cal {
  flex: 0 0 300px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.bk-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bk-cal__month {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}
.bk-cal__arr {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.bk-cal__arr:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }
.bk-cal__arr:disabled { opacity: 0.2; cursor: default; }

.bk-cal__wdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.bk-cal__wdays span {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding: 4px 0;
}
.bk-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.bk-day {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.83rem;
  font-family: var(--font);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.bk-day:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.bk-day--empty { pointer-events: none; }
.bk-day--past { color: rgba(255,255,255,0.14); cursor: default; }
.bk-day--today { color: var(--white); font-weight: 600; }
.bk-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.bk-day--sel {
  background: var(--white) !important;
  color: var(--black) !important;
  font-weight: 600;
}
.bk-day--sel::after { display: none; }

/* Slots side */
.bk-slots {
  flex: 1;
  padding: 24px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.bk-slots__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-slots__empty span {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.14);
}
.bk-slots__filled { display: none; }
.bk-slots__filled.visible { display: block; }
.bk-slots__none {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding: 24px 0;
  text-align: center;
}
.bk-slots__date {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.bk-slots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.bk-slot {
  background: none;
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 9px 4px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.bk-slot:hover {
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.bk-slot--sel {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}
.bk-slot--disabled {
  text-decoration: line-through;
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* Form step */
.bk-step--form { padding: 28px 32px; }
.bk-back {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
  margin-bottom: 24px;
  transition: color 0.2s;
  display: block;
}
.bk-back:hover { color: var(--white); }

.bk-summary {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.025);
  margin-bottom: 28px;
}

.bk-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bk-form .form-field { margin-bottom: 18px; }
.bk-form label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 7px;
}
.bk-form label em { font-style: normal; color: rgba(255,255,255,0.18); }
.bk-form input,
.bk-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.bk-form input::placeholder,
.bk-form textarea::placeholder { color: rgba(255,255,255,0.18); }
.bk-form input:focus,
.bk-form textarea:focus { border-color: rgba(255,255,255,0.32); }
.bk-input--err { border-color: rgba(255,100,100,0.6) !important; }
.bk-input--err:focus { border-color: rgba(255,100,100,0.9) !important; }
.bk-form textarea { min-height: 80px; }
.bk-form .btn { margin-top: 8px; }

@media (max-width: 600px) {
  .bk-step.active { flex-direction: column; }
  .bk-cal { flex: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 20px; }
  .bk-slots { min-height: auto; }
  .bk-step--form { padding: 24px 20px; }
  .bk-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: transform 0.3s var(--ease), background 0.2s;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle__icon { position: absolute; transition: opacity 0.2s, transform 0.2s; }
.chat-toggle__icon--close { opacity: 0; transform: rotate(-45deg) scale(0.7); }
.chat-widget.open .chat-toggle__icon--open  { opacity: 0; transform: rotate(45deg) scale(0.7); }
.chat-widget.open .chat-toggle__icon--close { opacity: 1; transform: rotate(0) scale(1); }

.chat-panel {
  width: 320px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-height: 460px;
}
.chat-widget.open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.chat-header__info { display: flex; align-items: center; gap: 8px; }
.chat-header__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
.chat-header__name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.85);
}
.chat-header__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.chat-header__close:hover { color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.55;
  animation: msgIn 0.25s var(--ease);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.chat-msg--user {
  background: var(--white);
  color: var(--black);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
  font-weight: 500;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  animation: msgIn 0.25s var(--ease);
}
.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40%           { transform: scale(1.3); opacity: 1; }
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--white);
  font-family: var(--font-ui);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input::placeholder { color: rgba(255,255,255,0.2); }
.chat-input:focus { border-color: rgba(255,255,255,0.28); }
.chat-send {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--white);
  border: none;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.chat-send:hover { transform: scale(1.07); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-panel { width: calc(100vw - 32px); }
}
