/* ================================================================
   АДВАНТ — Design System v1.0
   Эстетика Технологического Превосходства
   Guidebook: /Гай_дбук.docx
================================================================ */

/* — TOKENS — */
:root {
  --snow:    #F5F5F7;
  --orange:  #FF4500;
  --black:   #0D0D0D;
  --grey:    #8E8E93;
  --divider: 1px solid rgba(142,142,147,0.25);
  --f-head:  'Michroma', sans-serif;
  --f-body:  'Inter', sans-serif;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* — RESET — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--snow);
  color: var(--black);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ================================================================
   TYPOGRAPHY
================================================================ */
.t-hero {
  font-family: var(--f-head);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.t-h2 {
  font-family: var(--f-head);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.t-h3 {
  font-family: var(--f-head);
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.t-label {
  font-family: var(--f-head);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
}
.t-body {
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--grey);
}
.t-caption {
  font-family: var(--f-head);
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ================================================================
   LAYOUT
================================================================ */
.section       { padding: 100px 5vw; }
.section--dark { background: var(--black); color: #fff; }
.container     { max-width: 1400px; margin: 0 auto; }
.divider-h     { width: 100%; height: 1px; background: rgba(142,142,147,0.25); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: var(--divider);
  flex-wrap: wrap;
}
.section-header__left  { display: flex; flex-direction: column; gap: 14px; }
.section-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(245,245,247,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--divider);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: none;
}
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover       { color: var(--orange); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active       { color: var(--orange); }
.nav__links a.active::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__phone {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.04em;
}

/* Burger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--snow);
  border-bottom: var(--divider);
  padding: 24px 5vw 32px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  padding: 14px 0;
  border-bottom: var(--divider);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--orange); }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-head);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: scaleX(1); }

.btn--primary {
  padding: 16px 32px;
  background: var(--orange);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn--primary::before { background: var(--black); }

.btn--ghost {
  padding: 14px 26px;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn--ghost::before { background: var(--black); }
.btn--ghost:hover   { color: #fff; }

.btn--ghost-white {
  padding: 14px 26px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost-white::before { background: #fff; }
.btn--ghost-white:hover   { color: var(--black); }

/* Arrow inside button */
.btn__arr {
  width: 18px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width 0.3s var(--ease);
  position: relative;
}
.btn__arr::after {
  content: '';
  position: absolute;
  right: 0; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn__arr { width: 26px; }

/* ================================================================
   TAGS / BADGES
================================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: var(--divider);
  font-family: var(--f-head);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}
.tag__dot {
  width: 5px; height: 5px;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.status-tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--f-head);
  font-size: 0.46rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.status-tag--sale     { background: var(--orange); color: #fff; }
.status-tag--reserved { border: 1px solid var(--grey); color: var(--grey); background: transparent; }
.status-tag--sold     { background: var(--black); color: #fff; }

/* ================================================================
   FORMS
================================================================ */
.field-group {
  position: relative;
  border: var(--divider);
  margin-top: -1px;
  transition: border-color 0.2s;
}
.field-group:focus-within {
  border-color: var(--black);
  z-index: 1;
}
.field-group--dark:focus-within { border-color: rgba(255,69,0,0.5); }

.field-label {
  position: absolute;
  top: 14px; left: 20px;
  font-family: var(--f-head);
  font-size: 0.44rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  pointer-events: none;
  transition: all 0.2s var(--ease);
}
.field-label--dark { color: rgba(255,255,255,0.3); }

.field-input {
  width: 100%;
  padding: 36px 20px 12px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--black);
  appearance: none;
}
.field-input--dark    { color: #fff; caret-color: var(--orange); }
.field-input::placeholder { color: transparent; }

.field-input:focus ~ .field-label,
.field-input:not(:placeholder-shown) ~ .field-label {
  top: 9px; font-size: 0.38rem; color: var(--orange);
}
.field-input--dark:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--black) inset;
  -webkit-text-fill-color: #fff;
}

.field-select {
  width: 100%;
  padding: 36px 20px 12px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--black);
  appearance: none;
  cursor: pointer;
}
.field-select--dark { color: rgba(255,255,255,0.7); }
.field-select--dark option { background: var(--black); color: #fff; }
.select-arrow {
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checkbox-custom {
  width: 18px; height: 18px;
  border: 1px solid rgba(142,142,147,0.4);
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
  position: relative;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.checkbox-custom:checked {
  background: var(--black);
  border-color: var(--black);
}
.checkbox-custom:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}
.checkbox-label {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.55;
}
.checkbox-label a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================
   CARDS (catalog)
================================================================ */
.card {
  display: flex;
  flex-direction: column;
  background: var(--snow);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.08); }

.card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #d8d8da;
}
.card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: contrast(1.05);
}
.card:hover .card__photo img {
  transform: scale(1.05);
  filter: contrast(1.1) brightness(0.9);
}
.card__series {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(13,13,13,0.55) 0%, transparent 100%);
  font-family: var(--f-head);
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.card__body  { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card__title {
  font-family: var(--f-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
}
.card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--divider);
}
.card__spec {
  padding: 8px 12px;
  border-right: var(--divider);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.card__spec:last-child { border-right: none; }
.spec-val  { font-family: var(--f-head); font-size: 0.78rem; color: var(--black); line-height: 1; }
.spec-unit { font-size: 0.6em; color: var(--orange); margin-left: 1px; }
.spec-key  { font-family: var(--f-body); font-size: 0.6rem; color: var(--grey); font-weight: 300; }

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: var(--divider);
  gap: 10px;
  flex-wrap: wrap;
}
.card__price-label { font-family: var(--f-body); font-size: 0.58rem; color: var(--grey); font-weight: 300; }
.card__price-value {
  font-family: var(--f-head);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--black);
  letter-spacing: -0.01em;
}

/* Card CTA button — triggers on CARD hover, not just button */
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--orange);
  color: #fff;
  font-family: var(--f-head);
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.card__cta > * { position: relative; z-index: 1; }
.card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.card:hover .card__cta::before { transform: scaleX(1); }
.card__cta .btn__arr { width: 12px; }
.card:hover .card__cta .btn__arr { width: 18px; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 40%, transparent);
}
.footer__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.footer__wordmark {
  position: absolute;
  bottom: -0.12em; left: -0.02em;
  font-family: var(--f-head);
  font-size: clamp(80px, 16vw, 200px);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

/* Form block inside footer */
.footer__form-block {
  position: relative; z-index: 1;
  padding: 88px 5vw 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__form-left  { display: flex; flex-direction: column; gap: 28px; }
.footer__form-right { display: flex; flex-direction: column; gap: 0; }

.footer__title {
  font-family: var(--f-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer__title span { color: var(--orange); }
.footer__desc {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.35);
  max-width: 38ch;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__contact-icon {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer__contact-icon svg { width: 14px; height: 14px; }
.footer__contact-label {
  font-family: var(--f-head);
  font-size: 0.42rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.footer__contact-val {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__contact-val:hover { color: #fff; }

/* Footer nav */
.footer__nav-block {
  position: relative; z-index: 1;
  padding: 56px 5vw;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.footer__logo img { height: 26px; width: auto; filter: none; }
.footer__tagline {
  font-family: var(--f-head);
  font-size: 0.44rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  line-height: 1.7;
}
.footer__nav-col   { display: flex; flex-direction: column; gap: 0; }
.footer__nav-head  {
  font-family: var(--f-head);
  font-size: 0.46rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 10px;
}
.footer__nav-link {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}
.footer__nav-link:hover { color: #fff; }

.footer__bottom {
  position: relative; z-index: 1;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255,255,255,0.18);
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.5); }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}
@keyframes scan-line {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

.anim-fade-up { animation: fade-up 0.7s var(--ease) both; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .footer__nav-block { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__form-block { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 72px 5vw; }
  .footer__nav-block { grid-template-columns: 1fr; }
  .footer__form-block { padding: 56px 5vw; }
}
@media (max-width: 480px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .nav__phone { display: none; }
}

/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
================================================================ */

/* — PHONE ≤ 480px — */
@media (max-width: 480px) {
  body { padding-top: 60px; }

  .nav {
    height: 60px;
    padding: 0 4vw;
  }
  .nav__logo img { height: 22px; }
  .nav__phone { display: none; }
  .nav__right .btn { display: none; }
  .nav__burger { display: flex; }

  .nav__mobile a { font-size: 1rem; }

  /* Hero */
  .hero { min-height: calc(100svh - 60px); padding: 0 4vw; }
  .t-hero { font-size: clamp(2rem, 11vw, 3rem) !important; line-height: 1.05 !important; }
  .hero__labels { margin-bottom: 24px; gap: 8px; }
  .tag { font-size: 0.42rem; padding: 4px 9px; }
  .hero__title { margin-bottom: 20px; }
  .hero__body { gap: 20px; max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn--primary, .btn--ghost { width: 100%; justify-content: space-between; }
  .hero__bg-letter { display: none; }

  /* Stats */
  .hero__stats { grid-template-columns: 1fr 1fr !important; }
  .stat { padding: 20px 0 20px 16px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: var(--divider); }
  .stat:nth-child(4) { border-top: var(--divider); border-right: none; }
  .stat__val { font-size: 1.5rem !important; }
  .stat__key { font-size: 0.62rem; }

  /* Sections */
  .section { padding: 56px 4vw; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 24px; }
  .section-header__right { align-items: flex-start !important; }
  .section-header__right p { text-align: left !important; }
  .t-h2 { font-size: clamp(1.3rem, 7vw, 1.8rem) !important; }

  /* Advantages */
  .adv-grid { grid-template-columns: 1fr !important; }

  /* Services */
  .service-item { grid-template-columns: 52px 1fr !important; }
  .svc-num-cell { padding: 20px 10px 20px 0 !important; }
  .svc-num { font-size: 2rem !important; }
  .svc-content { padding: 20px 0 20px 14px !important; }
  .svc-arrow { display: none !important; }
  .svc-title { font-size: 0.85rem !important; }
  .svc-desc { font-size: 0.75rem !important; max-width: 100% !important; }

  /* Tech strip */
  .tech-strip { grid-template-columns: 1fr 1fr !important; margin: 0 !important; border-left: none !important; border-right: none !important; }
  .tech-cell { padding: 20px 16px !important; }
  .tech-cell:nth-child(2) { border-right: none; }
  .tech-cell:nth-child(3) { border-top: var(--divider); }
  .tech-cell:nth-child(4) { border-right: none; border-top: var(--divider); }

  /* Catalog grid */
  .catalog-grid { grid-template-columns: 1fr !important; }
  .card__specs { grid-template-columns: repeat(3,1fr); }

  /* CTA band */
  #advantages ~ section[style*="background:var(--black)"] { padding: 48px 4vw !important; }

  /* Form */
  #form > div { grid-template-columns: 1fr !important; }
  #form > div > div:first-child {
    padding: 40px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  #form > div > div:last-child { padding: 36px 20px !important; }
  .btn--primary[type="submit"] { width: 100%; justify-content: space-between; }

  /* Footer */
  .footer__form-block { grid-template-columns: 1fr !important; padding: 48px 4vw !important; gap: 32px !important; }
  .footer__form-block > div:first-child { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; padding: 0 0 32px 0 !important; }
  .footer__form-block > div:last-child { padding: 0 !important; }
  .footer__nav-block { grid-template-columns: 1fr 1fr !important; padding: 40px 4vw !important; gap: 28px !important; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding: 20px 4vw; gap: 10px; }
  .footer__copy { font-size: 0.6rem; }
  .footer__wordmark { font-size: 18vw !important; }
}

/* — TABLET ≤ 768px — */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__burger { display: flex; }

  .t-hero { font-size: clamp(2.2rem, 8.5vw, 3.8rem) !important; }

  .adv-grid { grid-template-columns: 1fr 1fr !important; }
  .catalog-grid { grid-template-columns: 1fr !important; }
  .tech-strip { grid-template-columns: 1fr 1fr !important; margin: 0 !important; border-left: none !important; border-right: none !important; }
  .tech-cell:nth-child(2) { border-right: none; }
  .tech-cell:nth-child(3) { border-top: var(--divider); }
  .tech-cell:nth-child(4) { border-right: none; border-top: var(--divider); }

  .service-item { grid-template-columns: 64px 1fr !important; }
  .svc-num-cell { border-right: none !important; padding: 28px 14px 28px 0 !important; }
  .svc-content { border-right: none !important; border-left: var(--divider) !important; padding: 28px 0 28px 18px !important; }
  .svc-arrow { display: none !important; }

  .section-header { flex-direction: column; gap: 20px; }
  .section-header__right { align-items: flex-start !important; }
  .section-header__right p { text-align: left !important; max-width: 100% !important; }

  #form > div { grid-template-columns: 1fr !important; }
  #form > div > div:first-child { border-right: none !important; padding: 48px 32px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
  #form > div > div:last-child { padding: 40px 32px !important; }

  .footer__form-block { grid-template-columns: 1fr !important; gap: 40px !important; }
  .footer__nav-block { grid-template-columns: 1fr 1fr !important; }
}

/* — LARGE DESKTOP ≥ 1400px — */
@media (min-width: 1400px) {
  .section { padding: 120px 5vw; }
  .t-hero { font-size: 7rem !important; }
}
