/* Rezalt Premium — editorial design system */

:root {
  --bg-main: #F1EEE5;
  --bg-soft: #F8F5EE;
  --white: #FFFdf9;
  --text: #11100D;
  --text-muted: #524E46;
  --border: #D6CFC2;
  --border-soft: #E5DFD3;
  --dark: #161512;
  --dark-elevated: #1F1D19;
  --accent: #7A5638;
  --accent-hover: #63452C;
  --accent-soft: rgba(122, 86, 56, 0.08);
  --radius: 10px;
  --radius-sm: 8px;
  --container: 1380px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 168px);
  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --shadow-soft: 0 1px 0 rgba(20, 19, 16, 0.04), 0 18px 40px rgba(20, 19, 16, 0.05);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.rz-body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(122, 86, 56, 0.07), transparent 55%),
    radial-gradient(900px 500px at 92% 8%, rgba(122, 86, 56, 0.045), transparent 50%),
    var(--bg-main);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(122, 86, 56, 0.18);
  color: var(--text);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.rz-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.rz-skip:focus { left: 1rem; top: 1rem; }

.rz-container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.rz-section {
  padding-block: var(--section-y);
}
.rz-section--dark {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(122, 86, 56, 0.18), transparent 55%),
    var(--dark);
  color: #F3F0E8;
}
.rz-section--soft { background: rgba(248, 245, 238, 0.88); }
.rz-section--white { background: var(--white); }
.rz-section--dark .rz-muted,
.rz-section--dark .rz-eyebrow { color: rgba(243, 240, 232, 0.62); }
.rz-section--dark .rz-border { border-color: rgba(243, 240, 232, 0.14); }

.rz-eyebrow {
  margin: 0 0 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.rz-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.rz-h1 {
  margin: 0;
  font-size: clamp(44px, 6.2vw, 80px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.rz-h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.rz-h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.022em;
}
.rz-lead {
  margin: 1.35rem 0 0;
  font-size: clamp(17px, 1.25vw, 19.5px);
  line-height: 1.62;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 40rem;
}
.rz-muted { color: var(--text-muted); }
.rz-section__head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.rz-section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}
.rz-section__head--row > div { max-width: 48rem; }

/* Buttons */
.rz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.rz-btn:hover { text-decoration: none; color: inherit; }
.rz-btn--primary {
  background: var(--accent);
  color: #FFFdf9;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 20px rgba(122, 86, 56, 0.22);
}
.rz-btn--primary:hover {
  background: var(--accent-hover);
  color: #FFFdf9;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 28px rgba(122, 86, 56, 0.28);
}
.rz-btn--dark {
  background: var(--dark);
  color: #F3F0E8;
}
.rz-btn--dark:hover {
  background: #0C0B09;
  color: #fff;
  transform: translateY(-1px);
}
.rz-btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.rz-btn--ghost:hover {
  border-color: var(--text);
  color: var(--text);
  background: rgba(20, 19, 16, 0.02);
}
.rz-btn--light {
  background: #F3F0E8;
  color: var(--dark);
}
.rz-btn--light:hover { background: #fff; color: var(--dark); }
.rz-section--dark .rz-btn--ghost {
  border-color: rgba(243, 240, 232, 0.28);
  color: #F3F0E8;
}
.rz-section--dark .rz-btn--ghost:hover {
  border-color: #F3F0E8;
}

.rz-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.rz-text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.rz-text-link::after { content: "→"; }

/* Placeholder — part of design system */
.rz-ph {
  position: relative;
  aspect-ratio: var(--rz-ph-ratio, 4/3);
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 253, 249, 0.55) 0%, transparent 42%),
    linear-gradient(210deg, var(--accent-soft), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}
.rz-ph::before,
.rz-ph::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(122, 86, 56, 0.35);
  border-style: solid;
  pointer-events: none;
}
.rz-ph::before {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}
.rz-ph::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}
.rz-ph__label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.rz-ph__hint {
  position: relative;
  z-index: 1;
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

/* Header */
.rz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 238, 229, 0.82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.rz-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(248, 245, 238, 0.92);
  box-shadow: 0 10px 30px rgba(20, 19, 16, 0.04);
}
.rz-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  min-height: var(--header-h);
}
.rz-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.rz-logo:hover { color: var(--text); }
.rz-logo img {
  height: 26px;
  width: auto;
}
.rz-nav {
  justify-self: center;
}
.rz-nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rz-nav__list > li > a,
.rz-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s;
}
.rz-nav__list > li > a:hover,
.rz-nav__trigger:hover,
.rz-nav__item.is-open > .rz-nav__trigger {
  color: var(--accent);
}
.rz-header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.rz-header__actions .rz-btn--ghost {
  min-height: 44px;
  padding-inline: 1rem;
  font-weight: 500;
  border-color: transparent;
  color: var(--text-muted);
}
.rz-header__actions .rz-btn--ghost:hover {
  color: var(--text);
  background: transparent;
  border-color: transparent;
}
.rz-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.rz-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* Mega menu */
.rz-nav__item { position: static; }
.rz-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 var(--gutter) 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  pointer-events: none;
}
.rz-nav__item.is-open .rz-mega,
.rz-nav__item:focus-within .rz-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.rz-mega__panel {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: 1.85rem 2.1rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: 0 28px 60px rgba(20, 19, 16, 0.1);
}
.rz-mega__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rz-mega__col-title {
  margin: 0 0 0.85rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rz-mega__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.rz-mega__links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
}
.rz-mega__links a:hover { color: var(--accent); }
.rz-mega__cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.rz-mega__cta p {
  margin: 0.35rem 0 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Hero */
.rz-hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 108px) clamp(72px, 10vw, 128px);
}
.rz-hero__grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2.25rem, 5.5vw, 5rem);
  align-items: center;
}
.rz-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.15rem;
}
.rz-hero__meta {
  margin: 2rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--border-soft);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 13.5px;
  color: var(--text-muted);
}
.rz-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.rz-hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

/* Stats editorial */
.rz-stats {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 249, 0.45);
}
.rz-stat {
  padding: clamp(2rem, 3.4vw, 2.85rem) clamp(1.35rem, 2.6vw, 2.15rem);
  border-right: 1px solid var(--border);
}
.rz-stat:last-child { border-right: 0; }
.rz-stat__num {
  display: block;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text);
}
.rz-stat__label {
  display: block;
  margin-top: 0.9rem;
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 13.5rem;
  line-height: 1.45;
}
.rz-stats__note {
  margin: 1.35rem 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Task cards */
.rz-tasks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rz-task {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: clamp(1.65rem, 3.2vw, 2.4rem);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background 0.28s var(--ease);
}
.rz-task:hover {
  background: var(--bg-soft);
  color: inherit;
}
.rz-task__title {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.rz-task p {
  margin: 0;
  flex: 1;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Services */
.rz-services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}
.rz-service {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.85rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.28s, transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.rz-service:hover {
  border-color: #C9BEAE;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.rz-service--lg { grid-column: span 6; min-height: 250px; }
.rz-service__price {
  margin-top: auto;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 500;
}
.rz-service h3 { margin: 0; font-size: 23px; font-weight: 500; }
.rz-service p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Mid CTA */
.rz-mid-cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.9rem, 3.2vw, 2.65rem);
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(122, 86, 56, 0.05), transparent 48%),
    var(--bg-soft);
}
.rz-mid-cta h3 { margin: 0 0 0.5rem; }
.rz-mid-cta p { margin: 0; color: var(--text-muted); max-width: 40rem; }

/* Cases */
.rz-cases {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.rz-case {
  grid-column: span 6;
  display: grid;
  gap: 1.1rem;
  text-decoration: none;
  color: inherit;
}
.rz-case:hover { color: inherit; }
.rz-case:hover .rz-case__title { color: var(--accent); }
.rz-case--featured { grid-column: span 12; grid-template-columns: 1.4fr 0.9fr; gap: 2.35rem; align-items: center; }
.rz-case__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.rz-case__title {
  margin: 0.45rem 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.028em;
  transition: color 0.2s;
}
.rz-case__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}
.rz-case__results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.rz-case__results li {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Industries */
.rz-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rz-industry {
  padding: 1.65rem 1.45rem;
  background: var(--bg-main);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s, padding-left 0.25s var(--ease);
}
.rz-industry:hover {
  background: var(--white);
  color: inherit;
  padding-left: 1.65rem;
}
.rz-industry strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.rz-industry span {
  display: block;
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--text-muted);
}

/* Approach */
.rz-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.rz-step {
  position: relative;
  padding-top: 0.25rem;
}
.rz-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 1rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.rz-step h3 {
  margin: 0 0 0.6rem;
  font-size: 18px;
}
.rz-step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.rz-quote-line {
  margin: clamp(2.75rem, 5.5vw, 4.25rem) 0 0;
  padding: 1.65rem 0 0;
  border-top: 1px solid var(--border);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.025em;
  max-width: 42rem;
  color: var(--text);
}

/* Why */
.rz-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.rz-why__item {
  padding: 1.9rem 1.85rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.rz-why__item:hover {
  border-color: #C9BEAE;
  box-shadow: var(--shadow-soft);
}
.rz-why__item h3 { margin: 0 0 0.8rem; font-size: 21px; font-weight: 500; }
.rz-why__item p { margin: 0; color: var(--text-muted); font-size: 15.5px; line-height: 1.55; }

/* Clients */
.rz-clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rz-client {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: var(--white);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.25s, background 0.25s;
}
.rz-client:hover {
  color: var(--text);
  background: var(--bg-soft);
}

/* Team teaser */
.rz-team-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.rz-team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.rz-team-links li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Testimonials */
.rz-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rz-testimonial {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rz-testimonial blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  flex: 1;
}
.rz-testimonial footer {
  font-size: 14px;
  color: var(--text-muted);
}
.rz-testimonial strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* Blog teaser */
.rz-blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}
.rz-article {
  display: grid;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.rz-article:hover { color: inherit; }
.rz-article:hover h3 { color: var(--accent); }
.rz-article__cat {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.rz-article h3 {
  margin: 0;
  font-size: 24px;
  transition: color 0.2s;
}
.rz-article p { margin: 0; color: var(--text-muted); font-size: 16px; }
.rz-article-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}
.rz-article-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.rz-article-list a:hover { background: var(--bg-soft); color: inherit; }
.rz-article-list h3 { margin: 0; font-size: 18px; }

/* Final CTA / form */
.rz-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.rz-form {
  display: grid;
  gap: 1rem;
}
.rz-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.rz-field input,
.rz-field textarea {
  width: 100%;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.rz-section--dark .rz-field input,
.rz-section--dark .rz-field textarea {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(243, 240, 232, 0.16);
  color: #F3F0E8;
}
.rz-field input:focus,
.rz-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.rz-section--dark .rz-field input:focus,
.rz-section--dark .rz-field textarea:focus {
  border-color: rgba(200, 160, 120, 0.7);
  box-shadow: 0 0 0 3px rgba(200, 160, 120, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.rz-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.rz-form-note {
  margin: 0.5rem 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.rz-form-status {
  margin: 0;
  font-size: 14px;
  min-height: 1.25rem;
}
.rz-form-status.is-ok { color: #2f6b45; }
.rz-form-status.is-err { color: #a33a2d; }
.rz-section--dark .rz-form-status.is-ok { color: #9ad4ae; }

/* Footer */
.rz-footer {
  padding: clamp(64px, 9vw, 108px) 0 2.25rem;
  background:
    radial-gradient(800px 360px at 80% 0%, rgba(122, 86, 56, 0.14), transparent 50%),
    var(--dark);
  color: rgba(243, 240, 232, 0.72);
}
.rz-footer a { color: #F3F0E8; text-decoration: none; }
.rz-footer a:hover { color: #fff; }
.rz-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) 1.1fr;
  gap: 2rem;
}
.rz-footer__brand .rz-logo { color: #F3F0E8; margin-bottom: 1rem; }
.rz-footer__brand p {
  margin: 0;
  max-width: 18rem;
  font-size: 15px;
  line-height: 1.5;
}
.rz-footer__label {
  margin: 0 0 1rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.45);
}
.rz-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 15px;
}
.rz-footer__contacts {
  display: grid;
  gap: 0.55rem;
  font-size: 15px;
}
.rz-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 240, 232, 0.12);
  font-size: 13px;
  color: rgba(243, 240, 232, 0.45);
}
.rz-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile bar */
.rz-mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.55rem;
  background: rgba(27, 27, 25, 0.94);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.rz-mobile-bar a {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 10px;
  color: #F3F0E8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.rz-mobile-bar a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Page chrome */
.rz-page-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 64px);
}
.rz-page-hero .rz-lead { max-width: 46rem; }
.rz-prose {
  max-width: 760px;
}
.rz-prose p { color: var(--text-muted); }
.rz-breadcrumbs {
  margin: 0 0 1.25rem;
  font-size: 13px;
  color: var(--text-muted);
}
.rz-breadcrumbs a { text-decoration: none; }
.rz-breadcrumbs a:hover { color: var(--accent); }

/* Reveal */
[data-rz-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-rz-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .rz-hero__grid,
  .rz-final,
  .rz-team-teaser,
  .rz-case--featured,
  .rz-blog-grid,
  .rz-mid-cta,
  .rz-mega__panel {
    grid-template-columns: 1fr;
  }
  .rz-stats { grid-template-columns: repeat(2, 1fr); }
  .rz-stat:nth-child(2) { border-right: 0; }
  .rz-stat:nth-child(1),
  .rz-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .rz-services .rz-service,
  .rz-services .rz-service--lg { grid-column: span 6; }
  .rz-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .rz-industries { grid-template-columns: repeat(2, 1fr); }
  .rz-footer__grid { grid-template-columns: 1fr 1fr; }
  .rz-nav { display: none; }
  .rz-burger { display: inline-flex; }
  .rz-header__actions .rz-btn--ghost { display: none; }
  body.rz-nav-open .rz-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--bg-soft);
    padding: 1.25rem var(--gutter) 2rem;
    overflow: auto;
  }
  body.rz-nav-open .rz-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.rz-nav-open .rz-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    padding: 0.5rem 0 1rem;
  }
  body.rz-nav-open .rz-mega__panel {
    box-shadow: none;
    padding: 1rem;
  }
  body.rz-nav-open .rz-mega__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rz-tasks,
  .rz-why,
  .rz-testimonials,
  .rz-cases .rz-case {
    grid-template-columns: 1fr;
  }
  .rz-cases .rz-case,
  .rz-services .rz-service,
  .rz-services .rz-service--lg {
    grid-column: span 12;
  }
  .rz-stats { grid-template-columns: 1fr; }
  .rz-stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .rz-stat:last-child { border-bottom: 0; }
  .rz-clients {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
  }
  .rz-client {
    min-width: 46%;
    scroll-snap-align: start;
    border-right: 1px solid var(--border);
  }
  .rz-steps { grid-template-columns: 1fr; }
  .rz-footer__grid { grid-template-columns: 1fr; }
  .rz-mobile-bar { display: grid; }
  body { padding-bottom: 76px; }
  .rz-h1 { font-size: clamp(36px, 11vw, 48px); }
}

/* —— Internal pages —— */
.rz-content-stack { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.rz-block__title { margin-bottom: 1.25rem; max-width: 40rem; }
.rz-block__text {
  margin: 0;
  max-width: 44rem;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
}
.rz-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.rz-feat {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.rz-feat h3 { margin: 0 0 0.5rem; font-size: 18px; }
.rz-feat p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.rz-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.rz-chip-list li {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  background: var(--white);
}
.rz-highlight {
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rz-highlight p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 48rem;
}
.rz-price-table {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.rz-price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.rz-price-row:last-child { border-bottom: 0; }
.rz-price-row strong { font-weight: 600; white-space: nowrap; }
.rz-steps--compact { grid-template-columns: repeat(5, 1fr); }
.rz-point-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.rz-point-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 16px;
}
.rz-point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.rz-faq { display: grid; gap: 0.65rem; }
.rz-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 0 1.25rem;
}
.rz-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 17px;
}
.rz-faq__item summary::-webkit-details-marker { display: none; }
.rz-faq__body { padding: 0 0 1.25rem; }
.rz-faq__body p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.rz-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.rz-meta-row span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.rz-case-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.rz-case-block {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.rz-case-block p { margin: 0.75rem 0 0; color: var(--text-muted); }
.rz-case-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.rz-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rz-team-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.rz-team-card h3 { margin: 1rem 0 0.25rem; font-size: 20px; }
.rz-team-card p { margin: 0.35rem 0 0; font-size: 15px; }
.rz-contact-list { display: grid; gap: 1.1rem; }
.rz-contact-list p { margin: 0; }
.rz-contact-list span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.rz-requisites { margin-top: 2.5rem; }
.rz-article-body { max-width: 760px; }
.rz-answer-box {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 2rem;
}
.rz-prose--article { font-size: 18px; line-height: 1.7; }
.rz-prose--article p { color: var(--text); }
.rz-author-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .rz-feat-grid,
  .rz-case-layout,
  .rz-case-screens,
  .rz-team-grid,
  .rz-steps--compact { grid-template-columns: 1fr; }
}
