:root {
  --yellow: #fbbf1c;
  --black: #000000;
  --white: #ffffff;
  --ink: #141414;
  --muted: #6f6f6f;
  --line: #e8e2d4;
  --soft: #f6f1e7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(251, 191, 28, 0.38);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 48px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand__text strong {
  font-size: 1.22rem;
  letter-spacing: 0;
  line-height: 1;
}

.brand__text strong span {
  color: var(--yellow);
}

.brand__text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.top-nav a,
.header-phone {
  transition: color 180ms ease;
}

.top-nav a:hover,
.header-phone:hover {
  color: var(--yellow);
}

.header-phone {
  color: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

.section-dark,
.section-light {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 54px);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-light {
  color: var(--black);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 191, 28, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(251, 191, 28, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: top right;
  mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.9) 42%, transparent 100%);
}

.hero__content,
.hero__photo,
.section-heading,
.trust-grid,
.services-grid,
.services-footnote,
.fleet,
.photo-grid,
.contacts {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.68;
}

.section-dark .eyebrow {
  color: var(--yellow);
  opacity: 1;
}

.hero__address {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.hero__address::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.hero__address:hover::after,
.hero__address:focus-visible::after {
  transform: scaleX(1);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5.55vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.65vw, 1.38rem);
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button[data-tip]::before {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  padding: 9px 12px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(251, 191, 28, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  content: attr(data-tip);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.button[data-tip]::after {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  z-index: 5;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--white);
  border-right: 1px solid rgba(251, 191, 28, 0.65);
  border-bottom: 1px solid rgba(251, 191, 28, 0.65);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) rotate(45deg) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.button[data-tip]:hover::before,
.button[data-tip]:hover::after,
.button[data-tip]:focus-visible::before,
.button[data-tip]:focus-visible::after {
  opacity: 1;
}

.button[data-tip]:hover::before,
.button[data-tip]:focus-visible::before {
  transform: translate(-50%, 0) scale(1);
}

.button[data-tip]:hover::after,
.button[data-tip]:focus-visible::after {
  transform: translate(-50%, 0) rotate(45deg) scale(1);
}

.button-primary {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.button-outline:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.button-dark {
  color: var(--black);
  background: transparent;
  border-color: var(--black);
}

.button-dark:hover {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.hero__photo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-self: stretch;
  min-height: clamp(330px, 44vw, 560px);
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251, 191, 28, 0.18), transparent 56%),
    repeating-linear-gradient(45deg, #101010 0 16px, #171717 16px 32px);
  border: 1px solid rgba(251, 191, 28, 0.36);
}

.hero__photo::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 86px;
  height: 98px;
  content: "";
  background: url("LOGO%20YELLOW.svg") center / contain no-repeat;
  opacity: 0.34;
}

.hero__photo span {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.section-heading {
  margin-bottom: clamp(30px, 5vw, 56px);
}

.section-heading h2,
.fleet h2,
.contacts h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--black);
  border-left: 2px solid var(--black);
}

.trust-grid article {
  min-height: 240px;
  padding: 24px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.trust-grid span {
  display: inline-block;
  margin-bottom: 48px;
  padding-bottom: 4px;
  border-bottom: 4px solid var(--yellow);
  font-weight: 900;
}

.trust-grid h3,
.services-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.12;
  text-transform: none;
}

.trust-grid p,
.services-grid p,
.fleet p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(251, 191, 28, 0.34);
  border: 1px solid rgba(251, 191, 28, 0.34);
}

.services-grid article {
  min-height: 220px;
  padding: 24px;
  background: #080808;
}

.services-grid p {
  color: rgba(255, 255, 255, 0.66);
}

.services-footnote {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

.fleet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.fleet__copy p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 24px;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
}

.fleet__panel {
  display: grid;
  border: 2px solid var(--black);
}

.fleet__panel div {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.fleet__panel div + div {
  border-top: 2px solid var(--black);
}

.fleet__panel span,
dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.fleet__panel a {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 900;
  word-break: break-word;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.photo-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251, 191, 28, 0.18), transparent 50%),
    repeating-linear-gradient(45deg, #101010 0 14px, #171717 14px 28px);
  border: 1px solid rgba(251, 191, 28, 0.32);
}

.photo-placeholder::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 74px;
  height: 84px;
  content: "";
  background: url("LOGO%20YELLOW.svg") center / contain no-repeat;
  opacity: 0.42;
}

.photo-placeholder:first-child {
  min-height: 460px;
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 240px;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
}

dl {
  display: grid;
  gap: 1px;
  margin: 28px 0 30px;
  background: var(--black);
  border: 2px solid var(--black);
}

dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--white);
}

dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

dd a {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.map-card {
  display: grid;
  min-height: 520px;
  background: var(--black);
  border: 2px solid var(--black);
}

.map-card iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

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

.map-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 900;
  text-transform: none;
}

.map-actions a + a {
  border-left: 2px solid var(--black);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid rgba(251, 191, 28, 0.34);
}

.mobile-cta {
  display: none;
}

.telegram-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: min(360px, calc(100vw - 36px));
  padding: 16px 18px;
  color: var(--black);
  background: var(--yellow);
  border: 2px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  font-weight: 900;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.telegram-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .hero,
  .fleet,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero__photo {
    min-height: 300px;
  }

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

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

  .photo-placeholder,
  .photo-placeholder:first-child {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    position: relative;
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand__mark {
    width: 34px;
    height: 40px;
  }

  .brand__text strong {
    font-size: 1rem;
  }

  .brand__text small {
    font-size: 0.68rem;
  }

  .header-phone {
    display: none;
  }

  .section-dark,
  .section-light {
    padding: 52px 16px;
  }

  h1 {
    font-size: clamp(2.08rem, 11.2vw, 3.85rem);
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero__actions .button {
    flex: 1 1 calc(50% - 10px);
  }

  .button {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .section-heading h2,
  .fleet h2,
  .contacts h2 {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .trust-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article,
  .services-grid article {
    min-height: auto;
    padding: 20px;
  }

  .trust-grid span {
    margin-bottom: 28px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-actions {
    display: none;
  }

  .map-card {
    min-height: 390px;
  }

  .map-card iframe {
    min-height: 330px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 30px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 62px;
    background: var(--black);
    border-top: 2px solid var(--yellow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta a,
  .mobile-cta button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 4px;
    color: var(--white);
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
  }

  .mobile-cta a:first-child {
    color: var(--black);
    background: var(--yellow);
  }

  .telegram-toast {
    right: 12px;
    bottom: 78px;
    max-width: calc(100vw - 24px);
  }
}
