/* =========================================================
   STA Shipping — Mobile Web App
   Brand tokens taken from stashipping.com (fa.css)
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "IRANYekan";
  src: url("../font/iranyekanwebregular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("../font/iranyekanwebmedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("../font/iranyekanwebbold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekan";
  src: url("../font/IRANYekanExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../font/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../font/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../font/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../font/manrope-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0a1d3d;
  --navy-2: #112136;
  --orange: #ff7a00;
  --orange-logo: #fc6a00;
  --bg: #f5f6f8;
  --white: #fff;
  --gray: #687280;
  --gray-2: #6b7c93;
  --line: #e5e7eb;
  --danger: #e5484d;

  --fa: "IRANYekan", Tahoma, sans-serif;
  --en: "Manrope", "IRANYekan", Arial, sans-serif;

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 18px;

  --gutter: 16px;
  --appbar-h: 60px;
  --tabbar-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 29, 61, 0.06), 0 2px 8px rgba(10, 29, 61, 0.05);
  --shadow: 0 8px 24px rgba(10, 29, 61, 0.12);
  --shadow-lg: 0 -12px 40px rgba(10, 29, 61, 0.22);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--appbar-h) + var(--safe-t) + 8px); }
body {
  margin: 0;
  font-family: var(--fa);
  font-size: 15px;
  line-height: 1.85;
  color: var(--navy);
  background: #dfe3ea;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
[lang="en"] { font-family: var(--en); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
svg use { pointer-events: none; }

/* ---------- App shell ---------- */
.app {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
  box-shadow: 0 0 60px rgba(10, 29, 61, 0.15);
  overflow-x: clip;
}

/* ---------- App bar ---------- */
.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(var(--appbar-h) + var(--safe-t));
  padding: var(--safe-t) 10px 0;
  color: var(--white);
  background: transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.appbar.is-solid {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.appbar__logo { margin-inline-end: auto; display: block; }
.appbar__logo img { height: 28px; width: auto; }
.appbar .logo-dark { display: none; }
.appbar.is-solid .logo-light { display: none; }
.appbar.is-solid .logo-dark { display: block; }
.appbar__end { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color .2s;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:active { background: rgba(127, 127, 127, 0.18); }
.icon-btn--soft { background: var(--bg); color: var(--navy); width: 40px; height: 40px; }
.icon-btn--soft svg { width: 20px; height: 20px; }

.lang-btn {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--r);
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn__chev {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--white);
}
.btn__chev img { width: 12px; height: 8px; }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--ghost-light { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.btn--outline { color: var(--navy); border: 1px solid var(--line); background: var(--white); }
.btn--outline .btn__chev { background: var(--bg); }

/* ---------- Section scaffolding ---------- */
.section { padding: 40px var(--gutter); }
.sec-head { margin-bottom: 20px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec-head--center { text-align: center; }
.sec-head__en {
  display: block;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
}
.sec-head__title {
  position: relative;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  padding-inline-start: 14px;
}
.sec-head__title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 4px;
  height: 22px;
  margin-top: -11px;
  border-radius: 2px;
  background: var(--orange);
}
.sec-head__title--en { font-family: var(--en); font-size: 22px; letter-spacing: .02em; }
.sec-head--center .sec-head__title { display: inline-block; }

.link-more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--orange); }
.link-more svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc((var(--appbar-h) + var(--safe-t)) * -1);
  padding: calc(var(--appbar-h) + var(--safe-t) + 8px) var(--gutter) 24px;
  color: var(--white);
  background:
    radial-gradient(120% 70% at 50% 18%, rgba(71, 129, 255, 0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
/* Globe: same layers as desktop (glow, shadows s1–s4, canvas). Shadows are authored
   in em on an 89.8em box — js/globe.js sets font-size = width / 89.8. */
/* Half-globe "horizon" under the hero text (like the desktop site, where only part of the
   globe is visible). The square globe box is clipped by .hero__horizon to its upper half. */
.hero__horizon {
  --g: min(116vw, 540px);
  position: relative;
  height: calc(var(--g) * 0.52);
  margin: 26px calc(var(--gutter) * -1) 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__horizon::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(17, 33, 54, 0) 0%, var(--navy-2) 92%);
}
.hero__globe {
  position: absolute;
  top: 4%;
  left: 50%;
  width: var(--g);
  aspect-ratio: 1;
  transform: translateX(-50%);
  font-size: calc(var(--g) / 89.8);
  pointer-events: none;
}
.hero__globe-glow {
  position: absolute;
  left: -6.4em;
  top: -6.8em;
  width: 124.4em;
  height: 97.6em;
  max-width: none;
  filter: blur(1.5px);
}
.hero__globe-shadow {
  position: absolute;
  left: 3.1em;
  top: 3.1em;
  width: 83.5em;
  height: 83.5em;
  border-radius: 50%;
}
.hero__globe-shadow.s1 {
  background: #000;
  box-shadow:
    inset 0 -4.656em 6.652em 0.474em #321500,
    inset 0 -4.573em 3.16em -3.492em #ff5500,
    0 0.538em 1.081em #ff834a,
    0 0.067em 0.135em #ffbc75;
}
.hero__globe-shadow.s2 {
  box-shadow:
    inset 0 15.63em 11.807em -3.409em #021777,
    inset 0 5.904em 5.987em -1.996em #012fff;
}
.hero__globe-shadow.s3 {
  mix-blend-mode: plus-lighter;
  box-shadow:
    inset 0 2.162em 4.157em -1.746em #8dedff,
    -0.538em -0.807em 2.661em #0046dd,
    -0.269em -0.269em 1.081em -2.578em #4781ff,
    -0.067em -0.067em 0.2em -2.079em #75bcff;
}
.hero__globe-shadow.s4 {
  mix-blend-mode: plus-lighter;
  box-shadow: inset 0 -2.328em 1.912em -1.746em #ffd1b0;
}
.hero__globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__globe-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .8s ease;
}
.hero__globe.is-live .hero__globe-static { opacity: 0; }
.hero__content { position: relative; z-index: 1; text-align: center; padding-top: 22px; }
.hero__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--en);
  line-height: 1.3;
  margin-bottom: 14px;
}
.hero__brand b { font-size: 13px; font-weight: 800; letter-spacing: .32em; color: var(--orange); }
.hero__brand span { font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, 0.7); text-transform: lowercase; }
.hero__title { font-size: clamp(32px, 9.5vw, 42px); font-weight: 800; line-height: 1.35; }
.hero__sub { margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.82); }
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.hero__actions .btn { padding: 0 12px; }

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 4px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  text-align: center;
  background: rgba(10, 29, 61, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stat strong { font-family: var(--en); font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--white); direction: ltr; }
.stat strong span { color: var(--white); }
.stat > span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Quick service strip ---------- */
.quick { padding: 18px 0 0; }
.quick__track {
  display: flex;
  gap: 10px;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.quick__track::-webkit-scrollbar { display: none; }
.quick__item {
  flex: 0 0 auto;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: var(--navy);
  scroll-snap-align: start;
}
.quick__ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}
.quick__ico img { width: 34px; height: 34px; }
.quick__item:active .quick__ico { background: var(--orange); }

/* ---------- About ---------- */
.about__lead {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--navy);
}
.about__lead mark { background: none; color: var(--orange); }
.about__body {
  margin: 16px 0 22px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  color: var(--gray);
  text-align: justify;
  font-weight: 500;
}
.about__body p + p { margin-top: 12px; }
.about__body b { color: var(--navy); font-weight: 700; }

/* ---------- Services carousel ---------- */
.services { padding-inline: 0; background: var(--white); }
.services .sec-head { padding-inline: var(--gutter); }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
}
.carousel-nav__btn svg { width: 18px; height: 18px; }
.carousel-nav__btn[disabled] { opacity: .35; }

.svc-track {
  display: flex;
  gap: 12px;
  padding: 2px var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.svc-track::-webkit-scrollbar { display: none; }
.svc-card {
  position: relative;
  flex: 0 0 72%;
  max-width: 300px;
  aspect-ratio: 300 / 421;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 29, 61, 0) 35%, rgba(10, 29, 61, 0.92) 100%);
}
.svc-card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 16px; color: var(--white); }
.svc-card h3 { position: relative; font-size: 17px; font-weight: 800; line-height: 1.5; padding-bottom: 8px; margin-bottom: 6px; }
.svc-card h3::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--orange); }
.svc-card p { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.82); }

.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .25s var(--ease), background-color .25s; }
.dots span.is-active { width: 20px; background: var(--orange); }

/* ---------- Why / Benefits ---------- */
.why { position: relative; background: var(--bg); overflow: hidden; }
.why__visual {
  margin: -8px calc(var(--gutter) * -1) 4px;
  height: 150px;
  background: linear-gradient(180deg, var(--navy) 0, var(--navy) 62%, transparent 62%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.why__visual img { height: 140px; width: auto; filter: drop-shadow(0 10px 18px rgba(10, 29, 61, 0.35)); }
.why__title { font-size: 22px; font-weight: 800; line-height: 1.5; margin: 14px 0 12px; }
.why__text { color: var(--gray); text-align: justify; }
.why__text p + p { margin-top: 10px; }
.why__text b { color: var(--navy); font-weight: 700; }

.features { display: grid; gap: 10px; margin-top: 22px; }
.feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.feature__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r-lg);
  background: var(--bg);
}
.feature__ico img { width: 40px; height: auto; }
.feature__en { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--orange); text-transform: uppercase; line-height: 1.4; }
.feature h3 { font-size: 16px; font-weight: 800; line-height: 1.6; }
.feature p { margin-top: 4px; font-size: 13.5px; line-height: 1.85; color: var(--gray); }

/* ---------- Ocean ---------- */
.ocean { background: var(--navy); color: var(--white); padding-bottom: 8px; }
.ocean__hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 24px var(--gutter);
}
.ocean__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ocean__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 29, 61, 0.1) 0%, rgba(10, 29, 61, 0.55) 55%, var(--navy) 100%);
}
.ocean__title { font-family: var(--en); font-size: 22px; font-weight: 500; line-height: 1.4; text-align: left; letter-spacing: -.01em; }
.ocean__title b { font-weight: 800; color: var(--orange); }

.ocean__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px var(--gutter) 0; }
.mode {
  padding: 16px 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mode img { width: 44px; height: 44px; margin-bottom: 10px; }
.mode h3 { font-family: var(--en); font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--orange); }
.mode p { margin-top: 6px; font-size: 12.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.75); }

.redefined {
  margin: 26px var(--gutter) 22px;
  padding: 22px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--en);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.redefined b { color: var(--white); font-weight: 800; }

/* ---------- Blog ---------- */
.blog-list { display: grid; gap: 14px; }
.post { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 16px; }
.post h3 { font-size: 16px; font-weight: 800; line-height: 1.7; }
.post p { margin: 8px 0 14px; font-size: 13.5px; line-height: 1.9; color: var(--gray); text-align: justify; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Partners ---------- */
.partners { background: var(--white); }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.partners__grid li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.partners__grid img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding: 0 var(--gutter) 12px; }
.footer__cta {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  padding: 32px var(--gutter);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.footer__swoosh { position: absolute; z-index: -1; opacity: .5; pointer-events: none; }
.footer__swoosh--1 { top: -10px; inset-inline-end: -40px; width: 70%; }
.footer__swoosh--2 { bottom: -10px; inset-inline-start: -40px; width: 70%; }
.footer__logo { display: block; width: 180px; margin: 28px auto 20px; }
.footer__logo img { width: 100%; height: auto; }

.offices { display: grid; gap: 10px; }
.office { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.office summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.office summary::-webkit-details-marker { display: none; }
.office summary svg { width: 20px; height: 20px; transition: transform .25s var(--ease); color: var(--gray); }
.office[open] summary svg { transform: rotate(180deg); }
.office__list { padding: 0 16px 14px; display: grid; gap: 4px; }
.office__list li, .office__list .tel {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--gray);
}
.office__list li img { flex-shrink: 0; margin-top: 4px; }
.office__list .tel { width: 100%; min-height: 44px; align-items: center; color: var(--navy); font-weight: 500; }
.office__list .tel img { margin-top: 0; }
.office__list bdi { font-family: var(--en); font-weight: 700; white-space: nowrap; }

.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 70px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.socials img { width: 22px; height: 22px; }

.footer__coop {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin-top: 10px;
  padding: 0 16px;
  font-weight: 700;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.footer__coop svg { width: 18px; height: 18px; margin-inline-start: auto; color: var(--gray); }

.footer__bar { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.credit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; color: var(--gray); }
.credit img { height: 18px; width: auto; }

/* ---------- FAB ---------- */
.fab {
  position: fixed;
  z-index: 35;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px);
  left: max(14px, calc(50% - 240px + 14px));
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px 0 12px;
  border-radius: 26px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 122, 0, 0.4);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  transition: transform .25s var(--ease), opacity .25s;
}
.fab img { width: 22px; height: 22px; }
.fab.is-compact span { display: none; }
.fab.is-compact { width: 52px; padding: 0; justify-content: center; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed;
  z-index: 45;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gray);
  transition: color .2s;
}
.tab svg { width: 24px; height: 24px; }
.tab.is-active { color: var(--navy); font-weight: 700; }
.tab.is-active svg { color: var(--orange); }
.tab--primary { color: var(--navy); font-weight: 700; }
.tab__fab {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: -26px;
  border-radius: 16px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 122, 0, 0.45);
  border: 4px solid var(--bg);
}
.tab__fab svg { width: 22px; height: 22px; }

/* ---------- Scrim ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 29, 61, 0.55);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.scrim.is-on { opacity: 1; }

/* ---------- Drawer ---------- */
/* Frame the size of the app column: clips the drawer so it never shows outside the phone frame on wide screens */
.drawer-frame {
  position: fixed;
  z-index: 70;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  pointer-events: none;
}
.drawer {
  position: absolute;
  pointer-events: auto;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  padding: calc(var(--safe-t) + 10px) 18px calc(var(--safe-b) + 18px);
  background: var(--navy);
  color: var(--white);
  transform: translateX(105%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.drawer__head > a:first-child { margin-inline-end: auto; }
.drawer__head img[width="104"] { height: 28px; width: auto; }
.drawer__head .icon-btn img { width: 20px; height: 20px; }
.drawer__nav { display: flex; flex-direction: column; padding: 10px 0; }
.drawer__nav > a, .drawer__sub > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  list-style: none;
  cursor: pointer;
}
.drawer__sub > summary::-webkit-details-marker { display: none; }
.drawer__sub > summary svg { width: 20px; height: 20px; opacity: .7; transition: transform .25s var(--ease); }
.drawer__sub[open] > summary svg { transform: rotate(180deg); }
.drawer__nav a.is-current { color: var(--orange); }
.drawer__subs { display: grid; gap: 2px; padding: 6px 0 10px; }
.drawer__subs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--r);
}
.drawer__subs a:active { background: rgba(255, 255, 255, 0.08); }
.drawer__subs img { width: 28px; height: 28px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); }
.drawer__all { color: var(--orange) !important; font-weight: 700; }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }

/* ---------- Bottom sheets ---------- */
.sheet {
  position: fixed;
  z-index: 80;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 105%);
  transition: transform .32s var(--ease);
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet--tall { height: 88vh; height: 88dvh; }
.sheet__grip { width: 40px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--line); flex-shrink: 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 10px 12px; flex-shrink: 0; }
.sheet__head h2 { font-size: 19px; font-weight: 800; }
.sheet__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 16px calc(var(--safe-b) + 20px);
}
.sheet__desc { font-size: 13.5px; line-height: 1.9; color: var(--gray); margin-bottom: 18px; text-align: justify; }

.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: start;
  border-bottom: 1px solid var(--line);
}
.action-row:last-child { border-bottom: 0; }
.action-row > svg { width: 18px; height: 18px; margin-inline-start: auto; color: var(--gray); }
.action-row__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); color: var(--navy); flex-shrink: 0; }
.action-row__ico svg { width: 22px; height: 22px; }
.action-row__ico--orange { background: var(--orange); }
.action-row bdi { font-family: var(--en); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 359px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.field label i { font-style: normal; color: var(--orange); }
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--navy);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--r);
  outline: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #9aa3af; font-size: 13px; }
.field input:focus, .field select:focus { background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10, 29, 61, 0.08); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); background: #fff6f6; }
.field__err { margin-top: 4px; font-size: 12px; color: var(--danger); }
.select { position: relative; }
.select select { padding-inline-end: 34px; font-size: 14px; text-overflow: ellipsis; }
.select svg { position: absolute; top: 50%; inset-inline-end: 10px; width: 18px; height: 18px; margin-top: -9px; color: var(--gray); pointer-events: none; }
.captcha { display: flex; gap: 10px; }
.captcha__img {
  flex: 0 0 110px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--navy);
  color: var(--white);
  font-family: var(--en);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .3em;
  user-select: none;
  cursor: pointer;
}
.captcha input { flex: 1; min-width: 0; }
.form .btn[type="submit"] { margin-top: 6px; }
.form .btn[disabled] { opacity: .7; }

.form-done { text-align: center; padding: 30px 8px; }
.form-done svg { width: 56px; height: 56px; margin: 0 auto 14px; color: #1aa34a; }
.form-done p { font-size: 15px; line-height: 1.9; color: var(--navy); font-weight: 500; }

/* ---------- Search ---------- */
.sheet--search {
  top: 0;
  bottom: auto;
  max-height: 80vh;
  border-radius: 0 0 20px 20px;
  transform: translate(-50%, -105%);
  padding-top: var(--safe-t);
}
.sheet--search.is-open { transform: translate(-50%, 0); }
.search { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 12px; }
.search__ico { width: 22px; height: 22px; color: var(--gray); flex-shrink: 0; margin-inline-start: 6px; }
.search__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  font: inherit;
  font-size: 16px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--navy);
}
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__results { overflow-y: auto; padding: 0 12px 12px; }
.search__results a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r);
}
.search__results a:active { background: var(--bg); }
.search__results small { margin-inline-start: auto; font-size: 11px; color: var(--gray); }
.search__empty { padding: 4px 20px 22px; font-size: 14px; color: var(--gray); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  transform: translate(-50%, 20px);
  width: calc(100% - 32px);
  max-width: 448px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity .25s, transform .25s var(--ease);
  font-size: 13.5px;
  line-height: 1.8;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 22px; height: 22px; flex-shrink: 0; color: #4ade80; margin-top: 2px; }

/* ---------- Light reveal (no heavy animation) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Larger viewports: keep the app frame ---------- */
@media (min-width: 481px) {
  body { padding: 0; }
  .app { border-radius: 0; }
}

/* ---------- Swiper integration ----------
   Before Swiper initialises (or if it fails to load) the tracks stay natively
   scrollable; once initialised Swiper takes over (touch + mouse drag, RTL). */
.swiper:not(.swiper-initialized) > .swiper-wrapper { gap: 10px; }
.swiper.swiper-initialized { overflow: hidden; padding-inline: 0; scroll-snap-type: none; }
.swiper-initialized .swiper-slide { scroll-snap-align: none; }

.svc-card.swiper-slide { width: 72%; max-width: 300px; height: auto; }
.quick__item.swiper-slide { width: 84px; height: auto; }

.dots .dot { cursor: pointer; }
.carousel-nav__btn.swiper-button-disabled { opacity: .35; }

/* ---------- Static form states (shown/hidden by JS classes only) ---------- */
.field__err { display: none; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--danger); }
.field.is-invalid .field__err:not(.field__err--email),
.field.is-bad-email .field__err--email { display: block; }
.field.is-bad-email input { border-color: var(--danger); background: #fff6f6; }
.captcha { flex-wrap: wrap; }
.captcha .field__err { flex-basis: 100%; margin-top: 0; }
img.captcha__img { flex: 0 0 110px; width: 110px; height: 50px; border-radius: var(--r); background: var(--navy); }
.form-thanks { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 10px; text-align: center; }
.form-thanks[hidden] { display: none; }
.form-thanks svg { width: 56px; height: 56px; color: #1aa34a; }
.form-thanks p { font-size: 15px; font-weight: 500; line-height: 1.9; color: var(--navy); }
.dots .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .25s var(--ease), background-color .25s; }
.dots .dot.is-active { width: 20px; background: var(--orange); }

/* =========================================================
   Revision 2 (client Word edits)
   ========================================================= */

/* thin scrollbars everywhere */
/* Chrome/Edge/Safari: 4px bar via ::-webkit-scrollbar (scrollbar-width would override it) */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: #b6bdc9; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
.drawer::-webkit-scrollbar { width: 3px; }
.drawer::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); }
/* Firefox only */
@supports not selector(::-webkit-scrollbar) {
  html, .drawer, .sheet__body, .search__results { scrollbar-width: thin; scrollbar-color: #b6bdc9 transparent; }
  .drawer { scrollbar-color: rgba(255, 255, 255, .35) transparent; }
}

/* ---------- App bar: search + language on the start side, logo at the end ---------- */
.appbar { justify-content: space-between; }
.appbar__logo { margin-inline-end: 0; }
.appbar__start { display: flex; align-items: center; gap: 2px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 8px; border-radius: 22px; }
.lang__btn:active { background: rgba(127, 127, 127, .18); }
.lang__globe { width: 24px; height: 24px; }
.lang__chev { width: 14px; height: 14px; opacity: .75; transition: transform .2s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 50;
  min-width: 150px; padding: 6px; background: var(--white); color: var(--navy);
  border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; border-radius: var(--r); }
.lang__menu a:active { background: var(--bg); }
.lang__menu a svg { width: 18px; height: 18px; color: var(--orange); visibility: hidden; }
.lang__menu a.is-on { font-weight: 700; }
.lang__menu a.is-on svg { visibility: visible; }

/* ---------- Tab bar: forms | contact | HOME | services | menu ---------- */
.tab--home { color: var(--navy); font-weight: 700; }
.tab--home .tab__fab svg { color: #fff; }

/* ---------- FAB -> smart assistant ---------- */
.fab svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- Titles: 20px on mobile ---------- */
.sec-head__title, .sec-head__title--en, .why__title, .history__title { font-size: 20px; }

/* ---------- Home: service cards carry the icon in an orange square ---------- */
.svc-card__icon {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--orange);
}
.svc-card .svc-card__icon img { position: static; width: 28px; height: 28px; z-index: auto; object-fit: contain; }

/* orange bar beside the "benefits" title like other headings */
.why__title { position: relative; padding-inline-start: 14px; }
.why__title::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 2px; background: var(--orange); }

/* ocean headline centred */
.ocean__title { text-align: center; width: 100%; }

/* ---------- News & blog slider ---------- */
.blog { padding-inline: 0; }
.blog .sec-head { padding-inline: var(--gutter); }
.blog-track.swiper { overflow: hidden; }
.blog-track:not(.swiper-initialized) { overflow-x: auto; padding: 2px var(--gutter) 6px; }
.blog-track:not(.swiper-initialized) > .swiper-wrapper { display: flex; gap: 12px; }
.post.swiper-slide { display: flex; flex-direction: column; width: 78%; max-width: 320px; height: auto; }
.post.swiper-slide .post__body { display: flex; flex-direction: column; flex: 1; }
.post.swiper-slide .btn { margin-top: auto; align-self: flex-start; }
.blog .dots { margin-top: 14px; }

/* ---------- Footer ---------- */
.footer__logo { margin-top: 32px; }

/* office dropdowns: desktop-style icon squares + hour pills */
.office summary { gap: 10px; }
.office__t { display: inline-flex; align-items: center; gap: 10px; }
.office__chev { width: 20px; height: 20px; color: var(--gray); transition: transform .25s var(--ease); }
.office[open] .office__chev { transform: rotate(180deg); }
.office__body, .ct-office { display: grid; gap: 12px; }
.office__body { padding: 4px 16px 16px; }
.o-row { display: flex; align-items: flex-start; gap: 10px; }
.o-row p { flex: 1; font-size: 13.5px; line-height: 1.95; color: var(--navy); }
.o-row p b { font-weight: 800; }
.o-ico { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; }
.o-ico svg { width: 20px; height: 20px; }
.o-ico--sm { width: 30px; height: 30px; border-radius: 9px; }
.o-ico--sm svg { width: 17px; height: 17px; }
.o-clk { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 22px; color: var(--orange); }
.o-clk svg { width: 20px; height: 20px; }
.o-row--hours { align-items: center; }
.o-hours { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.o-hours li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 12.5px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.o-hours li svg { width: 14px; height: 14px; color: var(--gray); }
.o-hours li b { font-weight: 800; }
.o-hours li.is-off { background: var(--bg); color: var(--gray); }
.o-tels { display: grid; gap: 8px; }
.o-tel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.o-tel > span:last-child { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.o-tel small { font-size: 12px; color: var(--gray); }
.o-tel bdi { font-family: var(--en); font-weight: 800; color: var(--navy); white-space: nowrap; }
.office .o-tel { background: var(--bg); border-color: transparent; }

/* ---------- Captcha refresh ---------- */
.captcha__refresh { flex: 0 0 44px; display: grid; place-items: center; height: 50px; border-radius: var(--r); background: var(--bg); color: var(--navy); }
.captcha__refresh svg { width: 20px; height: 20px; }
.captcha__refresh.is-spin svg { animation: spin .6s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.form-group .captcha__refresh { background: var(--white); }

/* service-card icon sits above the card title */
.svc-card__icon { position: static; inset: auto; display: grid; margin-bottom: 10px; width: 46px; height: 46px; }

/* side-view truck */
.why__visual { height: 130px; background: linear-gradient(180deg, var(--navy) 0, var(--navy) 62%, transparent 62%); }
.why__visual img { height: auto; width: min(92%, 420px); }

/* ship on the waves (over the wake in the ocean photo) */
.ocean__ship { position: absolute; z-index: -1; left: 50%; top: 40px; width: 44px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); pointer-events: none; }

