:root {
  --bg: #fbf5fa;
  --surface: #ffffff;
  --ink: #241531;
  --ink-muted: #6b5a75;
  --brand-dark: #2a1b3d;
  --brand: #7b4c86;
  --brand-light: #c99fc9;
  --brand-pale: #f1e4ef;
  --border: #e6d7e4;
  --radius: 12px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

a { color: var(--brand); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin: 0 0 16px; color: var(--ink-muted); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(0,0,0,0.05); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 250, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.primary-nav a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--brand-dark), #3c2555);
  color: #fff;
  padding: 90px 0 80px;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--brand-light); }
.hero h1 { color: #fff; }
.hero-lede { color: #e4d5e8; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--brand-pale); }
.section-dark { background: var(--brand-dark); color: #fff; }
.section-dark p { color: #d9c6de; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--brand-light); }

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.section-heading-center {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-intro { font-size: 1.05rem; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-index {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 0.05em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature h3 { color: var(--brand-dark); }

/* Contact */
.contact-grid { align-items: start; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.15);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-full { grid-column: 1 / -1; }

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4d5e8;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}
.contact-form textarea { resize: vertical; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbb9d1;
  padding: 24px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-inner a { color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .section-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}
