/* ==========================================================================
   Wintoo International Freight Forwarding — global stylesheet
   Palette: navy #0A2540 · deep navy #06182E · orange #FF6B2C · light #F5F7FA
   ========================================================================== */

:root {
  --navy: #0A2540;
  --navy-2: #06182E;
  --navy-3: #0E2E4E;
  --orange: #FF6B2C;
  --orange-dark: #E85A1F;
  --ink: #1A2733;
  --ink-soft: #46586A;
  --muted: #64748B;
  --line: #E3E8EE;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --green: #1E8E5A;

  /* Accent palette — colorful highlights */
  --teal: #0EA5E9;
  --emerald: #10B981;
  --amber: #F59E0B;
  --violet: #8B5CF6;
  --rose: #EC4899;
  --blue: #3B82F6;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .08);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, .16);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Noto Sans Arabic", "Noto Sans SC", sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.section--alt { background: var(--bg); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 12px;
}

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.nav { margin-inline-start: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-list a:hover { color: var(--orange-dark); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--orange-dark); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher ------------------------------------------------------ */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--navy); }

.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9rem;
}
.lang-menu a:hover { background: var(--bg); text-decoration: none; }
.lang-menu a .native { color: var(--muted); font-size: 0.8rem; }

/* Mobile nav ------------------------------------------------------------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255,107,44,.22), transparent 60%),
    linear-gradient(135deg, rgba(6,24,46,.50) 0%, rgba(10,37,64,.50) 55%, rgba(14,46,78,.50) 100%),
    url("../img/banner.webp") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 96px 120px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-panel h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-panel li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.88); font-size: 0.92rem;
}
.hero-panel li svg { flex-shrink: 0; }

/* Stats strip ------------------------------------------------------------ */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 28px;
}
.stat { text-align: center; }
.stat .num { font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.stat .label { font-size: 0.85rem; color: var(--muted); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #D4DCE5; }
.card .icon { color: var(--orange); margin-bottom: 16px; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; margin-top: 16px; }

/* Photos ----------------------------------------------------------------- */
.feature-media { display: grid; gap: 20px; }
.feature-media > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.card-media, .service-media {
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
}
.card-media {
  height: 156px;
  margin: -28px -28px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-media {
  height: 240px;
  margin: -40px -40px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cover--rail { background-image: url("../img/rail.jpg"); }
.cover--air { background-image: url("../img/air.jpg"); }
.cover--express { background-image: url("../img/express.jpg"); }
.cover--ocean { background-image: url("../img/ocean.jpg"); }
.cover--container { background-image: url("../img/container.jpg"); }
.cover--sourcing { background-image: url("../img/sourcing.jpg"); }
.cover--whyus { background-image: url("../img/whyus.jpg"); }

.article-cover { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 32px; }

/* Feature rows ----------------------------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature--rev { direction: ltr; }
.feature-check { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-check li { display: flex; gap: 10px; align-items: flex-start; }
.feature-check svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Steps ------------------------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding-inline-start: 60px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}
.step h3 { margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Routes ----------------------------------------------------------------- */
.route-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.route {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: var(--white);
}
.route b { color: var(--navy); display: block; margin-bottom: 2px; }
.route span { color: var(--muted); font-size: 0.86rem; }

/* Testimonial ------------------------------------------------------------ */
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}
[dir="rtl"] .quote { border-left: 1px solid var(--line); border-right: 4px solid var(--orange); }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote .who { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-2), var(--navy) 70%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.2em; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-2), var(--navy) 60%, var(--navy-3));
  color: #fff;
  padding-block: 64px;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero .lead { color: rgba(255,255,255,.82); }

.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 16px; font-size: 0.85rem; flex-wrap: wrap; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb [aria-current="page"] { color: #fff; }

/* Services page ---------------------------------------------------------- */
.service-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
  background: var(--white);
  scroll-margin-top: 96px;
}
.service-block .icon { color: var(--orange); margin-bottom: 18px; }
.service-block h2 { margin-bottom: 0.4em; }
.service-block .tagline { color: var(--orange-dark); font-weight: 600; margin-bottom: 12px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.92rem; }
.spec-table th, .spec-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--navy); background: var(--bg); font-weight: 600; }

.service-nav { position: sticky; top: 88px; display: grid; gap: 4px; }
.service-nav a {
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.service-nav a:hover { background: var(--bg); text-decoration: none; color: var(--orange-dark); }

/* News ------------------------------------------------------------------- */
.article-card { display: flex; flex-direction: column; }
.article-card .meta { display: flex; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.tag {
  background: var(--bg);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--orange-dark); }

.article-body { max-width: 720px; margin-inline: auto; }
.article-body h2 { margin-top: 2em; }
.article-body p { color: var(--ink); font-size: 1.05rem; }
.article-hero-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: rgba(255,255,255,.8); font-size: 0.9rem; }
.sources {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 0.9rem;
}
.sources h3 { font-size: 0.9rem; margin-bottom: 10px; }
.sources ul { margin: 0; padding-inline-start: 20px; }
.sources li { margin-bottom: 6px; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.contact-card .icon { color: var(--orange); flex-shrink: 0; }
.contact-card b { color: var(--navy); display: block; margin-bottom: 2px; }
.contact-card a, .contact-card span { color: var(--ink-soft); }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,44,.12);
}
.form-note { font-size: 0.82rem; color: var(--muted); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 20px 18px; color: var(--ink-soft); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-2); color: rgba(255,255,255,.75); padding-block: 64px 32px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

/* Colorful accents -------------------------------------------------------- */
.grid--3 > .card:nth-child(1) .icon { color: var(--teal); }
.grid--3 > .card:nth-child(2) .icon { color: var(--blue); }
.grid--3 > .card:nth-child(3) .icon { color: var(--violet); }
.grid--3 > .card:nth-child(4) .icon { color: var(--emerald); }
.grid--3 > .card:nth-child(5) .icon { color: var(--amber); }
.grid--3 > .card:nth-child(6) .icon { color: var(--rose); }

.stats-grid .stat:nth-child(1) .num { color: var(--orange); }
.stats-grid .stat:nth-child(2) .num { color: var(--teal); }
.stats-grid .stat:nth-child(3) .num { color: var(--violet); }
.stats-grid .stat:nth-child(4) .num { color: var(--emerald); }

.steps .step:nth-child(1)::before { background: var(--teal); color: #fff; }
.steps .step:nth-child(2)::before { background: var(--violet); color: #fff; }
.steps .step:nth-child(3)::before { background: var(--emerald); color: #fff; }
.steps .step:nth-child(4)::before { background: var(--amber); color: #fff; }

.route-list .route:nth-child(1) { border-top: 3px solid var(--teal); }
.route-list .route:nth-child(2) { border-top: 3px solid var(--emerald); }
.route-list .route:nth-child(3) { border-top: 3px solid var(--amber); }

/* Utility ---------------------------------------------------------------- */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 64px 72px; }
  .hero-panel { display: none; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .route-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 72px;
    inset-inline: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg); }
  .header-actions .btn--primary { display: none; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .service-block { padding: 28px 22px; }
  .section { padding-block: 52px; }
}
