/* ==========================================================================
   TransForward — corporate stylesheet
   Brand: navy #0b2545 · orange #f26522
   Modern CSS: @layer, text-wrap, content-visibility, :has(), nesting-ready
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities;

/* ---------- View Transitions (progressive enhancement) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .28s;
  animation-timing-function: cubic-bezier(.16,1,.3,1);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* ---------- Forced-colors (Windows High Contrast) ---------- */
@media (forced-colors: active) {
  .btn, .card, .coverage-row, .stats-grid, .form-card {
    border: 1px solid CanvasText !important;
    forced-color-adjust: none;
  }
  a { text-decoration: underline; }
}

/* ---------- Design Tokens ---------- */
@layer tokens {
  :root {
    color-scheme: light;

    /* Brand */
    --c-navy-900: #050f1f;
    --c-navy-800: #07182d;
    --c-navy:     #0b2545;
    --c-navy-700: #13305b;
    --c-navy-600: #1a3d72;
    --c-navy-100: #e7ecf3;
    --c-navy-50:  #f3f6fb;

    --c-orange:     #f26522;
    --c-orange-600: #d94f10;
    --c-orange-400: #ff8a3d;
    --c-orange-100: #ffe8d8;

    /* Neutrals */
    --c-bg:      #ffffff;
    --c-alt:     #f7f9fc;
    --c-alt-2:   #eef2f8;
    --c-border:  #e4e8ef;
    --c-border-strong: #cfd6e1;
    --c-text:    #0f1a2e;
    --c-muted:   #5a6676;
    --c-muted-2: #8892a3;

    /* Typography */
    --font:    'Inter', 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-ka: 'Noto Sans Georgian', 'Inter', system-ui, sans-serif;

    /* Radius & Shape */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows (soft, layered — navy-tinted) */
    --shadow-xs: 0 1px 2px rgba(11,37,69,.06);
    --shadow-sm: 0 2px 6px rgba(11,37,69,.06), 0 1px 2px rgba(11,37,69,.05);
    --shadow-md: 0 8px 24px rgba(11,37,69,.08), 0 2px 6px rgba(11,37,69,.04);
    --shadow-lg: 0 24px 60px rgba(11,37,69,.14), 0 6px 18px rgba(11,37,69,.06);
    --shadow-glow: 0 0 0 6px rgba(242,101,34,.18);

    /* Layout */
    --container: 1200px;
    --container-narrow: 960px;
    --gutter: 1.5rem;

    /* Motion */
    --ease: cubic-bezier(.2,.7,.3,1);
    --ease-out: cubic-bezier(.16,1,.3,1);
    --duration: .25s;
  }
}

/* ---------- Reset ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; }
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 120px;
    scrollbar-gutter: stable;
    text-size-adjust: 100%;
  }
  /* Prevent body scroll when mobile nav is open (iOS-safe) */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
  body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overscroll-behavior-y: none;
  }
  img, svg { max-width: 100%; display: block; height: auto; }
  a { color: var(--c-orange); text-decoration: none; transition: color var(--duration) var(--ease); }
  a:hover { color: var(--c-orange-600); }
  ::selection { background: var(--c-orange); color: #fff; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* ---------- Base Typography ---------- */
@layer base {
  body.lang-ka { font-family: var(--font-ka); letter-spacing: -.005em; }

  h1, h2, h3, h4 {
    font-family: var(--font);
    color: var(--c-navy);
    line-height: 1.15;
    margin: 0 0 .6em;
    font-weight: 800;
    letter-spacing: -.02em;
    text-wrap: balance;
  }
  body.lang-ka h1, body.lang-ka h2, body.lang-ka h3, body.lang-ka h4 {
    font-family: var(--font-ka);
    letter-spacing: -.01em;
  }
  h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); }
  h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem); }
  h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
  h4 { font-size: 1rem; font-weight: 700; }
  p  { margin: 0 0 1em; color: var(--c-muted); text-wrap: pretty; }
}

/* ---------- Layout ---------- */
@layer layout {
  .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
  .container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }

  .skip-link {
    position: absolute; inset-inline-start: -9999px; top: 0;
  }
  .skip-link:focus {
    inset-inline-start: 1rem; top: 1rem; background: var(--c-navy); color: #fff;
    padding: .5rem 1rem; z-index: 1000; border-radius: var(--radius-sm);
  }

  /* --- Header (two-row) --- */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(11,37,69,.08);
    transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
    isolation: isolate;
  }
  .site-header.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: 0 6px 24px rgba(11,37,69,.08);
  }
  .header-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem var(--gutter);
    gap: 2rem;
  }
  .brand { display: inline-flex; align-items: center; }
  .brand-logo {
    height: 132px; width: auto;
    transition: transform var(--duration) var(--ease), height var(--duration) var(--ease);
  }
  .brand:hover .brand-logo { transform: scale(1.02); }
  .site-header.scrolled .brand-logo { height: 88px; }

  .header-top-right { display: flex; align-items: center; gap: 1.1rem; }

  .site-nav {
    border-top: 1px solid rgba(11,37,69,.08);
    background: rgba(247,249,252,.7);
  }
  .site-nav > .container {
    display: flex; align-items: center; justify-content: center;
  }
  .site-nav ul {
    list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0;
    flex-wrap: wrap; justify-content: center;
  }
  .site-nav a {
    position: relative;
    color: var(--c-navy); font-weight: 500; text-decoration: none;
    padding: 1.05rem 1.2rem; border-radius: 0;
    font-size: .95rem; white-space: nowrap;
    transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
    display: inline-block;
  }
  body.lang-ka .site-nav a { font-size: .9rem; padding: 1.05rem .9rem; }
  .site-nav a::after {
    content: ''; position: absolute; inset-inline-start: 50%; bottom: 0;
    width: 0; height: 3px; background: var(--c-orange);
    transition: width var(--duration) var(--ease), inset-inline-start var(--duration) var(--ease);
    border-radius: 3px 3px 0 0;
  }
  .site-nav a:hover { color: var(--c-orange); background: rgba(242,101,34,.04); }
  .site-nav a.active { color: var(--c-orange); }
  .site-nav a.active::after { width: 32px; inset-inline-start: calc(50% - 16px); }

  @media (max-width: 1200px) {
    .brand-logo { height: 108px; }
    .site-header.scrolled .brand-logo { height: 76px; }
  }
  @media (max-width: 900px) {
    .brand-logo { height: 72px; }
    .site-header.scrolled .brand-logo { height: 60px; }
    .header-top { padding: .9rem var(--gutter); }
  }

  .nav-actions { display: flex; align-items: center; gap: 1rem; }
  .lang-switch {
    display: flex; gap: .15rem;
    background: var(--c-navy-50);
    padding: 3px; border-radius: 999px;
    font-size: .78rem; font-weight: 700;
  }
  .lang-switch a {
    color: var(--c-muted); padding: .35rem .7rem; border-radius: 999px;
    text-decoration: none; letter-spacing: .04em;
    transition: all var(--duration) var(--ease);
  }
  .lang-switch a:hover { color: var(--c-navy); }
  .lang-switch a.active { background: var(--c-navy); color: #fff; box-shadow: var(--shadow-xs); }

  /* Hamburger */
  .nav-toggle {
    display: none; background: transparent; border: 0; cursor: pointer;
    width: 44px; height: 44px; padding: 10px; border-radius: var(--radius-sm);
    position: relative;
  }
  .nav-toggle:hover { background: var(--c-navy-50); }
  .nav-toggle span {
    display: block; width: 100%; height: 2px; background: var(--c-navy);
    margin: 5px 0; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
    transform-origin: center;
  }
  /* Animated X when open */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* --- Footer --- */
  .site-footer {
    background: var(--c-navy-900); color: rgba(255,255,255,.72);
    padding: 5rem 0 0; position: relative; overflow: hidden;
  }
  .site-footer::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-orange), transparent);
    opacity: .5;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .footer-logo { height: 42px; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
  .footer-about { max-width: 420px; color: rgba(255,255,255,.6); line-height: 1.7; }
  .site-footer h4 {
    color: #fff; margin-bottom: 1.2rem;
    font-size: .85rem; text-transform: uppercase; letter-spacing: .12em;
  }
  .site-footer ul { list-style: none; padding: 0; margin: 0; }
  .site-footer li { padding: .4rem 0; }
  .site-footer a { color: rgba(255,255,255,.72); transition: color var(--duration) var(--ease); }
  .site-footer a:hover { color: var(--c-orange); text-decoration: none; }
  .site-footer .contact-list li { color: rgba(255,255,255,.72); }
  .site-footer .contact-list a { color: rgba(255,255,255,.85); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.6rem 0; font-size: .82rem; color: rgba(255,255,255,.5);
  }
}

/* ---------- Components ---------- */
@layer components {
  /* --- Buttons --- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem 1.7rem; border-radius: 999px;
    font-weight: 600; font-size: .95rem; cursor: pointer;
    border: 2px solid transparent; text-decoration: none;
    transition:
      transform var(--duration) var(--ease),
      box-shadow var(--duration) var(--ease),
      background var(--duration) var(--ease),
      color var(--duration) var(--ease),
      border-color var(--duration) var(--ease);
    font-family: inherit; white-space: nowrap;
    position: relative; overflow: hidden;
  }
  .btn:hover { text-decoration: none; transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }
  .btn-primary {
    background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-400) 100%);
    color: #fff; box-shadow: 0 6px 20px rgba(242,101,34,.28), 0 2px 4px rgba(242,101,34,.18);
  }
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--c-orange-600) 0%, var(--c-orange) 100%);
    box-shadow: 0 12px 28px rgba(242,101,34,.38), 0 4px 8px rgba(242,101,34,.2);
    color: #fff;
  }
  .btn-ghost {
    background: transparent; color: var(--c-navy);
    border-color: var(--c-navy); border-width: 1.5px;
  }
  .btn-ghost:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
  .btn-link {
    background: none; padding: 0; color: var(--c-orange); border: 0;
    font-weight: 700; border-radius: 0;
  }
  .btn-link:hover { transform: none; color: var(--c-orange-600); }
  .btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }
  .btn-block { width: 100%; }

  /* --- Hero --- */
  .hero {
    position: relative; overflow: hidden; isolation: isolate;
    background:
      radial-gradient(1200px 600px at 80% -10%, rgba(242,101,34,.22), transparent 60%),
      radial-gradient(900px 500px at 10% 110%, rgba(26,61,114,.6), transparent 60%),
      linear-gradient(135deg, #07182d 0%, #0b2545 50%, #13305b 100%);
    color: #fff;
    padding: 7rem 0 9rem;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25;
    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: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  }
  .hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
      radial-gradient(2px 2px at 14% 22%, rgba(255,255,255,.5), transparent),
      radial-gradient(1.5px 1.5px at 32% 58%, rgba(242,101,34,.7), transparent),
      radial-gradient(2px 2px at 78% 18%, rgba(255,255,255,.4), transparent),
      radial-gradient(1.5px 1.5px at 88% 66%, rgba(242,101,34,.6), transparent);
  }
  .hero-bg { display: none; }
  .hero-inner { position: relative; z-index: 2; }
  .hero-text { max-width: 820px; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--c-orange); margin-bottom: 1.1rem;
  }
  .hero .eyebrow {
    padding: .4rem .85rem; border-radius: 999px;
    background: rgba(242,101,34,.12);
    border: 1px solid rgba(242,101,34,.35);
    backdrop-filter: blur(6px);
  }
  .hero .eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-orange); box-shadow: 0 0 0 3px rgba(242,101,34,.3);
    animation: pulse 2.2s var(--ease) infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(242,101,34,.3); }
    50%      { box-shadow: 0 0 0 6px rgba(242,101,34,.08); }
  }

  .hero h1 { color: #fff; margin-bottom: 1.3rem; font-weight: 800; }
  .hero h1 .accent {
    background: linear-gradient(135deg, var(--c-orange-400) 0%, var(--c-orange) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero .lead {
    color: rgba(255,255,255,.78);
    font-size: clamp(1.05rem, .9rem + .4vw, 1.25rem);
    max-width: 640px; margin-bottom: 2.4rem;
  }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
  .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
  .hero .btn-ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

  /* --- Stats (overlapping card) --- */
  .stats {
    margin-top: -4.5rem; position: relative; z-index: 5;
    padding-bottom: 2rem;
  }
  .stats-grid {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 2.2rem 1rem;
    gap: 0;
    border: 1px solid rgba(11,37,69,.04);
  }
  .stat {
    text-align: center; padding: .5rem 1.2rem;
    border-inline-end: 1px solid var(--c-border);
    position: relative;
  }
  .stat:last-child { border-inline-end: 0; }
  .stat-value {
    font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.02em; line-height: 1;
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-600) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .stat-label {
    color: var(--c-muted); font-size: .85rem; font-weight: 500;
    margin-top: .55rem; text-transform: uppercase; letter-spacing: .06em;
  }

  /* --- Sections --- */
  .section {
    padding: 6rem 0; position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
  .section-alt {
    background: var(--c-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }
  .section-head {
    text-align: center; max-width: 740px; margin: 0 auto 3.5rem;
  }
  .section-head h2 { margin: .4rem 0 .6rem; }
  .section-head p  { font-size: 1.05rem; color: var(--c-muted); }
  .center { text-align: center; margin-top: 2.5rem; }

  .page-hero {
    background:
      radial-gradient(900px 400px at 85% -20%, rgba(242,101,34,.2), transparent 60%),
      linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-700) 100%);
    color: #fff;
    padding: 5.5rem 0 4.5rem;
    position: relative; overflow: hidden;
  }
  .page-hero::before {
    content: ''; position: absolute; inset: 0; opacity: .18;
    background-image:
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  }
  .page-hero > .container { position: relative; }
  .page-hero h1 { color: #fff; margin-bottom: .8rem; }
  .page-hero .lead { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 720px; }

  /* --- Grids & Cards --- */
  .grid-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center;
  }
  .cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
  }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }

  .card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2rem 1.9rem;
    transition:
      transform .3s var(--ease),
      box-shadow .3s var(--ease),
      border-color .3s var(--ease);
    position: relative; overflow: hidden;
  }
  .card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--c-orange), var(--c-orange-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease-out);
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
  }
  .card:hover::before { transform: scaleX(1); }
  .card h3 { color: var(--c-navy); margin-bottom: .5rem; }
  .card p  { font-size: .94rem; margin-bottom: 0; }

  .card-plain {
    background: transparent; border: 0; padding: 1rem 0;
  }
  .card-plain::before { display: none; }
  .card-plain:hover { transform: none; box-shadow: none; }
  .card-large { padding: 2.5rem; }

  .card-office .office-city {
    font-size: 1.55rem; font-weight: 800; color: var(--c-navy);
    letter-spacing: -.01em;
  }
  .card-office .office-role {
    color: var(--c-orange); font-weight: 700;
    margin-bottom: 1.1rem; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .1em;
  }

  /* --- Service / Feature icons (SVG masks) --- */
  .card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-400) 100%);
    margin-bottom: 1.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; position: relative;
    box-shadow: 0 8px 18px rgba(242,101,34,.28);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .card:hover .card-icon { transform: scale(1.06) rotate(-3deg); box-shadow: 0 12px 24px rgba(242,101,34,.38); }
  .icon-lg { width: 68px; height: 68px; border-radius: 16px; }

  .card-icon::before {
    content: ''; width: 28px; height: 28px;
    background: #fff;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
  }
  .icon-lg::before { width: 34px; height: 34px; }

  /* Inline SVG masks */
  .icon-ship::before      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 20a2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1 2.4 2.4 0 0 1 2-1 2.4 2.4 0 0 1 2 1 2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1 2.4 2.4 0 0 1 2-1 2.4 2.4 0 0 1 2 1 2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1'/><path d='M4 18l-2-7h20l-2 7'/><path d='M12 10V4h4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 20a2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1 2.4 2.4 0 0 1 2-1 2.4 2.4 0 0 1 2 1 2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1 2.4 2.4 0 0 1 2-1 2.4 2.4 0 0 1 2 1 2.4 2.4 0 0 0 2 1 2.4 2.4 0 0 0 2-1'/><path d='M4 18l-2-7h20l-2 7'/><path d='M12 10V4h4'/></svg>"); }
  .icon-train::before     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='16' height='16' rx='2'/><path d='M4 11h16'/><path d='M8 19l-2 3'/><path d='M16 19l2 3'/><circle cx='9' cy='15' r='1'/><circle cx='15' cy='15' r='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='16' height='16' rx='2'/><path d='M4 11h16'/><path d='M8 19l-2 3'/><path d='M16 19l2 3'/><circle cx='9' cy='15' r='1'/><circle cx='15' cy='15' r='1'/></svg>"); }
  .icon-truck::before     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6h13v11H1z'/><path d='M14 10h4l3 3v4h-7'/><circle cx='5' cy='18' r='2'/><circle cx='17' cy='18' r='2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6h13v11H1z'/><path d='M14 10h4l3 3v4h-7'/><circle cx='5' cy='18' r='2'/><circle cx='17' cy='18' r='2'/></svg>"); }
  .icon-clipboard::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 2h6v4H9z'/><path d='M9 12h6'/><path d='M9 16h4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 2h6v4H9z'/><path d='M9 12h6'/><path d='M9 16h4'/></svg>"); }
  .icon-forklift::before  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 17V6h8v11'/><path d='M11 10h5l3 4v3'/><circle cx='6' cy='19' r='2'/><circle cx='17' cy='19' r='2'/><path d='M13 4v13'/><path d='M13 4h4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 17V6h8v11'/><path d='M11 10h5l3 4v3'/><circle cx='6' cy='19' r='2'/><circle cx='17' cy='19' r='2'/><path d='M13 4v13'/><path d='M13 4h4'/></svg>"); }
  .icon-shield::before    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/><path d='M9 12l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/><path d='M9 12l2 2 4-4'/></svg>"); }
  .icon-warehouse::before { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-5 9 5v12H3z'/><rect x='7' y='13' width='10' height='8'/><path d='M7 17h10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-5 9 5v12H3z'/><rect x='7' y='13' width='10' height='8'/><path d='M7 17h10'/></svg>"); }
  .icon-search::before    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3'/></svg>"); }

  /* Inline contact icons */
  .ic {
    width: 18px; height: 18px; display: inline-block; flex-shrink: 0;
    background: currentColor;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    vertical-align: -3px;
  }
  .ic-phone { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6A2 2 0 0 1 22 16.9z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.6a2 2 0 0 1-.5 2.1L8 9.6a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.8.3 1.7.5 2.6.6A2 2 0 0 1 22 16.9z'/></svg>"); }
  .ic-mail  { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='M2 7l10 6 10-6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='M2 7l10 6 10-6'/></svg>"); }
  .ic-globe { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M2 12h20'/><path d='M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M2 12h20'/><path d='M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20z'/></svg>"); }
  .ic-pin   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 7-8 13-8 13s-8-6-8-13a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 7-8 13-8 13s-8-6-8-13a8 8 0 0 1 16 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }

  /* --- Image card / corridor illustration --- */
  .image-card {
    background:
      radial-gradient(600px 300px at 70% 20%, rgba(242,101,34,.22), transparent 60%),
      linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    min-height: 320px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
  }
  .image-card::before {
    content: ''; position: absolute; inset: 0; opacity: .18;
    background-image:
      linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  }
  .corridor-svg {
    position: relative; z-index: 2;
    width: 100%; height: auto;
    max-width: 560px;
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  .corridor-svg text {
    dominant-baseline: middle;
  }
  @media (prefers-reduced-motion: no-preference) {
    .corridor-svg path {
      stroke-dasharray: 4 8;
      animation: tfDash 12s linear infinite;
    }
    @keyframes tfDash {
      to { stroke-dashoffset: -240; }
    }
  }

  /* --- Coverage rows --- */
  .coverage-list { display: flex; flex-direction: column; gap: 1rem; }
  .coverage-row {
    display: grid; grid-template-columns: 240px 1fr;
    gap: 2rem; padding: 1.75rem 2rem;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
    position: relative;
  }
  .coverage-row::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%;
    width: 3px; background: var(--c-orange); border-radius: 3px;
    transform: scaleY(0); transform-origin: center;
    transition: transform .3s var(--ease);
  }
  .coverage-row:hover {
    border-color: transparent; box-shadow: var(--shadow-md);
    transform: translateX(4px);
  }
  .coverage-row:hover::before { transform: scaleY(1); }
  .coverage-name { font-size: 1.35rem; font-weight: 800; color: var(--c-navy); letter-spacing: -.01em; }
  .coverage-body { color: var(--c-muted); margin: 0; }

  /* --- Contact --- */
  .contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; color: var(--c-muted); }
  .contact-list li {
    padding: .45rem 0; display: flex; align-items: center; gap: .7rem;
  }
  .contact-list a { color: var(--c-navy); font-weight: 500; }
  .contact-list a:hover { color: var(--c-orange); }
  .contact-list-lg li { font-size: 1.05rem; padding: .6rem 0; }
  .office-mini-list { list-style: none; padding: 0; color: var(--c-muted); }
  .office-mini-list li { padding: .3rem 0; }

  .form-card {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius-lg); padding: 2.5rem;
    box-shadow: var(--shadow-md);
  }
  .form-row, .form-grid-2 { margin-bottom: 1.1rem; }
  .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .form-card label {
    display: block; font-weight: 600; color: var(--c-navy);
    font-size: .82rem; margin-bottom: .35rem;
    text-transform: uppercase; letter-spacing: .05em;
  }
  .form-card input, .form-card select, .form-card textarea {
    width: 100%; padding: .85rem 1rem;
    border: 1.5px solid var(--c-border); border-radius: 10px;
    font-family: inherit; font-size: .95rem;
    background: var(--c-alt); color: var(--c-text);
    margin-top: .2rem;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
  }
  .form-card input:hover, .form-card select:hover, .form-card textarea:hover {
    border-color: var(--c-border-strong);
  }
  .form-card input:focus, .form-card select:focus, .form-card textarea:focus {
    outline: 0; border-color: var(--c-orange); background: #fff;
    box-shadow: 0 0 0 4px rgba(242,101,34,.15);
  }
  .form-card textarea { resize: vertical; min-height: 140px; }
  .hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
  .form-status {
    margin-top: 1rem; font-size: .9rem; min-height: 1.2em;
    padding: 0; border-radius: 8px;
  }
  .form-status.success, .form-status.error { padding: .7rem 1rem; }
  .form-status.success { color: #0a5c2a; background: #e8f6ee; border: 1px solid #c7e6d2; }
  .form-status.error   { color: #9a2020; background: #fdecec; border: 1px solid #f2cdcd; }

  /* --- Transport highlights (3 mode tiles) --- */
  .section-transport { padding-top: 6rem; padding-bottom: 5rem; }
  .transport-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
  }
  .transport-tile {
    display: block;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem 2rem;
    color: inherit; text-decoration: none;
    transition:
      transform .3s var(--ease),
      box-shadow .3s var(--ease),
      border-color .3s var(--ease);
    position: relative; overflow: hidden;
  }
  .transport-tile::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--c-orange), var(--c-orange-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease-out);
  }
  .transport-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
  }
  .transport-tile:hover::before { transform: scaleX(1); }
  .transport-tile h3 { color: var(--c-navy); margin-bottom: .5rem; }
  .transport-tile p  { font-size: .94rem; color: var(--c-muted); margin-bottom: 1.25rem; }
  .transport-more {
    display: inline-block;
    font-weight: 600; font-size: .9rem;
    color: var(--c-orange);
    letter-spacing: .01em;
  }
  .transport-tile:hover .transport-more { color: var(--c-navy); }

  /* --- Coverage strip (5 region tiles) --- */
  .section-coverage {
    background: var(--c-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }
  .coverage-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
  }
  .coverage-tile {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition:
      transform .3s var(--ease),
      box-shadow .3s var(--ease),
      border-color .3s var(--ease);
    position: relative;
  }
  .coverage-tile::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--c-orange), var(--c-orange-400));
    transform: scaleY(0); transform-origin: top;
    transition: transform .4s var(--ease-out);
    border-radius: 3px 0 0 3px;
  }
  .coverage-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
  }
  .coverage-tile:hover::before { transform: scaleY(1); }
  .coverage-tile h3 {
    color: var(--c-navy);
    font-size: 1.05rem;
    margin-bottom: .55rem;
    font-weight: 700;
  }
  .coverage-tile p {
    font-size: .88rem; color: var(--c-muted); margin-bottom: 0;
    line-height: 1.55;
  }

  /* --- CTA band --- */
  .cta-band {
    background:
      radial-gradient(900px 400px at 80% 100%, rgba(255,255,255,.15), transparent 60%),
      linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-400) 100%);
    color: #fff; padding: 4.5rem 0;
    position: relative; overflow: hidden;
  }
  .cta-band::before {
    content: ''; position: absolute; inset: 0; opacity: .25;
    background-image:
      linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  }
  .cta-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 2rem; flex-wrap: wrap; position: relative;
  }
  .cta-band h2 { color: #fff; margin: 0; max-width: 640px; }
  .cta-band .btn-primary {
    background: #fff; color: var(--c-orange);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
  }
  .cta-band .btn-primary:hover { background: var(--c-navy); color: #fff; }
}

/* ---------- Utilities ---------- */
@layer utilities {
  /* Scroll reveal */
  .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero .eyebrow::before, .corridor-svg path { animation: none !important; }
  }

  /* Focus ring (a11y) */
  a:focus-visible, button:focus-visible, .btn:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid rgba(242,101,34,.55);
    outline-offset: 2px; border-radius: var(--radius-sm);
    box-shadow: 0 0 0 4px rgba(242,101,34,.15);
  }
  [aria-current="page"] { font-weight: 700; }

  /* ---------- Responsive ---------- */
  @media (max-width: 1024px) {
    .cards, .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { gap: 3rem; }
    .coverage-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 900px) {
    .section { padding: 4.5rem 0; }
    .section-transport { padding-top: 5rem; padding-bottom: 4rem; }
    .hero { padding: 5.5rem 0 7rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .transport-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 1.75rem; }
    .stat { border-inline-end: 0; border-bottom: 1px solid var(--c-border); padding: 1rem; }
    .stat:nth-last-child(-n+2) { border-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .coverage-row { grid-template-columns: 1fr; gap: .5rem; padding: 1.3rem 1.5rem; }
    .form-card { padding: 1.8rem; }

    .nav-toggle { display: block; }
    .site-nav {
      position: absolute; top: 100%; left: 0; right: 0;
      background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
      border-top: 1px solid var(--c-border);
      display: none;
      box-shadow: 0 20px 40px rgba(11,37,69,.08);
      max-height: calc(100dvh - 120px); overflow-y: auto;
    }
    .site-nav.open { display: block; }
    .site-nav > .container { padding: 1rem var(--gutter); }
    .site-nav ul { flex-direction: column; width: 100%; gap: .25rem; }
    .site-nav a {
      display: block; padding: .95rem 1rem;
      border-bottom: 1px solid var(--c-border); border-radius: 0;
      width: 100%;
    }
    .site-nav a::after { display: none; }
    .site-nav a.active { background: var(--c-navy-50); }
    .header-top-right .btn { display: none; }
    .header-top-right { gap: .6rem; }
  }
  @media (max-width: 560px) {
    .cards, .cards-3, .cards-4 { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .hero { padding: 4.5rem 0 6rem; }
    .hero-ctas .btn { flex: 1; }
    .section { padding: 3.5rem 0; }
    .section-head { margin-bottom: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; padding: 1.25rem; }
    .stat { border-bottom: 1px solid var(--c-border); }
    .stat:last-child { border-bottom: 0; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-band h2 { font-size: 1.5rem; }
    .image-card { padding: 2.25rem 1rem; min-height: 200px; }
    .corridor-svg { max-width: 100%; }
  }

  /* ---------- Print ---------- */
  @media print {
    :root { --c-bg: #fff; }
    body { background: #fff; color: #000; }
    .site-header, .site-nav, .nav-toggle, .lang-switch, .hero-ctas,
    .cta-band, .site-footer, .form-card, .skip-link { display: none !important; }
    .hero, .page-hero { padding: 1rem 0 !important; background: none !important; color: #000 !important; }
    .hero-bg, .image-card::before, .corridor-svg { display: none !important; }
    .card, .coverage-row, .stats-grid {
      box-shadow: none !important; border: 1px solid #bbb !important;
      break-inside: avoid;
    }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after, a[href^="mailto:"]::after, a[href^="tel:"]::after {
      content: " (" attr(href) ")"; font-size: .8em; color: #555;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    h1, h2, h3 { break-after: avoid; }
    .section { content-visibility: visible; }
  }
}
