:root {
  --ink: #18202a;
  --muted: #607080;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --brand: #1f6f78;
  --brand-dark: #174f57;
  --accent: #b8794d;
  --accent-soft: #f2e6dc;
  --shadow: 0 18px 44px rgba(20, 31, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 170px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  border-radius: var(--radius);
  padding: 10px 9px;
  color: #3b4855;
  font-size: 14px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.language-actions {
  gap: 8px;
}

.language-select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 34px 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--brand-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.button.whatsapp {
  background: #1f8f55;
  color: #fff;
}

.button.whatsapp:hover {
  background: #187546;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--soft);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 72px);
}

h2 {
  max-width: 760px;
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  max-width: 690px;
  margin-top: 18px;
  color: #40505f;
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 25, 36, 0.86), rgba(13, 25, 36, 0.58) 48%, rgba(13, 25, 36, 0.12)),
    url("assets/global-trade-hero.jpg") center / cover;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 72px 0 96px;
}

.hero h1,
.hero .lead {
  color: #fff;
}

.hero-panel {
  max-width: 780px;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 38px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
}

.card-link {
  margin-top: 18px;
}

.card-link a {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.card-link a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--accent-soft);
  color: #8d552e;
  font-size: 12px;
  font-weight: 900;
}

.category-card {
  min-height: 220px;
}

.category-card .card-body {
  min-height: 100%;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #435160;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
}

.page-hero {
  padding: 82px 0 58px;
  background: linear-gradient(180deg, #f8fafb, #fff);
}

.page-hero .lead {
  color: var(--muted);
}

.banner {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.process {
  counter-reset: process;
}

.process .card-body {
  position: relative;
  padding-top: 58px;
}

.process .card-body::before {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  counter-increment: process;
  content: counter(process);
  font-size: 13px;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
}

.cta {
  background: var(--ink);
  color: #fff;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  max-width: 650px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.contact-panel + .contact-panel {
  margin-top: 18px;
}

.contact-item {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item strong {
  font-size: 14px;
  text-transform: uppercase;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
}

.inquiry-box {
  display: grid;
  gap: 14px;
}

.field {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #40505f;
  background: var(--soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #101820;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 46px 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin-bottom: 14px;
  color: #fff;
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-cta {
    display: none;
  }

  .nav-actions {
    display: flex;
    gap: 6px;
  }

  .language-select {
    max-width: 132px;
    padding-right: 22px;
    font-size: 13px;
  }

  .hero,
  .hero .container {
    min-height: auto;
  }

  .hero .container {
    padding: 86px 0;
  }

  .hero-stats,
  .grid.three,
  .grid.four,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .container,
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat,
  .card-body,
  .contact-panel {
    padding: 18px;
  }
}
