:root {
  --navy: #082b52;
  --blue: #0c5d9f;
  --sky: #dff5ff;
  --soft: #f4fbff;
  --gold: #d6a048;
  --text: #06213d;
  --muted: #53677d;
  --line: #c8ddea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #f7fcff;
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

/* Header & Navigation */
.header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 5%;
  background: rgba(237, 249, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8, 43, 82, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo b {
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 1;
}

.logo small {
  display: block;
  letter-spacing: 5px;
  font-size: 10px;
  text-align: center;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 23%, transparent 24%),
    conic-gradient(from 45deg, #0a335f, #fff, #0a335f, #fff, #0a335f);
  box-shadow: 0 0 0 1px #8eb6cc inset;
  position: relative;
}

.logo-mark:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #0a335f;
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #082b52;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 15px 24px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-dark {
  background: linear-gradient(135deg, #073363, #0b5b9b);
  color: #fff;
  box-shadow: 0 15px 30px rgba(8, 43, 82, 0.18);
}

.btn-light {
  background: rgba(255, 255, 255, 0.72);
  color: #0a335f;
  border-color: #90b6d1;
}

.btn-gold {
  background: linear-gradient(135deg, #e7be70, #bd8131);
  color: #fff;
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #082b52;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Section */
.hero {
  min-height: 690px;
  position: relative;
  padding-top: 76px;
  overflow: hidden;
  background: linear-gradient(90deg, #f8fdff 0%, rgba(249,253,255,.9) 38%, rgba(246,252,255,.48) 60%),
    url('assets/global-logistics.png') center right/cover no-repeat;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 56% 30%, rgba(69, 181, 228, 0.25), transparent 28%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.65), transparent 50%);
}

.hero:after {
  content: "";
  position: absolute;
  right: 38%;
  top: 80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, rgba(8, 43, 82, 0.12), transparent, rgba(8, 43, 82, 0.12));
  mask: radial-gradient(circle, transparent 30%, #000 31%, #000 33%, transparent 34%, transparent 55%, #000 56%, #000 58%, transparent 59%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 600px;
  padding: 40px 0;
}

.hero-content {
  max-width: 560px;
}

.eyebrow, .tag {
  text-transform: uppercase;
  color: #0965a8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 18px 0;
  color: #082b52;
}

.hero h1 span {
  color: #1269aa;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  max-width: 520px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.hero-points div {
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.hero-points i {
  display: block;
  font-style: normal;
  font-size: 34px;
  color: #0d5f9e;
  margin-bottom: 10px;
}

.actions {
  display: flex;
  gap: 20px;
}

/* Sections General */
.section {
  padding: 74px 0;
}

.two-col, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.section h2 {
  font-size: 34px;
  margin: 8px 0 20px;
}

.section p {
  line-height: 1.75;
  color: #273e57;
  word-break: break-word;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.checks span:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: #1473b7;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  margin-right: 10px;
}

.image-card img {
  width: 100%;

  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(8, 43, 82, 0.14);
}

.center {
  text-align: center;
}

/* Products */
.products {
  background: #fff;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(8, 43, 82, 0.06);
  position: relative;
}

.card img, .fake-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.fake-img.sugar { background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.45)), url('assets/flow-poster.png') 42% 58%/360% auto; }
.fake-img.oil { background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.2)), url('assets/oil.png') 35% 72%/190% auto; }
.fake-img.fert { background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.35)), url('assets/flow-poster.png') 83% 55%/330% auto; }

.card .icon {
  width: 54px;
  height: 54px;
  background: #fff;
  border: 1px solid #cfe1ee;
  color: #1269aa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: -27px 0 0 24px;
  position: relative;
}

.card h3 {
  padding: 8px 24px 0;
  margin: 0;
  font-size: 18px;
}

.card p {
  padding: 0 24px 24px;
  margin: 10px 0 0;
  font-size: 14px;
}

.import-export {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  gap: 30px;
  margin: 34px auto 0;
  max-width: 760px;
  text-align: left;
}

.import-export > div:not(.globe) {
  display: grid;
  gap: 6px;
}

.import-export b {
  text-transform: uppercase;
  color: #0a5f9e;
}

.globe {
  height: 70px;
  width: 70px;
  border: 2px dashed #1776b8;
  border-radius: 50%;
  display: grid !important;
  place-items: center !important;
  color: #1269aa;
  font-size: 26px;
  margin: auto;
}

/* Advantages */
.advantages {
  background: linear-gradient(180deg, #f5fbff, #eaf7ff);
  position: relative;
  overflow: hidden;
}

.advantages:after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(8, 43, 82, 0.06);
  border-radius: 50%;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  margin-top: 34px;
  text-align: center;
}

.adv-grid i {
  font-style: normal;
  font-size: 36px;
  color: #0b63a5;
}

.adv-grid h3 {
  font-size: 15px;
}

.adv-grid p {
  font-size: 13px;
  line-height: 1.55;
}

/* CTA */
.cta {
  padding: 36px 0;
  background: linear-gradient(90deg, #04294f, #0b68a9);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/compass-products.png') left center/260px no-repeat;
  opacity: 0.25;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.cta p {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}

.cta span {
  font-size: 18px;
}

/* Gallery */
.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(8, 43, 82, 0.1);
}

/* Contacts */
.contacts {
  background: linear-gradient(90deg, #f6fcff, #e8f7ff);
  position: relative;
}

.contacts:before {
  content: "";
  position: absolute;
  left: 35%;
  top: 20%;
  width: 300px;
  height: 300px;
  background: url('assets/compass-products.png') center/contain no-repeat;
  opacity: 0.18;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 15px;
  color: #143a5c;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.form input, .form textarea, .form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #a9c5d7;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  color: #082b52;
}

.form textarea {
  grid-column: 1 / 3;
  min-height: 110px;
}

.form button {
  width: max-content;
}

/* Footer */
.footer {
  padding: 28px 0;
  background: #05284c;
  color: #fff;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer b {
  letter-spacing: 2px;
}

/* ==========================================
   MOBILE & TABLET FIXES
   ========================================== */

@media (max-width: 900px) {
  .header {
    padding: 0 20px;
  }

  .header > .btn-dark {
    display: none;
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  /* Випадаюче меню строго під шапкою, без зсувів */
  .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(8, 43, 82, 0.15);
    border-bottom: 1px solid var(--line);
    
    /* Сховати меню */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease-in-out;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200, 221, 234, 0.4);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .two-col, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .adv-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .import-export {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .globe {
    transform: rotate(90deg);
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .header {
	
  }

  .logo b {
    font-size: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-points {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
  }

  .actions .btn {
    width: 100%;
  }

  .cards, .adv-grid, .gallery-grid, .checks {
    grid-template-columns: 1fr;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .form textarea {
    grid-column: auto;
  }

  .form button {
    width: 100%;
  }

  .footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}