:root {
  --brand-primary: #51159b;
  --brand-primary-dark: #380f6c;
  --brand-primary-soft: #f2ebfa;
  --brand-accent: #f59b46;
  --brand-accent-dark: #8a4e12;
  --brand-accent-soft: #fff1e3;
  --text-primary: #241b33;
  --text-secondary: #5c5468;
  --text-inverse: #ffffff;
  --surface-page: #ffffff;
  --surface-section: #f7f5fb;
  --border-default: #e7e1f0;
  --radius-control: 10px;
  --radius-card: 16px;
  --shadow-card: 0 10px 30px rgb(56 15 108 / 8%);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface-page);
  font: 400 1rem/1.6 var(--font-family);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-default); }
.header-row { position: relative; display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--brand-primary-dark); }
.brand img { border-radius: 8px; }
.brand b { color: var(--brand-accent-dark); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--text-secondary); }
.nav a:hover { color: var(--brand-primary); }
.header-cta { margin-left: 8px; white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; margin-left: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--brand-primary-dark); border-radius: 2px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; height: 46px; border-radius: var(--radius-control); font-weight: 700; font-size: 0.9375rem; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-primary); color: var(--text-inverse); box-shadow: 0 8px 20px rgb(81 21 155 / 25%); }
.btn-primary:hover { background: var(--brand-primary-dark); }
.btn-secondary { background: var(--brand-accent); color: #402504; }
.btn-ghost { background: transparent; color: var(--brand-primary-dark); border-color: var(--border-default); }
.btn-ghost:hover { border-color: var(--brand-primary); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1rem; }

/* ---- Hero ---- */
.hero { padding: 64px 0 48px; background: linear-gradient(160deg, var(--brand-primary-soft), #ffffff 60%); }
.hero-row { display: flex; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 480px; }
.hero-art { flex: 0 0 280px; display: flex; justify-content: center; }
.hero-art img { border-radius: 24px; box-shadow: var(--shadow-card); }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: var(--brand-primary-soft); color: var(--brand-primary-dark); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.02em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--brand-primary-dark); }
.lead { font-size: 1.0625rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.hero-note { font-size: 0.875rem; color: var(--text-secondary); font-style: italic; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-section); }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brand-primary-dark); text-align: center; }
.section-lead { text-align: center; max-width: 56ch; margin: 0 auto 40px; }

.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card, .value-card { background: #ffffff; border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: 24px 20px; box-shadow: var(--shadow-card); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px; background: var(--icon-bg); color: var(--icon-fg); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3, .value-card h3 { font-size: 1.0625rem; color: var(--brand-primary-dark); }
.service-card p, .value-card p { font-size: 0.9375rem; margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding-top: 8px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.0625rem; color: var(--brand-primary-dark); }
.steps p { font-size: 0.9375rem; margin: 0; }

.split { display: flex; }
.split > div { max-width: 640px; margin: 0 auto; text-align: center; }
.split h2 { color: var(--brand-primary-dark); }
.split .eyebrow { display: inline-block; margin: 0 auto 12px; }
.split p { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-primary-dark); color: var(--text-inverse); padding: 48px 0 0; }
.footer-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid rgb(255 255 255 / 15%); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { font-size: 1.125rem; }
.footer-brand p { margin: 0; color: rgb(255 255 255 / 70%); font-size: 0.875rem; }
.footer-contact { text-align: right; }
.footer-note { color: rgb(255 255 255 / 55%); font-size: 0.75rem; max-width: 280px; margin: 8px 0 0; }
.footer-bottom { display: flex; justify-content: center; padding: 20px 0; color: rgb(255 255 255 / 60%); font-size: 0.8125rem; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-row { flex-direction: column-reverse; text-align: center; }
  .hero-actions { justify-content: center; }
  .lead { max-width: none; }
}

@media (max-width: 720px) {
  .nav { position: absolute; z-index: 30; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border-default); box-shadow: var(--shadow-card); max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
  .nav.is-open { max-height: 320px; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--border-default); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .grid-5, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-note { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .grid-5, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero-art { flex: 0 0 auto; }
  .hero-art img { width: 220px; height: 220px; }
}
