:root {
  --yellow: #ffde47;
  --yellow-hover: #f5d12e;
  --orange: #fe7a16;
  --ink: #111111;
  --muted: #666666;
  --line: #e3e3e3;
  --bg: #ffffff;
  --bg-soft: #f1f1f1;
  --header-h: 4.75rem;
  --font: "Nunito Sans", sans-serif;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

button,
.btn,
.header-phone,
.js-copy-email {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

.btn:focus,
.btn:focus-visible,
.header-phone:focus,
.header-phone:focus-visible,
.js-copy-email:focus,
.js-copy-email:focus-visible,
.brand:focus,
.brand:focus-visible {
  outline: none;
}

/* —— Header (как 7900.by) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
  background: var(--yellow);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink);
}

.brand-logo-accent {
  color: var(--orange);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--orange);
}

.header-phone-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  background: var(--ink);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* —— Vacancy —— */
.vacancy {
  min-height: calc(100vh - var(--header-h));
  background: var(--bg);
  display: flex;
  align-items: center;
}

.vacancy-panel {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.25rem;
  display: grid;
  gap: 1.5rem 2rem;
  align-items: center;
  animation: rise 0.7s ease-out 0.1s both;
}

.vacancy-car {
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1;
}

.taxi-car {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  background: transparent;
  animation: fadeZoom 0.9s ease-out both;
}

.eyebrow {
  margin: 0 0 0.5rem;
  display: inline-block;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
}

.lead {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
}

.points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.points li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  transform: translateY(-50%);
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-outline:hover {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline.is-copied {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.js-copy-email.is-copied:not(.btn),
.footer-phone.is-copied {
  color: var(--yellow);
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.footer-brand p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-meta {
  color: #bdbdbd !important;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
}

.footer-logo {
  display: inline-block;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contacts a {
  color: #fff;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contacts a:hover,
.footer-phone:hover {
  color: var(--yellow);
}

.footer-phone {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-copy {
  margin: 0.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #bdbdbd;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeZoom {
  from {
    opacity: 0.4;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 900px) {
  .vacancy-panel {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 3rem 1.25rem;
  }

  .vacancy-car {
    order: 0;
    justify-content: flex-end;
  }

  .taxi-car {
    width: min(100%, 560px);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .footer-contacts {
    align-items: flex-end;
    text-align: right;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .header-phone {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taxi-car,
  .vacancy-panel {
    animation: none;
  }
}
