/* ==========================================================================
   Teleport Logistics Limited — Stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-900: #071c3d;
  --navy-800: #0b2a5b;
  --navy-700: #103a7d;
  --navy-600: #1650a3;
  --blue-500: #1f6fd0;
  --blue-400: #3f8ae8;
  --cyan-400: #38b6d9;
  --teal-300: #5fd4e0;

  --ink-900: #0d1520;
  --ink-700: #26313f;
  --ink-500: #5a6879;
  --ink-300: #97a3b2;

  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-alt: #eef3f9;
  --line: #e3eaf3;

  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(13, 21, 32, .06);
  --shadow-md: 0 10px 30px rgba(13, 21, 32, .10);
  --shadow-lg: 0 24px 60px rgba(7, 28, 61, .18);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --max: 1200px;
  --max-wide: 1440px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0; color: var(--ink-900); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%; width: min(100% - 40px, var(--max-wide)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; font-weight: 800; color: var(--navy-900); letter-spacing: .08em; }
.brand-text em { font-size: 11px; font-style: normal; color: var(--ink-500); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 2px; position: relative; }
.nav-indicator {
  position: absolute; top: 0; left: 0; height: 0; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31,111,208,.10), rgba(56,182,217,.15));
  pointer-events: none; z-index: 0;
  transition: left .38s cubic-bezier(.4,0,.2,1), width .38s cubic-bezier(.4,0,.2,1),
              top .38s cubic-bezier(.4,0,.2,1), height .38s cubic-bezier(.4,0,.2,1), opacity .25s;
  opacity: 0;
}
.nav-indicator.visible { opacity: 1; }
.nav-link {
  position: relative; z-index: 1;
  padding: 8px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  transition: color .25s, background .25s, transform .2s;
}
.nav-link:hover { color: var(--blue-500); transform: translateY(-1px); }
.nav-link:active { transform: translateY(0); }
.nav-link.active { color: var(--navy-800); font-weight: 700; }
.nav-link.active::after { display: none; }
.nav-cta {
  margin-left: 6px; padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  transition: color .25s, transform .2s;
}
.nav-cta:hover { color: var(--blue-500); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }
.nav-cta.active { color: var(--navy-800); font-weight: 700; }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--white); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.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); }

.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transition: width .1s linear; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62;
  /* Push the warm sunset toward the brand navy so the overlay reads as one palette */
  filter: saturate(.92) contrast(1.06) brightness(.86);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    /* Left column stays deep navy so the headline never loses contrast */
    linear-gradient(100deg, rgba(7, 28, 61, .95) 0%, rgba(7, 28, 61, .82) 28%, rgba(7, 28, 61, .42) 52%, rgba(7, 28, 61, .12) 74%, rgba(7, 28, 61, .3) 100%),
    /* Bottom / top vignette anchors the stats row and the nav edge */
    linear-gradient(180deg, rgba(7, 28, 61, .62) 0%, transparent 26%, rgba(7, 28, 61, .55) 78%, rgba(7, 28, 61, .8) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(90% 70% at 30% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 70% at 30% 40%, #000 0%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; width: min(100% - 40px, var(--max)); margin-inline: auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #cfe3ff; font-size: 13px; font-weight: 500; letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 4px rgba(95, 212, 224, .22); }

.hero-title {
  margin: 22px 0 0; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.08;
  color: var(--white); letter-spacing: -.03em; font-weight: 800;
}
.hero-title .grad {
  background: linear-gradient(100deg, #7cc6ff 0%, #4fc9e6 45%, #8ee8d2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin: 26px 0 0; max-width: 620px;
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.85; color: rgba(233, 241, 252, .84);
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn-primary {
  background: linear-gradient(100deg, var(--blue-500), var(--cyan-400));
  color: var(--white); box-shadow: 0 12px 28px rgba(31, 111, 208, .34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(31, 111, 208, .44); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.55); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }

.hero-stats {
  margin-top: 58px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; max-width: 640px;
}
.hstat { border-left: 2px solid rgba(95, 212, 224, .5); padding-left: 16px; }
.hstat b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.hstat span { font-size: 12.5px; color: rgba(206, 222, 245, .78); letter-spacing: .05em; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(206, 222, 245, .7); transition: color .25s;
}
.scroll-hint:hover { color: var(--white); }
.mouse { width: 23px; height: 37px; border: 1.5px solid currentColor; border-radius: 13px; position: relative; }
.mouse i { position: absolute; top: 7px; left: 50%; translate: -50% 0; width: 3px; height: 7px; border-radius: 2px; background: currentColor; animation: scrollDot 1.9s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(11px); } }
.scroll-text { font-size: 10px; letter-spacing: .28em; font-weight: 600; }

/* ==========================================================================
   Section shell
   ========================================================================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-soft); }

.sec-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(36px, 5vw, 62px); }
.sec-index {
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  color: var(--blue-500); padding-top: 9px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-index::after { content: ''; display: block; width: 34px; height: 2px; margin-top: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); }
/* Centered section header — keep the index rule under the numeral, not pinned left */
.sec-head-center .sec-index::after { margin-inline: auto; }
.sec-title { font-size: clamp(28px, 4vw, 44px); }
.sec-sub { margin-top: 7px; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--ink-300); }

.lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.9; color: var(--ink-700); font-weight: 500; }
.lead.center { max-width: 720px; margin-inline: auto; text-align: center; }
.prose p { margin-top: 16px; line-height: 1.95; color: var(--ink-500); font-size: 15.5px; }

/* ==========================================================================
   Reveal animation
   Only hide elements once JS confirms it will animate them (html.js class),
   so content is always readable even if the script fails to run.
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Profile
   ========================================================================== */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.profile-visual { position: relative; }
.pv-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.pv-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ==========================================================================
   Timeline
   ========================================================================== */
.history-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-400) 60%, transparent);
}
.tl-item { position: relative; padding: 0 0 30px 0; cursor: pointer; border-radius: var(--r-sm); transition: transform .25s var(--ease); }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue-500);
  box-shadow: 0 0 0 5px rgba(31, 111, 208, .12);
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.tl-item:hover, .tl-item:focus-visible { transform: translateX(4px); outline: none; }
.tl-item:hover::before, .tl-item.is-active::before {
  background: var(--blue-500); border-color: var(--blue-500);
  box-shadow: 0 0 0 7px rgba(31, 111, 208, .18); transform: scale(1.12);
}
.tl-item.is-active .tl-year { color: var(--blue-500); }
.tl-year { font-size: 21px; font-weight: 800; color: var(--navy-800); letter-spacing: -.01em; transition: color .25s var(--ease); }
.tl-text { margin-top: 3px; font-size: 15px; color: var(--ink-700); font-weight: 500; }
.tl-en { margin-top: 2px; font-size: 12.5px; color: var(--ink-300); }
.tl-city {
  display: inline-block; margin-top: 7px; padding: 3px 10px;
  border-radius: 999px; background: rgba(31, 111, 208, .08);
  color: var(--blue-500); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tl-item:hover .tl-city, .tl-item.is-active .tl-city { background: var(--blue-500); color: var(--white); }

.history-visual { position: sticky; top: calc(var(--nav-h) + 26px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hv-stage { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--navy-900, #0b2a5b); }
.history-visual img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  opacity: 1; transform: scale(1);
  transition: opacity .18s ease, transform .45s var(--ease);
}
.history-visual img.is-swapping { opacity: 0; transform: scale(1.04); }
.hv-meta {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  margin: 18px; padding: 12px 18px;
  background: rgba(8, 26, 56, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--cyan-400, #38b6d9);
  border-radius: var(--r-sm);
  transition: opacity .18s ease, transform .3s var(--ease);
}
.hv-meta.is-swapping { opacity: 0; transform: translateY(-6px); }
.hv-city { color: var(--white); font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.hv-landmark { color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hv-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px 18px;
  background: linear-gradient(transparent, rgba(7, 28, 61, .88));
  color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .01em;
}

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.svc-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(31,111,208,.3); }
.svc-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-thumb img { transform: scale(1.06); }
/* Vector route map needs the whole frame, not a crop */
.svc-thumb.is-vector { background: #f2f7fc; }
.svc-thumb.is-vector img { object-fit: contain; padding: 6px; }
.svc-thumb.is-vector:hover img { transform: none; }
.svc-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 999px;
  background: rgba(7, 28, 61, .82); color: var(--white); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px);
}
.svc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-name { font-size: 20px; }
.svc-en { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--ink-300); margin-top: 3px; text-transform: uppercase; }
.svc-summary { margin-top: 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-500); }
.svc-partners { margin-top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--blue-500); }

.svc-feats { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.svc-feat { padding: 10px 13px; border-radius: var(--r-sm); background: var(--bg-soft); border-left: 3px solid var(--blue-400); }
.svc-feat b { display: block; font-size: 13px; color: var(--navy-800); font-weight: 700; }
.svc-feat code { display: block; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; color: var(--blue-500); margin-top: 3px; word-break: break-word; }
.svc-feat span { display: block; font-size: 12px; line-height: 1.62; color: var(--ink-500); margin-top: 3px; }

/* ==========================================================================
   Facility
   ========================================================================== */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fac-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.fac-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.fac-head h3 { font-size: 19px; }
.fac-head span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-300); margin-top: 3px; text-transform: uppercase; }
.fac-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--ink-500); }
.fac-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); }
.fac-strip img { width: 100%; height: 128px; object-fit: cover; transition: opacity .3s; }
.fac-strip img:hover { opacity: .8; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partner-groups { margin-top: 46px; display: grid; gap: 26px; }
.pgroup { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 30px 30px; }
.pgroup-head { margin-bottom: 22px; }
.pgroup-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pgroup-title h3 { font-size: 19px; }
.pgroup-title span {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue-500);
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: rgba(31, 111, 208, .08);
}
.pgroup-desc { margin-top: 9px; font-size: 14px; line-height: 1.7; color: var(--ink-500); }

/* Logo wall — uniform tiles, image on top, name below */
.plogo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.plogo {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 11px; margin: 0; padding: 18px 14px 14px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.plogo img {
  width: 100%; max-width: 124px; height: 92px; object-fit: contain;
  display: block;
  transition: transform .3s var(--ease);
}
.plogo figcaption {
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink-700);
  text-align: center; line-height: 1.35;
  transition: color .25s var(--ease);
}
.plogo:hover {
  border-color: var(--blue-400); transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(11, 42, 91, .12);
}
.plogo:hover img { transform: scale(1.05); }
.plogo:hover figcaption { color: var(--blue-500); }

/* Groups with fewer members use a narrower track so tiles stay square-ish */
.pgroup[data-cols="5"] .plogo-grid { grid-template-columns: repeat(5, 1fr); }
.pgroup[data-cols="6"] .plogo-grid { grid-template-columns: repeat(6, 1fr); }
.pgroup[data-cols="9"] .plogo-grid { grid-template-columns: repeat(5, 1fr); }
.pgroup[data-cols="10"] .plogo-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .pgroup[data-cols="6"] .plogo-grid { grid-template-columns: repeat(3, 1fr); }
  .pgroup[data-cols="9"] .plogo-grid { grid-template-columns: repeat(3, 1fr); }
  .pgroup[data-cols="10"] .plogo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .plogo-grid,
  .pgroup[data-cols="5"] .plogo-grid,
  .pgroup[data-cols="6"] .plogo-grid,
  .pgroup[data-cols="9"] .plogo-grid,
  .pgroup[data-cols="10"] .plogo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .plogo-grid,
  .pgroup[data-cols="5"] .plogo-grid,
  .pgroup[data-cols="6"] .plogo-grid,
  .pgroup[data-cols="9"] .plogo-grid,
  .pgroup[data-cols="10"] .plogo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
/* Contact — centered single-column layout */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.ccard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 22px;
  text-align: center;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.ccard:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ccard-ico {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,111,208,.08), rgba(31,111,208,.04));
  color: var(--blue-500);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.ccard-ico svg { width: 22px; height: 22px; display: block; }
.ccard:hover .ccard-ico {
  background: linear-gradient(135deg, rgba(31,111,208,.16), rgba(31,111,208,.08));
  color: var(--blue-600);
}
.ccard-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink-300); text-transform: uppercase; margin-bottom: 6px;
}
.ccard-val {
  display: block; font-size: 15px; font-weight: 600; line-height: 1.5;
  color: var(--ink-900); word-break: break-word;
}
.ccard-val a { color: inherit; text-decoration: none; transition: color .2s; }
.ccard-val a:hover { color: var(--blue-500); }

/* Branch offices — centered */
.contact-branches-center {
  margin-top: 44px; padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-branches-center h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink-300); text-transform: uppercase; margin: 0 0 18px;
}
.branch-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.branch-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  transition: all .25s var(--ease);
}
.branch-chip::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-400); flex-shrink: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.branch-chip:hover {
  border-color: var(--blue-400); color: var(--blue-500);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.branch-chip:hover::before { background: var(--blue-500); transform: scale(1.35); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(214, 228, 246, .72); padding: clamp(46px, 6vw, 72px) 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand .footer-logo {
  height: 44px; width: 44px; display: block;
  background: var(--white); border-radius: 50%; padding: 5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.85; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: .04em; margin-bottom: 15px; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(190, 208, 232, .58);
}
.fb-made { opacity: .7; }

/* ==========================================================================
   To top
   ========================================================================== */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy-800); color: #fff; font-size: 19px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-500); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr; }
  .profile-grid, .history-wrap { grid-template-columns: 1fr; }
  .history-visual { position: relative; top: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 14px 20px 22px; gap: 2px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    box-shadow: var(--shadow-md);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .brand-text { display: none; }
  .brand-logo { height: 30px; }
}

@media (max-width: 680px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .branch-chips { gap: 6px; }
  .branch-chip { padding: 5px 11px; font-size: 12.5px; }

  /* Narrow viewports crop the 21:9 plate hard — shift the focal point to the
     right-hand port / aircraft side and lay a flatter wash over the copy. */
  .hero-bg-img { object-position: 78% 62%; opacity: .5; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 28, 61, .82) 0%, rgba(7, 28, 61, .6) 34%, rgba(7, 28, 61, .7) 100%);
  }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}
