:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --ink: #14171c;
  --muted: #626975;
  --line: #dde1e7;
  --dark: #111318;
  --yellow: #ffc400;
  --yellow-2: #e8ad00;
  --radius-lg: 20px;
  --shadow: 0 24px 60px rgba(15, 22, 32, .10);
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

button,
summary {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.photo-gallery:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(20, 23, 28, .08);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 78px;
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 5px;
  width: max-content;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  background: var(--yellow);
  color: #111;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
}

.brand-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.brand-tagline {
  grid-column: 1 / -1;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a,
.text-link {
  transition: color .2s ease, opacity .2s ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--yellow-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.phone-block a {
  font-weight: 700;
  white-space: nowrap;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: #111;
}

.btn-primary:hover {
  background: #ffd029;
}

.btn-outline {
  border-color: var(--yellow-2);
  background: #fff;
  color: #111;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 14px;
}

/* Price dropdown */

.price-dropdown {
  position: relative;
}

.price-dropdown summary {
  list-style: none;
  user-select: none;
}

.price-dropdown summary::-webkit-details-marker {
  display: none;
}

.price-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  width: 380px;
  max-height: calc(100vh - 110px);
  padding: 22px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(15, 22, 32, .18);
}

.price-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 32px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}

.price-dropdown-menu h3 {
  margin: 0 0 18px;
  font-size: 21px;
}

.price-category h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-category-excavator {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 2px solid var(--yellow);
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.price-item span {
  color: var(--muted);
}

.price-item strong {
  flex-shrink: 0;
  white-space: nowrap;
}

.price-shift {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}

.price-payment {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 196, 0, .35);
  border-radius: 10px;
  background: rgba(255, 196, 0, .14);
  font-size: 14px;
}

.price-payment > strong {
  display: block;
  margin-bottom: 12px;
}

.price-payment p {
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.price-payment-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 8px;
}

.price-payment-row strong {
  color: #9b7500;
}

/* Hero */

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #121417;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(10, 12, 15, .96) 0%,
    rgba(10, 12, 15, .78) 38%,
    rgba(10, 12, 15, .34) 67%,
    rgba(10, 12, 15, .72) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 70px;
  min-height: 640px;
  padding-block: 72px;
}

.hero-copy {
  max-width: 790px;
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #7e8794;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 10px;
  background: var(--yellow);
}

.section-kicker-dark {
  color: rgba(255, 255, 255, .70);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  display: block;
  color: var(--yellow);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

h3 {
  letter-spacing: -.02em;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-bottom: 34px;
}

.mini-feature {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}

.mini-feature b {
  font-size: 15px;
}

.mini-feature span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

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

.hero-stats {
  display: grid;
  gap: 12px;
}

.stat-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  background: rgba(13, 16, 20, .58);
  backdrop-filter: blur(12px);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 196, 0, .45);
  border-radius: 10px;
  color: var(--yellow);
}

.stat-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.05;
}

.stat-card p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

/* Sections */

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--surface);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 34px;
}

.text-link {
  font-weight: 700;
  white-space: nowrap;
}

.text-link-light {
  color: var(--yellow);
}

/* Fleet */

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

.machine-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 23, 28, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.machine-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(20, 23, 28, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
}

.machine-media {
  display: grid;
  place-items: center;
  height: 210px;
  padding: 26px;
  background: linear-gradient(180deg, #f5f7f9, #fff);
}

.machine-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-body {
  padding: 0 20px 22px;
}

.machine-body h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.price {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 14px;
}

.price strong {
  color: var(--ink);
  font-size: 18px;
}

.machine-body ul {
  display: grid;
  gap: 8px;
  min-height: 90px;
  padding: 0;
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  list-style: none;
}

/* Lower only the three JCB specification lines by one text line (15px × 1.6 = 24px). */
.machine-card:first-child .machine-body ul {
  margin-top: 24px;
}

.machine-body li::before {
  content: "•";
  margin-right: 8px;
  color: var(--yellow-2);
  font-weight: 900;
}

.machine-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* In the two-column fleet, pin both action rows to the same baseline.
   Reserve the original bottom space: 20px gap + 42px button + 22px inset.
   On mobile (one column), keep normal document flow. */
@media (min-width: 651px) {
  .machine-body {
    padding-bottom: 84px;
  }

  .machine-body ul {
    margin-bottom: 0;
  }

  .machine-actions {
    position: absolute;
    right: 20px;
    bottom: 22px;
    left: 20px;
  }
}

/* Projects */

.project-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: stretch;
  gap: 34px;
}

.project-copy {
  padding: 10px 10px 10px 0;
}

.project-copy p {
  margin: 22px 0;
  color: rgba(255, 255, 255, .62);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-gallery figure {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #242931;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.project-gallery figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 6;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(12, 14, 18, .66);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}


/* Фотогалереи техники */

.photo-gallery {
  position: relative;
}

.gallery-slides {
  position: absolute;
  inset: 0;
}

.gallery-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .35s ease,
    transform .35s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.photo-gallery:hover .gallery-slide.active {
  transform: scale(1.03);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 7;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;

  background: rgba(12, 14, 18, .65);
  color: #fff;

  font-size: 30px;
  line-height: 1;

  transform: translateY(-50%);

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease;
}

.gallery-arrow:hover {
  background: var(--yellow);
  color: #111;
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.photo-gallery figcaption {
  z-index: 8;
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 12px;
  background: rgba(255, 196, 0, .15);
  color: #b48600;
  font-weight: 900;
}

.benefit h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Phone request */

.phone-request {
  text-align: center;
}

.phone-request .section-kicker {
  justify-content: center;
}

.phone-request h2 {
  margin-bottom: 28px;
}

.phone-request-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.phone-request-numbers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.phone-request-numbers a:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}

/* Footer */

.site-footer {
  padding: 54px 0 24px;
  background: #0b0d10;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-grid p,
.footer-grid > div > span,
.footer-grid > div > a:not(.brand) {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-grid > div > a:not(.brand) {
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--yellow);
}


.footer-about {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.footer-about:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
}

/* Responsive */

@media (max-width: 1180px) {
  .header-actions .phone-block {
    display: none;
  }

  .main-nav {
    gap: 22px;
  }

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

  .hero-grid {
    grid-template-columns: 1fr 240px;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .main-nav a,
  .main-nav-about {
    padding: 13px 12px;
    border-radius: 9px;
  }

  .main-nav a:hover,
  .main-nav-about:hover {
    background: var(--surface);
  }

  .header-actions {
    position: absolute;
    right: 58px;
    display: flex;
  }

  .header-actions .phone-block {
    display: none;
  }

  .price-dropdown-menu {
    position: fixed;
    top: 90px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .price-dropdown-menu::before {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 720px;
    padding-block: 60px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-copy {
    max-width: 560px;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .brand-tagline {
    display: none;
  }

  .brand-mark {
    font-size: 19px;
  }

  .brand-name {
    font-size: 22px;
  }

  .header-actions {
    right: 52px;
  }

  .price-dropdown summary {
    min-height: 38px;
    padding-inline: 12px;
  }

  .price-item {
    flex-direction: column;
    gap: 3px;
  }

  .hero-grid {
    min-height: 690px;
    padding-block: 48px;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(10, 12, 15, .72),
      rgba(10, 12, 15, .94) 68%
    );
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    grid-template-columns: 34px 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .fleet-grid,
  .benefits-grid,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure {
    grid-column: auto;
    min-height: 230px;
  }

  .phone-request-numbers {
    flex-direction: column;
  }

  .phone-request-numbers a {
    width: 100%;
    font-size: 19px;
  }

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

@media (max-width: 440px) {
  h1 {
    font-size: 42px;
  }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fleet-grid,
  .benefits-grid {
    gap: 12px;
  }

  .price-dropdown summary {
    padding-inline: 10px;
    font-size: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Модальное окно "Подробно" */

.details-modal {
  position: fixed;
  inset: 0;
  z-index: 200;

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

  padding: 24px;
}

.details-modal.is-open {
  display: flex;
}

.details-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(10, 12, 15, .72);
  backdrop-filter: blur(5px);
}

.details-modal-window {
  position: relative;
  z-index: 1;

  width: min(900px, 100%);
  max-height: calc(100vh - 48px);

  overflow: hidden;

  border-radius: 18px;

  background: #fff;
  color: var(--ink);

  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);
}

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

  padding: 20px 24px;

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

.details-modal-header h2 {
  margin: 0;

  font-size: 24px;
  letter-spacing: -.02em;
}

.details-modal-close {
  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: var(--surface);

  color: var(--muted);

  font-size: 28px;
  line-height: 1;
}

.details-modal-close:hover {
  background: var(--yellow);
  color: #111;
}

.details-modal-content {
  max-height: calc(100vh - 130px);

  padding: 24px;

  overflow-y: auto;

  font-size: 16px;
  line-height: 1.6;
}

.details-modal-content p {
  margin-bottom: 14px;
  color: var(--muted);
}

.details-list {
  margin: 0 0 20px;
  padding-left: 22px;

  color: var(--muted);
}

.details-list li {
  margin-bottom: 5px;
}

.details-table {
  width: 100%;

  margin-top: 24px;

  border-collapse: collapse;

  font-size: 14px;
}

.details-table th,
.details-table td {
  padding: 10px 12px;

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

  text-align: left;
}

.details-table td:last-child {
  width: 150px;

  font-weight: 800;
}

.details-table-section th {
  background: var(--surface);

  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 650px) {
  .details-modal {
    padding: 10px;
  }

  .details-modal-window {
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .details-modal-header {
    padding: 16px;
  }

  .details-modal-header h2 {
    font-size: 20px;
  }

  .details-modal-content {
    max-height: calc(100vh - 90px);
    padding: 16px;
  }

  .details-table {
    font-size: 14px;
  }

  .details-table th,
  .details-table td {
    padding: 8px;
  }
}
/* Кнопка "О компании" в основном меню */

.main-nav-about {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;

  font: inherit;
  font-weight: inherit;

  cursor: pointer;

  transition: color .2s ease;
}

.main-nav-about:hover {
  color: var(--yellow-2);
}


.main-nav-about {
  text-align: left;
}


/* Окно с реквизитами компании */

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 300;

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

  padding: 24px;
}

.company-modal.is-open {
  display: flex;
}

.company-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(10, 12, 15, .72);

  backdrop-filter: blur(5px);
}

.company-modal-window {
  position: relative;
  z-index: 1;

  width: min(900px, 100%);
  max-height: calc(100vh - 48px);

  overflow: hidden;

  border-radius: 18px;

  background: #fff;
  color: var(--ink);

  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);
}

.company-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  padding: 22px 26px;

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

.company-modal-header .section-kicker {
  margin-bottom: 7px;
}

.company-modal-header h2 {
  margin: 0;

  font-size: 30px;
}

.company-modal-close {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: var(--surface);
  color: var(--muted);

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}

.company-modal-close:hover {
  background: var(--yellow);
  color: #111;
}

.company-modal-content {
  max-height: calc(100vh - 155px);

  padding: 24px 26px 30px;

  overflow-y: auto;
}

.company-details {
  margin: 0;
}

.company-details > div {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 28px;

  padding: 13px 0;

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

.company-details > div:last-child {
  border-bottom: 0;
}

.company-details dt {
  color: var(--muted);

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

.company-details dd {
  margin: 0;

  color: var(--ink);

  font-size: 15px;
  font-weight: 500;
}

.company-details a {
  color: inherit;
}

.company-details a:hover {
  color: var(--yellow-2);
}




@media (max-width: 650px) {
  .company-modal {
    padding: 10px;
  }

  .company-modal-window {
    max-height: calc(100vh - 20px);

    border-radius: 14px;
  }

  .company-modal-header {
    padding: 16px;
  }

  .company-modal-header h2 {
    font-size: 24px;
  }

  .company-modal-content {
    max-height: calc(100vh - 110px);

    padding: 12px 16px 20px;
  }

  .company-details > div {
    grid-template-columns: 1fr;
    gap: 4px;

    padding: 12px 0;
  }

  .company-details dt {
    font-size: 14px;
  }

  .company-details dd {
    font-size: 15px;
  }
}