:root {
  --yellow: #f5b400;
  --yellow-dark: #d99a00;
  --ink: #121315;
  --ink-soft: #24272c;
  --muted: #68707d;
  --line: #e4e7ec;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(18, 19, 21, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(18, 19, 21, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 92px;
  height: 48px;
  overflow: hidden;
  background: transparent;
}

.logo {
  width: 70px;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
}

.menu a:hover,
.menu a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

.menu .nav-phone {
  background: var(--yellow);
  color: var(--ink);
  margin-left: 8px;
}

.menu .nav-phone:hover,
.menu .nav-phone:focus-visible {
  background: #ffd45a;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  place-items: center;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 10px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.menu-toggle span:nth-child(3) { transform: translateY(7px); }

.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 760px;
  padding: 162px 0 86px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("stagr_3_5.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 19, 21, 0.92) 0%, rgba(18, 19, 21, 0.72) 48%, rgba(18, 19, 21, 0.2) 100%),
    linear-gradient(180deg, rgba(18, 19, 21, 0.15), rgba(18, 19, 21, 0.78));
}

.hero-container {
  display: flex;
  align-items: end;
  min-height: 510px;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-header h2,
.machine-copy h2,
.contact-copy h2 {
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 16px 0 24px;
}

.text-accent {
  color: var(--yellow);
}

.hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffd45a;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--ink);
}

.trust-strip {
  background: var(--yellow);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(18, 19, 21, 0.18);
  font-weight: 900;
}

.trust-grid div:last-child {
  border-right: none;
}

.trust-grid span {
  color: rgba(18, 19, 21, 0.48);
}

.services,
.machine,
.contact {
  padding: 104px 0;
}

.services {
  background: var(--soft);
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header h2,
.machine-copy h2,
.contact-copy h2 {
  margin-top: 12px;
  font-size: 3.45rem;
}

.section-header p:not(.eyebrow),
.machine-copy p,
.contact-copy p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 280px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 180, 0, 0.55);
  box-shadow: 0 18px 36px rgba(18, 19, 21, 0.1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  margin-top: 14px;
}

.machine {
  background: var(--paper);
}

.machine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--yellow-dark);
}

.machine-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.machine-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-box {
  display: grid;
  gap: 12px;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.contact-line-strong {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.contact-line span {
  color: inherit;
  opacity: 0.68;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-line strong {
  font-size: 1.24rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer {
  background: #0b0c0d;
  color: rgba(255, 255, 255, 0.58);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--yellow);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 14px 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 19, 21, 0.18);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cookie-banner button {
  min-height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 16px;
}

@media (max-width: 980px) {
  .hero h1,
  .section-header h2,
  .machine-copy h2,
  .contact-copy h2 {
    font-size: 3.35rem;
  }

  .machine-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    min-height: 620px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav-container {
    min-height: 66px;
  }

  .logo-link {
    width: 80px;
    height: 42px;
  }

  .logo {
    width: 60px;
    height: auto;
  }

  .menu-toggle {
    display: grid;
  }

  .menu {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
    background: rgba(18, 19, 21, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .menu-open .menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu a {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    justify-content: space-between;
  }

  .menu .nav-phone {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    padding: 116px 0 32px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 19, 21, 0.86) 0%, rgba(18, 19, 21, 0.74) 50%, rgba(18, 19, 21, 0.9) 100%);
  }

  .hero-container {
    min-height: 650px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-header h2,
  .machine-copy h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 19, 21, 0.18);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .services,
  .machine,
  .contact {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .machine-grid,
  .contact-grid {
    gap: 30px;
  }

  .machine-photo img {
    aspect-ratio: 1 / 1;
  }

  .footer-inner,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 22px, 1140px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2,
  .machine-copy h2,
  .contact-copy h2 {
    font-size: 1.82rem;
  }

  .contact-line {
    padding: 18px;
  }
}
