/* ==========================================================================
   BIYAHERO Network Transport Corp.
   Design system. Single stylesheet, no external dependencies, no inline
   styles anywhere (the site runs a strict CSP with no 'unsafe-inline').

   TWO-TIER ICON SYSTEM
   --------------------
   1. Line icons, inline SVG sprite at the top of each page, 'currentColor'.
      Used for UI: checkmarks, arrows, phone, mail, pin, social, the chat
      widget. They inherit color so they work on any background.
   2. Badge icons, individual files in assets/img/icons/, referenced with
      <img>. Full-color gradient illustrations used on feature and service
      cards. They cannot inherit color, so every one sits on a white disc
      (.badge). That disc is what makes the three different icon families
      (orange circle, green circle, cream tile) read as a single set, and it
      is what keeps them legible on orange, green and navy alike. Do not
      remove it.
   ========================================================================== */

:root {
  /* Brand, aligned with the rider app and the icon artwork */
  --orange:        #FF6B35;
  --orange-hot:    #F5300B;
  --amber:         #FFA703;
  --orange-dark:   #E2551F;
  --orange-text:   #C4420F;   /* orange TEXT on light backgrounds, AA at 5.1:1 */
  --orange-lite:   #FF8A5C;   /* orange text on dark backgrounds */
  --orange-soft:   #FFF1EA;

  /* TWO gradient families, deliberately.
     --grad-*-vivid carries NO text: ribbon, card top edges, hero glow.
     --grad-*-text  sits UNDER white text: buttons, service headers, chips.
     The vivid amber end is only 1.95:1 against white, so white text on it
     fails WCAG badly. Both ends of the -text gradients clear AA (4.5:1).
     Do not swap one for the other without re-checking contrast. */
  --grad-o-vivid: linear-gradient(135deg, #FFA703, #F5300B);
  --grad-o-text:  linear-gradient(135deg, #C85209, #AE3307);
  --grad-g-text:  linear-gradient(135deg, #0E7A42, #064A28);

  --green:         #13A357;
  --green-deep:    #0B6B39;
  --green-dark:    #064A28;
  --green-text:    #0A6134;   /* green TEXT on light backgrounds */
  --green-lite:    #5FE39A;
  --green-soft:    #E6F2EA;

  --navy:          #0F1B3D;
  --navy-2:        #16294D;
  --navy-3:        #1E3663;
  --navy-deep:     #0A1229;

  --gold:          #C8932A;
  --white:         #FFFFFF;
  --ink:           #0E1726;
  --body:          #55657A;
  --muted:         #8FA0B3;
  --line:          #E3E8EE;
  --line-dark:     rgba(255, 255, 255, .13);
  --on-dark:       #C7D2DD;
  --ice:           #F4F6F9;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --shell: 1180px;
  --gut: 24px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 61, .05), 0 3px 10px rgba(15, 27, 61, .05);
  --shadow-md: 0 6px 18px rgba(15, 27, 61, .09), 0 18px 42px rgba(15, 27, 61, .08);
  --shadow-lg: 0 24px 60px rgba(5, 12, 30, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-text); text-decoration: none; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 {
  color: var(--ink); line-height: 1.2; margin: 0 0 .5em;
  font-weight: 800; letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.45rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Line icons (sprite) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 1.25em; height: 1.25em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.i .f { fill: currentColor; stroke: none; }

.ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--orange-soft); color: var(--orange-text);
  margin-bottom: 16px;
}
.ico .i { width: 22px; height: 22px; }
.ico--green { background: var(--green-soft); color: var(--green-text); }
.ico--navy  { background: rgba(15, 27, 61, .08); color: var(--navy); }
.ico--sm { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 0; }
.ico--sm .i { width: 18px; height: 18px; }
.section--navy .ico, .card--dark .ico {
  background: rgba(255, 107, 53, .16); color: var(--orange-lite);
}
.section--navy .ico--green, .card--dark .ico--green {
  background: rgba(95, 227, 154, .16); color: var(--green-lite);
}

/* ---------- Badge icons (full-color artwork) ----------
   The white disc is load-bearing. See the note at the top of this file. */
.badge {
  display: block; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(15, 27, 61, .14);
}
.badge--lg { width: 72px; height: 72px; padding: 6px; margin-bottom: 18px; }
.badge--md { width: 56px; height: 56px; padding: 5px; }
.badge--sm { width: 34px; height: 34px; padding: 3px; }
.badge--flat { box-shadow: none; }
/* On a colored header the disc also provides the contrast */
.svc__head .badge, .chips .badge { box-shadow: 0 4px 12px rgba(0, 0, 0, .22); }

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(60px, 4vw + 36px, 100px) 0; position: relative; }
.section--ice { background: var(--ice); }
.section--tint {
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 107, 53, .09), transparent 42%),
    radial-gradient(circle at 90% 88%, rgba(19, 163, 87, .11), transparent 45%),
    var(--ice);
}
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p, .section--navy .lead { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 13px;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--orange-lite); }
.lead { font-size: 1.06rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px;
  font-size: .95rem; font-weight: 700; font-family: inherit;
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--grad-o-text);
  color: var(--white); box-shadow: 0 8px 22px rgba(174, 51, 7, .34);
}
.btn--primary:hover { color: var(--white); box-shadow: 0 10px 26px rgba(245, 48, 11, .42); }
.btn--green {
  background: var(--grad-g-text);
  color: var(--white); box-shadow: 0 8px 22px rgba(6, 74, 40, .3);
}
.btn--green:hover { color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--ice); color: var(--navy); border-color: var(--muted); }
.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand img { width: auto; height: 40px; }
.brand__word { font-size: 1.24rem; font-weight: 800; letter-spacing: .05em; color: var(--navy); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: var(--r-pill); font-size: .95rem; font-weight: 600; color: var(--body); }
.nav a:hover { color: var(--navy); background: var(--ice); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--orange-soft); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: var(--on-dark); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::before {
  content: ""; position: absolute; width: 820px; height: 820px; border-radius: 50%;
  top: -360px; right: -240px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 107, 53, .38), transparent 62%);
}
.hero__bg::after {
  content: ""; position: absolute; width: 680px; height: 680px; border-radius: 50%;
  bottom: -340px; left: -220px;
  background: radial-gradient(circle at 50% 50%, rgba(19, 163, 87, .4), transparent 64%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 45%, transparent 100%);
}
.hero__inner { position: relative; padding: clamp(60px, 6vw, 96px) 0 0; }
.hero--split .hero__inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }
.hero--compact { text-align: center; }
.hero--compact .hero__inner { padding: clamp(56px, 5vw, 86px) 0 0; }
.hero--compact p { margin-inline: auto; }
.hero--compact .btn-row { justify-content: center; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--amber), var(--orange-hot));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--on-dark); font-size: 1.08rem; max-width: 54ch; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 8px; margin-bottom: 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark);
  font-size: .8rem; font-weight: 600; color: var(--on-dark);
}
.hero__tag b {
  padding: 3px 11px; border-radius: var(--r-pill);
  background: var(--grad-o-text);
  color: var(--white); font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}

/* Angled divider at the foot of the hero */
.ribbon { position: relative; height: 118px; margin-top: 54px; overflow: hidden; }
.ribbon i { position: absolute; left: -8%; right: -8%; display: block; }
.ribbon .ribbon__g {
  height: 150px; bottom: -62px;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  transform: rotate(-1.5deg);
}
.ribbon .ribbon__o {
  height: 22px; bottom: 34px;
  background: linear-gradient(90deg, var(--amber), var(--orange-hot));   /* decorative, no text */
  transform: rotate(-1.5deg); box-shadow: 0 -6px 24px rgba(245, 48, 11, .45);
}

/* Fleet panel in the hero */
.plate {
  position: relative; border-radius: 26px; padding: 26px;
  background: linear-gradient(140deg, #1b3157, #0d1b38);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
}
.plate h2 {
  margin: 0 0 16px; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange-lite); font-weight: 800;
}
.fleet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.fleet div {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  border-radius: 14px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}
.fleet .badge { width: 42px; height: 42px; padding: 4px; flex: 0 0 auto; }
.fleet b { display: block; font-size: .82rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.fleet small { display: block; font-size: .68rem; color: #9FB0C4; }

/* ---------- Trust chip band ---------- */
.chips { background: linear-gradient(90deg, var(--green-dark), #0E7A42); padding: 4px 0 24px; margin-top: -1px; }
.chips__inner { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: .9rem; font-weight: 700; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 9px; }
.card p:last-child { margin-bottom: 0; }
.card--dark { background: var(--navy-2); border-color: rgba(255, 255, 255, .09); color: var(--on-dark); }
.card--dark h3 { color: var(--white); }
.card--span { grid-column: 1 / -1; }
.card--plain:hover { transform: none; }
.card--center { text-align: center; }
.card--center .badge { margin-inline: auto; }
/* Gradient top edge, orange or green */
.card--o, .card--g { border-top: 5px solid transparent; background-origin: border-box; background-clip: padding-box, border-box; }
.card--o { background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, var(--amber), var(--orange-hot)); }
.card--g { background-image: linear-gradient(var(--white), var(--white)), linear-gradient(90deg, var(--green), var(--green-dark)); }
.card--dark.card--o { background-image: linear-gradient(var(--navy-2), var(--navy-2)), linear-gradient(90deg, var(--amber), var(--orange-hot)); }
.card--dark.card--g { background-image: linear-gradient(var(--navy-2), var(--navy-2)), linear-gradient(90deg, var(--green), var(--green-dark)); }
.card__tag {
  display: inline-block; margin-top: 16px; padding: 6px 15px;
  border-radius: var(--r-pill); background: var(--orange-soft); color: var(--orange-text);
  font-size: .78rem; font-weight: 700;
}
.card__list { margin-top: 16px; }
.card__foot { margin-top: 16px; font-size: .84rem; font-weight: 700; color: var(--orange-text); }
.card--dark .card__foot { color: var(--orange-lite); }

/* ---------- Service cards with colored headers ---------- */
.svc {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc__head { display: flex; align-items: center; gap: 14px; padding: 19px 22px 17px; }
.svc__head--o { background: var(--grad-o-text); }
.svc__head--g { background: var(--grad-g-text); }
.svc__head h3 { margin: 0; color: var(--white); font-size: 1.04rem; }
.svc__head small { display: block; font-weight: 600; font-size: .72rem; color: rgba(255, 255, 255, .88); letter-spacing: .03em; }
.svc__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
.svc__body p { margin-bottom: 14px; font-size: .93rem; }
.svc__line { margin-top: auto; margin-bottom: 0; font-size: .85rem; font-weight: 700; color: var(--orange-text); font-style: italic; }
.svc__line--g { color: var(--green-text); }
.svc__note { margin: 11px 0 0; font-size: .78rem; color: var(--body); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; text-align: center; }
.step__n {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px;
  background: var(--grad-o-text);
  color: var(--white); font-size: 1.32rem; font-weight: 800;
  box-shadow: 0 8px 20px rgba(174, 51, 7, .32);
}
.step__n::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { font-size: .925rem; margin-bottom: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; right: -22px; width: 26px; height: 3px;
  background: var(--line); border-radius: 2px;
}
.section--navy .step:not(:last-child)::after { background: rgba(255, 255, 255, .18); }

/* ---------- Check lists ---------- */
.checks li { position: relative; padding-left: 31px; margin-bottom: 11px; }
.checks .i {
  position: absolute; left: 0; top: .28em;
  width: 19px; height: 19px; padding: 3px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-text); stroke-width: 2.6;
}
.section--navy .checks .i, .card--dark .checks .i {
  background: rgba(255, 107, 53, .2); color: var(--orange-lite);
}
.checks--green .i { background: var(--green-soft); color: var(--green-text); }
.section--navy .checks--green .i, .card--dark .checks--green .i {
  background: rgba(95, 227, 154, .18); color: var(--green-lite);
}
.checks--tight li { margin-bottom: 7px; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact { display: flex; align-items: flex-start; gap: 13px; }
.fact .i { width: 22px; height: 22px; color: var(--orange-text); margin-top: 3px; }
.section--navy .fact .i { color: var(--orange-lite); }
.fact b { display: block; font-size: .95rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.section--navy .fact b { color: var(--white); }
.fact span { font-size: .86rem; }

/* ---------- Values hub ---------- */
.hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hub__core {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 26px; border-radius: 18px;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: var(--white); box-shadow: var(--shadow-md); text-align: left;
}
.hub__core img { height: 62px; width: auto; }
.hub__core b { display: block; font-size: 1.2rem; font-weight: 800; }
.hub__core span { font-size: .92rem; color: var(--on-dark); }

/* ---------- Quote ---------- */
.quote { max-width: 800px; margin-inline: auto; text-align: center; }
.quote p { margin: 0; font-size: clamp(1.2rem, .95rem + .9vw, 1.68rem); font-weight: 700; color: var(--white); line-height: 1.42; }
.quote cite {
  display: block; margin-top: 18px; font-style: normal;
  font-size: .82rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-lite);
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--wide { grid-template-columns: 1.15fr .85fr; }
.split__panel { background: var(--ice); border-radius: var(--r-lg); padding: 36px; }
.section--navy .split__panel { background: var(--navy-2); }

/* ---------- Angled CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
  padding: clamp(34px, 3.2vw, 54px); border-radius: var(--r-lg);
  background: linear-gradient(115deg, #053F22, var(--green-dark) 48%, #0E7A42);
  color: var(--white);
}
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  top: -230px; right: -130px;
  background: radial-gradient(circle, rgba(255, 167, 3, .3), transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 7px; }
.cta-band p { margin-bottom: 0; color: rgba(255, 255, 255, .9); }
/* Full-bleed diagonal variant */
.cta-full { padding: 0; }
.cta-full__band {
  background: linear-gradient(115deg, #053F22, var(--green-dark) 48%, #0E7A42);
  color: var(--white); padding: clamp(48px, 4vw, 74px) 0;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.cta-full__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-full h2 { color: var(--white); margin-bottom: 7px; }
.cta-full p { color: rgba(255, 255, 255, .9); margin-bottom: 0; }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 12px 24px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); color: var(--white);
}
.store:hover { background: rgba(255, 255, 255, .13); color: var(--white); }
.store .i { width: 24px; height: 24px; color: var(--white); }
.store small { display: block; font-size: .68rem; color: var(--on-dark); line-height: 1.2; }
.store strong { display: block; font-size: .96rem; line-height: 1.25; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 17px; align-items: flex-start; }
.contact-item .ico { margin-bottom: 0; }
.contact-item h3 { font-size: .95rem; margin-bottom: 3px; }
.contact-item p { margin-bottom: 0; font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 53, .16);
}
.field textarea { min-height: 124px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--body); margin: 0; }
.section--navy .form__note { color: var(--on-dark); }
.form__status { margin: 0; font-size: .9rem; font-weight: 600; }
.form__status[data-state="ok"]  { color: var(--green-text); }
.form__status[data-state="err"] { color: var(--orange-text); }
.subscribe { display: flex; gap: 11px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 220px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 0 22px; margin-bottom: 12px;
}
.faq details[open] { border-color: #D3DBE5; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 19px; height: 19px; color: var(--orange-text); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(90deg); }
.faq details > p { padding-bottom: 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 66px 0 30px; }
.site-footer a { color: var(--on-dark); font-size: .925rem; }
.site-footer a:hover { color: var(--orange-lite); }
.site-footer h4 { color: var(--white); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand .brand__word { color: var(--white); }
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 36ch; }
.footer-grid li { margin-bottom: 10px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); color: var(--white);
}
.socials a:hover { background: var(--orange); color: var(--white); }
.socials .i { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 40px; }
.stack-tagline { margin-top: 38px; font-size: 1.2rem; font-weight: 800; color: var(--navy); text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange-hot); color: var(--white); padding: 11px 20px;
  border-radius: var(--r-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .hero--split .hero__media { order: -1; }
}
@media (max-width: 960px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hub { grid-template-columns: repeat(2, 1fr); }
  .hub__core { grid-column: span 2; }
  .steps, .steps--3 { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 36px; }
  .chips__inner { gap: 12px 22px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; order: 3; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px var(--gut) 22px; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 15px; }
  .nav .btn { margin-top: 10px; justify-content: center; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; }
  .hub__core { grid-column: span 1; flex-direction: column; text-align: center; gap: 14px; }
  .fleet { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band, .cta-full__inner { flex-direction: column; align-items: flex-start; }
  .ribbon { height: 86px; margin-top: 40px; }
  .chip { font-size: .83rem; }
}
@media (max-width: 520px) {
  .steps, .steps--3, .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; }
  .site-header .btn { width: auto; }
  .split__panel { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .nav-toggle, .socials, .btn, .hero__bg, .hero__grid, .ribbon { display: none; }
  body { color: #000; }
}
/* ==========================================================================
   INTRO SCREEN
   Injected by assets/js/intro.js before first paint. It sits ON TOP of the
   page rather than hiding it, so a JS failure cannot leave content invisible.
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep);
  opacity: 1;
  transition: opacity .52s ease, visibility .52s ease;
}
.intro::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, .3), transparent 62%);
  animation: intro-bloom 1.5s cubic-bezier(.2, .7, .3, 1) both;
}
.intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.has-intro, .has-intro body { overflow: hidden; }

.intro__inner { position: relative; text-align: center; }
.intro__mark {
  display: flex; justify-content: center;
  animation: intro-mark .9s cubic-bezier(.2, .8, .25, 1) both;
}
.intro__mark img { width: 96px; height: auto; }
.intro__word {
  margin-top: 20px;
  font-family: var(--font); font-size: 1.9rem; font-weight: 800;
  letter-spacing: .34em; text-indent: .34em; color: var(--white);
  animation: intro-rise .75s cubic-bezier(.2, .8, .25, 1) .18s both;
}
.intro__tag {
  margin-top: 8px; font-size: .84rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--orange-lite);
  animation: intro-rise .75s cubic-bezier(.2, .8, .25, 1) .3s both;
}
.intro__bar {
  width: 168px; height: 2px; margin: 26px auto 0; border-radius: 2px;
  background: rgba(255, 255, 255, .13); overflow: hidden;
}
.intro__bar span {
  display: block; height: 100%; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-lite));
  transform-origin: left center;
  animation: intro-bar 1.45s cubic-bezier(.35, .1, .2, 1) both;
}
.intro__skip {
  position: absolute; right: 22px; bottom: 22px;
  padding: 9px 20px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--line-dark);
  color: var(--on-dark); font: inherit; font-size: .8rem; font-weight: 700;
  cursor: pointer;
  animation: intro-rise .5s ease .7s both;
}
.intro__skip:hover { background: rgba(255, 255, 255, .09); color: var(--white); }

@keyframes intro-mark {
  0%   { opacity: 0; transform: scale(.72) translateY(14px); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes intro-rise {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: none; }
}
@keyframes intro-bloom {
  0%   { opacity: 0; transform: scale(.55); }
  60%  { opacity: 1; }
  100% { opacity: .85; transform: scale(1); }
}
@keyframes intro-bar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ==========================================================================
   ASSISTANT WIDGET
   ========================================================================== */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 900; }

.chat__fab {
  position: relative; width: 60px; height: 60px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: var(--orange); color: var(--white);
  box-shadow: 0 10px 28px rgba(255, 107, 53, .42);
  transition: transform .22s cubic-bezier(.2, .8, .25, 1), background .2s ease;
}
.chat__fab:hover { transform: translateY(-3px) scale(1.04); background: var(--orange-dark); }
.chat__fab .i { width: 26px; height: 26px; }
.chat__fab-open, .chat__fab-close {
  position: absolute; display: flex;
  transition: opacity .2s ease, transform .28s cubic-bezier(.2, .8, .25, 1);
}
.chat__fab-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__fab-open  { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__fab-close { opacity: 1; transform: none; }
/* One gentle pulse to draw the eye, then stop. */
.chat__fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--orange);
  animation: chat-pulse 2.4s ease-out 3;
}
@keyframes chat-pulse {
  0%   { opacity: .7; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.55); }
  100% { opacity: 0;  transform: scale(1.55); }
}

.chat__panel {
  position: absolute; right: 0; bottom: 74px;
  display: flex; flex-direction: column;
  width: min(384px, calc(100vw - 44px)); height: min(560px, calc(100vh - 140px));
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 27, 61, .26);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .26s ease, transform .3s cubic-bezier(.2, .9, .3, 1);
}
.chat.is-open .chat__panel { opacity: 1; transform: none; }
.chat.no-anim .chat__panel { transition: none; }

.chat__head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 16px; background: var(--navy); color: var(--white); flex: 0 0 auto;
}
.chat__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto;
  background: rgba(255, 107, 53, .2); color: var(--orange-lite);
}
.chat__avatar .i { width: 19px; height: 19px; }
.chat__id { margin-right: auto; line-height: 1.3; }
.chat__id strong { display: block; font-size: .92rem; font-weight: 800; }
.chat__id small { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--on-dark); }
.chat__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #45D483;
  box-shadow: 0 0 0 0 rgba(69, 212, 131, .6);
  animation: chat-live 2.2s ease-out infinite;
}
@keyframes chat-live {
  0%   { box-shadow: 0 0 0 0 rgba(69, 212, 131, .55); }
  70%  { box-shadow: 0 0 0 7px rgba(69, 212, 131, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 212, 131, 0); }
}
.chat__reset, .chat__x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; flex: 0 0 auto;
  background: transparent; border: none; border-radius: 9px;
  color: var(--on-dark); cursor: pointer; transition: background .16s ease, color .16s ease;
}
.chat__reset:hover, .chat__x:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.chat__reset .i, .chat__x .i { width: 17px; height: 17px; }

.chat__log {
  flex: 1 1 auto; overflow-y: auto; padding: 18px 16px 6px;
  background: var(--ice); scroll-behavior: smooth;
}
.chat__msg { display: flex; margin-bottom: 12px; animation: chat-in .32s cubic-bezier(.2, .8, .25, 1) both; }
.chat__msg--user { justify-content: flex-end; }
@keyframes chat-in {
  0%   { opacity: 0; transform: translateY(9px); }
  100% { opacity: 1; transform: none; }
}
.chat__bubble {
  max-width: 84%; padding: 11px 15px; border-radius: 16px;
  font-size: .9rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word;
}
.chat__msg--bot .chat__bubble {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-bottom-left-radius: 5px;
}
.chat__msg--user .chat__bubble {
  background: var(--orange); color: var(--white); border-bottom-right-radius: 5px;
}
.chat__msg--streaming .chat__bubble::after {
  content: ""; display: inline-block; vertical-align: text-bottom;
  width: 2px; height: 1em; margin-left: 2px; background: var(--orange);
  animation: chat-caret .9s steps(2) infinite;
}
@keyframes chat-caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.chat__msg--fallback .chat__bubble { border-left: 3px solid var(--gold); }

.chat__dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.chat__dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: chat-bounce 1.25s ease-in-out infinite;
}
.chat__dots i:nth-child(2) { animation-delay: .16s; }
.chat__dots i:nth-child(3) { animation-delay: .32s; }
@keyframes chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.chat__chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 16px 12px; background: var(--ice); }
.chat__chips[hidden] { display: none; }
.chat__chip {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--navy);
  cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.chat__chip:hover { background: var(--orange-soft); border-color: var(--orange); transform: translateY(-1px); }

.chat__form {
  display: flex; align-items: flex-end; gap: 9px;
  padding: 12px 14px; background: var(--white); border-top: 1px solid var(--line); flex: 0 0 auto;
}
.chat__input {
  flex: 1 1 auto; max-height: 110px; padding: 10px 14px;
  font: inherit; font-size: .9rem; line-height: 1.5; color: var(--ink);
  background: var(--ice); border: 1px solid var(--line); border-radius: 15px;
  resize: none; overflow-y: auto;
}
.chat__input:focus {
  outline: none; background: var(--white);
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 53, .15);
}
.chat__send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; flex: 0 0 auto;
  background: var(--orange); border: none; border-radius: 50%; color: var(--white);
  cursor: pointer; transition: background .16s ease, transform .16s ease;
}
.chat__send:hover:not(:disabled) { background: var(--orange-dark); transform: scale(1.06); }
.chat__send:disabled { opacity: .45; cursor: not-allowed; }
.chat__send .i { width: 18px; height: 18px; }

.chat__foot {
  margin: 0; padding: 0 16px 12px; background: var(--white);
  font-size: .68rem; color: var(--muted); text-align: center; flex: 0 0 auto;
}

@media (max-width: 760px) {
  .chat { right: 16px; bottom: 16px; }
  .chat__fab { width: 54px; height: 54px; }
  .chat__panel {
    position: fixed; inset: 0; right: 0; bottom: 0;
    width: 100vw; height: 100dvh; max-height: none;
    border: none; border-radius: 0;
    transform: translateY(100%); opacity: 1;
  }
  .chat.is-open .chat__panel { transform: none; }
  .chat.is-open .chat__fab { opacity: 0; pointer-events: none; }
  .chat__head { padding-top: max(15px, env(safe-area-inset-top)); }
  .chat__foot { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .intro, .chat__fab::after, .chat__dot, .chat__dots i,
  .chat__msg, .chat__msg--streaming .chat__bubble::after { animation: none !important; }
  .chat__panel { transition: none !important; }
}
