.seo-breadcrumbs {
  padding-block: 0.85rem;
  color: #424b58;
  font-size: 0.9rem;
}

.seo-breadcrumbs ol,
.seo-guide-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.seo-breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 0.7rem;
  color: #727c87;
}

.seo-breadcrumbs a,
.seo-guide a {
  color: #0c47a0;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.seo-guide {
  padding-block: clamp(2.25rem, 5vw, 4.5rem);
}

.seo-guide h1,
.seo-guide h2 {
  color: #232934;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 1rem;
}

.seo-guide .seo-guide-subtitle {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.seo-guide-lead,
.seo-article > p {
  max-width: 75ch;
  font-size: 1.0625rem;
}

.seo-guide p,
.seo-guide li {
  color: #323a46;
  line-height: 1.6;
}

.seo-guide-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

.seo-guide-topic {
  padding: 1.25rem;
  background: #f4f7fb;
  border: 1px solid #dce5f1;
  border-radius: 1rem;
}

.seo-guide-topic h3,
.seo-article h3 {
  font-weight: 700;
  line-height: 1.3;
  font-size: 1.125rem;
  margin: 0 0 0.65rem;
}

.seo-guide-topic p {
  margin: 0;
}

.seo-guide-links {
  gap: 0.6rem 1.2rem;
}

.seo-article h2 {
  margin-top: 1.9rem;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
}

.seo-article ul {
  padding-inline-start: 1.25rem;
  list-style: disc;
  margin-block: 0.8rem;
}

.seo-article li + li {
  margin-top: 0.45rem;
}

.seo-article time {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #576171;
}

.faq-item-surface-container > .faq-title-text-wrapper {
  width: 100%;
  margin: 0;
}

button.faq-header-clickable-area {
  font: inherit;
  text-align: start;
  background: transparent;
  border: 0;
}

button.faq-header-clickable-area:focus-visible {
  outline: 2px solid #0c47a0;
  outline-offset: 2px;
}

.service-brief.container { padding-block: clamp(2rem, 5vw, 4.5rem); }
.service-brief > header, .service-brief > p, .service-brief > ol { max-width: 76ch; }
.service-brief h2 { margin-top: 2.2rem; font-size: clamp(1.3rem, 3vw, 2rem); }
.service-brief ol { padding-inline-start: 1.5rem; }
.service-brief li, .service-brief > p + p { margin-top: 0.6rem; }
.service-brief .service-brief-cta { display: inline-flex; margin-top: 1.25rem; color: white; text-decoration: none; }
.service-brief .seo-guide-links { margin-top: 1rem; }
#obsudit-magazin, #obsudit-lending { scroll-margin-top: 7rem; }
button.mobile-menu-link { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--color-background); font-family: inherit; text-align: left; cursor: pointer; }
a.portfolio-btn-primary, a.website-types-service-button { text-decoration: none; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #0c47a0; outline-offset: 2px; }

html { overflow-y: scroll; }

.faq-header-clickable-area { min-height: 44px; }
.faq-question-title-text { min-width: 0; overflow-wrap: anywhere; }
.faq-icon-toggle-wrapper { flex: 0 0 28px; width: 28px; height: 28px; }
.faq-icon-toggle-wrapper .faq-icon-svg-element { flex: none; width: 18px; height: 18px; }
#imageModal.active #modalImage { touch-action: none; }

@media (max-width: 1280px) {
  .pricing-section-header { flex-wrap: wrap; gap: 0.75rem 1.5rem; }
  .pricing-subtitle-text { max-width: 65ch; min-width: 0; white-space: normal; line-height: 1.4; }
}

@media (max-width: 768px) {
  form input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="search"]),
  form textarea, form select, form select.careers-filter-select,
  .careers-contact-form .careers-form-field :is(input, textarea) { font-size: max(16px, 1rem); }

  #main-content > :is([class^="gv-"], [class^="po-"], [class^="ef-"], [class^="mf-"], .sf-container) {
    max-width: 100%;
    left: auto;
    right: auto;
    margin-inline: 0;
    overflow-x: clip;
  }
  #main-content > .feedback-contact-section-container { width: 100%; margin-inline: 0; }
  .seo-map-section { overflow-x: clip; }
}

.seo-guide :is(h1, h2, h3), .ht-heading-1 h1, .ht-card-title, .terms-hero-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.ht-card { min-width: 0; }

button.niche-item { background: transparent; border: 0; padding: 0; font-family: inherit; text-align: start; }
.niches-interactive .niche-static-label { display: none; }
.competitive-niches-section:not(.niches-interactive) :is(.niches-left, .niches-list, .niche-image-container) { display: none; }
.competitive-niches-section:not(.niches-interactive) .niche-content {
  display: block;
  position: static;
  margin-block: 1rem;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.competitive-niches-section:not(.niches-interactive) .niche-showcase { height: auto; overflow: visible; }
.presentation-summary { position: relative; max-width: 65ch; margin: 0 auto 1.5rem; text-align: center; line-height: 1.5; }

@media (max-width: 640px) {
  .ht-heading-1 h1, .terms-hero-title { font-size: clamp(1.5rem, 1.3rem + 1.5vw, 2rem); }
  .ht-cards-container > .ht-card { width: 100%; }
  .mf-main-inner .mf-main-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.45rem;
    width: 100%;
    height: auto;
    margin: 0 0 1.25rem;
  }
  .mf-main-header :is(.mf-main-title-top, .mf-main-title-bottom, .mf-main-subtitle) {
    position: static;
    width: auto;
    height: auto;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .mf-main-header :is(.mf-main-title-top, .mf-main-title-bottom) {
    font-size: clamp(1.625rem, 5vw, 2rem);
    line-height: 1.15;
  }
  .mf-main-header .mf-main-subtitle {
    order: 1;
    flex-basis: 100%;
    margin-top: 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
  }
}

.seo-section-nav {
  padding-block: 1rem;
}

.seo-section-nav .seo-guide-links a {
  display: inline-block;
  padding: .4rem .2rem;
  color: #0c47a0;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.seo-guide-topic[id],
.portfolio-project-card-container[id],
#primer-lendinga,
#stoimost-seo {
  scroll-margin-top: 6rem;
}

.pricing-period {
  font-size: .65em;
  white-space: nowrap;
}

.home-search-heading .hero-title-line1 {
  display: block !important;
  max-inline-size: 28ch;
  text-wrap: balance;
  line-height: 1.12 !important;
}

.home-search-heading .hero-title-line1 span {
  white-space: nowrap;
}


.preview-card.expanded .details-button {
  flex-shrink: 0;
  min-height: 26px;
  line-height: 1.15;
}


@media (max-width: 359px) {
  .home-search-heading .hero-title-line1 { font-size: clamp(1.5rem, 8vw, 1.85rem) !important; }
}

.home-case-preview, .case-measurements { scroll-margin-top: 6rem; }

.home-case-preview .commercial-queries-content { gap: .85rem; }
.home-case-preview .commercial-queries-title {
  width: auto;
  height: auto;
  letter-spacing: .055em;
  line-height: 1.25;
}
.home-case-preview .commercial-queries-heading {
  width: auto;
  height: auto;
  max-inline-size: 10ch;
  text-wrap: balance;
}
.home-case-preview .commercial-queries-heading span { color: #c5e1ff; white-space: nowrap; }
.home-case-preview .commercial-queries-benefit { height: auto; max-width: 100%; line-height: 1.45; }
.home-case-preview .preview-card-content-main {
  z-index: 2;
  left: clamp(1rem, 2vw, 1.9rem);
}
.home-case-source {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 40px;
  padding: .15rem .55rem;
  border-radius: .45rem;
  background: rgba(9, 24, 44, .85);
  color: white;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.home-case-source:hover { background: #163350; color: white; }
.home-case-source:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.seo-portfolio-section:not(.has-case-controls) :is(.seo-portfolio-filters, .seo-portfolio-show-more-wrap, .seo-portfolio-zoom-btn) {
  display: none;
}
#seoPortfolioGrid .seo-portfolio-card-title { line-height: 1.1; }
.case-measurements p { margin: .75rem 0; max-width: 65ch; }
.case-measurements details { max-width: 36rem; margin: 1.25rem 0; }
.case-measurements summary {
  cursor: pointer;
  color: #0c47a0;
  font-weight: 650;
  padding: .65rem 0;
}
.case-measurements table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.case-measurements caption { text-align: start; padding: .7rem 0; }
.case-measurements :is(th, td) { padding: .4rem .6rem; border-bottom: 1px solid #c7d4e4; text-align: start; }
.case-measurements thead { background: #edf4fc; }
.case-measurements tbody th { font-weight: 500; }

.home-search-intro.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .85fr);
  gap: clamp(1rem, 4vw, 4.5rem);
  align-items: center;
}
.home-search-intro .home-search-heading { min-width: 0; max-width: 100%; }
.home-search-offer { max-width: 46ch; color: #273849; }
.home-search-offer p { margin: 0; font-size: clamp(1rem, 1.24vw, 1.2rem); line-height: 1.45; }
.home-search-offer a, .seo-development-links a {
  color: #0c4798;
  text-decoration: underline;
  text-underline-offset: .17em;
}
.home-search-offer a { display: inline-block; padding-block: .5rem; }
.home-search-intro .mobile-consultation-button { text-decoration: none; }

.seo-directions { padding-block: clamp(2rem, 4.5vw, 4.5rem); }
.seo-directions h2 {
  max-width: 30ch;
  margin: 0 0 1rem;
  color: #232934;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.14;
}
.seo-directions .seo-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 4px;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
  align-items: stretch;
  box-sizing: border-box;
}
.seo-direction {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.75rem);
  border: 1px solid #cbd9e8;
  border-radius: 1.15rem;
  background: #f5f8fc;
}
.seo-direction h3 { margin: 0; font-size: clamp(1.18rem, 1.7vw, 1.55rem); line-height: 1.22; }
.seo-direction h3 a { color: #144b91; text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.seo-direction h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.seo-direction:focus-within { outline: 3px solid #1455a5; outline-offset: 0; }
.seo-direction:hover { border-color: #5485b9; }
.seo-direction p { margin: 0; line-height: 1.48; color: #293a4b; }
.seo-direction .seo-direction-rate { margin-top: auto; padding-top: .45rem; font-weight: 650; color: #142f50; }
.seo-development-links { margin: .85rem 0 0; font-size: 1rem; line-height: 1.5; color: #354656; }
#zakazat-seo, #napravleniya-seo { scroll-margin-top: 6rem; }
.hero-service-card .catalog-service-link { color: inherit; text-decoration: none; }
.catalog-service-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.catalog-service-link:hover .hero-button-icon, .catalog-service-link:focus-visible .hero-button-icon { background-color: #d9eafb; }

@media (max-width: 980px) {
  .seo-directions .seo-directions-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
  }
  .seo-direction { flex: 0 0 min(100%, max(78%, 18rem)); box-sizing: border-box; scroll-snap-align: start; }
  .seo-directions .services-slider-dots { justify-content: center; margin: .75rem auto; }
}
@media (max-width: 760px) {
  .home-search-intro.hero-content { grid-template-columns: minmax(0, 1fr); gap: .65rem; align-items: start; }
  .home-search-offer { max-width: 56ch; }
  .home-search-offer a { min-height: 2rem; }
}

.inquiry-service {
  display: grid;
  gap: .35rem;
  min-width: 0;
  width: 100%;
  text-align: left;
  font-size: .95rem;
}
.inquiry-service select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .5rem .65rem;
  border: 1px solid #828da0;
  border-radius: 8px;
  background-color: #fff;
  color: #223650;
  font: inherit;
  font-size: max(1rem, 16px);
}
.seo-feedback-overlay .seo-feedback-wrapper {
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
}

.subscription-form-input-button-container { flex-wrap: wrap; }
.subscription-form-input-button-container > label { flex-basis: 100%; color: #24394d; font-weight: 500; }
.office-directions-link { display: inline-block; margin-top: .65rem; color: #164a87; text-decoration: underline; }
.seobrain-stat-number { overflow-wrap: anywhere; }
.office-directions-link + .office-directions-link { margin-inline-start: .7rem; }

dialog.seo-feedback-overlay {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  color: inherit;
}
dialog.seo-feedback-overlay::backdrop { background: transparent; }
.seo-feedback-overlay .seo-feedback-wrapper {
  box-sizing: border-box;
  height: auto;
  padding: clamp(1rem, 4vw, 2.5rem);
  align-items: flex-start;
}
.seo-feedback-overlay .seo-feedback-inner-container,
.seo-feedback-overlay .seo-feedback-inputs-container,
.seo-feedback-overlay .seo-feedback-form-element {
  height: auto;
  width: 100%;
  min-width: 0;
}
.seo-feedback-overlay .seo-feedback-inner-container { gap: 1.2rem; }
.seo-feedback-overlay .seo-feedback-form-element { gap: 1.15rem; }
.seo-feedback-overlay .seo-feedback-inputs-container { gap: .55rem; }
.seo-feedback-overlay .seo-feedback-input-group,
.brief-form-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: stretch;
  gap: .15rem;
  width: 100%;
  min-width: 0;
  height: auto;
  background: transparent;
}
.seo-feedback-overlay .seo-feedback-input-box {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: .15rem .75rem;
  gap: .1rem;
  background: #fff;
}
.seo-feedback-overlay .seo-feedback-text-input {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 36px;
  font-size: max(1rem, 16px);
}
.inquiry-field-caption {
  color: #344454;
  text-align: left;
  font-size: .9rem;
  line-height: 1.3;
  font-weight: 600;
}
.test-drive-section .contact-form { height: auto; }
.test-drive-section .brief-form-field input,
.test-drive-section .button-submit { min-height: 44px; }

.seo-article .seo-guide-topics-nav ul {
  list-style: none;
  padding-inline-start: 0;
}

.seo-article h2[id] {
  scroll-margin-top: 6rem;
}

.wiki-example {
  width: min(100%, 43rem);
  margin: 1rem 0;
  border-collapse: collapse;
  color: #323a46;
  line-height: 1.5;
}

.wiki-example th,
.wiki-example td {
  border: 1px solid #dce5f1;
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.wiki-example th {
  background: #f4f7fb;
}

.wiki-example caption {
  color: #576171;
  padding-block-end: 0.5rem;
  text-align: left;
}

.wiki-search {
  max-width: 43rem;
  margin-block: 1.5rem;
}
.wiki-search label {
  display: block;
  margin-block-end: .5rem;
  color: #273342;
  font-weight: 600;
}
.wiki-search input {
  width: 100%;
  padding: .65rem .8rem;
  color: #273342;
  background: #fff;
  border: 1px solid #becbdb;
  border-radius: .6rem;
  font: inherit;
}
.wiki-search input:focus-visible {
  outline: 2px solid #0c47a0;
  outline-offset: 2px;
}
#wiki-count:not(:empty) {
  margin: .5rem 0 0;
}
[data-wiki-group] [hidden],
[data-wiki-nav][hidden] {
  display: none;
}

@media (min-width: 980px) {
  .portfolio-section-wrapper .portfolio-main-frame {
    --portfolio-control-size: 48px;
    --portfolio-control-gap: clamp(10px, 1.1vw, 18px);
    --portfolio-card-gap: clamp(16px, 1.6vw, 28px);
    display: grid;
    grid-template-columns: var(--portfolio-control-size) minmax(0, 1fr) var(--portfolio-control-size);
    column-gap: var(--portfolio-control-gap);
  }

  .portfolio-section-wrapper .portfolio-header-container {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .portfolio-section-wrapper .portfolio-grid-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .portfolio-section-wrapper.portfolio-slider-ready .portfolio-grid-wrapper {
    grid-column: 2;
    scrollbar-width: none;
  }

  #main-content .portfolio-section-wrapper.portfolio-slider-ready .portfolio-nav-arrows {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: center;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
    display: flex !important;
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
  }

  #main-content .portfolio-section-wrapper .portfolio-grid-container {
    margin: 0;
    padding: 0;
    gap: var(--portfolio-card-gap);
    overflow: visible;
  }

  #main-content .portfolio-section-wrapper .portfolio-card-item {
    flex: 0 0 calc((100% - 2 * var(--portfolio-card-gap)) / 3);
    min-width: 0;
  }

  .portfolio-section-wrapper .portfolio-card-project-info {
    gap: clamp(8px, 1vw, 18px);
  }

  .portfolio-section-wrapper .portfolio-card-services-list {
    min-width: 0;
  }

  .portfolio-section-wrapper :is(.portfolio-service-tag-outline, .portfolio-service-tag-filled) {
    max-width: 100%;
  }

  .portfolio-section-wrapper .portfolio-service-tag-text {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .portfolio-section-wrapper .portfolio-view-all-btn {
    display: none;
  }

  .portfolio-section-wrapper .portfolio-arrow-btn {
    width: var(--portfolio-control-size);
    height: var(--portfolio-control-size);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0c47a0;
    pointer-events: auto;
    cursor: pointer;
  }

  .portfolio-section-wrapper .portfolio-arrow-btn:disabled {
    background: #697b90;
    opacity: 1;
    cursor: default;
  }

  .portfolio-section-wrapper .portfolio-arrow-btn:focus-visible {
    outline: 3px solid #0c47a0;
    outline-offset: 3px;
  }
}
