.gate-page .header-phones,
.gate-page .footer-phones,
.gate-page .mobile-menu-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.gate-page .desktop-nav .mobile-menu-phones,
.gate-page .desktop-nav .mobile-menu-actions {
  display: none;
}

.gate-page .desktop-nav > .nav-home {
  display: block;
  white-space: nowrap;
}

.breadcrumbs {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  transition: color 0.18s;
}

.breadcrumbs a:hover {
  color: var(--copper-dark);
}

.gate-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gate-hero__image {
  position: absolute;
  inset: 0 0 0 43%;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.gate-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0, rgba(244, 241, 235, 0.76) 9%, transparent 31%),
    linear-gradient(0deg, rgba(21, 23, 24, 0.34), transparent 45%);
}

.gate-hero__image img {
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.gate-hero__marker {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 38px;
  width: 260px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--copper);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.gate-hero__inner {
  position: relative;
  z-index: 2;
}

.gate-hero__copy {
  width: 52%;
  padding: 88px 0 68px;
}

.gate-hero__copy h1 {
  max-width: 650px;
  font-size: clamp(46px, 4.1vw, 60px);
}

.gate-hero__lead {
  max-width: 545px;
  margin-bottom: 31px;
  color: #55595b;
  font-size: 17px;
  line-height: 1.58;
}

.gate-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 570px;
  margin: 47px 0 0;
  padding: 21px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.gate-hero__facts li {
  display: grid;
  gap: 5px;
}

.gate-hero__facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.gate-hero__facts strong {
  font-size: 17px;
}

.gate-hero__facts span {
  color: var(--steel);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gate-anchor-nav {
  position: sticky;
  z-index: 20;
  top: 82px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.gate-anchor-nav .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.gate-anchor-nav a {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gate-anchor-nav a:first-child {
  border-left: 1px solid var(--line);
}

.gate-anchor-nav a:hover {
  color: var(--copper-dark);
}

.gate-anchor-nav a span {
  color: var(--copper);
  font-size: 14px;
}

.gate-intro {
  background:
    linear-gradient(rgba(216, 208, 197, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 208, 197, 0.28) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
}

.gate-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: start;
}

.gate-intro__grid h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.gate-intro__text p {
  margin-bottom: 18px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.72;
}

.gate-intro__text .arrow-link {
  margin-top: 10px;
}

.gate-usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(37, 40, 42, 0.09);
}

.gate-usecases article {
  min-height: 410px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.gate-usecases article:last-child {
  border-right: 0;
}

.gate-usecases article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.gate-usecases__content {
  padding: 24px 28px 29px;
}

.gate-usecases__content > span,
.gate-variant-card__number {
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
}

.gate-usecases strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 18px;
}

.gate-usecases p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.gate-variants {
  background: var(--white);
}

.gate-variant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gate-variant-card {
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: 38px 42px 34px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.gate-variant-card--dark {
  border-color: var(--charcoal);
  background:
    radial-gradient(circle at 92% 4%, rgba(200, 92, 39, 0.29), transparent 24%),
    var(--charcoal);
  color: #fff;
}

.gate-tag {
  display: inline-block;
  margin: 61px 0 16px;
  color: var(--copper-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gate-variant-card--dark .gate-tag {
  color: #ef9b73;
}

.gate-variant-card h3 {
  margin-bottom: 16px;
  font-size: 31px;
}

.gate-variant-card p {
  max-width: 500px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.gate-variant-card--dark p {
  color: rgba(255, 255, 255, 0.64);
}

.gate-variant-card ul {
  display: grid;
  gap: 11px;
  margin: 25px 0 28px;
  padding: 0;
  list-style: none;
  color: var(--steel);
  font-size: 14px;
}

.gate-variant-card--dark ul {
  color: rgba(255, 255, 255, 0.72);
}

.gate-variant-card li {
  position: relative;
  padding-left: 19px;
}

.gate-variant-card li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--copper);
}

.gate-variant-card .arrow-link {
  margin-top: auto;
}

.gate-filling {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 700px;
}

.gate-filling__photo {
  position: relative;
  min-height: 700px;
}

.gate-filling__photo > img {
  height: 100%;
  object-fit: cover;
}

.gate-filling__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 14, 15, 0.72), transparent 44%);
}

.gate-filling__photo > div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 7px;
  padding: 34px 6vw;
  color: #fff;
}

.gate-filling__photo span {
  color: #ef9b73;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-filling__photo strong {
  max-width: 530px;
  font-size: 24px;
}

.gate-filling__content {
  align-content: center;
  padding: 80px 7vw 80px 6vw;
  background: var(--paper);
}

.gate-filling__content > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.gate-materials {
  margin: 37px 0 0;
  padding: 0;
  list-style: none;
}

.gate-materials li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 17px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.gate-materials li > span {
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
}

.gate-materials strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.gate-materials p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.5;
}

.gate-construction {
  background: var(--white);
}

.gate-construction__heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 53px;
}

.gate-construction__heading h2 {
  max-width: 730px;
  margin-bottom: 0;
}

.gate-construction__heading > p {
  margin-bottom: 4px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.68;
}

.gate-construction__body {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  background: var(--paper);
}

.gate-construction__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.gate-construction__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 23, 24, 0.42), transparent 37%);
}

.gate-construction__visual img {
  height: 100%;
  object-fit: cover;
}

.gate-dimension {
  position: absolute;
  z-index: 2;
  padding-top: 9px;
  border-top: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.gate-dimension::before,
.gate-dimension::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.gate-dimension::before {
  left: 0;
}

.gate-dimension::after {
  right: 0;
}

.gate-dimension--width {
  right: 24%;
  bottom: 52px;
  left: 11%;
  text-align: center;
}

.gate-dimension--side {
  right: 5%;
  bottom: 112px;
  width: 28%;
  text-align: center;
}

.gate-parts {
  align-content: center;
  margin: 0;
  padding: 52px 47px;
  list-style: none;
}

.gate-parts li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 17px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.gate-parts li > span {
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
}

.gate-parts strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.gate-parts p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.gate-price {
  padding: 108px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 6%, rgba(200, 92, 39, 0.28), transparent 27%),
    var(--charcoal);
  color: #fff;
}

.gate-price__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 105px;
}

.gate-price__intro {
  padding-bottom: 87px;
}

.gate-price__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.68;
}

.gate-price__factors {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gate-price__factors article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.gate-price__factors article > span {
  color: #ef9b73;
  font-size: 14px;
  font-weight: 800;
}

.gate-price__factors strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.gate-price__factors p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.5;
}

.gate-price__note {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  min-height: 92px;
  align-items: center;
  background: var(--copper);
}

.gate-price__note strong,
.gate-price__note span {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.gate-price__note strong {
  font-size: 14px;
}

.gate-price__note span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gate-process {
  background:
    linear-gradient(rgba(216, 208, 197, 0.27) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 208, 197, 0.27) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
}

.gate-process__line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 55px 0 0;
  padding: 0;
  background: var(--white);
  list-style: none;
  box-shadow: 0 20px 60px rgba(37, 40, 42, 0.08);
}

.gate-process__line li {
  min-height: 260px;
  padding: 29px 25px;
  border-right: 1px solid var(--line);
}

.gate-process__line li:last-child {
  border-right: 0;
}

.gate-process__line li > span {
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
}

.gate-process__line strong {
  display: block;
  margin: 91px 0 11px;
  font-size: 16px;
}

.gate-process__line p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.gate-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.gate-order__photo {
  min-height: 680px;
  position: relative;
}

.gate-order__photo::after {
  content: "СОБСТВЕННОЕ ПРОИЗВОДСТВО";
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 22px 31px;
  background: var(--paper);
  color: var(--copper-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.gate-order__photo img {
  height: 100%;
  object-fit: cover;
}

.gate-order__content {
  align-content: center;
  padding: 75px 8vw 75px 6vw;
  background: var(--white);
}

.gate-order__content > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 29px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.gate-order__content .request-form {
  max-width: 590px;
}

.gate-faq {
  background: var(--paper);
}

.gate-faq__grid {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 90px;
  align-items: start;
}

.gate-faq__grid > div:first-child {
  position: sticky;
  top: 180px;
}

.gate-faq .faq {
  padding: 13px 36px 30px;
}

.gate-faq .faq summary h3 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.gate-faq .faq details p {
  font-size: 14px;
}

.gate-contact {
  padding-bottom: 95px;
}

.gate-page .footer-main a.footer-phone {
  color: #fff;
  width: fit-content;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .gate-page .desktop-nav {
    gap: 16px;
  }

  .gate-page .desktop-nav a {
    font-size: 16px;
  }

  .gate-price__grid {
    gap: 65px;
  }

  .gate-process__line strong {
    margin-top: 70px;
  }
}

@media (max-width: 860px) {
  .gate-page .desktop-nav .mobile-menu-phones,
  .gate-page .desktop-nav .mobile-menu-actions {
    display: flex;
  }

  .gate-page .desktop-nav .mobile-menu-phones {
    gap: 0;
    margin-top: 18px;
  }

  .gate-page .desktop-nav .mobile-menu-phones a {
    padding: 15px 5px;
    color: var(--copper-dark);
    font-size: 16px;
    font-weight: 800;
  }

  .breadcrumbs {
    min-height: 50px;
  }

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

  .gate-hero__image {
    position: relative;
    inset: auto;
    grid-row: 2;
    clip-path: none;
  }

  .gate-hero__image::after {
    background: linear-gradient(180deg, var(--paper), transparent 25%);
  }

  .gate-hero__inner {
    grid-row: 1;
  }

  .gate-hero__copy {
    width: 100%;
    padding: 58px 0 52px;
  }

  .gate-hero__copy h1 {
    max-width: 760px;
  }

  .gate-hero__lead {
    max-width: 680px;
  }

  .gate-anchor-nav {
    top: 70px;
    overflow-x: auto;
  }

  .gate-anchor-nav .container {
    width: max-content;
    min-width: 100%;
    grid-template-columns: repeat(6, 150px);
  }

  .gate-intro__grid,
  .gate-construction__heading,
  .gate-price__grid,
  .gate-faq__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .gate-usecases {
    margin-top: 50px;
  }

  .gate-variant-card {
    padding-inline: 31px;
  }

  .gate-filling {
    grid-template-columns: 1fr;
  }

  .gate-filling__photo,
  .gate-filling {
    min-height: 560px;
  }

  .gate-filling__content {
    padding: 75px 9vw;
  }

  .gate-construction__body {
    grid-template-columns: 1fr;
  }

  .gate-construction__visual {
    min-height: 520px;
  }

  .gate-price__intro {
    padding-bottom: 0;
  }

  .gate-price__factors {
    margin-bottom: 70px;
  }

  .gate-price__note {
    grid-template-columns: 1.5fr 1fr;
  }

  .gate-price__note strong,
  .gate-price__note span {
    min-height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .gate-process__line {
    grid-template-columns: repeat(2, 1fr);
  }

  .gate-process__line li {
    min-height: 220px;
    border-bottom: 1px solid var(--line);
  }

  .gate-process__line strong {
    margin-top: 55px;
  }

  .gate-order {
    grid-template-columns: 1fr;
  }

  .gate-order__photo {
    min-height: 500px;
  }

  .gate-order__content {
    padding: 75px 9vw;
  }

  .gate-faq__grid > div:first-child {
    position: static;
  }
}

@media (max-width: 560px) {
  .breadcrumbs {
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
  }

  .gate-hero {
    grid-template-rows: auto 320px;
  }

  .gate-hero__copy {
    padding: 42px 0 43px;
  }

  .gate-hero__copy h1 {
    font-size: clamp(41px, 13vw, 56px);
  }

  .gate-hero__lead {
    font-size: 15px;
  }

  .gate-hero__facts {
    gap: 0;
    margin-top: 38px;
  }

  .gate-hero__facts li + li {
    padding-left: 12px;
  }

  .gate-hero__facts strong {
    font-size: 14px;
  }

  .gate-hero__facts span {
    font-size: 14px;
  }

  .gate-hero__marker {
    right: 18px;
    bottom: 20px;
    width: 220px;
  }

  .gate-anchor-nav .container {
    grid-template-columns: repeat(6, 132px);
  }

  .gate-anchor-nav a {
    min-height: 56px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .gate-usecases,
  .gate-variant-grid {
    grid-template-columns: 1fr;
  }

  .gate-usecases article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gate-usecases strong {
    margin-top: 32px;
  }

  .gate-variant-card {
    min-height: 520px;
    padding: 31px 24px;
  }

  .gate-tag {
    margin-top: 43px;
  }

  .gate-variant-card h3 {
    font-size: 27px;
  }

  .gate-filling__photo {
    min-height: 430px;
  }

  .gate-filling__content,
  .gate-order__content {
    padding: 65px 20px;
  }

  .gate-construction__visual {
    min-height: 390px;
  }

  .gate-parts {
    padding: 31px 22px;
  }

  .gate-price {
    padding-top: 70px;
  }

  .gate-price__note {
    grid-template-columns: 1fr;
  }

  .gate-price__note strong,
  .gate-price__note span {
    min-height: 63px;
    border-right: 0;
  }

  .gate-process__line {
    grid-template-columns: 1fr;
  }

  .gate-process__line li {
    min-height: 180px;
  }

  .gate-process__line strong {
    margin-top: 38px;
  }

  .gate-order__photo {
    min-height: 390px;
  }

  .gate-faq .faq {
    padding-inline: 22px;
  }

  .gate-page .footer-main a.footer-phone {
    font-size: 16px;
  }
}

/* Читаемость на ПК: обычный текст услуговой страницы — 16 px. */
@media (min-width: 561px) {
  .gate-page .breadcrumbs,
  .gate-page .gate-anchor-nav a,
  .gate-page .gate-intro__text p,
  .gate-page .gate-usecases p,
  .gate-page .gate-variant-card p,
  .gate-page .gate-variant-card ul,
  .gate-page .gate-filling__content p,
  .gate-page .gate-materials strong,
  .gate-page .gate-materials p,
  .gate-page .gate-construction__heading > p,
  .gate-page .gate-parts strong,
  .gate-page .gate-parts p,
  .gate-page .gate-price__intro p,
  .gate-page .gate-price__factors strong,
  .gate-page .gate-price__factors p,
  .gate-page .gate-price__note strong,
  .gate-page .gate-price__note span,
  .gate-page .gate-process__line p,
  .gate-page .gate-order__content p,
  .gate-page .gate-faq .faq details p,
  .gate-page .eyebrow,
  .gate-page .button,
  .gate-page .arrow-link,
  .gate-page .desktop-nav a,
  .gate-page .header-phone,
  .gate-page .request-form label > span,
  .gate-page .request-form input,
  .gate-page .request-form textarea,
  .gate-page .form-note,
  .gate-page .form-success p,
  .gate-page .form-success button,
  .gate-page .faq summary,
  .gate-page .contact-copy > p:not(.eyebrow),
  .gate-page .contact-copy dt,
  .gate-page .contact-copy dd,
  .gate-page .footer-main p,
  .gate-page .footer-main strong,
  .gate-page .footer-main a:not(.brand),
  .gate-page .footer-bottom {
    font-size: 16px;
  }
}

/* Служебная подпись внутри мобильной круглой кнопки — исключение из правила 14 px. */
@media (max-width: 560px) {
  .gate-page .back-to-top small {
    font-size: 10px;
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-anchor-nav {
    backdrop-filter: none;
  }
}
