:root {
  --bg: #fcfcfb;
  --text: #111316;
  --muted: #626a73;
  --brand: #7c3aed;
  --brand-2: #f97316;
  --brand-soft: #fff2e7;
  --line: #e6e0ee;
  --surface: #f7f3ff;
  --surface-alt: #fff;
  --surface-gray: #fff7ed;
  --radius: 8px;
  --max: 1120px;
}

/* Reset & Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin-inline: auto; padding: 0 20px; }
.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;
}

/* Notice bar */
.notice {
  background: linear-gradient(90deg, #7c3aed, #f97316);
  color: #f8fafc;
  text-align: center;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
}
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(252,252,251,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}
.logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.logo b { color: var(--brand); }
.nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav .btn {
  padding: 8px 12px;
}
.nav a:hover { background: var(--surface); }

/* Hero */
.hero {
  text-align: center;
  padding: 112px 0 96px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,243,255,0.88)),
    radial-gradient(circle at 18% 18%, rgba(124,58,237,0.20), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(249,115,22,0.18), transparent 30%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { max-width: 900px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 22px;
}
.hero .lead {
  color: var(--muted);
  font-size: 21px;
  max-width: 720px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 840px;
  margin: 0 0 32px;
}
.about-page .lead {
  margin-inline: auto;
  text-align: center;
}
.contact-page .lead {
  margin-bottom: 32px;
}
.btn {
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #7c3aed, #f97316);
  color: #fff;
  border-color: transparent;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: #c8c2b8;
  box-shadow: 0 10px 24px rgba(17,19,22,0.09);
}

/* Sections with tonal rhythm */
.section {
  padding: 84px 0;
  text-align: center;
  position: relative;
}
.section:nth-of-type(2) { background: var(--surface-alt); }
.section:nth-of-type(3) { background: var(--surface); }
.section:nth-of-type(4) { background: #fff; }

/* Gentle divider between sections */
.section::before {
  content: none;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  max-width: 860px;
  margin: 0 auto 22px;
  letter-spacing: 0;
}
.section h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  max-width: 900px;
  margin: 0 auto 22px;
  letter-spacing: 0;
}
.section .sub {
  color: var(--muted);
  margin: 0 auto 34px;
  max-width: 720px;
}

/* Grids & Cards */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width:900px){.grid.cols-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid.cols-3,.grid.cols-2{grid-template-columns:1fr}}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  box-shadow: 0 18px 42px rgba(17,19,22,0.04);
}
.card:hover {
  border-color: rgba(124,58,237,0.28);
}
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
.card p { color: var(--muted); margin: 0; }
.badge {
  display: inline-block;
  background: var(--surface-gray);
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* Reviews */
.reviews-grid { gap: 28px; }
.clients .item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.clients .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(17,19,22,0.09);
}
.clients .featured-review {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,242,231,0.96)),
    linear-gradient(135deg, rgba(124,58,237,0.10), rgba(249,115,22,0.12));
  border-color: #fed7aa;
}
.clients .logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}
.clients .logo-wide {
  width: 118px;
  height: 64px;
}
.clients .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.clients .logo img[src$=".png"] {
  object-fit: contain;
}
.quote { font-size: 17px; color: #2c333a; line-height: 1.55; margin: 0; }
.client-name { font-weight: 700; margin-top: 4px; font-size: 14px; }
.small { font-size: 12px; color: var(--muted); }
@media (max-width:640px){.reviews-grid{grid-template-columns:1fr;}}

/* Footer */
.footer {
  background: #2e1065;
  color: #f5f3ff;
  padding: 28px 0;
}
.footer a { color: #f5f3ff; }
.footer .columns {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-links, .social {
  display: flex;
  align-items: center;
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social svg { fill: currentColor; }
.footer-links li + li::before {
  content: "\00b7";
  margin: 0 .25rem;
  opacity: .6;
}
@media (max-width:640px) {
  .footer .columns { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-links { flex-wrap: wrap; gap: .5rem 1rem; }
  .footer-links li + li::before { content: none; }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 0; right: 0;
  display: none;
  justify-content: center;
  z-index: 99;
}
@media (max-width:760px) {
  .sticky-cta { display: none; }
  .sticky-cta .btn { width: 90%; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: start;
  text-align: left;
}
.contact-page {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(247,243,255,0.92)),
    radial-gradient(circle at 78% 18%, rgba(249,115,22,0.16), transparent 30%);
  min-height: calc(100vh - 186px);
}
.contact-page h1 {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(17,19,22,0.08);
  display: grid;
  gap: 24px;
  padding: 30px;
}
.contact-label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-panel a:not(.btn) {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
address {
  color: #2c333a;
  font-style: normal;
}
@media (max-width:760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 86px 0 76px; }
  .section { padding: 64px 0; }
  .nav ul { gap: 8px; }
  .nav a { padding: 8px; }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
