:root {
  --navy: #12107e;
  --navy-dark: #16163f;
  --navy-btn: #1a1868;
  --purple: #9e3ffd;
  --purple-mid: #7b6caf;
  --purple-soft: #c4b5fd;
  --lavender: #efe7ff;
  --text: #16163f;
  --muted: #5c5c78;
  --line: #d8d8e4;
  --white: #ffffff;
  --header-h: 84px;
  --max: 1120px;
  --radius-pill: 28px;
  --shadow: 0 8px 28px rgba(18, 16, 126, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 22, 63, 0.06);
  height: var(--header-h);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  height: 52px;
  width: auto;
}

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

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a.is-active { color: var(--purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-call { flex-shrink: 0; }
.nav-call { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(78vh - var(--header-h));
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f3ff 55%, #efe8ff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 16, 126, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 16, 126, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 0 220px;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero .tagline {
  margin: 18px 0 28px;
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}

.hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(78%, 980px);
  pointer-events: none;
  z-index: 1;
}

.hero-art img {
  width: 100%;
  height: auto;
}

/* Sections */
section { position: relative; }

.section-pad { padding: 88px 0; }

.kicker {
  color: var(--navy);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.lede {
  color: var(--muted);
  max-width: 62ch;
}

/* Services */
.services { background: var(--white); }

.services .intro { margin-bottom: 56px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  color: var(--navy);
}

.service-card p { color: var(--muted); font-size: 15.5px; }

.icon {
  width: 78px;
  height: 62px;
}

/* Stats */
.stats {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.stats h2 { color: var(--white); margin-bottom: 48px; }

.stats-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.stat { flex: 1; max-width: 280px; padding: 0 20px; }

.stat-number {
  display: block;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.92;
}

.stat + .stat {
  border-left: 0;
  position: relative;
}

.stat + .stat::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  left: -4px;
  top: 28px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-copy p { margin-top: 18px; color: var(--muted); }

.about-copy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.about-art {
  background: linear-gradient(180deg, #5b3dbe 0%, #c9b6ff 100%);
  border-radius: 4px;
  min-height: 360px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.about-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 80px 0 72px;
}

.testimonials .kicker { color: var(--white); font-weight: 500; margin-bottom: 28px; }

.quote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  font-weight: 500;
}

.quote-meta {
  margin-top: 22px;
  opacity: 0.85;
  font-size: 15px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.dots button.is-on { background: var(--white); }

.slide { display: none; }
.slide.is-on { display: block; }

/* Clients */
.clients { text-align: center; }

.clients h2 { margin-bottom: 48px; }

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  align-items: center;
}

.client-grid a,
.client-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
}

.client-grid img {
  max-height: 72px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p { margin-top: 16px; color: var(--muted); }

.contact-copy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

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

.field {
  margin-bottom: 22px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 8px;
  font: inherit;
  color: var(--text);
  background: transparent;
  outline: none;
}

.field textarea { min-height: 88px; resize: vertical; }

.field input:focus,
.field textarea:focus { border-bottom-color: var(--navy); }

.honey { display: none !important; }

.form-status {
  display: none;
  margin-top: 14px;
  color: var(--navy);
  font-weight: 600;
}

.form-status.is-on { display: block; }

/* Inner pages */
.page-hero {
  padding: 72px 0 24px;
}

.page-hero h1 {
  font-size: clamp(36px, 4.4vw, 52px);
  color: var(--navy);
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 18px;
}

.muted { color: var(--muted); }

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer a { color: var(--navy); }

/* 404 */
.error-page {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 { font-size: 56px; color: var(--navy); }

/* Responsive */
@media (max-width: 980px) {
  .service-grid,
  .about-grid,
  .contact-grid,
  .client-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { max-width: 70%; }
}

@media (max-width: 820px) {
  .wrap { width: min(var(--max), calc(100% - 36px)); }
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .btn-call { display: none; }
  .nav-call { display: inline-flex; }
  .hero-inner { max-width: 100%; padding: 56px 0 200px; }
  .stats-row { flex-direction: column; gap: 28px; }
  .stat { max-width: none; }
  .stat + .stat::before { display: none; }
  .service-grid,
  .about-grid,
  .contact-grid,
  .client-grid,
  .form-row { grid-template-columns: 1fr; }
}
