.navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: clamp(0.8rem, 1.02vw, 0.9375rem);
  font-weight: 580;
}

.navigation a:hover { color: var(--accent); }

.page-section {
  padding-block: clamp(44px, 6vw, 94px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.page-section--muted { background: var(--mist); }

.section-heading,
.home-page .deal-banner__copy {
  --heading-line-width: 3px;
  --heading-gap: clamp(10px, 1.35vw, 19px);
  --heading-inset: calc(var(--heading-line-width) + var(--heading-gap));
}

.section-heading { margin-block-end: clamp(22px, 3vw, 39px); }

.section-heading h2,
.company-story h2,
.company-profile h2,
.company-cta h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.65vw, 2.4rem);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-heading :is(h1, h2) {
  padding-block: 3px 4px;
  padding-inline-start: var(--heading-gap);
  border-inline-start: var(--heading-line-width) solid var(--accent);
}

.section-heading p,
.advantage p,
.direction p,
.work-steps p,
.about-grid p,
.review-card p,
.faq-list p,
.contact-details p,
.company-story p,
.company-profile p,
.book-card p,
.company-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading p {
  max-width: 63ch;
  margin: 8px 0 0;
  margin-inline-start: var(--heading-inset);
}

.page-section h3,
.service-card h4,
.book-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  font-weight: 670;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.section-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-block-end: 15px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 660;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 0.2em;
}

.text-link:hover { text-decoration-color: currentColor; }

.button--outline {
  color: var(--accent);
  border-color: currentColor;
  background: var(--paper);
}

.button--outline:hover { background: var(--mist); }

.advantage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin: 0;
}

.direction p,
.about-grid p,
.review-card p,
.book-card p { margin: 10px 0 0; }

.direction-grid,
.about-grid,
.contacts-grid,
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(17px, 2.5vw, 38px);
}

.direction {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.9vw, 39px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.direction h3 { font-size: clamp(1.25rem, 2.2vw, 2rem); }
.direction p { max-width: 58ch; margin-block-end: 16px; }
.direction :is(.text-link, .button) { margin-top: auto; }

.service-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.service-filter {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  text-align: start;
}

.service-filter:hover { border-color: var(--accent); }

.service-filter[aria-pressed="true"] {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.service-status { margin: 0 0 14px; color: var(--muted); font-size: 0.875rem; }
.service-status:empty { display: none; }
.service-group:not([hidden]) + .service-group { margin-top: clamp(32px, 4vw, 58px); }
.service-group > h3 { margin-bottom: 17px; font-size: clamp(1.3rem, 2.1vw, 1.82rem); }
.service-filter, .service-group, .service-card { scroll-margin-top: 20px; }

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

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.1vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card :is(h4, p, li) { overflow-wrap: anywhere; }

.service-card p,
.service-card ul {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.52;
}

.service-card ul { padding-inline-start: 1.15em; margin-block-end: 17px; }
.service-card li + li { margin-block-start: 6px; }
.service-card li::marker { color: var(--accent); }
.service-card .button { margin-top: auto; }

.service-toolbar[hidden],
.service-group[hidden],
.service-grid[hidden],
.service-card[hidden] { display: none; }

.section-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: clamp(24px, 3vw, 43px);
  padding: clamp(16px, 2.5vw, 31px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-callout p { max-width: 73ch; margin: 0; line-height: 1.55; }
.section-callout .button { flex-shrink: 0; }

.work-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-steps li {
  border-top: 1px solid var(--line);
  padding: 18px clamp(12px, 2.25vw, 32px) 0 0;
}

.step-number {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 710;
  font-variant-numeric: tabular-nums;
  margin-bottom: 9px;
}
.work-steps p { margin: 8px 0 0; }

.about-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 10px;
}

.about-company h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
.about-company p { max-width: 58ch; }

.about-person {
  display: grid;
  grid-template-columns: minmax(90px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(16px, 2.1vw, 30px);
  align-items: center;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 33%;
  border-radius: 8px;
}

.about-person__copy { min-width: 0; }

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(58%, 680px));
  gap: clamp(16px, 2.8vw, 40px);
  align-items: start;
}

.faq-list {
  --faq-inset: clamp(14px, 2vw, 28px);
  --faq-radius: clamp(12px, 1vw, 15px);
  display: grid;
  gap: 8px;
}

.faq-list > details {
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  background: var(--paper);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px calc(var(--faq-inset) + 24px) 10px var(--faq-inset);
  border-radius: calc(var(--faq-radius) - 1px);
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 670;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--mist); }
.faq-list details[open] summary { background: var(--accent-light); }

.faq-list summary::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: var(--faq-inset);
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
}

.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p {
  max-width: 77ch;
  margin: 0;
  padding: 8px var(--faq-inset) 15px;
  font-size: clamp(0.95rem, 1.12vw, 1rem);
  text-wrap: pretty;
}

.request-layout .section-heading { margin-bottom: 0; }

.request-card {
  min-width: 0;
  padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.request-card .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.request-card .field { gap: 5px; margin: 0; }
.request-card .field:has(textarea),
.request-card .field:has(select),
.request-card .field--wide { grid-column: 1 / -1; }

.request-card :is(.field input, .field textarea, .select-shell) {
  min-height: 44px;
  border-radius: 5px;
  padding-inline-start: 11px;
}

.request-card .field textarea { min-height: 58px; padding-block: 5px; }
.request-card .form-consent { margin: 12px 0 8px; }
.request-card .form-preview { margin: 0 0 12px; }
.request-card .button { border-radius: 8px; }

.contact-details { min-width: 0; }
.contact-details h3:not(:first-child) { margin-top: 17px; }
.contact-details .contact-list { display: grid; row-gap: 8px; margin: 13px 0; padding: 0; list-style: none; }
.contact-list :is(p, ul, dd) { margin: 3px 0; }

.contact-list a,
.contact-links a,
.site-footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-address { margin: 0; font-style: normal; line-height: 1.55; }
.contact-schedule { margin-top: 13px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; padding: 0; list-style: none; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; }

.contact-photo,
.company-profile figure { margin: 0; }

.contact-photo img,
.company-profile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.contact-photo { width: 100%; max-width: 540px; justify-self: end; }
.contact-photo figcaption { margin: 10px 0 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  min-height: 76px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 22px;
  padding-block: 14px;
}

.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; }

.company-page main > section > .page-width { width: var(--section-width); }
.company-page .navigation [aria-current="page"] { color: var(--accent); }

.company-page main > section {
  padding-block: clamp(26px, 3.3vw, 48px);
  border: 0;
}

.company-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: clamp(15px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.875rem;
}

.breadcrumbs :is(ol, ul) { display: flex; flex-wrap: wrap; gap: 5px 10px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; }

.company-intro { width: 57%; }

.company-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 3.65vw, 3.75rem);
  line-height: 1.08;
  font-weight: 740;
}

.company-hero h1 .key-phrase { display: block; }

.company-hero h1::after {
  display: block;
  width: clamp(47px, 6.8vw, 92px);
  height: 4px;
  margin-block-start: clamp(13px, 1.65vw, 23px);
  border-radius: 4px;
  background: var(--accent);
  content: "";
}

.company-hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  display: block;
  width: min(54%, 1050px);
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  mask-image: linear-gradient(to right, transparent 4%, #000 33%);
}

.company-story { margin-block-start: clamp(15px, 1.8vw, 24px); }
.company-story p { max-width: min(86%, 64ch); margin: 0; }
.company-story p + p { margin-block-start: 10px; }

.company-intro__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-block-start: clamp(17px, 2.3vw, 30px);
}

.company-page main .button { border-radius: 8px; }
.company-page main .button:has(.link-arrow) { gap: 0.55em; }
.company-page main .link-arrow { width: 1.1em; height: 1.1em; }

.company-page main > #nataliya { padding-block: 0; }

.company-profile {
  display: grid;
  grid-template-columns: minmax(0, min(30%, 365px)) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "portrait heading" "portrait copy";
  align-items: start;
  gap: clamp(14px, 1.6vw, 22px) clamp(18px, 3vw, 42px);
  padding: clamp(16px, 2.6vw, 35px);
  border-radius: clamp(15px, 1.65vw, 22px);
  background: var(--mist);
}

.company-profile .section-heading { grid-area: heading; margin: 0; }
.company-profile figure { grid-area: portrait; }
.company-profile img { aspect-ratio: 7 / 10; object-fit: cover; border-radius: 15px; }
.company-profile__copy { grid-area: copy; max-width: 83ch; }
.company-profile__copy > p { margin: 0; }

.company-quote {
  padding: clamp(14px, 1.5vw, 20px);
  margin: 16px 0;
  background: var(--accent-light);
  border-radius: 12px;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  font-weight: 630;
  line-height: 1.55;
}

.company-quote p { margin: 0; color: inherit; }
.company-credentials { margin-block: 0 16px; padding-inline-start: 1.2em; color: var(--muted); line-height: 1.6; }
.company-credentials li + li { margin-top: 8px; }
.company-credentials li::marker { color: var(--accent); }
.company-credentials strong { color: var(--ink); }

#books-title .key-phrase { white-space: normal; }

.book-card {
  display: grid;
  grid-template-columns: minmax(0, min(38%, 210px)) minmax(0, 1fr);
  gap: clamp(14px, 1.65vw, 23px);
  padding: clamp(16px, 2vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.book-card__cover {
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  border-radius: 5px;
}

.book-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.book-card p { max-width: 65ch; margin: 0; }
.book-card .book-card__chapter { color: var(--ink); font-weight: 660; }
.book-card p:last-of-type { padding-block-end: 4px; }
.book-card .button { margin-block-start: auto; }
.books-grid + .company-cta { margin-top: clamp(17px, 2vw, 28px); }
.company-page .site-footer { background: var(--paper); }

.company-cta > .page-width,
.company-cta.page-width {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 1280px) {
  .navigation a {
    border-bottom: 1px solid var(--line);
    white-space: normal;
    font-size: 1rem;
  }
  .navigation a:last-child { border: 0; }
}

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .work-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 21px; }
}

@media (max-width: 880px) {
  .company-intro { width: auto; }
  .company-story p { max-width: 64ch; }
  .company-hero__art {
    position: static;
    width: min(100%, 600px);
    height: auto;
    margin: 8px auto 0;
    mask-image: none;
  }
  .book-card { grid-template-columns: minmax(0, 1fr); }
  .book-card__cover { width: min(100%, 172px); justify-self: center; }
}

@media (max-width: 720px) {
  .direction-grid,
  .about-grid,
  .contacts-grid,
  .books-grid,
  .request-layout,
  .company-profile { grid-template-columns: minmax(0, 1fr); }

  .about-company { padding-block: 0; }
  .contact-photo { justify-self: start; }
  .company-profile {
    grid-template-rows: auto;
    grid-template-areas: "heading" "portrait" "copy";
  }
  .company-profile figure { width: min(100%, 300px); justify-self: center; }
}

@media (max-width: 510px) {
  .service-grid,
  .work-steps,
  .request-card .form-grid { grid-template-columns: minmax(0, 1fr); }

  .section-callout { flex-direction: column; align-items: flex-start; }
  .work-steps li { padding-inline-end: 0; }
  .service-toolbar { gap: 6px; }
  .service-filter { padding-inline: 10px; }
}

.home-page,
.company-page,
.editorial-page { --section-width: min(calc(100% - 2 * var(--edge)), 1380px); }

.home-page #articles,
.article-index-page main { background: var(--mist); }

.article-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(19px, 2.5vw, 34px);
}

.home-page .article-section__heading,
.article-index-page .article-section__heading { margin: 0; }
.article-section__heading .key-phrase { white-space: normal; }
.article-section__heading p { max-width: 65ch; }
.article-section__heading h1 { max-width: none; font-size: clamp(1.85rem, 3.2vw, 3rem); font-weight: 760; line-height: 1.12; }
.article-section__all { gap: 0.55em; border-radius: 8px; background: transparent; }
.article-section__all:hover { background: var(--paper); }
.service-card[id] { scroll-margin-top: 18px; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 3px 12px #171d2210;
}

.article-card__image {
  position: relative;
  aspect-ratio: 2.12;
  overflow: hidden;
  background: var(--accent-light);
}

.article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__topic {
  position: absolute;
  inset-block-start: clamp(9px, 1.25vw, 17px);
  inset-inline-start: clamp(9px, 1.25vw, 17px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 18px);
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 720;
}

.article-card__topic .icon,
.article-card .link-arrow { width: 1.1em; height: 1.1em; }

.article-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(15px, 1.65vw, 24px);
}

.article-card h3 { margin: 0; font-size: clamp(1.1rem, 1.65vw, 1.45rem); line-height: 1.23; letter-spacing: -0.025em; font-weight: 740; }
.article-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.article-card .text-link { gap: 0.55em; margin-top: auto; }

.editorial-page main > .page-width { width: var(--section-width); }
.editorial-page .site-footer { background: var(--paper); }
.editorial { padding-block: clamp(23px, 3.2vw, 46px); }

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(33%, 25rem));
  grid-template-areas: "header cover" "content cover";
  align-items: start;
  gap: 18px clamp(22px, 4vw, 52px);
  max-width: 74rem;
}

.editorial-header { grid-area: header; }
.editorial-header h1 {
  position: relative;
  max-width: none;
  font-size: clamp(1.46rem, 3vw, 2.15rem);
  font-weight: 760;
  line-height: 1.17;
  letter-spacing: -0.025em;
}

.editorial-header h1::before {
  position: absolute;
  inset-block: 0.12em;
  inset-inline-start: -11px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.editorial-header p {
  max-width: 64ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.55;
}

.editorial-cover {
  grid-area: cover;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.editorial-content { grid-area: content; max-width: 72ch; line-height: 1.65; }
.editorial-content h2 { margin: 1.15em 0 0.35em; font-size: clamp(1.2rem, 1.65vw, 1.5rem); line-height: 1.25; }
.editorial-content > h2:first-child { margin-top: 0; }
.editorial-content :is(p, ul, ol) { margin: 0 0 0.85em; }
.editorial-content :is(ul, ol) { padding-inline-start: 1.35em; }
.editorial-content li + li { margin-top: 0.4em; }
.editorial-content li::marker { color: var(--accent); }
.editorial-content .editorial-source { color: var(--muted); font-size: 0.9rem; }

.editorial-cta { margin-top: 24px; padding: clamp(15px, 2vw, 25px); border-radius: 14px; background: var(--mist); }
.editorial-cta .button { max-width: 100%; gap: 0.55em; border-radius: 8px; text-align: start; }
.editorial-cta .link-arrow { width: 1.1em; height: 1.1em; }

@media (min-width: 651px) and (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "header" "cover" "content";
    gap: 16px;
  }
  .editorial-cover { width: min(100%, 25rem); }
}

.home-page {
  --section-blush: #fbf6f6;
  --section-blush-deep: #f4e6e7;
  --section-rule: #e4dfe0;
  --section-panel-inset: clamp(11px, 1.4vw, 20px);
}

.home-page .page-section {
  padding-block: clamp(26px, 3.3vw, 53px);
  border: 0;
  background: var(--paper);
}

.home-page .page-section > .page-width {
  width: var(--section-width);
}

.home-page #directions > .page-width,
.home-page .page-section > .about-panel {
  width: calc(var(--section-width) + 2 * var(--section-panel-inset));
}

.home-page .section-heading {
  margin-block-end: clamp(18px, 2.1vw, 30px);
}

.home-page .title-accent { color: var(--accent); }

.home-page .page-section :is(h3, h4) { font-weight: 740; }

.home-page :is(.work-steps li, .about-grid, .review-card, .contact-details) p {
  line-height: 1.5;
}

.home-page #advantages {
  padding-block: clamp(28px, 2.65vw, 40px);
}

.home-page .advantage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.home-page .advantage-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.25vw, 18px);
  width: 100%;
  min-height: clamp(44px, 3.8vw, 54px);
}

.home-page .advantage .section-icon {
  width: clamp(35px, 3.4vw, 49px);
  height: clamp(35px, 3.4vw, 49px);
  margin: 0;
}

.home-page .advantage h3 {
  max-width: 22ch;
  font-size: clamp(1.13rem, 1.5vw, 1.35rem);
  font-weight: 690;
  line-height: 1.23;
  text-wrap: balance;
}

.home-page .advantage p {
  max-width: 62ch;
  margin: 15px 0 clamp(17px, 1.7vw, 25px);
  font-size: clamp(0.95rem, 1.12vw, 1rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.home-page .advantage::after {
  width: clamp(32px, 4vw, 53px);
  height: 3px;
  margin-block-start: auto;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.home-page #directions { padding-block: clamp(18px, 2.1vw, 30px) 0; }

.home-page .direction-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(12px, 1.4vw, 20px) var(--section-panel-inset) clamp(14px, 1.65vw, 24px);
  background: linear-gradient(135deg, #f7f7f8, #eceff2);
  border-radius: clamp(16px, 1.7vw, 26px);
}

.home-page .direction-banner .section-heading {
  margin: clamp(6px, 0.9vw, 13px) 0 clamp(14px, 1.6vw, 23px);
}

.home-page .direction-outline {
  position: absolute;
  inset: 10px 0 auto auto;
  z-index: -1;
  width: 43%;
  height: auto;
  color: #c5c8cd;
  pointer-events: none;
}

.home-page .direction-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
}

.home-page .direction-option {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: clamp(282px, 22vw, 320px);
  padding: clamp(18px, 1.65vw, 24px);
  border-radius: clamp(14px, 1.35vw, 20px);
  background: #fff;
  box-shadow: 0 4px 16px rgb(30 36 44 / 7%);
}

.home-page .direction-option::before {
  position: absolute;
  inset: 10px 0 0 auto;
  z-index: -2;
  width: 46%;
  background: linear-gradient(150deg, #f0f1f3, transparent 70%);
  clip-path: polygon(0 43%, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.home-page .direction-option__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 76%;
}

.home-page .direction-option__icon {
  display: block;
  width: auto;
  height: clamp(30px, 2.8vw, 40px);
  margin-bottom: 8px;
  mix-blend-mode: multiply;
}

.home-page .direction-option h3 {
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home-page .direction-option p {
  max-width: min(35ch, 82%);
  margin: 9px 0 15px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.12vw, 1rem);
  line-height: 1.48;
}

.home-page .direction-option .button {
  max-width: 100%;
  margin-top: auto;
  border-radius: 7px;
}

.home-page .direction-option .button--outline { background: transparent; }
.home-page .direction-option .button--outline:hover { background: var(--paper); }

.home-page .direction-option__art {
  position: absolute;
  inset: auto 6px 8px auto;
  z-index: -1;
  display: block;
  width: 40%;
  height: 87%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  pointer-events: none;
}

.home-page #deal-support { padding-block: clamp(12px, 1.25vw, 18px) 0; }

.home-page .deal-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  min-height: clamp(218px, 20vw, 288px);
  padding-block: clamp(16px, 2vw, 28px) clamp(16px, 1.7vw, 24px);
  background: var(--paper);
}

.home-page .deal-banner__outline {
  inset: -6% 0 auto auto;
  width: 52%;
  color: #e1e3e6;
  mask-image: linear-gradient(135deg, transparent 17%, #000 54%),
    linear-gradient(to bottom, #000 41%, transparent 100%);
  mask-composite: intersect;
}

.home-page .deal-banner__copy { width: 54%; }
.home-page .deal-banner .section-heading { margin: 0; }

.home-page .deal-banner h2 {
  max-width: 13em;
  text-wrap: initial;
}

.home-page .deal-banner .title-accent { white-space: nowrap; }

.home-page .deal-banner p {
  max-width: 36ch;
  margin: 10px 0 clamp(14px, 1.25vw, 18px);
  margin-inline-start: var(--heading-inset);
  color: var(--ink);
  font-size: clamp(1rem, 1.32vw, 1.2rem);
  line-height: 1.42;
  text-wrap: balance;
}

.home-page .deal-banner .button {
  max-width: calc(100% - var(--heading-inset));
  margin-inline-start: var(--heading-inset);
  border-radius: 8px;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
}

.home-page .deal-banner__art {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: -1;
  display: block;
  width: 46%;
  height: 97%;
  object-fit: contain;
  object-position: right bottom;
  mask-image: linear-gradient(to right, transparent, #000 12%);
  pointer-events: none;
}

.home-page #services {
  padding-block: clamp(22px, 2.5vw, 36px);
  background: var(--mist);
}


.home-page .service-toolbar { gap: 7px 12px; margin-bottom: 22px; scroll-margin-top: 20px; }
.home-page .service-filter { padding-inline: clamp(12px, 1.5vw, 23px); border-radius: 8px; }
.home-page .service-grid { gap: clamp(10px, 1.25vw, 18px); }

.home-page .service-card {
  position: relative;
  isolation: isolate;
  border-color: var(--line);
  border-radius: clamp(13px, 1.2vw, 18px);
  padding: clamp(17px, 1.8vw, 26px);
}

.home-page .service-card__heading {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.1vw, 16px);
  min-height: clamp(38px, 3.45vw, 50px);
  width: 100%;
}

.home-page .service-card h4 {
  min-width: 0;
  font-size: clamp(1.1rem, 1.52vw, 1.375rem);
  font-weight: 670;
  line-height: 1.26;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.home-page .service-card .service-illustration {
  position: absolute;
  inset: auto 12px 10px auto;
  z-index: -1;
  width: clamp(65px, 27%, 120px);
  height: clamp(54px, 6vw, 86px);
  overflow: hidden;
  opacity: 0.44;
  pointer-events: none;
}

.home-page .service-card:has(.service-details[open]) .service-illustration { opacity: 0.28; }

.home-page .service-card .service-icon {
  width: clamp(33px, 3vw, 43px);
  height: clamp(33px, 3vw, 43px);
  flex: 0 0 auto;
  color: var(--accent);
  overflow: hidden;
  mix-blend-mode: multiply;
}

.home-page .service-card > p {
  max-width: 42ch;
  margin: 10px 0 9px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.home-page .service-details { width: 100%; margin-block-end: 5px; }
.home-page .service-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 650;
  list-style: none;
}

.home-page .service-details summary::-webkit-details-marker { display: none; }
.home-page .service-details summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.home-page .service-details summary::after {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.home-page .service-details[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.home-page .service-details ul { margin-block: 0 13px; line-height: 1.58; }

.home-page .service-cta {
  min-height: 44px;
  max-width: 100%;
  padding-inline: clamp(12px, 1.25vw, 18px);
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 650;
}

.home-page .service-cta:hover { background: var(--mist); }

.home-page .link-arrow { width: 1em; height: 1em; flex: 0 0 auto; }

.home-page :is(.button, .text-link):has(.link-arrow) { gap: 0.55em; }

.home-page .section-callout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px clamp(14px, 1.8vw, 26px);
  padding: clamp(16px, 1.85vw, 27px);
  border-color: var(--line);
  border-radius: 16px;
  background: linear-gradient(115deg, var(--paper) 46%, #edf0f2);
}

.home-page :is(.section-callout__roof, .work-process__roof) {
  position: absolute;
  right: 0;
  z-index: -1;
  height: auto;
  color: #d9dde2;
  pointer-events: none;
  mask-image: linear-gradient(120deg, transparent, #000 50%);
}

.home-page .section-callout__roof {
  inset-block-start: -14px;
  width: min(53%, 610px);
}

.home-page .section-callout .section-icon {
  width: clamp(48px, 5.15vw, 74px);
  height: clamp(48px, 5.15vw, 74px);
  padding: clamp(9px, 1.13vw, 16px);
  align-self: center;
  margin: 0;
  border-radius: 13px;
  background: var(--mist);
}

.home-page .section-callout__copy {
  padding-inline-start: clamp(12px, 1.55vw, 22px);
  border-inline-start: 2px solid var(--accent);
  overflow-wrap: anywhere;
}

.home-page .section-callout__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(1.15rem, 1.72vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.home-page .section-callout__copy p { max-width: 64ch; color: var(--muted); }
.home-page .section-callout .button { border-radius: 8px; }

.home-page #process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(30px, 3.15vw, 45px) clamp(26px, 2.5vw, 36px);
}

.home-page .work-process__roof {
  inset-block-start: 12px;
  right: var(--edge);
  width: min(47%, 680px);
  opacity: 0.8;
  mask-image: linear-gradient(120deg, transparent, #000 50%),
    linear-gradient(to bottom, #000 42%, transparent);
  mask-composite: intersect;
}

.home-page .work-process__facade {
  position: absolute;
  inset: auto -21px 0 auto;
  z-index: -1;
  width: clamp(150px, 19vw, 300px);
  height: 84%;
  object-fit: cover;
  object-position: 73% 26%;
  filter: grayscale(1);
  opacity: 0.36;
  mask-image: linear-gradient(105deg, transparent 13%, #000 72%);
  pointer-events: none;
}

.home-page .work-process__heading p { margin-block-start: 8px; }

.home-page .work-steps {
  --step-diameter: 36px;
  --step-gap: clamp(12px, 1.35vw, 20px);
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--step-gap);
  padding-block-start: calc(var(--step-diameter) / 2);
}

.home-page .work-steps::before {
  position: absolute;
  inset: calc(var(--step-diameter) / 2) calc((100% - 3 * var(--step-gap)) / 8) auto;
  z-index: 1;
  height: 1px;
  background: var(--accent);
  content: "";
  pointer-events: none;
}

.home-page .work-steps li {
  position: relative;
  padding: calc(var(--step-diameter) / 2 + 9px) clamp(14px, 1.45vw, 21px) 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.home-page .work-steps .step-number {
  position: absolute;
  inset: calc(var(--step-diameter) / -2 - 1px) auto auto 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: var(--step-diameter);
  height: var(--step-diameter);
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
}

.home-page .work-steps .section-icon {
  width: 48px;
  height: 48px;
  padding: 9px;
  margin: 0 0 10px;
  border-radius: 11px;
  background: var(--mist);
}

.home-page .work-steps h3 { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.2; }
.home-page .work-steps p { margin: 8px 0 0; line-height: 1.55; }

.home-page .about-panel {
  padding: clamp(19px, 2.7vw, 39px) var(--section-panel-inset);
  border-radius: clamp(12px, 1.5vw, 22px);
}

.home-page #company { padding-block: clamp(28px, 2.65vw, 40px); }

.home-page .about-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(125deg, #fafafb 24%, #edf0f2);
}

.home-page .about-panel__roof {
  position: absolute;
  z-index: -1;
  inset: -12px 0 auto auto;
  width: min(62%, 720px);
  height: auto;
  color: #d8dce1;
  mask-image: linear-gradient(120deg, transparent, #000 53%),
    linear-gradient(to bottom, #000 30%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}

.home-page .about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(18px, 2.3vw, 33px);
  align-items: stretch;
}

.home-page .about-company {
  padding-block: 4px 0;
  justify-content: flex-start;
}

.home-page .about-grid h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.25;
}

.home-page .about-specialties {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: clamp(17px, 2vw, 27px) 0;
  padding: 0;
  list-style: none;
}

.home-page .about-specialties li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-inline: 7px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
}

.home-page .about-specialties li + li { border-inline-start: 1px solid var(--line); }

.home-page .about-specialties .section-icon {
  width: clamp(35px, 3.15vw, 46px);
  height: clamp(35px, 3.15vw, 46px);
  margin: 0;
}

.home-page .about-person {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  align-items: center;
  padding-inline-start: clamp(18px, 2.3vw, 33px);
  border-inline-start: 1px solid var(--line);
}

.home-page .about-photo { aspect-ratio: 4 / 5.3; border-radius: 13px; }

.home-page .about-grid .button {
  max-width: 100%;
  border-radius: 8px;
}

.home-page .about-company > .button { margin-top: auto; }
.home-page .about-person .button { margin-top: clamp(14px, 1.4vw, 20px); }

@media (max-width: 960px) {
  .home-page .about-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .about-person {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
    padding: clamp(17px, 2.35vw, 25px) 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .home-page .about-photo { max-width: 245px; }
}

.home-page #reviews { padding-block: clamp(28px, 2.65vw, 40px); }

.home-page .reviews-layout {
  --review-gap: clamp(12px, 1.25vw, 18px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  grid-template-areas: "heading controls" "summary track";
  gap: clamp(15px, 1.65vw, 24px) var(--review-gap);
}

.home-page .reviews-heading {
  grid-area: heading;
  grid-column: 1 / -1;
  margin: 0;
  padding-inline-end: 108px;
}

.home-page .reviews-controls {
  grid-area: controls;
  z-index: 1;
  display: flex;
  justify-self: end;
  align-self: end;
  gap: 8px;
}

.home-page .reviews-controls[hidden] { display: none; }

.home-page .reviews-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--paper);
}

.home-page .reviews-arrow:hover:not(:disabled) { background: var(--accent-dark); }
.home-page .reviews-arrow:disabled {
  background: var(--accent-light);
  color: var(--muted);
  cursor: default;
}

.home-page .reviews-arrow .icon { width: 20px; height: 20px; }

.home-page .reviews-summary {
  grid-area: summary;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, 1.7vw, 24px);
  border-radius: 16px;
  background: var(--mist);
}

.home-page .reviews-summary__heading {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.home-page .reviews-summary__heading strong {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.home-page .reviews-summary__heading .icon {
  width: 43px;
  height: 43px;
  padding: 9px;
  border-radius: 11px;
  background: var(--paper);
}

.home-page .reviews-summary p { margin: 8px 0; color: var(--muted); }
.home-page .reviews-summary .review-stars { color: var(--accent); }

.home-page .reviews-summary .reviews-summary__count {
  width: 100%;
  margin: 15px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.2rem;
}

.home-page .reviews-rating {
  max-width: 100%;
  margin-top: auto;
  padding-inline: 11px;
  border-radius: 8px;
  background: transparent;
}

.home-page .reviews-rating:hover { background: var(--paper); }

.home-page .review-track {
  grid-area: track;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--review-gap)) / 3);
  gap: var(--review-gap);
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.home-page .reviews-controls:not([hidden]) ~ .review-track { scrollbar-width: none; }

.home-page .review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(15px, 1.45vw, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  scroll-snap-align: start;
}

.home-page .review-card h3 {
  font-size: clamp(1.06rem, 1.43vw, 1.3rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.home-page .review-card p:not(.review-topic) {
  margin: 12px 0 16px;
  font-size: 0.95rem;
  text-wrap: pretty;
}

.home-page .review-card .review-topic {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin: auto 0 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
}

.home-page .review-topic .icon { width: 17px; height: 17px; }

.home-page .review-card .review-mark {
  display: block;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 0.7;
}

.home-page .review-stars {
  display: flex;
  gap: 4px;
  color: #b57806;
}

.home-page .review-card .review-stars { margin-block-start: 9px; }
.home-page .review-stars svg { width: 15px; height: 15px; fill: currentColor; }

@media (max-width: 1120px) {
  .home-page .review-track { grid-auto-columns: calc((100% - var(--review-gap)) / 2); }
}

@media (max-width: 700px) {
  .home-page .reviews-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "summary" "controls" "track";
  }
  .home-page .reviews-heading { padding-inline-end: 0; }
  .home-page .review-track { grid-auto-columns: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .review-track { scroll-behavior: auto; }
}

.home-page #faq { padding-block: clamp(28px, 2.65vw, 40px); }

.home-page .faq-ask {
  margin-block-start: clamp(17px, 1.8vw, 26px);
  border-radius: 8px;
}

.home-page #consultation {
  padding-block: clamp(16px, 1.6vw, 23px);
  background: var(--accent-light);
}

.home-page .request-layout .section-heading {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  margin: 0;
}

.home-page .request-layout .section-heading h2 {
  max-width: calc(14ch + var(--heading-inset));
  text-wrap: initial;
}

.home-page .request-layout .section-heading p {
  max-width: 40ch;
  margin-top: 10px;
  font-size: clamp(0.97rem, 1.2vw, 1.08rem);
}

.home-page .request-layout .section-heading::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: var(--heading-inset);
  z-index: -1;
  width: min(78%, 320px);
  aspect-ratio: 360 / 156;
  background: url("assets/property-lines.svg") left bottom / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
  content: "";
}

.home-page #contacts { padding-block: clamp(28px, 2.65vw, 40px); }

.home-page .contacts-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.home-page .contact-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(11px, 1.75vw, 25px);
  align-items: center;
  min-height: 56px;
  margin-bottom: 8px;
  padding: 10px clamp(13px, 1.65vw, 24px);
  border-radius: 11px;
  background: var(--mist);
}

.home-page .contact-row :is(p, address) { margin: 0; }
.home-page .contact-row .contact-list { gap: 0; margin: 0; }
.home-page .contact-row dd { margin: 2px 0 0; }
.home-page .contact-row dd a { display: inline-block; }
.home-page .contact-row dt { font-weight: 720; }
.home-page .contact-icon {
  width: clamp(24px, 2.5vw, 36px);
  height: clamp(24px, 2.5vw, 36px);
  color: var(--accent);
}

.home-page .contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(14px, 1.75vw, 25px);
  row-gap: 6px;
  margin-top: clamp(17px, 2vw, 26px);
}

.home-page .contact-actions .button { border-radius: 8px; }
.home-page .contact-actions .contact-links { margin: 0; gap: 0 clamp(11px, 1.1vw, 16px); }

.home-page .contact-photo { max-width: 100%; align-self: center; }

.home-page .contact-photo img { border-radius: 15px; }

.home-page .contact-map {
  display: grid;
  min-width: 0;
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--mist);
}

.home-page .contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(145px, 11.5vw, 170px);
  border: 0;
}

.home-page .contact-map__actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px;
  background: var(--paper);
}

.home-page .contact-map__actions .text-link { text-align: start; }

.home-page .site-footer { background: var(--paper); }
.home-page .site-footer .text-link { gap: 8px; }
.home-page .site-footer .text-link:not(:has(.link-arrow))::after {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg);
  content: "";
}

@media (max-width: 1040px) {
  .home-page .direction-options { grid-template-columns: minmax(0, 1fr); }
  .home-page .direction-option { min-height: 238px; }
}

@media (max-width: 880px) {
  .home-page .work-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 29px;
  }
  .home-page .work-steps::before { display: none; }
}

@media (max-width: 780px) {
  .home-page .advantage-list { grid-template-columns: minmax(0, 1fr); }
  .home-page .advantage h3 { max-width: none; }
}

@media (max-width: 720px) {
  .home-page .deal-banner {
    min-height: 0;
    padding: 10px 0 0;
  }
  .home-page .deal-banner__copy {
    width: auto;
    padding-inline-end: 8px;
  }
  .home-page .deal-banner__outline {
    inset: auto 0 6% auto;
    width: 82%;
  }
  .home-page .deal-banner__art {
    position: relative;
    inset: auto;
    width: min(82%, 275px);
    height: auto;
    margin: 6px 0 0 auto;
  }
  .home-page .work-process__facade { display: none; }
  .home-page .work-process__roof { width: min(75%, 420px); opacity: 0.52; }
  .home-page .contacts-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .request-layout .section-heading::after { display: none; }
}

@media (max-width: 620px) {
  .home-page .service-grid { grid-template-columns: minmax(0, 1fr); }

  .home-page .section-callout {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .home-page .section-callout .section-icon { align-self: start; }
  .home-page .section-callout .button {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
  }
  .home-page .section-callout__roof {
    inset-block: auto -22%;
    width: 90%;
  }
}

@media (max-width: 560px) {
  .home-page .direction-option {
    display: block;
    min-height: 0;
    padding: 14px 14px 0;
  }

  .home-page .direction-option::before { inset-block-start: auto; height: 120px; }
  .home-page .direction-option__copy { width: 100%; }
  .home-page .direction-option p { max-width: none; }

  .home-page .direction-option__art {
    position: relative;
    inset: auto;
    width: min(100%, 190px);
    height: 110px;
    margin: 5px -8px 4px auto;
  }
}

@media (max-width: 510px) {
  .home-page .service-toolbar:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-page .service-filter { padding-inline: 10px; }

  .home-page .work-steps {
    --step-diameter: 30px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block-start: 0;
    padding-inline-start: calc(var(--step-diameter) / 2);
  }
  .home-page .work-steps::before {
    inset: 28px auto 24px calc(var(--step-diameter) / 2);
    display: block;
    width: 1px;
    height: auto;
  }
  .home-page .work-steps li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 7px 10px;
    padding: 12px 13px 13px 23px;
  }
  .home-page .work-steps .step-number {
    inset: 14px auto auto -1px;
    font-size: 0.9rem;
  }
  .home-page .work-steps .section-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
    margin: 0;
    border-radius: 8px;
  }
  .home-page .work-steps p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .home-page .about-specialties {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 13px;
  }
  .home-page .about-specialties li:nth-child(odd) { border-inline-start: 0; }
  .home-page .about-person { grid-template-columns: minmax(0, 1fr); }
  .home-page .about-photo { width: min(100%, 220px); justify-self: center; }
}
