/* ========================================
   RESET
======================================== */

:root {
  --bg: #0a0b0c;
  --bg-soft: #101214;
  --bg-light: #151719;

  --text: #f2f0eb;
  --text-soft: #a7a7a3;
  --text-muted: #72736f;

  --accent: #e36f20;
  --accent-light: #f18a38;

  --border: rgba(255, 255, 255, 0.1);

  --container: 1320px;
  --radius: 2px;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 64px), var(--container));

  margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;

  border-bottom: 1px solid var(--border);

  background: rgba(10, 11, 12, 0.82);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 86px;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border: 1px solid var(--accent);

  color: var(--accent);

  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-subtitle {
  color: var(--text-muted);

  font-size: 9px;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;

  margin-left: auto;
}

.nav a {
  position: relative;

  color: var(--text-soft);

  font-size: 12px;
  letter-spacing: 0.04em;

  transition: color var(--transition);
}

.nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--accent);

  transition: width var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.header-phone {
  color: var(--text);

  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;

  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--accent-light);
}

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 1px solid var(--border);
  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 19px;
  height: 1px;

  margin: 5px auto;

  background: var(--text);
}

/* ========================================
   BUTTONS
======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 25px;

  border: 1px solid transparent;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.button-primary:hover {
  border-color: var(--accent-light);
  background: var(--accent-light);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ========================================
   HERO
======================================== */

.hero {
  position: relative;

  width: 100%;
  min-height: 680px;

  display: flex;
  align-items: flex-start;

  overflow: hidden;

  background: #0b0d0f;
}

.hero-background {
  position: absolute;
  inset: 0;

  background-image: url("images-webp/hero.webp");
 background-image: image-set(url("images-webp/hero.webp") type("image/webp"), url("images-webp/hero.webp") type("image/jpeg"));
  background-position: center -10px;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #0b0d0f;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(10, 11, 12, 0.76) 0%,
      rgba(10, 11, 12, 0.34) 42%,
      rgba(10, 11, 12, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(10, 11, 12, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 3;

  width: 100%;

  padding-top: 245px;
  padding-bottom: 130px;
}

.hero-copy {
  max-width: 400px;

  transform: none;
}

.hero-label {
  margin-bottom: 20px;

  color: var(--accent-light);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 460px;

  margin: 0;

  color: #f4f3ef;

  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 390px;

  margin: 25px 0 0;

  color: var(--text-soft);

  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 32px;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;

  border-top: 1px solid var(--border);

  background: rgba(10, 11, 12, 0.4);
}

.hero-bottom-inner {
  display: flex;
  align-items: center;
  gap: 18px;

  min-height: 64px;

  color: var(--text-muted);

  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-bottom-divider {
  width: 26px;
  height: 1px;

  background: var(--accent);
}

/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
  padding: 130px 0;

  border-bottom: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;

  margin-bottom: 70px;
}

.section-number {
  padding-top: 7px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-label {
  margin-bottom: 16px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 650px;

  margin: 0;

  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

/* ========================================
   ABOUT
======================================== */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;

  border: 1px solid var(--border);
  background: var(--border);
}

.about-card {
  min-height: 270px;

  padding: 30px;

  background: var(--bg-soft);
}

.about-number {
  display: block;

  margin-bottom: 70px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 700;
}

.about-card h3 {
  margin: 0 0 15px;

  font-size: 20px;
  font-weight: 700;
}

.about-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 13px;
  line-height: 1.7;
}

/* ========================================
   SERVICES
======================================== */

.services {
  background: var(--bg-soft);
}

.services-list {
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 25px;

  min-height: 92px;

  border-bottom: 1px solid var(--border);

  transition:
    padding var(--transition),
    background var(--transition);
}

.service-item:hover {
  padding: 0 20px;

  background: var(--bg-light);
}

.service-number {
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;
}

.service-title {
  color: var(--text);

  font-size: clamp(18px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.service-arrow {
  color: var(--text-muted);

  font-size: 24px;

  transition:
    color var(--transition),
    transform var(--transition);
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

/* ========================================
   WORKS
======================================== */

.works {
  background: var(--bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}

.work-card {
  display: block;

  min-width: 0;
}

.work-image {
  position: relative;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: var(--bg-light);
}

.work-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.work-image-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.5) 100%);

  pointer-events: none;

  transition: background var(--transition);
}

.work-card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.35);

  color: #fff;

  font-size: 20px;

  opacity: 0;

  transform: translateY(10px);

  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.work-card:hover .work-image img {
  transform: scale(1.045);
  filter: brightness(0.8);
}

.work-card:hover .work-image-overlay {
  background: linear-gradient(
    180deg,
    rgba(227, 111, 32, 0.04),
    rgba(0, 0, 0, 0.7)
  );
}

.work-card:hover .work-card-arrow {
  opacity: 1;
  transform: translateY(0);

  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.work-caption {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding-top: 18px;
}

.work-caption span {
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;
}

.work-caption strong {
  max-width: 420px;

  color: var(--text);

  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* ========================================
   TECHNOLOGY
======================================== */

.technology {
  background: var(--bg-soft);
}

.technology-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.technology-layout .section-heading {
  display: block;
  margin-bottom: 0;
}

.technology-layout .section-number {
  display: block;
  margin-bottom: 25px;
}

.technology-lead {
  margin: 0 0 45px;

  color: var(--text);

  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.technology-points {
  border-top: 1px solid var(--border);
}

.technology-point {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;

  padding: 23px 0;

  border-bottom: 1px solid var(--border);
}

.technology-point span {
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;
}

.technology-point p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   CONTACTS
======================================== */

.contacts {
  background: var(--bg);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contacts-layout .section-heading {
  display: block;
  margin-bottom: 0;
}

.contacts-layout .section-number {
  display: block;
  margin-bottom: 25px;
}

.contacts-text {
  max-width: 470px;

  margin: 0 0 45px;

  color: var(--text-soft);

  font-size: 18px;
  line-height: 1.65;
}

.contact-list {
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;

  min-height: 75px;

  border-bottom: 1px solid var(--border);
}

.contact-label {
  color: var(--text-muted);

  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--text);

  font-size: 14px;
  text-align: right;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
}

/* ========================================
   FOOTER
======================================== */

.footer {
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  min-height: 130px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-description,
.footer-location,
.footer-copy {
  color: var(--text-muted);

  font-size: 11px;
}

.footer-location {
  text-align: center;
}

/* ========================================
   ANIMATIONS
======================================== */

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 44px), var(--container));
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 11px;
  }

  .header-phone {
    display: none;
  }

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

  .technology-layout,
  .contacts-layout {
    gap: 45px;
  }
}

/* ========================================
   MOBILE NAVIGATION
======================================== */

@media (max-width: 900px) {
  .header-inner {
    min-height: 76px;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 15px 22px;

    border-bottom: 1px solid var(--border);

    background: rgba(10, 11, 12, 0.97);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 16px 0;

    border-bottom: 1px solid var(--border);

    font-size: 12px;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-background {
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    padding-top: 280px;
    padding-bottom: 130px;
  }

  .hero-copy {
    max-width: 600px;

    transform: none;
  }

  .hero h1 {
    font-size: clamp(36px, 7vw, 58px);
  }

  .hero-description {
    max-width: 470px;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    grid-template-columns: 50px 1fr;
    gap: 18px;

    margin-bottom: 45px;
  }

  .works-grid {
    gap: 25px 18px;
  }

  .technology-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .technology-layout .section-heading,
  .contacts-layout .section-heading {
    margin-bottom: 0;
  }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .logo-mark {
    width: 34px;
    height: 34px;

    font-size: 19px;
  }

  .logo-name {
    font-size: 17px;
  }

  .logo-subtitle {
    font-size: 8px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-background {
    background-position: center top;
    background-size: auto 300px;
  }

  .hero-content {
    padding-top: 280px;
    padding-bottom: 90px;
  }

  .hero-copy {
    max-width: 460px;

    transform: none;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;

    max-width: 280px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-bottom-inner {
    min-height: 56px;

    gap: 12px;

    font-size: 9px;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    grid-template-columns: 35px 1fr;
    gap: 12px;

    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
    padding: 25px;
  }

  .about-number {
    margin-bottom: 35px;
  }

  .services-list {
    margin: 0;
  }

  .service-item {
    grid-template-columns: 30px 1fr 25px;
    gap: 12px;

    min-height: 86px;
  }

  .service-item:hover {
    padding: 0 10px;
  }

  .service-title {
    font-size: 17px;
  }

  .service-arrow {
    font-size: 19px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .work-image {
    aspect-ratio: 4 / 3;
  }

  .work-card-arrow {
    opacity: 1;
    transform: translateY(0);

    width: 38px;
    height: 38px;

    border-color: var(--accent);
    background: var(--accent);
    color: #111;
  }

  .work-caption strong {
    font-size: 16px;
  }

  .technology-lead {
    font-size: 20px;
  }

  .contact-item {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    min-height: 85px;
  }

  .contact-value {
    text-align: left;
  }

  .contact-actions {
    flex-direction: column;
    max-width: 280px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;

    padding: 35px 0;
  }

  .footer-location {
    text-align: left;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

@media (max-width: 1000px) {
  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: 10;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle.is-active span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .menu-toggle span {
    transition: transform 0.25s ease;
  }
}
/* ========================================
   ANCHOR SCROLL POSITION
   Показываем содержимое секции сразу под фиксированной шапкой
======================================== */

.section {
  /*
    В секциях есть внутренний отступ сверху 130px.
    Увеличенный scroll-margin-top компенсирует его
    при переходе по якорным ссылкам.
  */
  scroll-margin-top: 120px;
}

@media (max-width: 900px) {
  .section {
    scroll-margin-top: 90px;
  }
}
/* Исправление отступа при переходе к разделам */

/* Высота фиксированной шапки сайта */
html {
  scroll-padding-top: 86px;
}

/* Якорные разделы начинаются сразу под шапкой */
#about,
#services,
#works,
#technology,
#contacts {
  scroll-margin-top: 86px;
}

/* Убираем чрезмерное пустое пространство сверху */
.section {
  padding-top: 36px !important;
  padding-bottom: 130px;
}

/* На небольших экранах оставляем компактный отступ */
@media (max-width: 700px) {
  .section {
    padding-top: 28px !important;
    padding-bottom: 80px;
  }
}
/* ========================================
   ОБНОВЛЕНИЕ РАЗДЕЛА «О КОМПАНИИ»
   Индустриальный editorial-стиль
======================================== */

.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(227, 111, 32, 0.08),
      transparent 28%
    ),
    var(--bg);
}

.about .section-heading {
  position: relative;
  margin-bottom: 54px;
}

.about .section-heading::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 30px;
  background: var(--accent);
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}

.about-card {
  position: relative;
  min-height: 238px;
  padding: 30px 28px 28px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012)
  );
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
}

.about-card:last-child {
  border-right: 0;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.about-card::after {
  content: attr(data-number);
  position: absolute;
  right: 18px;
  bottom: -25px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.about-card:hover {
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(227, 111, 32, 0.12),
    rgba(255, 255, 255, 0.025)
  );
  border-color: rgba(227, 111, 32, 0.45);
  transform: translateY(-5px);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-card h3,
.about-card p {
  position: relative;
  z-index: 1;
}

.about-card h3 {
  max-width: 190px;
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-card p {
  max-width: 245px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* Если в HTML нет data-number, используем порядковые номера */
.about-card:nth-child(1)::after {
  content: "01";
}
.about-card:nth-child(2)::after {
  content: "02";
}
.about-card:nth-child(3)::after {
  content: "03";
}
.about-card:nth-child(4)::after {
  content: "04";
}

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

  .about-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-card:nth-child(2) {
    border-right: 0;
  }

  .about-card:nth-child(3),
  .about-card:nth-child(4) {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card,
  .about-card:nth-child(2),
  .about-card:nth-child(3) {
    min-height: 205px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-card:last-child {
    border-bottom: 0;
  }

  .about-card h3 {
    max-width: none;
  }
}
/* Убираем все цифры из раздела «О компании» */

.about-card::after {
  content: none !important;
  display: none !important;
}

.about-number {
  display: none !important;
}
/* ========================================
   ОБНОВЛЕНИЕ РАЗДЕЛА «ТЕХНОЛОГИИ»
   Индустриальный editorial-стиль
======================================== */

.technology {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 45%),
    var(--bg-soft);
}

.technology .section-heading {
  position: relative;
  margin-bottom: 52px;
}

.technology .section-heading::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 30px;
  background: var(--accent);
}

.technology-layout {
  position: relative;
  gap: 90px;
}

.technology-layout::before {
  content: "TECH";
  position: absolute;
  right: -25px;
  top: -85px;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
  pointer-events: none;
}

.technology-lead {
  position: relative;
  max-width: 570px;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
}

.technology-points {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.technology-point {
  position: relative;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 27px 18px 27px 0;
  transition:
    padding-left 0.3s ease,
    background 0.3s ease;
}

.technology-point::after {
  content: "↗";
  position: absolute;
  right: 8px;
  top: 50%;
  color: var(--accent);
  font-size: 20px;
  opacity: 0;
  transform: translateY(-50%) translateX(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.technology-point:hover {
  padding-left: 18px;
  background: rgba(227, 111, 32, 0.055);
}

.technology-point:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.technology-point > span {
  padding-top: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.technology-point p {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .technology-layout {
    gap: 42px;
  }

  .technology-layout::before {
    right: -15px;
    top: -35px;
    font-size: 100px;
  }

  .technology-lead {
    padding-left: 16px;
    font-size: 23px;
  }

  .technology-point {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .technology-point:hover {
    padding-left: 10px;
  }

  .technology-point::after {
    display: none;
  }
}
/* Убираем стрелки в разделе «Технологии» */
.technology-point::after {
  display: none !important;
}
/* Оранжевые черты под заголовками разделов */

/* Услуги */
.services .section-heading h2::after,

/* Фотографии / Работы */
.works .section-heading h2::after,

/* Контакты */
.contacts .section-heading h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 30px;
  background: var(--accent);
}

@media (max-width: 700px) {
  .services .section-heading h2::after,
  .works .section-heading h2::after,
  .contacts .section-heading h2::after {
    width: 64px;
    margin-top: 22px;
  }
}
/* Первый экран вместе со строкой регионов */

.hero {
  min-height: calc(100svh - 86px);
  height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hero-content {
  flex: 1;
}

.hero-bottom {
  margin-top: auto;
  flex-shrink: 0;
}

/* Не показывать начало следующего раздела */
.services {
  position: relative;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .hero {
    min-height: calc(100svh - 72px);
  }
}

/* На небольших экранах */
@media (max-width: 767px) {
  .hero {
    height: calc(100svh - 72px);
  }
}
/* Дополнительное расстояние перед разделом «Услуги» */

.services {
  margin-top: 120px !important;
}
.logo {
  display: flex;
  align-items: center;
  width: 300px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Улучшение читаемости текста Hero */
.hero-description {
  font-size: 18px !important;
  color: #d0d0cc !important;
  line-height: 1.6;
}
/* Размер подписи Hero */
.hero-label {
  font-size: 18px !important;
  color: var(--accent) !important;
  letter-spacing: 0.08em;
}
