/* ============================================================
   Common styles — shared across all pages
   ============================================================ */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-topbar);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Container ---------- */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
}

.section-title {
  font-size: 46px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--dur) var(--ease);
}

.header-strip {
  height: var(--header-strip);
  background: var(--c-topbar);
}

.header-main {
  display: flex;
  align-items: center;
  height: calc(var(--header-height) - var(--header-strip));
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-icon {
  width: 71px;
  height: 71px;
  object-fit: contain;
}

.logo-text {
  width: 231px;
  height: 29px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  font-size: 19px;
  color: var(--c-black);
  white-space: nowrap;
  position: relative;
  transition: color var(--dur) var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--c-topbar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 127px;
  height: 42px;
  padding: 0 20px;
  background: var(--grad-cta);
  border-radius: 5px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-black);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 199;
}
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--c-white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  height: var(--header-strip);
  background: var(--topbar-color, var(--c-topbar));
  flex-shrink: 0;
}

.mobile-menu nav {
  padding: 16px 0;
  flex: 1;
}

.mobile-menu nav a {
  display: block;
  padding: 16px 24px;
  font-size: 19px;
  border-bottom: 1px solid var(--c-border);
}

.mobile-menu .mobile-cta {
  margin: 20px 24px 32px;
  text-align: center;
}

/* ============================================================
   Page hero (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 500px;
  background: var(--c-bg);
  overflow: hidden;
}

.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero h1 {
  position: relative;
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 60px;
  z-index: 1;
}

.page-hero--487 {
  height: 487px;
}

.page-hero--500 {
  height: 500px;
}

.page-hero--512 {
  height: 512px;
}

/* Warehouse page hero: light-blue hero image + top-left blue/black title */
.wh-hero {
  align-items: flex-start;
  justify-content: flex-start;
}

.wh-hero img.bg {
  object-fit: contain;
}

.wh-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1544px;
  margin: 0 auto;
  padding: 80px 16px 0;
  text-align: left;
}

.wh-hero h1 {
  padding-bottom: 0;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  color: var(--c-black);
}

.wh-hero h1 .wh-hero-blue {
  color: var(--c-topbar);
  font-weight: 700;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-weight: 700;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn-dark {
  background: var(--c-btn-dark);
  color: #fff;
  height: 64px;
  min-width: 296px;
  font-size: 18px;
}

.btn-blue {
  background: var(--c-blue);
  color: #fff;
  height: 36px;
  min-width: 250px;
  font-size: 16px;
  border-radius: 0;
}

.btn-blue--sm {
  height: 40px;
  min-width: 176px;
}

.btn-dark--submit {
  height: 59px;
  min-width: 274px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--c-topbar);
  border-radius: 30px;
  font-size: 18px;
  color: var(--c-topbar);
  font-weight: 700;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn-ghost:hover {
  background: var(--c-topbar);
  color: #fff;
}

/* ============================================================
   Subpages — warehouse & logistics
   ============================================================ */
.wh-section {
  background: var(--c-white);
  padding: 60px 24px;
}

.wh-warehouse {
  padding: 44px 24px 28px;
}

.wh-logistics {
  padding: 81px 24px 18px;
  margin-top: 40px;
}

.wh-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.wh-warehouse .wh-head {
  margin-bottom: 11px;
}

.wh-logistics .wh-head {
  margin-bottom: 33px;
}

.wh-head img.logo-sm {
  height: 29px;
  width: auto;
}

.wh-cube {
  position: relative;
  display: inline-flex;
}

.wh-cube img.cube {
  width: 89px;
  height: 100px;
  object-fit: contain;
}

.wh-cube h2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  font-weight: 400;
  color: var(--c-white);
  line-height: 1;
}

.wh-photos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.wh-photos img {
  width: 600px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

.wh-zigzag {
  position: relative;
  width: 1046px;
  max-width: 100%;
  height: 1098px;
  margin: 0 auto;
}

.zig-item {
  position: absolute;
  width: 320px;
  max-width: 100%;
}

.zig-item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

.zig-item--1 { left: 362px; top: 17px; }
.zig-item--2 { left: 0; top: 189px; }
.zig-item--3 { left: 726px; top: 189px; }
.zig-item--4 { left: 362px; top: 397px; }
.zig-item--5 { left: 0; top: 598px; }
.zig-item--6 { left: 726px; top: 605px; }
.zig-item--7 { left: 362px; top: 778px; }

/* ============================================================
   Import process
   ============================================================ */
.process-section {
  background: var(--c-white);
  padding: 60px 24px 40px;
}

.process-section h2 {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.process-steps-img {
  width: 980px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ============================================================
   Forms
   ============================================================ */
.form-section {
  padding: 40px;
}

.form-section--gray {
  background: var(--c-form-section);
}

.form-section--large {
  padding: 107px 40px 55px;
}

.form-heading {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 44px;
  max-width: 900px;
  line-height: 1.4;
}

.contact-form {
  max-width: 818px;
  margin: 0 auto;
}

.contact-form--wide {
  max-width: 1067px;
}

/* Title block inside the form (questions / pricequery) */
.contact-form .form-title {
  margin-bottom: 60px;
}

.contact-form .form-title h1,
.contact-form .form-title h4 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.contact-form .form-title h4 {
  font-size: 40px;
  color: #324158;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
}

/* questions: wide inset */
.contact-form--wide > .form-grid {
  padding: 0 39px 0 78px;
}
.contact-form--wide > .form-title {
  padding-left: 91px;
}

/* pricequery: narrow inset */
.contact-form--inset {
  max-width: 980px;
}
.contact-form--inset > .form-grid {
  padding: 0 72px 0 23px;
}
.contact-form--inset > .form-title {
  padding-left: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 9px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--c-black);
  background: transparent;
  border-radius: 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--c-black);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-field input {
  height: 60px;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #595959;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-topbar);
  box-shadow: 0 0 0 3px rgba(0, 58, 150, 0.12);
}

.form-field--full {
  grid-column: 1 / -1;
}

/* Pill variant (questions / pricequery) */
.contact-form--pill .form-field input,
.contact-form--pill .form-field textarea {
  background: var(--c-form-field);
  border-color: var(--c-form-field);
  border-radius: 30px;
  padding: 14px 22px;
  font-size: 17px;
}

.contact-form--pill .form-field input {
  height: 50px;
}

.form-submit {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   Plans pricing (empty state)
   ============================================================ */

/* ============================================================
   Plans pricing (empty state)
   ============================================================ */
.plans-empty {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.plans-empty h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.plans-empty p {
  font-size: 16px;
  margin-bottom: 36px;
  color: #595959;
}

/* ============================================================
   Questions page
   ============================================================ */
.questions-section {
  padding: 26px 40px 55px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--c-navy);
  color: #fff;
  min-height: var(--footer-height);
  padding: 94px 24px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 57px;
}

.footer-logo {
  width: 149px;
  height: 149px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-info {
  padding-top: 18px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 30px;
}

.footer-row img {
  width: 41px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-row span,
.footer-row a {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
}

.footer-row a:hover {
  text-decoration: underline;
}

/* ============================================================
   Back to top
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-topbar);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  z-index: 90;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-3px);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
