:root {
  --background: #f7f3ed;
  --surface: #ffffff;
  --primary: #4d3b67;
  --primary-dark: #322244;
  --accent: #8f7ab8;
  --text: #171717;
  --text-secondary: #6d6a73;
  --border: #e7e0d8;
  --soft: #efe8df;
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}


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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 201;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(231, 224, 216, 0.9);
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  text-decoration: none;
}

.brand span {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  color: var(--text-secondary);
  font-size: 14px;
}

.main-nav a,
.header-link,
.text-link,
.materials-list a {
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-link:hover,
.text-link:hover,
.materials-list a:hover {
  color: var(--primary);
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  transition: transform 250ms ease, opacity 250ms ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--primary-dark); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--primary-dark); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 90px;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 90px 24px 32px;
  background: #f7f3ed;
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  width: 100%;
  font-size: 18px;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.mobile-nav-link:hover {
  background: var(--primary-dark);
  color: #fff;
}

.mobile-nav-cta {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

.hero,
.section,
.statement,
.trust-band,
.about,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.74fr);
  grid-template-rows: auto 1fr;
  gap: clamp(38px, 6vw, 88px);
  align-items: start;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 6vw, 80px) 0 68px;
}

.hero > h1 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  color: var(--primary);
}

.hero-copy {
  grid-column: 1;
  grid-row: 2;
}

.hero-photo {
  grid-column: 2;
  grid-row: 1 / 3;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--primary);
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.lead {
  max-width: 660px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.quiet,
.section-heading p:not(.eyebrow),
.approach-list p,
.service-card p,
.trust-band p,
.about-copy p,
.final-cta p,
.faq-list p {
  color: var(--text-secondary);
}

.hero-copy .quiet {
  max-width: 650px;
}

.hero-materials {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-materials-label {
  margin: 0 0 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-material-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.hero-material-link:hover {
  color: var(--primary-dark);
}

.material-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 11px;
  flex-shrink: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-stat {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-top: 18px;
}

.cases-cta {
  margin-top: 40px;
  text-align: center;
}

.approach-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.approach-principles li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.approach-principles li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent);
  font-size: 10px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid var(--primary);
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.hero-photo {
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(500px, 1fr) auto;
  min-height: 660px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero-photo img,
.final-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-photo img {
  object-position: 52% 30%;
}

.photo-caption {
  padding: 28px;
  border-top: 1px solid var(--border);
}

.photo-caption span,
.service-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-caption p {
  margin: 0;
  color: var(--text-secondary);
}

.section {
  padding: clamp(40px, 4.5vw, 68px) clamp(32px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  font-size: 15px;
}

.section-heading.wide {
  max-width: 880px;
}

.section--dark {
  background: var(--primary-dark);
  color: #fff;
  padding-inline: clamp(40px, 5vw, 72px);
}

.section--dark h2 {
  color: #fff;
}

.section--light {
  background: var(--background);
  padding-inline: clamp(40px, 5vw, 72px);
}

.section--light h2 {
  color: var(--primary);
}

.section--purple {
  background: var(--primary);
  color: #fff;
  padding-inline: clamp(40px, 5vw, 72px);
}

.section--purple h2 {
  color: #fff;
}

.approach-header {
  max-width: 760px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.approach-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.approach-items li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--text);
}

.approach-items li:nth-child(4n+2),
.approach-items li:nth-child(4n+3) {
  background: var(--primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.approach-items li:nth-child(4n+2) .approach-num,
.approach-items li:nth-child(4n+3) .approach-num {
  color: rgba(255, 255, 255, 0.35);
}

.approach-num {
  font-family: var(--serif);
  font-size: clamp(32px, 2.6vw, 44px);
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  min-width: 52px;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.request-grid article {
  min-height: 120px;
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.request-grid article:nth-child(8n+2),
.request-grid article:nth-child(8n+4),
.request-grid article:nth-child(8n+5),
.request-grid article:nth-child(8n+7) {
  background: rgba(255, 255, 255, 0.1);
}

/* ЧТО ВЫ ПОЛУЧИТЕ */
.wyg-section {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px);
  background: var(--background);
  color: var(--text);
}

.wyg-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.wyg-header h2 {
  color: var(--primary);
  margin-bottom: 16px;
}

.wyg-header p,
#approach .section-heading p {
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
}

.wyg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.wyg-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.wyg-list li:nth-child(odd) {
  padding-right: 52px;
}

.wyg-list li:nth-child(even) {
  padding-left: 52px;
  border-left: 1px solid var(--border);
}

.wyg-num {
  font-family: var(--serif);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  min-width: 56px;
}

.wyg-list li > span:last-child {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--text);
}

/* ПЛАШКИ ОБО МНЕ */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.fact-tile {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  background: var(--surface);
}

.fact-tile strong {
  display: block;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 3px;
}

.fact-tile span {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.service-card h3 {
  color: var(--primary);
  font-weight: 600;
  min-height: 2.2em;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}


/* УСЛУГИ — SERVICE CARD */
.service-card ul,
.trust-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 0;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

.service-card li::before,
.trust-band li::before {
  content: "✦";
  margin-right: 10px;
  color: var(--accent);
  font-size: 18px;
  vertical-align: -0.2em;
}

.service-footer {
  padding-top: 0;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 13px;
}

.button--card {
  display: block;
  width: 100%;
  text-align: center;
}

.button--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.button--outline:hover {
  background: var(--primary);
  color: #fff;
}

.final-cta-text {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 88px);
}

.sticky {
  position: sticky;
  top: 120px;
  align-self: start;
  margin-bottom: 0;
}

.approach-list {
  border-top: 1px solid var(--border);
}

.approach-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.approach-list span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.approach-list strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  padding: 24px;
  border: 1px solid rgba(77, 59, 103, 0.4);
  background: var(--surface);
}

.service-card.featured {
  border-color: rgba(77, 59, 103, 0.4);
  background: #fbf8f4;
}

.service-card ul {
  display: grid;
  gap: 0;
  align-content: start;
  margin: 12px 0;
  color: var(--text);
}

.service-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
}

#services.section {
  padding-inline: clamp(16px, 2vw, 24px);
}

#cases .section-heading,
#services .section-heading {
  max-width: 760px;
}

.service-card > p {
  margin-bottom: 0;
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.case-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-meta,
.case-situation,
.case-outcome {
  padding: 20px 24px;
}

.case-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #fff;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.case-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.case-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.case-meta span:not(.case-num) {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.case-situation {
  border-bottom: 1px solid var(--border);
}

.case-outcome {
  flex: 1;
}

.case-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.case-situation p:last-child,
.case-outcome p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.case-outcome p:last-child {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

.for-whom {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.trust-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(52px, 7vw, 78px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-band ul {
  display: grid;
  gap: 18px;
  align-content: center;
  font-size: 18px;
}

.materials-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.materials-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--text);
}

.dl-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  padding: clamp(52px, 6vw, 88px) 0;
}

.about-photo {
  border: 1px solid var(--border);
  background: var(--surface);
  align-self: start;
}

.about-photo img {
  object-position: 50% 36%;
}

.about-copy p:not(.eyebrow) {
  font-size: 15px;
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--primary);
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 680px;
  margin-bottom: 24px;
}

.final-cta {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) max(20px, calc((100% - var(--max)) / 2));
  background: var(--primary-dark);
  color: #fff;
}

.final-cta .eyebrow {
  color: var(--accent);
}

.final-cta img {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.final-cta h2 {
  max-width: 780px;
  color: #fff;
}

.final-cta p {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: 15px;
}

.final-cta .final-cta-text {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.final-cta .button--outline:hover {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.contact-details {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.site-footer .brand {
  margin-right: auto;
}

.site-footer p {
  margin: 0;
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .site-header {
    background: #f7f3ed;
  }

  .case-situation {
    display: none;
  }

  .case-item {
    grid-template-columns: 1fr;
  }

  .hero,
  .statement,
  .split,
  .trust-band,
  .about,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-rows: auto;
  }

  .hero > h1,
  .hero-copy,
  .hero-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .final-cta {
    padding: clamp(36px, 5vw, 56px) clamp(20px, 5vw, 48px);
  }

  .hero {
    min-height: 0;
  }

  .hero-photo {
    min-height: 580px;
  }

  .request-grid,
  .service-grid,
  .service-grid--3,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wyg-list,
  .about-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .wyg-list li:nth-child(odd) { padding-right: 28px; }
  .wyg-list li:nth-child(even) { padding-left: 28px; }

  .cases-list {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .case-item {
    border-right: none;
  }

  .sticky {
    position: static;
  }

  .final-cta img {
    width: min(360px, 100%);
  }
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-stats {
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary) !important;
  margin-bottom: 28px;
}

.about-tags {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.case-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(77, 59, 103, 0.04);
}

.case-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.case-role {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.case-type {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 28px 0;
}

.case-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.case-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.case-label {
  margin-bottom: 6px !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.case-result {
  margin-top: auto;
  padding: 22px 0 28px;
}

.case-result p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--primary-dark);
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px 20px;
  }

  .mobile-nav {
    padding-top: 78px;
  }

  .brand span {
    font-size: 26px;
  }

  .brand small {
    max-width: 150px;
  }

  .header-link {
    display: none;
  }

  .section--dark,
  .section--light {
    padding-inline: 20px;
  }



  /* шахматный паттерн для 2 колонок */
  .request-grid article:nth-child(8n+2),
  .request-grid article:nth-child(8n+4),
  .request-grid article:nth-child(8n+5),
  .request-grid article:nth-child(8n+7) {
    background: rgba(255, 255, 255, 0.05);
  }

  .request-grid article:nth-child(4n+2),
  .request-grid article:nth-child(4n+3) {
    background: rgba(255, 255, 255, 0.1);
  }

  .about-photo {
    height: 460px;
    min-height: 0;
    overflow: hidden;
  }

  .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero,
  .section,
  .statement,
  .trust-band,
  .about,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .final-cta {
    padding: 36px 24px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-photo {
    grid-template-rows: 440px auto;
    min-height: auto;
  }

  .service-grid,
  .service-grid--3,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-inline: 20px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .wyg-list,
  .approach-items {
    grid-template-columns: 1fr;
  }

  .wyg-list li:nth-child(even),
  .wyg-list li:nth-child(odd) {
    padding-left: 0;
    padding-right: 0;
    border-left: none;
  }

  .approach-items li:nth-child(4n+2),
  .approach-items li:nth-child(4n+3) {
    background: none;
    color: var(--text);
    border-color: var(--border);
  }

  .approach-items li:nth-child(even) {
    background: var(--primary);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .approach-items li:nth-child(even) .approach-num {
    color: rgba(255, 255, 255, 0.35);
  }

  .approach-items li:nth-child(odd) .approach-num {
    color: var(--accent);
  }

  .wyg-section {
    padding: 36px 24px;
  }

  .case-item {
    grid-template-columns: 1fr;
  }

  .case-meta {
    grid-column: auto;
  }

  .case-situation {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .case-meta,
  .case-situation,
  .case-outcome {
    padding: 24px 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .site-footer .brand {
    width: 100%;
    margin-right: 0;
  }

  .request-grid article {
    min-height: 126px;
  }

  .statement,
  .final-cta {
    padding: 34px 24px;
  }

  .statement-copy ul {
    grid-template-columns: 1fr;
  }

  .approach-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    min-height: 0;
    padding: 26px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta img {
    width: 180px;
    margin-inline: auto;
  }

}
