/* =============================================
   AKKIN TRADE — site styles (2026 redesign)
============================================= */
:root {
  --bg:        #070707;
  --bg-2:      #0d0c0a;
  --ink:       #f3efe6;
  --muted:     #a39e94;
  --line:      rgba(233, 200, 115, 0.18);
  --gold-1:    #8c6a2a;
  --gold-2:    #e9c873;
  --gold-3:    #fff1c4;
  --gold-4:    #d9ad4f;
  --gold:      linear-gradient(100deg, var(--gold-1) 0%, var(--gold-2) 32%, var(--gold-3) 48%, var(--gold-4) 64%, var(--gold-1) 100%);
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --nav-h:     84px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}

.gold-text {
  background: var(--gold);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-flow 8s linear infinite;
}

@keyframes gold-flow {
  from { background-position: 0% 0; }
  to   { background-position: -200% 0; }
}

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-eagle { height: 34px; width: auto; display: block; }
.brand-word  { height: 15px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

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

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-phone {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-gold {
  color: #140f04;
  background: linear-gradient(100deg, #b8892e 0%, #ecc96f 38%, #fff0bf 50%, #ddb050 62%, #a87a26 100%);
  box-shadow: 0 10px 30px -10px rgba(233, 200, 115, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btn-shine 5s var(--ease) 2.5s infinite;
  z-index: -1;
}

@keyframes btn-shine {
  0%   { transform: translateX(-120%); }
  25%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(233, 200, 115, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }

.btn-glass {
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(233, 200, 115, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-glass svg { color: var(--gold-2); }
.btn-glass:hover { background: rgba(233, 200, 115, .1); transform: translateY(-2px); }

.btn-sm { padding: 12px 22px; font-size: .72rem; }

/* ---------- hero (shared) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero-countries {
  margin-top: 22px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* line break only on wide screens */
.br-d { display: none; }

@media (min-width: 901px) {
  .br-d { display: inline; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1s var(--ease) forwards;
}

@keyframes reveal { to { opacity: 1; transform: none; } }

.d1 { animation-delay: .15s; }
.d2 { animation-delay: .3s; }
.d3 { animation-delay: .45s; }
.d4 { animation-delay: .6s; }

/* stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stat {
  padding: 26px 24px;
  text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat-num {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- section: directions ---------- */
.section { padding: 120px 0; position: relative; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

.section-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 34px 32px;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(233, 200, 115, .7), transparent 40%, transparent 60%, rgba(233, 200, 115, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .35;
  transition: opacity .5s;
}

.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-head);
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--gold-2);
}

.card h3 {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.card-more {
  margin-top: 22px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* grain overlay for depth */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

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

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  :root { --nav-h: 68px; }
  .brand-eagle { height: 28px; }
  .brand-word { height: 12px; }
  .nav-phone, .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: 11px; }
  .hero-actions .btn { width: 100%; }
  .hero-countries { letter-spacing: .16em; line-height: 1.9; }
  .stat { padding: 18px 10px; }
}

/* =============================================
   VARIANT B — video background, centered text
============================================= */
.hero-b { text-align: center; }

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video { opacity: 0; transition: opacity 1.4s ease; }
.hero-media video.is-playing { opacity: 1; }

/* darker spot under the centered text, lighter edges so the cars stay visible */
.hero-b::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 64% 50% at 50% 50%, rgba(7, 7, 7, .86) 0%, rgba(7, 7, 7, .68) 55%, rgba(7, 7, 7, .34) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 7, 0) 30%),
    linear-gradient(180deg, rgba(7, 7, 7, .75) 0%, rgba(7, 7, 7, 0) 24%);
}

.hero-b .hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 48px;
}

.hero-b .hero-actions { justify-content: center; }
.hero-b .stats { position: relative; z-index: 2; }


@media (max-width: 900px) {
  .hero-b::before {
    background:
      linear-gradient(0deg, rgba(7, 7, 7, .97) 0%, rgba(7, 7, 7, .8) 40%, rgba(7, 7, 7, .62) 65%, rgba(7, 7, 7, .8) 100%);
  }
}

/* =============================================
   SITE SECTIONS
============================================= */
.section-head .gold-dash {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  box-shadow: 0 0 12px rgba(233, 200, 115, .6);
}

.section-sub {
  margin: 18px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(233, 200, 115, .06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
}

/* in-view reveal for sections below the fold */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* directions: four cards */
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card-muted h3 { color: var(--ink); }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: start;
}

.services.services-list { grid-template-columns: 1fr; gap: 16px; }

.services-list .service {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 28px;
}

.services-list .service-icon { width: 40px; height: 40px; margin: 2px 0 0; }
.services-list .service h3 { margin-bottom: 8px; }

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--ink); font-weight: 600; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card { padding: 30px 26px; }

.about-card .stat-num { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.about-card .stat-label { margin-top: 10px; }
.about-card p { margin-top: 6px; color: var(--muted); font-size: .88rem; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service { padding: 36px 32px; }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-2);
  margin-bottom: 26px;
}

.service h3,
.machine h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.service p { color: var(--muted); line-height: 1.75; font-size: .96rem; }

/* cars */
.cars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.car {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}

.car:hover { transform: translateY(-6px); border-color: rgba(233, 200, 115, .35); }

.car-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

.car:hover .car-photo img { transform: scale(1.06); }

.car-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, .65), transparent 55%);
}

.car-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.car-name { font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; }

.car-price { margin: 8px 0 22px; font-size: 1.05rem; font-weight: 700; }

.car .btn { margin-top: auto; width: 100%; }

/* special machinery */
.machinery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.machinery-text p { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.machinery-text p + p { margin-top: 16px; }
.machinery-text strong { color: var(--ink); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(233, 200, 115, .22);
  background: rgba(255, 255, 255, .03);
  font-size: .9rem;
  color: var(--ink);
}

.machinery-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 200, 115, .5), transparent);
}

.step { position: relative; text-align: center; padding: 0 10px; }

.step-num {
  width: 70px;
  height: 70px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--gold-2);
  background: var(--bg);
  border: 1px solid rgba(233, 200, 115, .5);
  box-shadow: 0 0 24px -6px rgba(233, 200, 115, .5);
}

.section-alt .step-num { background: var(--bg-2); }

.step h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.08rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .94rem; line-height: 1.7; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq-item:first-child { border-top: 1px solid rgba(255, 255, 255, .08); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .3s;
}

.faq-q:hover,
.faq-item.open .faq-q { color: var(--gold-2); }

.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(233, 200, 115, .35);
  transition: transform .4s var(--ease), background .3s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(233, 200, 115, .1); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a > div { overflow: hidden; }

.faq-a p {
  padding-bottom: 26px;
  color: var(--muted);
  line-height: 1.8;
}

.faq-a a { color: var(--gold-2); }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}

.contact-cta .section-title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.contact-cta > p { margin-top: 16px; color: var(--muted); line-height: 1.75; }

.contact-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact-buttons .btn { width: 100%; }

.contact-info {
  list-style: none;
  margin-top: auto;
  padding-top: 36px;
  display: grid;
  gap: 14px;
}

.contact-info li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.contact-info b { min-width: 120px; color: var(--ink); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

.contact-eagle {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 360px;
  opacity: .07;
  pointer-events: none;
}

.form-card { padding: 44px 40px; }

.form-card h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .35);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field textarea:focus { border-color: rgba(233, 200, 115, .6); box-shadow: 0 0 0 4px rgba(233, 200, 115, .1); }

.field input.error,
.field textarea.error { border-color: #d9534f; }

.field-error { display: none; margin-top: 6px; font-size: .82rem; color: #e57373; }

.form-card .btn { width: 100%; margin-top: 6px; border: none; cursor: pointer; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(233, 200, 115, .1);
  border: 1px solid rgba(233, 200, 115, .35);
  color: var(--ink);
  font-size: .95rem;
}

.form-note { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--muted); }

/* footer */
.footer {
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p { margin-top: 20px; color: var(--muted); font-size: .92rem; line-height: 1.75; max-width: 320px; }

.footer h4 {
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .3s; }
.footer ul a:hover { color: var(--ink); }

.socials { display: flex; gap: 10px; margin-top: 22px; }

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 200, 115, .25);
  color: var(--gold-2);
  transition: background .3s, transform .3s;
}

.social:hover { background: rgba(233, 200, 115, .1); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #6f6a62;
}

.footer-bottom a { color: inherit; }

/* mobile menu */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .35s;
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: rgba(7, 7, 7, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}

/* sticky contact bar on phones */
.contact-bar { display: none; }

@media (max-width: 1100px) {
  .burger { display: block; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid,
  .machinery-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }

  .contact-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 7, 7, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 12px;
    border: 1px solid rgba(233, 200, 115, .25);
    color: var(--ink);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
  }

  .contact-bar svg { width: 20px; height: 20px; color: var(--gold-2); }
  .contact-bar a.main { background: linear-gradient(100deg, #b8892e, #ecc96f 45%, #ddb050 70%, #a87a26); border-color: transparent; color: #140f04; }
  .contact-bar a.main svg { color: #140f04; }

  body { padding-bottom: 78px; }
}

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

  /* cars become a swipeable row on phones */
  .cars {
    display: flex;
    gap: 14px;
    margin: 0 -20px;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cars::-webkit-scrollbar { display: none; }
  .cars .car { flex: 0 0 82%; scroll-snap-align: center; }
  .steps { grid-template-columns: 1fr; }
  .contact-cta,
  .form-card { padding: 34px 22px; }
  .contact-info li { flex-direction: column; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

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

/* =============================================
   DIRECTION PAGES
============================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--nav-h) + 28px);
  background:
    radial-gradient(ellipse 55% 60% at 50% 30%, rgba(233, 200, 115, .13), transparent 70%),
    radial-gradient(ellipse 120% 60% at 50% 120%, rgba(140, 106, 42, .2), transparent 60%),
    var(--bg);
}

.page-hero > * { position: relative; z-index: 2; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: .8rem;
  color: var(--muted);
}

.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--gold-2); }

.page-hero-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 0 84px;
  text-align: center;
}

.page-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.page-lead {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}

.page-hero .hero-actions { justify-content: center; }

.page-hint { margin-top: 18px; font-size: .82rem; color: #7d786f; }

.stat-num { overflow-wrap: anywhere; }

/* checklist with gold ticks */
.narrow { max-width: 720px; margin: 0 auto; }

.checklist { list-style: none; display: grid; gap: 14px; }

.checklist li {
  position: relative;
  padding: 18px 22px 18px 62px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid rgba(255, 255, 255, .07);
  color: var(--muted);
  line-height: 1.6;
}

.checklist li strong { color: var(--ink); font-weight: 600; }

.checklist li::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 19px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(233, 200, 115, .6);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9c873' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* two columns: text + note */
.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.prose p { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }

.note { padding: 30px 32px; border-left: 2px solid var(--gold-2); }
.note h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.1rem; margin-bottom: 12px; }
.note p { color: var(--muted); line-height: 1.75; }

/* duration badge */
.dur {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(233, 200, 115, .4);
  color: var(--gold-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.step .dur { margin-top: 12px; }

.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }

/* machinery types */
.types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.type { padding: 26px 26px 24px; }
.type h3 { font-family: var(--font-head); font-weight: 400; font-size: 1rem; line-height: 1.35; margin-bottom: 8px; }
.type p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* steps with any count */
.steps { grid-template-columns: repeat(var(--n, 4), 1fr); }
.steps::before { left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); }

/* call-to-action band */
.cta-band {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 48px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(233, 200, 115, .25);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(233, 200, 115, .16), transparent 70%),
    linear-gradient(180deg, #15130f, #0b0a08);
}

.cta-band p { max-width: 620px; margin: 18px auto 0; color: var(--muted); line-height: 1.75; }
.cta-band .center-actions { margin-top: 34px; }

.cta-eagle {
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 520px;
  transform: translateX(-50%);
  opacity: .05;
  pointer-events: none;
}

@media (max-width: 900px) {
  .prose-grid { grid-template-columns: 1fr; gap: 32px; }
  .types { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .page-hero-body { padding: 48px 0 60px; }
}

@media (max-width: 600px) {
  .types { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 22px; border-radius: 22px; }
  .checklist li { padding: 16px 18px 16px 56px; }
  .checklist li::before { left: 18px; top: 17px; }
}

/* direction hero with a video background */
.page-hero > .hero-media { position: absolute; inset: 0; z-index: 0; }

.page-hero.has-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 62% 55% at 50% 48%, rgba(7, 7, 7, .86) 0%, rgba(7, 7, 7, .66) 55%, rgba(7, 7, 7, .38) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 7, 0) 30%),
    linear-gradient(180deg, rgba(7, 7, 7, .8) 0%, rgba(7, 7, 7, 0) 26%);
}

@media (max-width: 900px) {
  .page-hero.has-media::before {
    background: linear-gradient(0deg, rgba(7, 7, 7, .97) 0%, rgba(7, 7, 7, .8) 40%, rgba(7, 7, 7, .66) 65%, rgba(7, 7, 7, .82) 100%);
  }
}

/* delivery options: titles of equal height, duration badges on one line */
#delivery .service { display: flex; flex-direction: column; }
#delivery .service p { margin-bottom: 22px; }
#delivery .service .dur { margin-top: auto; align-self: flex-start; }

@media (min-width: 901px) {
  #delivery .service h3 { min-height: 2.6em; }
}

/* header: two phones; the header CTA shows up after the first screen */
.nav-phones { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.nav-phones .nav-phone { font-size: .84rem; line-height: 1.3; }

.nav-write {
  max-width: 200px;
  white-space: nowrap;
  transition: max-width .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease), opacity .3s, visibility .3s;
}

/* hidden: takes no space, so the phones sit at the right edge */
.nav:not(.show-cta) .nav-write {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: -22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

@media (max-width: 900px) {
  .nav-write { display: none; } /* the sticky contact bar has Telegram */
}

/* Telegram channel banner */
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 30px 34px;
}

.channel h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.15rem; line-height: 1.35; }
.channel p { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.channel .btn { flex: none; }

@media (max-width: 700px) {
  .channel { flex-direction: column; align-items: stretch; text-align: center; padding: 28px 22px; }
}

/* secondary link to the Telegram channel under the hero button */
.hero-channel { margin-top: 18px; font-size: .95rem; }

.hero-channel a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 200, 115, .35);
  padding-bottom: 2px;
  transition: border-color .3s, color .3s;
}

.hero-channel a:hover { color: var(--gold-3); border-color: var(--gold-2); }

/* machinery catalog cards (reuse the car card) */
.tech-card { text-decoration: none; color: inherit; }
.tech-models { margin: 6px 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.tech-spec { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.tech-card .card-more { margin-top: auto; padding-top: 16px; }

/* daylight photo in the hero: darker and calmer than the video heroes */
.page-hero.has-photo .hero-media img { filter: saturate(.8); }

.page-hero.has-photo::before {
  background:
    radial-gradient(ellipse 65% 60% at 50% 48%, rgba(7, 7, 7, .9) 0%, rgba(7, 7, 7, .78) 60%, rgba(7, 7, 7, .66) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 7, 0) 32%),
    linear-gradient(180deg, rgba(7, 7, 7, .85) 0%, rgba(7, 7, 7, 0) 28%);
}

@media (max-width: 900px) {
  .page-hero.has-photo::before {
    background: linear-gradient(0deg, rgba(7, 7, 7, .97) 0%, rgba(7, 7, 7, .84) 40%, rgba(7, 7, 7, .76) 70%, rgba(7, 7, 7, .88) 100%);
  }
}

/* keep the raised bucket (top-left of the photo) in frame on wide screens */
@media (min-width: 901px) {
  .page-hero.has-photo .hero-media img { object-position: 50% 22%; }
}

/* homepage machinery block: photo tiles instead of chips */
#spetstekhnika .machinery-grid { align-items: center; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9);
  transition: transform 1.2s var(--ease);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, .85) 0%, rgba(7, 7, 7, .15) 55%, transparent 100%);
}

.tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-head);
  font-size: .98rem;
  line-height: 1.25;
  color: var(--ink);
}

.tile:hover img { transform: scale(1.06); }
.tile:hover { border-color: rgba(233, 200, 115, .4); }

.tiles-more {
  display: inline-block;
  margin-top: 18px;
  font-size: .9rem;
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 200, 115, .35);
}

@media (max-width: 600px) {
  .tile span { left: 12px; right: 12px; bottom: 10px; font-size: .82rem; }
}
