/* ============================================================
   K LmofWY — Main stylesheet (klmofwy.com)
   - Tokens (colors, type, radius, shadow, easings)
   - Base / reset / typography
   - Layout primitives (.container, .section, .grid)
   - Header & navigation (incl. mobile)
   - Hero / Trust marquee / Service cards / Mobile spotlight
   - Meet the cast / Portfolio / CTA strip
   - Services page sections / FAQ / Pricing
   - Contact page form & details
   - 404 page
   - Footer
   - Utility / a11y / focus / skip-link
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --c-primary: #0066FF;
  --c-primary-soft: #9CC4FF;
  --c-violet: #8B5CF6;
  --c-pink: #FF6B9D;
  --c-amber: #FFB800;
  --c-mint: #00C8A0;
  --c-ink: #0A0E27;
  --c-ink-soft: #1F2547;
  --c-muted: #5A6280;
  --c-cream: #F8F5F0;
  --c-surface: #FFFFFF;
  --c-surface-soft: #F1ECE2;
  --c-overlay: rgba(10, 14, 39, 0.6);

  /* Gradients */
  --g-brand: linear-gradient(135deg, #0066FF 0%, #8B5CF6 55%, #FF6B9D 100%);
  --g-warm: linear-gradient(135deg, #FFB800 0%, #FF6B9D 100%);
  --g-cool: linear-gradient(135deg, #00C8A0 0%, #0066FF 100%);
  --g-soft: linear-gradient(180deg, #F8F5F0 0%, #FFFFFF 100%);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(10, 14, 39, .06), 0 4px 12px rgba(10, 14, 39, .08);
  --shadow-2: 0 8px 24px rgba(10, 14, 39, .10), 0 24px 48px rgba(10, 14, 39, .10);
  --shadow-3: 0 20px 60px rgba(0, 102, 255, .18);
  --shadow-glow: 0 0 0 6px rgba(0, 102, 255, .12);

  /* Easings / timings */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-material: cubic-bezier(.4, 0, .2, 1);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  /* Type */
  --font-display: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ---------- 2. Base / reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}
a:hover { color: var(--c-violet); }

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); color: var(--c-ink); line-height: 1.15; letter-spacing: -0.01em; }

::selection { background: var(--c-primary); color: #fff; }

/* ---------- 3. Focus / a11y ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--cream { background: var(--c-cream); }
.section--soft  { background: var(--c-surface-soft); }
.section--dark  { background: var(--c-ink); color: #E6E8F2; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-violet);
  background: rgba(139, 92, 246, .10);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--c-muted);
  max-width: 64ch;
  line-height: 1.6;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 14px;
}

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 240, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10, 14, 39, .06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand__mark { width: 40px; height: 40px; }
.brand__mark img,
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { color: var(--c-ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  color: var(--c-ink);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.nav__link:hover { background: rgba(0, 102, 255, .08); color: var(--c-primary); }
.nav__link[aria-current="page"] {
  background: var(--c-ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease-out);
}
.nav-toggle:hover { background: rgba(0, 102, 255, .08); }
.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 16px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease-out), top .3s var(--ease-out);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: var(--c-cream);
    border-bottom: 1px solid rgba(10, 14, 39, .08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease-out), opacity .2s var(--ease-out);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: 14px 18px;
    font-size: 17px;
    border-radius: var(--radius-md);
  }
  .nav-cta { margin-top: 8px; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: transform .22s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--g-brand);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-3);
}
.btn--primary:hover {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 24px 60px rgba(0, 102, 255, .30);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid rgba(10, 14, 39, .16);
}
.btn--ghost:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.btn--light {
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--shadow-1);
}
.btn--light:hover { color: var(--c-primary); box-shadow: var(--shadow-2); }

.btn .btn__arrow { transition: transform .2s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, .18), transparent 60%),
              radial-gradient(900px 500px at 10% 30%, rgba(0, 200, 160, .12), transparent 60%),
              var(--c-cream);
}
.hero__inner {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 18px;
}
.hero h1 .gradient-text {
  background: var(--g-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--c-muted);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__micro {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: .02em;
}

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero__art .hero-illu {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.hero__art .blob {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: 1;
  width: 120%;
  height: 120%;
  opacity: .55;
  filter: blur(0.5px);
}
.hero__mascot {
  position: absolute;
  width: 92px;
  height: 92px;
  z-index: 3;
}
.hero__mascot--1 { top: 6%; right: 0; }
.hero__mascot--2 { bottom: 8%; left: -6%; width: 72px; height: 72px; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { max-width: 360px; margin: 0 auto; }
  .hero__mascot--1 { top: -16px; right: 0; width: 64px; height: 64px; }
  .hero__mascot--2 { display: none; }
}

/* ---------- 8. Trust strip (marquee) ---------- */
.trust {
  background: var(--c-surface);
  border-top: 1px solid rgba(10, 14, 39, .06);
  border-bottom: 1px solid rgba(10, 14, 39, .06);
  padding: 22px 0;
  overflow: hidden;
}
.trust__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}
.marquee__track {
  display: flex;
  gap: 14px;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-cream);
  border: 1px solid rgba(10, 14, 39, .08);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-ink-soft);
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- 9. Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(10, 14, 39, .04);
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--g-brand);
  opacity: 0;
  z-index: -1;
  transition: opacity .3s var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-2); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--c-cream);
  margin-bottom: 18px;
  color: var(--c-primary);
}
.card__icon img { width: 32px; height: 32px; }
.card__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.card__subtitle {
  font-size: 14px;
  color: var(--c-violet);
  font-weight: 500;
  margin: 0 0 12px;
}
.card__body {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0 0 18px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-primary);
}
.card__link .arrow { transition: transform .2s var(--ease-out); }
.card__link:hover .arrow { transform: translateX(4px); }

/* Color tints per card */
.card--a .card__icon { color: var(--c-pink); background: rgba(255, 107, 157, .10); }
.card--b .card__icon { color: var(--c-primary); background: rgba(0, 102, 255, .10); }
.card--c .card__icon { color: var(--c-violet); background: rgba(139, 92, 246, .10); }
.card--d .card__icon { color: var(--c-amber);  background: rgba(255, 184, 0, .12); }

/* ---------- 10. Mobile spotlight (2-column feature) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
}
.spotlight__copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 12px 0 16px;
}
.spotlight__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 800px) {
  .spotlight__list { grid-template-columns: 1fr; }
}
.spotlight__feature {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .06);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-1);
}
.spotlight__feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.spotlight__feature h3 .num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-pill);
  background: var(--g-brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.spotlight__feature p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}
.spotlight__art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
}
.spotlight__art .blob { position: absolute; inset: -8%; width: 116%; height: 116%; opacity: .5; }
.spotlight__art img { position: relative; z-index: 2; width: 100%; height: 100%; }
.spotlight__fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-muted);
  max-width: 64ch;
}
.spotlight__cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-primary); }

/* ---------- 11. Cast (mascot micro-cards) ---------- */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .cast-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cast-grid { grid-template-columns: 1fr; } }

.cast-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 24px 18px 20px;
  text-align: center;
  border: 1px solid rgba(10, 14, 39, .06);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cast-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cast-card__art {
  width: 120px; height: 120px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
}
.cast-card__art img { width: 100%; height: 100%; }
.cast-card__name {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.cast-card__quote {
  font-style: italic;
  color: var(--c-muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.cast-card__app {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 102, 255, .10);
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 600;
}
.cast-closing {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--c-muted);
}

/* ---------- 12. Portfolio grid ---------- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 720px) { .portfolio { grid-template-columns: 1fr; } }

.app-card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-1);
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 20px;
  border: 1px solid rgba(10, 14, 39, .05);
  overflow: hidden;
  transition: box-shadow .3s var(--ease-out);
}
.app-card:hover { box-shadow: var(--shadow-2); }
.app-card__art {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--c-cream);
  display: grid; place-items: center;
  padding: 18px;
}
.app-card__art img { width: 100%; height: 100%; object-fit: contain; }
.app-card__type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-violet);
  margin-bottom: 8px;
}
.app-card__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
}
.app-card__tag {
  font-style: italic;
  color: var(--c-muted);
  font-size: 15px;
  margin: 0 0 14px;
}
.app-card__list {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.app-card__list li {
  position: relative;
  padding-left: 20px;
  margin: 6px 0;
}
.app-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--g-brand);
}
.app-card__stores {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.store-badge:hover { background: var(--c-primary); color: #fff; transform: translateY(-1px); }
.store-badge img { width: 18px; height: 18px; }

@media (max-width: 520px) {
  .app-card { grid-template-columns: 1fr; }
  .app-card__art { max-width: 180px; }
}

/* ---------- 13. CTA strip ---------- */
.cta-strip {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  background: var(--g-soft), var(--c-cream);
  background: var(--g-soft);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(10, 14, 39, .05);
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g-brand);
  opacity: .08;
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}
.cta-strip__sub { color: var(--c-muted); max-width: 56ch; margin: 0 auto 24px; }
.cta-strip__btns { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-strip__tiny {
  margin-top: 18px;
  font-size: 13px;
  color: var(--c-muted);
}

/* ---------- 14. Services page specific ---------- */
.page-hero {
  padding: 64px 0 32px;
  background: radial-gradient(1000px 500px at 80% 0%, rgba(255, 184, 0, .14), transparent 60%), var(--c-cream);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 48px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  margin: 12px 0 14px;
}
.page-hero p { font-size: 18px; color: var(--c-muted); max-width: 56ch; }
.page-hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 380px; margin-left: auto; }
.page-hero__art img { position: relative; z-index: 2; }
.page-hero__art .blob { position: absolute; inset: -10%; width: 120%; height: 120%; opacity: .5; }

@media (max-width: 880px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__art { margin: 0 auto; max-width: 320px; }
}

.svc-block { padding: 64px 0; }
.svc-block--soft { background: var(--c-surface-soft); }
.svc-block--cream { background: var(--c-cream); }
.svc-block h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}
.svc-block .lead { margin-bottom: 28px; }

.pillars {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-cream);
  border: 1px solid rgba(10, 14, 39, .08);
  font-size: 14px;
  color: var(--c-ink-soft);
  font-weight: 500;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .feature-row { grid-template-columns: 1fr; } }
.feature-row--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .feature-row--2 { grid-template-columns: 1fr; } }
.feature {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .06);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { font-size: 15px; color: var(--c-muted); margin: 0; }

.list-clean { margin: 16px 0; }
.list-clean li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  color: var(--c-ink-soft);
  border-bottom: 1px solid rgba(10, 14, 39, .06);
}
.list-clean li:last-child { border-bottom: 0; }
.list-clean li::before {
  counter-increment: list-counter;
  content: counter(list-counter, decimal-leading-zero) ".";
  position: absolute;
  left: 0; top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-violet);
  font-weight: 700;
}
.list-clean { counter-reset: list-counter; }

.live-titles {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px;
}
.live-titles li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--g-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.engagement {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .engagement { grid-template-columns: 1fr; } }
.engagement__card {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .06);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.engagement__card h3 { font-size: 18px; margin: 0 0 12px; }
.engagement__card p { margin: 0; color: var(--c-muted); }
.engagement__price {
  margin-top: 24px;
  padding: 28px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
}
.engagement__price strong { color: var(--c-amber); font-family: var(--font-mono); font-size: 1.4em; }

.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .08);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s var(--ease-out);
}
.faq details:hover { box-shadow: var(--shadow-2); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--c-violet);
  transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div {
  padding: 0 22px 20px;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- 15. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .06);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.form h2 { font-size: 24px; margin: 0 0 6px; }
.form__lead { color: var(--c-muted); margin: 0 0 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.field label .req { color: var(--c-pink); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: var(--c-cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: var(--shadow-glow);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.field--check label { font-size: 14px; color: var(--c-ink-soft); font-weight: 500; }
.field--error input,
.field--error select,
.field--error textarea { border-color: var(--c-pink); background: #fff5f8; }
.field__hint { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.field__error { font-size: 12px; color: var(--c-pink); margin-top: 4px; display: none; }
.field--error .field__error { display: block; }
.form__actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form__helper { font-size: 13px; color: var(--c-muted); }
.form__status { margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; display: none; }
.form__status.is-ok { display: block; background: rgba(0, 200, 160, .10); color: #00735A; border: 1px solid rgba(0, 200, 160, .30); }
.form__status.is-err { display: block; background: #fff5f8; color: #B2285C; border: 1px solid #f6c2d4; }

.contact-details {
  background: var(--c-surface);
  border: 1px solid rgba(10, 14, 39, .06);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.contact-details h2 { font-size: 20px; margin: 0 0 16px; }
.contact-details dl { margin: 0 0 24px; }
.contact-details dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 14px;
}
.contact-details dd { margin: 4px 0 0; font-size: 15px; color: var(--c-ink); }
.contact-details dd a { color: var(--c-primary); }
.contact-social { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-social a {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background: var(--c-cream);
  color: var(--c-ink);
  transition: background .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.contact-social a:hover { background: var(--g-brand); color: #fff; transform: translateY(-2px); }
.contact-social svg { width: 20px; height: 20px; }
.contact-reassure {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(0, 200, 160, .10);
  border: 1px solid rgba(0, 200, 160, .30);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #006E5A;
}

/* ---------- 16. 404 page ---------- */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 500px at 50% 0%, rgba(255, 184, 0, .14), transparent 60%), var(--c-cream);
}
.notfound__inner { position: relative; z-index: 2; max-width: 640px; }
.notfound__code {
  font-family: var(--font-mono);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 800;
  background: var(--g-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.notfound__mascot {
  width: 180px; height: 180px;
  margin: 0 auto 16px;
}
.notfound h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 8px 0 12px;
}
.notfound p { color: var(--c-muted); margin-bottom: 24px; }
.notfound__ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.notfound__art {
  position: absolute;
  pointer-events: none;
  opacity: .35;
  z-index: 1;
}
.notfound__art--1 { top: 8%; left: 6%; width: 120px; }
.notfound__art--2 { bottom: 10%; right: 8%; width: 100px; }
.notfound__art--3 { top: 50%; right: 14%; width: 80px; }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #C6C9DC;
  padding: 64px 0 28px;
  font-size: 14px;
}
.site-footer a { color: #fff; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--c-amber); }
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 880px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.site-footer ul li { margin: 6px 0; }
.site-footer__brand p { color: rgba(255, 255, 255, .7); margin: 12px 0 0; max-width: 32ch; }
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}
@media (max-width: 720px) { .site-footer__bottom { grid-template-columns: 1fr; text-align: center; } }
.site-footer__bottom--center { text-align: center; }
.site-footer__bottom--right { text-align: right; }
.site-footer__bottom--right .store-badges { justify-content: flex-end; display: inline-flex; gap: 8px; }
@media (max-width: 720px) { .site-footer__bottom--right { text-align: center; } .site-footer__bottom--right .store-badges { justify-content: center; } }
.site-footer__bottom a { color: rgba(255, 255, 255, .85); }
.site-footer__top-link { text-align: right; font-size: 12px; }
@media (max-width: 720px) { .site-footer__top-link { text-align: center; } }

.store-badges { display: inline-flex; gap: 8px; }
.store-badges a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-pill);
  font-size: 12px;
}
.store-badges a:hover { background: rgba(255, 255, 255, .16); }
.store-badges img { width: 14px; height: 14px; }

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee { animation: none !important; transform: none !important; }
}
