/*
Theme Name: NORT SZFO
Theme URI: https://nort-szfo.ru/
Author: NORT
Description: Легкая корпоративная тема НПО «НОРТ» с управляемой главной страницей.
Version: 0.1.0
Text Domain: nort-szfo
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --nort-yellow: #ffb800;
  --nort-yellow-hover: #ffc62e;
  --nort-black: #080909;
  --nort-charcoal: #171919;
  --nort-ink: #171818;
  --nort-muted: #666a6b;
  --nort-line: #dfe1e1;
  --nort-paper: #fff;
  --nort-max: 1240px;
  --nort-section: clamp(56px, 6vw, 88px);
  --nort-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--nort-ink);
  background: var(--nort-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px;
  clip: auto; background: #fff; color: #000;
}
.nort-container { width: min(calc(100% - 48px), var(--nort-max)); margin-inline: auto; }
.nort-section { padding-block: var(--nort-section); }
.nort-section + .nort-section { border-top: 1px solid var(--nort-line); }
body.home #solutions,
body.home #about,
body.home #process,
body.home #partners,
body.home #projects { padding-block: clamp(39px, 4.2vw, 62px); }
.nort-section-heading {
  display: flex; align-items: center; gap: 14px; margin: 0 0 30px;
  font-size: clamp(24px, 2.5vw, 34px); font-weight: 500; line-height: 1.15;
}
.nort-section-heading::before { content: ""; width: 25px; height: 3px; background: var(--nort-yellow); flex: 0 0 auto; }
.nort-kicker { margin: 0 0 24px; color: var(--nort-yellow); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nort-button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border: 1px solid var(--nort-yellow); border-radius: 2px;
  background: var(--nort-yellow); color: #080909; font-weight: 700; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nort-button:hover { background: var(--nort-yellow-hover); border-color: var(--nort-yellow-hover); transform: translateY(-1px); }
.nort-button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.nort-button--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Cookie consent — align the third-party widget with the NORT palette. */
.cky-consent-container .cky-btn-customize,
.cky-consent-container .cky-btn-reject,
.cky-modal .cky-btn-reject,
.cky-modal .cky-btn-preferences {
  border-color: var(--nort-yellow) !important;
  background: transparent !important;
  color: #976700 !important;
}
.cky-consent-container .cky-btn-customize:hover,
.cky-consent-container .cky-btn-reject:hover,
.cky-modal .cky-btn-reject:hover,
.cky-modal .cky-btn-preferences:hover {
  border-color: var(--nort-yellow-hover) !important;
  background: rgba(255, 184, 0, .12) !important;
  color: #735000 !important;
}
.cky-consent-container .cky-btn-accept,
.cky-modal .cky-btn-accept {
  border-color: var(--nort-yellow) !important;
  background: var(--nort-yellow) !important;
  color: var(--nort-black) !important;
}
.cky-consent-container .cky-btn-accept:hover,
.cky-modal .cky-btn-accept:hover {
  border-color: var(--nort-yellow-hover) !important;
  background: var(--nort-yellow-hover) !important;
}
.cky-consent-container .cky-btn:focus-visible,
.cky-modal .cky-btn:focus-visible {
  outline: 2px solid var(--nort-yellow) !important;
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: absolute; z-index: 30; top: 0; left: 0; width: 100%; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(rgba(0,0,0,.74), rgba(0,0,0,0));
}
.site-header__inner { min-height: 92px; display: flex; align-items: center; gap: 32px; }
.site-branding { flex: 0 0 112px; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.site-branding__logo,
.site-branding .custom-logo-link { display: block; }
.site-branding img { width: 112px; max-height: 54px; object-fit: contain; object-position: left center; }
.site-branding__caption { display: block; width: 112px; margin-top: 5px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .035em; text-align: center; white-space: nowrap; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #fff; font-size: 14px; text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--nort-yellow); }
.site-header__phone { white-space: nowrap; color: #fff; font-size: 14px; text-decoration: none; }
.site-header__cta { min-height: 44px; padding-inline: 18px; font-size: 13px; }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: #fff; }
.nort-menu-icon { position: relative; width: 30px; height: 22px; display: block; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; }
.nort-menu-icon span { position: absolute; top: 50%; right: 0; left: 0; height: 3px; background: currentColor; transform: translateY(-50%); }
.nort-icon { position: relative; width: 18px; height: 18px; display: inline-block; flex: 0 0 18px; color: inherit; }
.nort-icon--arrow-right::before,
.nort-icon--arrow-left::before,
.nort-icon--arrow-down::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.nort-icon--arrow-right::before { transform: translate(-65%,-50%) rotate(45deg); }
.nort-icon--arrow-left::before { transform: translate(-35%,-50%) rotate(-135deg); }
.nort-icon--arrow-down::before { transform: translate(-50%,-65%) rotate(135deg); }
.nort-icon--close::before,
.nort-icon--close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; background: currentColor; }
.nort-icon--close::before { transform: translate(-50%,-50%) rotate(45deg); }
.nort-icon--close::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* Hero */
.hero-slider { position: relative; height: 720px; min-height: 720px; overflow: hidden; background: #080909; color: #fff; }
.hero-slide { position: absolute; inset: 0; height: 100%; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.18) 69%, rgba(0,0,0,.12) 100%); }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide__content { position: relative; z-index: 2; max-width: var(--nort-max); padding-top: 110px; padding-bottom: 80px; }
.hero-slide h1, .hero-slide h2 { max-width: 700px; margin: 0 0 24px; font-size: clamp(42px, 5vw, 70px); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; }
.hero-slide__lead { max-width: 520px; margin: 0 0 30px; color: #e3e4e4; font-size: clamp(17px, 1.7vw, 21px); }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slide__proof { display: flex; align-items: center; gap: 10px; margin-top: 38px; color: #e6e7e7; font-size: 14px; }
.hero-slide__proof > img { width: 22px; height: 22px; flex: 0 0 22px; }
.hero-controls { position: absolute; z-index: 4; right: max(24px, calc((100vw - var(--nort-max))/2)); bottom: 34px; display: flex; align-items: center; gap: 12px; }
.hero-arrow, .hero-dot { border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.35); color: #fff; }
.hero-arrow { width: 42px; height: 42px; display: grid; place-items: center; }
.hero-arrow:hover { border-color: var(--nort-yellow); color: var(--nort-yellow); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.38); }
.hero-dot.is-active { background: var(--nort-yellow); }

/* Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.solution-card { position: relative; min-height: 190px; overflow: hidden; background: #111; box-shadow: var(--nort-shadow); color: #fff; text-decoration: none; }
.solution-card img { width: 100%; height: 190px; object-fit: cover; transition: transform .45s ease; }
.solution-card:hover img { transform: scale(1.04); }
.solution-card::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.solution-card__label { position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.solution-card__label .nort-icon { color: var(--nort-yellow); }

/* Facts */
.facts-panel { border: 1px solid var(--nort-line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { position: relative; min-height: 170px; padding: 36px 34px; }
.fact + .fact::before { content: ""; position: absolute; top: 32px; bottom: 32px; left: 0; width: 1px; background: var(--nort-line); }
.fact__value { color: #efa900; font-size: clamp(42px, 4vw, 58px); line-height: 1; }
.fact__label { display: block; margin-top: 12px; font-weight: 700; }
.fact__note { display: block; margin-top: 6px; color: var(--nort-muted); font-size: 12px; }

/* About + trust */
.about-copy { padding-block: 42px; }
.about-copy .nort-section-heading { margin-bottom: 22px; }
.about-copy p { max-width: none; margin: 0 0 14px; color: #4e5253; }
.about-more[hidden] { display: none; }
.about-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: transparent; color: #d99600; font-weight: 700; }
.about-toggle[hidden] { display: none; }
.about-toggle .nort-icon { transition: transform .2s ease; }
.about-toggle[aria-expanded="true"] .nort-icon { transform: rotate(180deg); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--nort-line); }
.trust-card { min-height: 250px; padding: clamp(30px, 4vw, 52px); }
.trust-card + .trust-card { border-left: 1px solid var(--nort-line); }
.certificate-card { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 28px; }
.certificate-card img { width: 140px; max-height: 190px; object-fit: contain; }
.trust-card h2 { margin: 0 0 20px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.1; }
.trust-card p { margin: 0; color: var(--nort-muted); }
.certificate-preview { display: block; padding: 0; border: 0; background: transparent; }
.certificate-preview img { transition: transform .2s ease, box-shadow .2s ease; }
.certificate-preview:hover img, .certificate-preview:focus-visible img { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.certificate-link { display: inline-block; margin-top: 18px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-weight: 700; }
.certificate-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; }
.certificate-modal[hidden] { display: none; }
.certificate-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); backdrop-filter: blur(4px); }
.certificate-modal__dialog { position: relative; z-index: 1; width: min(460px, calc(100vw - 56px)); max-height: calc(100vh - 56px); }
.certificate-modal__dialog > img { width: 100%; max-height: calc(100vh - 56px); object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.certificate-modal__close { position: absolute; z-index: 2; top: -18px; right: -18px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: #111; color: #fff; }
.certificate-modal__close:hover, .certificate-modal__close:focus-visible { border-color: var(--nort-yellow); color: var(--nort-yellow); }
.certificate-modal__close .nort-icon { width: 24px; height: 24px; }
body.has-certificate-modal { overflow: hidden; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.step { display: grid; grid-template-columns: 78px 1fr; align-items: start; gap: 18px; }
.step__number { color: #eaa500; font-size: 60px; font-weight: 300; letter-spacing: -.055em; line-height: .88; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--nort-muted); font-size: 14px; }
.steps-form { width: min(100%, 520px); margin: 44px auto 0; }
.nort-form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.steps-form__phone { width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid #bfc3c3; border-radius: 0; background: #fff; color: var(--nort-ink); }
.steps-form__phone::placeholder { color: #747879; opacity: 1; }
.steps-form__phone:focus { border-color: var(--nort-yellow); outline: 2px solid rgba(255,184,0,.24); outline-offset: 1px; }
.steps-form__submit { width: 100%; margin-top: 12px; }
.steps-form__submit:disabled { border-color: var(--nort-yellow); background: var(--nort-yellow); color: rgba(8,9,9,.58); cursor: not-allowed; opacity: 1; transform: none; }
.steps-form__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 13px; color: var(--nort-muted); font-size: 12px; line-height: 1.45; cursor: pointer; }
.steps-form__consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--nort-yellow); }
.steps-form__consent a { color: var(--nort-ink); text-decoration-color: var(--nort-yellow); text-underline-offset: 3px; }
.steps-form__consent a:hover { color: #b97f00; }
.steps-form__status { margin: 12px 0 0; font-size: 14px; }
.steps-form__status--success { color: #287a38; }
.steps-form__status--error { color: #b42318; }

/* Partners */
.partners-intro { margin: -20px 0 30px 39px; color: var(--nort-muted); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 18px; }
.partner { display: grid; min-height: 92px; place-items: center; padding: 12px 20px; border-right: 1px solid var(--nort-line); }
.partner:last-child { border-right: 0; }
.partner img { max-width: 130px; max-height: 62px; object-fit: contain; filter: grayscale(1); opacity: .78; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.project-card img { width: 100%; aspect-ratio: 16 / 8.8; object-fit: cover; }
.project-card h3 { margin: 18px 0 8px; font-size: 19px; }
.project-card p { margin: 10px 0 0; color: var(--nort-muted); font-size: 14px; line-height: 1.55; }
.project-card strong { color: var(--nort-ink); }
.project-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 700; text-decoration: none; }
.project-card__link .nort-icon { color: var(--nort-yellow); }
.projects-more { display: flex; justify-content: center; margin-top: 32px; }
.projects-more a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
.projects-more .nort-icon { color: var(--nort-yellow); }

/* CTA + footer */
.consultation { min-height: 400px; position: relative; display: grid; align-items: center; overflow: hidden; background: #090b0b; color: #fff; }
.consultation__media { position: absolute; inset: 0 0 0 34%; }
.consultation__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #090b0b 0%, rgba(9,11,11,.72) 18%, rgba(9,11,11,.03) 58%); }
.consultation__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.consultation__content { position: relative; z-index: 2; max-width: var(--nort-max); padding-block: 52px; }
.consultation h2 { max-width: none; margin: 0 0 10px; font-size: clamp(30px, 3vw, 42px); font-weight: 400; white-space: nowrap; }
.consultation__content > h2,
.consultation__content > p { max-width: none; }
.consultation__lead { margin: 0; color: #e1e2e2; white-space: nowrap; }
.consultation-form { max-width: 572px; margin-top: 22px; }
.consultation-form__row { display: flex; align-items: stretch; gap: 12px; }
.consultation-form__phone { flex: 0 1 370px; width: 370px; min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.42); border-radius: 0; background: rgba(255,255,255,.96); color: #161818; font: inherit; }
.consultation-form__phone::placeholder { color: #686c6d; opacity: 1; }
.consultation-form__phone:focus { border-color: var(--nort-yellow); outline: 2px solid rgba(255,190,0,.28); outline-offset: 1px; }
.consultation-form__submit { flex: 0 0 190px; min-width: 190px; min-height: 52px; }
.consultation-form__submit:disabled { border-color: var(--nort-yellow); background: var(--nort-yellow); color: rgba(8,9,9,.58); cursor: not-allowed; opacity: 1; transform: none; }
.consultation-form__consent { display: flex; align-items: flex-start; gap: 10px; max-width: 572px; margin-top: 14px; color: #c7c9c9; font-size: 13px; line-height: 1.45; cursor: pointer; }
.consultation-form__consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--nort-yellow); }
.consultation-form__consent a { color: #fff; text-decoration-color: rgba(255,190,0,.72); text-underline-offset: 3px; }
.consultation-form__consent a:hover { color: var(--nort-yellow); }
.consultation-form__status { margin: 12px 0 0; color: #fff; font-size: 14px; }
.consultation-form__status--success { color: #bde6bd; }
.consultation-form__status--error { color: #ffb4a8; }
.site-footer { padding: 42px 0 24px; background: #070808; color: #bfc1c1; }
body.home .xoo-wsc-markup,
body.home .xoo-wsc-markup-notices { display: none !important; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .9fr 1fr 1fr; gap: 42px; }
.footer-logo img { width: 118px; margin: 0 0 7px -9px; }
.footer-logo__caption { display: block; width: 118px; margin: 0 0 14px -9px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .025em; line-height: 1; text-align: center; white-space: nowrap; }
.footer-disclaimer { margin: 12px 0 7px; color: #8f9393; font-size: 12px; line-height: 1.45; }
.footer-privacy-link { display: inline-block; color: #bfc1c1; font-size: 12px; line-height: 1.4; text-decoration-color: rgba(255,190,0,.72); text-underline-offset: 3px; }
.footer-privacy-link:hover { color: var(--nort-yellow); }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li + li { margin-top: 7px; }
.footer-menu a { color: #bfc1c1; font-size: 13px; text-decoration: none; }
.footer-menu a:hover { color: var(--nort-yellow); }
.footer-contact { margin: 0 0 8px; font-size: 13px; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid #252727; color: #777b7b; font-size: 12px; }

/* Generic content */
.site-main--inner { padding: 140px 0 80px; }
.site-main--inner .entry-content { max-width: 820px; }

@media (max-width: 1100px) {
  .site-header__cta { display: none; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partner:nth-child(3n) { border-right: 0; }
}
@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { background: rgba(0,0,0,.92); }
  .site-header__inner { min-height: 76px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: absolute; top: 100%; left: 0; width: 100%; display: none; padding: 18px 24px 26px; background: rgba(5,6,6,.98); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 11px 0; }
  .site-header__phone { display: none; }
  .hero-slider { height: 680px; min-height: 680px; }
  .hero-slide__media::after { background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.55)); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--nort-line); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card + .trust-card { border-top: 1px solid var(--nort-line); border-left: 0; }
  .steps-grid, .projects-grid { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: minmax(220px, .9fr) 1fr; gap: 24px; }
  .project-card h3 { margin-top: 0; }
  .consultation__media { left: 25%; opacity: .72; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nort-container { width: min(calc(100% - 32px), var(--nort-max)); }
  .nort-section { padding-block: 48px; }
  body.home #solutions,
  body.home #about,
  body.home #process,
  body.home #partners,
  body.home #projects { padding-block: 34px; }
  .site-branding { flex-basis: 90px; }
  .site-branding img { width: 90px; }
  .site-branding__caption { width: 90px; font-size: 7.5px; letter-spacing: .02em; }
  .hero-slider { height: 700px; min-height: 700px; }
  .hero-slide__content { padding-top: 120px; }
  .hero-slide h1, .hero-slide h2 { font-size: 38px; }
  .hero-slide__media img { object-position: 66% center; }
  .hero-slide__media::after { background: linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.68)); }
  .hero-controls { right: 16px; bottom: 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card, .solution-card img { min-height: 210px; height: 210px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 145px; padding: 28px 20px; }
  .fact__value { font-size: 40px; }
  .certificate-card { grid-template-columns: 95px 1fr; gap: 18px; }
  .certificate-card img { width: 95px; }
  .trust-card { padding: 28px 22px; }
  .step { grid-template-columns: 64px 1fr; }
  .step__number { font-size: 50px; }
	.step__copy { grid-column: 2; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner:nth-child(3n) { border-right: 1px solid var(--nort-line); }
  .partner:nth-child(2n) { border-right: 0; }
  .project-card { display: block; }
  .project-card h3 { margin-top: 16px; }
  .consultation { min-height: 430px; align-items: end; }
  .consultation__media { inset: 0; opacity: .58; }
  .consultation__media::after { background: linear-gradient(0deg, #090b0b 0%, rgba(9,11,11,.65) 58%, rgba(9,11,11,.18) 100%); }
  .consultation__media img { object-position: 62% 28%; }
  .consultation__content { padding-block: 170px 36px; }
  .consultation h2,
  .consultation__lead { white-space: normal; }
  .consultation-form__row { display: grid; gap: 10px; }
  .consultation-form__phone,
  .consultation-form__submit { width: 100%; }
  .consultation-form__consent { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  html,
  body { overflow-x: hidden; }
  .hero-slider { height: 790px; min-height: 790px; }
  .hero-slide { align-items: start; }
  .hero-slide__content { padding-top: 106px; padding-bottom: 112px; }
  .hero-slide h1,
  .hero-slide h2 { font-size: clamp(32px, 10.5vw, 38px); }
  .hero-slide__lead { margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
  .hero-slide__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 12px;
  }
  .hero-slide__actions .nort-button {
    width: 100%;
    padding-inline: 12px;
    text-align: center;
    white-space: normal;
  }
  .hero-slide__proof {
    align-items: flex-start;
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.45;
  }
  .hero-controls { right: auto; bottom: 20px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
