:root {
  --brand: #ff6200;
  --brand-soft: #ff8c00;
  --dark: #070a0f;
  --panel: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.64);
  --radius: 8px;
}

/* Base layout */
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: Inter, Satoshi, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #070a0f 0%, #0b111d 42%, #070a0f 100%),
    #070a0f;
}

main,
header,
footer,
section {
  max-width: 100%;
}

body::selection {
  color: #fff;
  background: var(--brand);
}

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

input,
textarea,
button {
  font: inherit;
}

button,
input,
textarea {
  color: inherit;
}

.industrial-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 86%);
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

/* Hero responsive guards */
.hero-copy {
  min-width: 0;
}

.hero-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero-actions a {
  width: 100%;
}

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

.hero-badges span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) clamp(16px, 4vw, 32px);
}

.section-heading {
  max-width: 820px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-lead {
  margin-top: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.premium-card,
.timeline-card,
.request-form,
.faq-item,
.contact-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

/* Content cards */
.premium-card {
  min-height: 238px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.premium-card h3,
.timeline-card h3 {
  margin-top: 20px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}

.premium-card p,
.timeline-card p,
.case-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 140, 0, 0.28);
  border-radius: var(--radius);
  color: var(--brand-soft);
  background: rgba(255, 98, 0, 0.12);
  font-weight: 950;
}

.timeline-card {
  position: relative;
  min-height: 244px;
  padding: 24px;
  overflow: hidden;
}

.timeline-card::after {
  position: absolute;
  right: 20px;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.04);
  content: attr(data-step);
  font-size: 140px;
  font-weight: 950;
}

.timeline-card span {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  font-weight: 950;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 0, 0.42);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.045);
}

.category-card div {
  padding: 18px;
}

.category-card h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 950;
}

.category-card p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.category-card a {
  display: inline-flex;
  margin: 0 18px 18px;
  color: var(--brand-soft);
  font-weight: 950;
  transition: color 0.2s ease;
}

.category-card a:hover {
  color: #fff;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 0, 0.42);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card span {
  display: inline-flex;
  margin: 16px 16px 8px;
  border-radius: var(--radius);
  background: rgba(255, 98, 0, 0.12);
  padding: 7px 9px;
  color: var(--brand-soft);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 0 16px;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.2;
}

.case-card p {
  margin: 10px 16px 18px;
  font-size: 14px;
}

.brand-chip {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 950;
  backdrop-filter: blur(18px);
}

.carrier-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding-top: 6px;
}

/* Transport company logo cards */
.carrier {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.carrier img {
  display: block;
  width: min(250px, 96%);
  max-height: 96px;
  object-fit: contain;
}

.carrier-baikal img {
  width: min(264px, 96%);
  max-height: 78px;
}

.carrier-major img {
  width: min(248px, 96%);
  max-height: 82px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px;
  color: #fff;
  font-weight: 950;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.contact-tile {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 14px 16px;
  color: #fff;
  font-weight: 950;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.42);
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.choice-grid {
  display: grid;
  gap: 10px;
  border: 0;
  padding: 0;
}

.choice-grid legend {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 950;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: grid;
  min-height: 52px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.choice-grid input:checked + span {
  border-color: rgba(255, 140, 0, 0.62);
  background: rgba(255, 98, 0, 0.16);
  color: #fff;
}

.field-label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
}

.field-label input,
.field-label textarea,
.request-form input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.62);
  padding: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field-label input::placeholder,
.field-label textarea::placeholder,
.request-form input[type="tel"]::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field-label input:focus,
.field-label textarea:focus,
.request-form input[type="tel"]:focus {
  border-color: rgba(255, 140, 0, 0.7);
  background: rgba(3, 7, 18, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.16);
}

.field-label textarea {
  resize: vertical;
}

.field-label input[type="file"] {
  padding: 11px;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 8px;
  max-width: 100vw;
}

/* Mobile quick actions */
.sticky-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.84);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.sticky-contact a:hover {
  transform: translateY(-1px);
  background: var(--brand);
}

.form-note {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  max-width: min(500px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  padding: 14px 16px;
  color: #fff;
  font-weight: 900;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.form-note.is-error {
  background: #b42318;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (min-width: 640px) {
  .hero-actions a {
    width: auto;
  }

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

@media (min-width: 768px) {
  .carrier-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .carrier-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.98;
  }

  .sticky-contact {
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(7, 10, 15, 0.96);
  }

  .sticky-contact a {
    min-height: 58px;
    border-radius: 0;
    box-shadow: none;
  }

  .form-note {
    bottom: 72px;
  }

  .carrier {
    min-height: 104px;
  }
}

@media (max-width: 767px) {
  .header-cta {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
