/* ==========================================================================
   EINAS International Trade FZC LLC — Website Styles
   Brand palette (from EINAS Brand Guidelines):
     #001621 deep navy  |  #00405d navy  |  #006685 teal-blue
     #b2e9ff light blue |  #d2ecf2 pale   |  #333333 charcoal | #ffffff white
   Mobile-first, then scaled up for tablet/desktop.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --c-navy-950: #001621;
  --c-navy-800: #00405d;
  --c-teal-600: #006685;
  --c-blue-200: #b2e9ff;
  --c-blue-100: #d2ecf2;
  --c-charcoal: #333333;
  --c-white:    #ffffff;

  /* Applied roles */
  --bg:          #ffffff;
  --bg-alt:      #f2f8fb;
  --bg-dark:     var(--c-navy-950);
  --text:        #24313a;
  --text-soft:   #5a6b76;
  --heading:     var(--c-navy-950);
  --brand:       var(--c-teal-600);
  --brand-dark:  var(--c-navy-800);
  --accent:      var(--c-blue-200);
  --line:        #e2edf2;

  --grad-brand:  linear-gradient(135deg, #006685 0%, #00405d 55%, #001621 100%);
  --grad-soft:   linear-gradient(135deg, #d2ecf2 0%, #b2e9ff 100%);

  /* Type */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --maxw: 1180px;
  --gutter: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 34, 51, 0.06);
  --shadow-md: 0 14px 40px rgba(0, 34, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 34, 51, 0.16);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: 64px 0; }
.section--dark { background: var(--grad-brand); color: #dcecf3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.section--dark .eyebrow { color: var(--accent); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
.section-intro { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-intro { color: #b8d3e0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(0, 102, 133, 0.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 102, 133, 0.38); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); }
.brand__mark { width: 38px; height: 38px; border-radius: 9px; }
.brand__logo { height: 38px; width: auto; display: block; }
.footer .brand__logo { height: 44px; }
@media (min-width: 900px) { .brand__logo { height: 44px; } }
.brand__name { font-size: 1.15rem; letter-spacing: 0.14em; line-height: 1; }
.brand__name small { display: block; font-size: 0.52rem; letter-spacing: 0.18em; font-weight: 500; color: var(--text-soft); margin-top: 3px; }

.nav__links {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px var(--gutter) 20px;
  transform: translateY(-120%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-md);
}
.nav__links.open { transform: translateY(0); }
.nav__links a {
  color: var(--heading); font-weight: 500; padding: 12px 6px;
  border-radius: 8px; border-bottom: 1px solid var(--line);
}
.nav__links a:last-of-type { border-bottom: none; }
.nav__links a.active, .nav__links a:hover { color: var(--brand); }
.nav__links .btn { margin-top: 12px; justify-content: center; }
/* keep CTA text white — outrank the generic .nav__links a colour */
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: #fff; }

.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: none; background: transparent; cursor: pointer;
}
.nav__toggle span { height: 2px; width: 100%; background: var(--heading); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: var(--grad-brand);
  color: #eaf4f8;
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(8px);
  background: radial-gradient(circle, rgba(0,102,133,0.55), transparent 70%);
  pointer-events: none;
}
.hero__glow--1 { width: 460px; height: 460px; top: -160px; right: -120px; }
.hero__glow--2 { width: 380px; height: 380px; bottom: -180px; left: -140px; background: radial-gradient(circle, rgba(178,233,255,0.16), transparent 70%); }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.20);
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em; margin-bottom: 22px; color: #d6ecf4;
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(178,233,255,0.25); }
.hero h1 {
  color: #fff; font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 8vw, 3.6rem); line-height: 1.08; margin-bottom: 18px;
}
.hero h1 .grad { background: linear-gradient(90deg, #b2e9ff, #d2ecf2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.02rem, 2.5vw, 1.22rem); color: #c9e2ec; max-width: 620px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; max-width: 520px; }
.hero__stat .n { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 700; color: #fff; line-height: 1; }
.hero__stat .l { font-size: 0.82rem; color: #a9cbd9; margin-top: 4px; }
.hero__regions {
  position: relative; z-index: 2; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: 0.86rem; color: #bcd8e4; letter-spacing: 0.04em;
}
.hero__regions strong { color: #fff; font-weight: 600; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfe6ef; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-dark);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 14px; }
.card__list { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 0.76rem; font-weight: 500; color: var(--brand-dark);
  background: #eef7fa; border: 1px solid #dcedf3; border-radius: 999px; padding: 4px 11px;
}

/* Numbered service variant */
.card__num { font-size: 0.8rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.section--dark .card {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); box-shadow: none;
  color: #d3e6ef;
}
.section--dark .card:hover { background: rgba(255,255,255,0.10); border-color: rgba(178,233,255,0.3); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: #b7d2df; }

/* ---------- About ---------- */
.about { display: grid; gap: 34px; align-items: start; }
.about__lead { font-size: 1.12rem; color: var(--text); }
.about__vm { display: grid; gap: 16px; }
.vm-card {
  border-left: 3px solid var(--brand); background: var(--bg-alt);
  border-radius: 0 12px 12px 0; padding: 18px 20px;
}
.vm-card h3 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.vm-card p { margin: 0; color: var(--text-soft); }

/* Values */
.values { display: grid; gap: 14px; grid-template-columns: 1fr; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.value__mark { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: var(--grad-soft); color: var(--brand-dark); display: grid; place-items: center; }
.value__mark svg { width: 20px; height: 20px; }
.value h3 { font-size: 1.02rem; margin-bottom: 2px; }
.value p { margin: 0; color: var(--text-soft); font-size: 0.92rem; }

/* Regions */
.region {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: 26px 22px; min-height: 150px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.region:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.region__k { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.region h3 { color: #fff; font-size: 1.24rem; margin-bottom: 6px; }
.region p { color: #b7d2df; font-size: 0.9rem; margin: 0; }

/* Why choose — feature list */
.why { display: grid; gap: 12px; grid-template-columns: 1fr; }
.why li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-weight: 500; color: var(--heading); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.why li:hover { transform: translateX(4px); border-color: #cfe6ef; }
.why li svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.cta-band p { max-width: 560px; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin: 26px 0 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start;
}
.contact-card__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 4px; font-weight: 600; }
.contact-card a, .contact-card p { font-size: 1.05rem; color: var(--heading); font-weight: 500; margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--c-navy-950); color: #9fc0cf; padding: 52px 0 26px; }
.footer__top { display: grid; gap: 30px; grid-template-columns: 1fr; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: #86adbe; }
.footer__about { max-width: 340px; font-size: 0.92rem; color: #9fc0cf; margin-top: 14px; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__links a { display: block; color: #9fc0cf; padding: 5px 0; font-size: 0.94rem; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 8px; font-size: 0.84rem; color: #7fa4b5;
}
.footer__bottom a { color: #9fc0cf; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--brand-dark); padding: 10px 16px; border-radius: 8px;
  box-shadow: var(--shadow-md); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Responsive — tablet & up
   ========================================================================== */
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .section { padding: 90px 0; }
  .nav__toggle { display: none; }
  .nav__links {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: 6px;
    background: transparent; border: none; box-shadow: none; padding: 0; transform: none;
  }
  .nav__links a { border: none; padding: 8px 14px; font-size: 0.95rem; }
  .nav__links .btn { margin-top: 0; margin-left: 8px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(1, 1fr); }
  .about { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .hero { padding: calc(var(--header-h) + 80px) 0 96px; }
}

@media (min-width: 1100px) {
  .split-about { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
}
