/* ==========================================================================
   Arvanta Global Logistics — brand layer on top of Flatsome.
   Mobile first. Breakpoints: 640 (large phone), 900 (tablet), 1100 (desktop).
   ========================================================================== */

:root {
  --agl-navy: #1B1A4B;
  --agl-navy-900: #0F0E33;
  --agl-navy-700: #2B2A6B;
  --agl-navy-100: #E9E9F4;
  --agl-red: #EC0628;
  --agl-red-700: #C4051F;
  --agl-red-50: #FDECEF;
  --agl-ink: #14132F;
  --agl-text: #474B66;
  --agl-muted: #6B6F8A;
  --agl-line: #E3E5EF;
  --agl-mist: #F4F5FA;
  --agl-white: #fff;
  --agl-success: #0E9F57;
  --agl-success-50: #E3F6EC;
  --agl-warn: #C27A00;
  --agl-warn-50: #FFF3DC;
  --agl-radius: 18px;
  --agl-radius-sm: 12px;
  --agl-shadow: 0 1px 2px rgba(20, 19, 47, .06), 0 8px 24px rgba(20, 19, 47, .08);
  --agl-shadow-lg: 0 2px 6px rgba(20, 19, 47, .06), 0 24px 60px rgba(20, 19, 47, .16);
  --agl-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --agl-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --agl-gutter: 16px;
  --agl-sec: 64px;
}
@media (min-width: 640px) { :root { --agl-gutter: 24px; } }
@media (min-width: 900px) { :root { --agl-sec: 96px; } }

/* ---------- Base typography ---------- */
body.agl { font-family: var(--agl-body); color: var(--agl-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; background: #fff; }
body.agl h1, body.agl h2, body.agl h3, body.agl h4, body.agl h5, body.agl h6,
body.agl .heading-font { font-family: var(--agl-head); color: var(--agl-ink); letter-spacing: -.02em; font-weight: 800; }
body.agl p { margin-bottom: 1em; }
body.agl a { color: var(--agl-navy); }
body.agl a:hover { color: var(--agl-red); }
body.agl ::selection { background: var(--agl-red); color: #fff; }
.agl-i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.agl-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--agl-gutter); }
.agl-muted { color: var(--agl-muted); font-size: .92em; }
.agl-nowrap { white-space: nowrap; }
.agl-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--agl-muted); }
.agl-kicker { display: inline-flex; align-items: center; gap: .5em; font-family: var(--agl-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--agl-red); margin-bottom: 14px; }
.agl-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--agl-red); }
.agl-kicker .agl-i { display: none; }
.agl-lead { font-size: 1.08rem; line-height: 1.65; color: var(--agl-text); max-width: 640px; }
@media (min-width: 900px) { .agl-lead { font-size: 1.15rem; } }

/* ---------- Buttons ---------- */
.agl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--agl-head); font-weight: 700; font-size: .98rem; letter-spacing: 0; text-transform: none; line-height: 1; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; text-decoration: none; white-space: nowrap; }
.agl-btn:hover { transform: translateY(-1px); }
.agl-btn .agl-i { transition: transform .15s ease; }
.agl-btn:hover .agl-i:last-child { transform: translateX(3px); }
.agl-btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.agl-btn-primary, body.agl a.agl-btn-primary { background: var(--agl-red); color: #fff; box-shadow: 0 8px 20px rgba(236, 6, 40, .28); }
.agl-btn-primary:hover, body.agl a.agl-btn-primary:hover { background: var(--agl-red-700); color: #fff; }
.agl-btn-navy, body.agl a.agl-btn-navy { background: var(--agl-navy); color: #fff; }
.agl-btn-navy:hover, body.agl a.agl-btn-navy:hover { background: var(--agl-navy-900); color: #fff; }
.agl-btn-ghost, body.agl a.agl-btn-ghost { background: #fff; color: var(--agl-navy); border-color: var(--agl-line); }
.agl-btn-ghost:hover, body.agl a.agl-btn-ghost:hover { border-color: var(--agl-navy); color: var(--agl-navy); }
.agl-btn-light, body.agl a.agl-btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.agl-btn-light:hover, body.agl a.agl-btn-light:hover { background: #fff; color: var(--agl-navy); }
.agl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.agl-link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--agl-head); font-weight: 700; color: var(--agl-red) !important; }
.agl-link:hover .agl-i { transform: translateX(3px); }
.agl-link .agl-i { transition: transform .15s ease; }
.agl-linkish { background: none; border: 0; padding: 0; margin: 0; min-height: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.agl-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border-radius: 10px; border: 1px solid var(--agl-line); background: #fff; color: var(--agl-navy); cursor: pointer; }
.agl-icon-btn:hover { border-color: var(--agl-navy); }

/* ---------- Flatsome header ---------- */
.agl .header-top { background: var(--agl-navy-900) !important; }
.agl .header-top .nav > li > a, .agl .agl-topbar a { color: rgba(255,255,255,.82); font-size: .82rem; }
.agl .header-top .html_topbar_left { font-size: .82rem; color: rgba(255,255,255,.82); letter-spacing: 0; text-transform: none; }
.agl-topbar { display: flex; gap: 22px; }
.agl-topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.agl-topbar a:hover { color: #fff !important; }
.agl-topbar .agl-i { color: var(--agl-red); width: 15px; height: 15px; }
.agl-topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.agl-topbar-note b { color: #fff; font-weight: 600; }
.agl .header-main { box-shadow: 0 1px 0 var(--agl-line); }
.agl .header-main .nav > li > a { font-family: var(--agl-head); font-weight: 700; font-size: .95rem; color: var(--agl-ink); letter-spacing: 0; text-transform: none; }
.agl .header-main .nav > li > a:hover, .agl .header-main .nav > li.active > a, .agl .header-main .nav > li.current-menu-item > a { color: var(--agl-red); }
.agl .header-main .nav-line-bottom > li > a:before { background: var(--agl-red); height: 3px; border-radius: 3px; }
.agl .header-main .header-button .button { font-family: var(--agl-head); font-weight: 700; text-transform: none; letter-spacing: 0; border-radius: 999px; padding: 0 20px; min-height: 44px; line-height: 40px; font-size: .95rem; }
.agl .header-main .header-button-1 .button { border: 2px solid var(--agl-navy); color: var(--agl-navy); background: transparent; }
.agl .header-main .header-button-1 .button:hover { background: var(--agl-navy); color: #fff; box-shadow: none; }
.agl .header-main .header-button-2 .button { background: var(--agl-red); border: 2px solid var(--agl-red); color: #fff; box-shadow: 0 6px 16px rgba(236, 6, 40, .25); }
.agl .header-main .header-button-2 .button:hover { background: var(--agl-red-700); border-color: var(--agl-red-700); }
.agl .nav-dropdown { border-radius: 14px; border: 1px solid var(--agl-line); box-shadow: var(--agl-shadow-lg); padding: 10px; }
.agl .nav-dropdown > li > a { font-family: var(--agl-head); font-weight: 600; color: var(--agl-ink); border-radius: 8px; padding: 10px 14px; border: 0 !important; }
.agl .nav-dropdown > li > a:hover { background: var(--agl-mist); color: var(--agl-red); }
.agl .header-main .icon-menu { color: var(--agl-navy); font-size: 1.5em; }
.agl-mobile-track { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--agl-red); color: #fff !important; font-family: var(--agl-head); font-weight: 700; font-size: .9rem; text-decoration: none; }
.agl-mobile-track .agl-i { width: 18px; height: 18px; }
.agl .stuck .header-main { box-shadow: 0 6px 24px rgba(20, 19, 47, .1); }

/* Mobile drawer */
.agl .off-canvas-left.mfp-ready .mfp-content, .agl .off-canvas .mobile-sidebar { background: #fff; }
.agl .mobile-sidebar .nav-sidebar > li > a { font-family: var(--agl-head); font-weight: 700; font-size: 1.05rem; color: var(--agl-ink); padding: 16px 20px; text-transform: none; letter-spacing: 0; }
.agl .mobile-sidebar .nav-sidebar > li { border-color: var(--agl-line); }
.agl .mobile-sidebar .children a, .agl .mobile-sidebar .sub-menu a { font-family: var(--agl-body); font-weight: 500; color: var(--agl-text); }
.agl .mobile-sidebar .header-button { padding: 8px 20px; width: 100%; }
.agl .mobile-sidebar .header-button .button { width: 100%; border-radius: 999px; font-family: var(--agl-head); text-transform: none; letter-spacing: 0; min-height: 50px; line-height: 46px; margin: 0; }
.agl .mobile-sidebar .header-button-2 .button { background: var(--agl-red); border-color: var(--agl-red); color: #fff; }
.agl .mobile-sidebar .header-button-1 .button { border: 2px solid var(--agl-navy); color: var(--agl-navy); background: #fff; }
.agl-drawer-contact { display: grid; gap: 12px; padding: 20px; margin: 12px 16px; border-radius: var(--agl-radius-sm); background: var(--agl-mist); font-size: .92rem; }
.agl-drawer-contact a, .agl-drawer-contact span { display: flex; align-items: center; gap: 10px; color: var(--agl-ink); font-weight: 600; text-decoration: none; }
.agl-drawer-contact .agl-i { color: var(--agl-red); }
.agl-drawer-contact .agl-eyebrow { margin: 0; }

/* Flatsome content wrappers: pages are full-bleed sections */
.agl.page-template-page-blank #content, .agl.page-template-page-blank .page-wrapper { padding: 0; }
.agl #main { background: #fff; }

/* ---------- Sections ---------- */
.agl-sec { padding: var(--agl-sec) 0; position: relative; }
.agl-sec.is-mist { background: var(--agl-mist); }
.agl-sec.is-navy { background: var(--agl-navy); color: rgba(255,255,255,.8); }
.agl-sec.is-navy h2, .agl-sec.is-navy h3 { color: #fff; }
.agl-sec.is-tight { padding: 40px 0; }
.agl-head { max-width: 720px; margin: 0 0 36px; }
.agl-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.agl-head.is-center .agl-lead { margin-left: auto; margin-right: auto; }
.agl-head h2, .agl-h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.7rem); line-height: 1.12; margin-bottom: 14px; }
.agl-head p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .agl-head { margin-bottom: 52px; } }

/* ---------- Home hero ---------- */
.agl-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 0%, #2F2E7A 0%, rgba(47,46,122,0) 60%), linear-gradient(160deg, var(--agl-navy) 0%, var(--agl-navy-900) 100%); color: rgba(255,255,255,.82); padding: 48px 0 0; }
.agl-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); pointer-events: none; }
.agl-hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.agl-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.05; margin: 0 0 18px; }
.agl-hero h1 em { font-style: normal; color: var(--agl-red); position: relative; white-space: nowrap; }
.agl-hero .agl-lead { color: rgba(255,255,255,.8); margin-bottom: 26px; }
.agl-hero .agl-kicker { color: #fff; }
.agl-hero .agl-kicker::before { background: var(--agl-red); }
.agl-hero-track { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 16px; backdrop-filter: blur(6px); max-width: 600px; }
.agl-hero-track-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 4px 12px; color: #fff; font-family: var(--agl-head); font-weight: 700; font-size: .95rem; }
.agl-hero-track-label a { color: rgba(255,255,255,.75) !important; font-family: var(--agl-body); font-weight: 500; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.agl-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.agl-hero-points li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; color: rgba(255,255,255,.85); }
.agl-hero-points .agl-i { color: var(--agl-red); }
.agl-hero-art { position: relative; margin: 0 calc(var(--agl-gutter) * -1); }
.agl-hero-art img { display: block; width: 100%; max-width: 760px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: agl-float 6s ease-in-out infinite; }
.agl-hero-road { height: 56px; background: linear-gradient(#141338, #0B0A26); position: relative; margin-top: -8px; }
.agl-hero-road::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 40px, transparent 40px 80px); animation: agl-road 1.4s linear infinite; }
@keyframes agl-road { to { background-position: -80px 0; } }
@keyframes agl-float { 50% { transform: translateY(-6px); } }
@media (min-width: 900px) {
  .agl-hero { padding-top: 80px; }
  .agl-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .agl-hero-art { margin: 0 -40px 0 0; align-self: end; }
}
@media (prefers-reduced-motion: reduce) { .agl-hero-art img, .agl-hero-road::before { animation: none; } }

/* ---------- Tracking form ---------- */
.agl-track-form { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--agl-shadow-lg); position: relative; margin: 0; }
.agl-track-form .agl-tf-ico { display: none; color: var(--agl-navy); padding-left: 12px; }
.agl-track-form .agl-tf-ico .agl-i { width: 22px; height: 22px; }
.agl-track-form input[type="text"] { flex: 1; min-width: 0; height: 52px; margin: 0; border: 0 !important; box-shadow: none !important; background: transparent; font-family: var(--agl-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; color: var(--agl-ink); padding: 0 12px; text-transform: uppercase; }
.agl-track-form input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; color: #8A8EA8; font-family: var(--agl-body); }
.agl-track-form button { display: inline-flex; align-items: center; gap: 8px; height: 52px; min-height: 0; margin: 0; padding: 0 20px; border: 0; border-radius: 12px; background: var(--agl-red); color: #fff; font-family: var(--agl-head); font-weight: 800; font-size: 1rem; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background-color .15s ease; }
.agl-track-form button:hover { background: var(--agl-red-700); }
.agl-track-form button span { display: none; }
.agl-track-form:focus-within { box-shadow: 0 0 0 4px rgba(236, 6, 40, .25), var(--agl-shadow-lg); }
@media (min-width: 420px) { .agl-track-form button span { display: inline; } .agl-track-form .agl-tf-ico { display: inline-flex; } .agl-track-form input[type="text"] { padding-left: 4px; } }
@media (min-width: 900px) { .agl-track-form.is-hero input[type="text"], .agl-track-form.is-hero button { height: 60px; } .agl-track-form.is-hero button { padding: 0 28px; } }
.agl-tf-hint { margin: 14px 4px 0; font-size: .88rem; color: rgba(255,255,255,.7); }

/* ---------- Trust strip ---------- */
.agl-trust { background: #fff; border-bottom: 1px solid var(--agl-line); }
.agl-trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 0; padding: 28px 0; list-style: none; }
.agl-trust li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .9rem; line-height: 1.35; }
.agl-trust li strong { display: block; font-family: var(--agl-head); color: var(--agl-ink); font-size: .98rem; }
.agl-trust .agl-ico { width: 44px; height: 44px; }
@media (min-width: 900px) { .agl-trust ul { grid-template-columns: repeat(4, 1fr); padding: 34px 0; } }

.agl-ico { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--agl-red-50); color: var(--agl-red); }
.agl-ico .agl-i { width: 24px; height: 24px; }
.agl-ico.is-navy { background: var(--agl-navy-100); color: var(--agl-navy); }
.agl-ico.is-solid { background: var(--agl-red); color: #fff; }

/* ---------- Service cards ---------- */
.agl-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .agl-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .agl-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.agl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--agl-line); border-radius: var(--agl-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: var(--agl-text); text-decoration: none; }
a.agl-card:hover, .agl-card:hover { transform: translateY(-4px); box-shadow: var(--agl-shadow-lg); border-color: transparent; color: var(--agl-text); }
.agl-card-media { aspect-ratio: 16 / 9; background: linear-gradient(180deg, #EEF0F8, #E3E6F2); display: grid; place-items: center; padding: 18px 22px; overflow: hidden; }
.agl-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.agl-card:hover .agl-card-media img { transform: scale(1.04); }
.agl-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.agl-card-body .agl-ico { width: 44px; height: 44px; margin: -46px 0 14px; border: 4px solid #fff; box-sizing: content-box; background: var(--agl-red); color: #fff; position: relative; }
.agl-card h3 { font-size: 1.22rem; margin: 0 0 8px; }
.agl-card p { font-size: .96rem; margin: 0 0 16px; }
.agl-card .agl-link { margin-top: auto; }

/* ---------- How it works ---------- */
.agl-how { display: grid; gap: 16px; counter-reset: how; margin: 0; padding: 0; list-style: none; }
.agl-how li { position: relative; margin: 0; padding: 24px; border-radius: var(--agl-radius); background: #fff; border: 1px solid var(--agl-line); counter-increment: how; }
.agl-how li::before { content: "0" counter(how); position: absolute; right: 20px; top: 14px; font-family: var(--agl-head); font-weight: 800; font-size: 2.6rem; color: var(--agl-navy-100); line-height: 1; }
.agl-how h3 { font-size: 1.12rem; margin: 16px 0 6px; }
.agl-how p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .agl-how { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .agl-how { grid-template-columns: repeat(4, 1fr); gap: 20px; } .agl-how li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -21px; width: 22px; border-top: 2px dashed #C8CBE0; } }

/* ---------- Split / feature ---------- */
.agl-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .agl-split { grid-template-columns: 1fr 1fr; gap: 64px; } .agl-split.is-flip > :first-child { order: 2; } }
.agl-split-media { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #EEF0F8, #E0E3F0); padding: 28px; position: relative; }
.agl-split-media img { display: block; width: 100%; height: auto; }
.agl-split-media.is-navy { background: radial-gradient(circle at 30% 20%, #34338A, var(--agl-navy) 60%); }
.agl-checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.agl-checks li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.agl-checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--agl-red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EC0628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.agl-checks strong { color: var(--agl-ink); }
.is-navy .agl-checks li::before { background-color: rgba(236, 6, 40, .18); }

/* ---------- Tracking showcase mock ---------- */
.agl-mock { background: #fff; border-radius: 22px; box-shadow: var(--agl-shadow-lg); padding: 22px; max-width: 520px; margin: 0 auto; color: var(--agl-text); }
.agl-mock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.agl-mock-tn { font-family: var(--agl-head); font-weight: 800; color: var(--agl-ink); letter-spacing: .04em; }
.agl-mock h4 { font-size: 1.4rem; margin: 0 0 4px; }
.agl-mock-bar { height: 8px; border-radius: 8px; background: var(--agl-navy-100); margin: 18px 0 8px; overflow: hidden; }
.agl-mock-bar span { display: block; height: 100%; width: 62%; border-radius: 8px; background: linear-gradient(90deg, var(--agl-navy), var(--agl-red)); animation: agl-grow 2.4s ease-out both; }
@keyframes agl-grow { from { width: 0; } }
.agl-mock-steps { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; color: var(--agl-muted); }
.agl-mock-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--agl-line); }
.agl-mock-list li { display: flex; gap: 12px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--agl-line); font-size: .9rem; }
.agl-mock-list li:last-child { border-bottom: 0; }
.agl-mock-list time { flex: none; width: 70px; color: var(--agl-muted); font-size: .82rem; }
.agl-mock-list strong { display: block; color: var(--agl-ink); font-size: .92rem; }

/* ---------- Features grid ---------- */
.agl-features { display: grid; gap: 16px; }
@media (min-width: 640px) { .agl-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .agl-features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.agl-feature { padding: 26px; border-radius: var(--agl-radius); background: #fff; border: 1px solid var(--agl-line); }
.agl-feature h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.agl-feature p { margin: 0; font-size: .95rem; }
.is-navy .agl-feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.is-navy .agl-feature p { color: rgba(255,255,255,.72); }
.is-navy .agl-feature .agl-ico { background: rgba(236,6,40,.16); }

/* ---------- Coverage (domestic / international) ---------- */
.agl-cover { display: grid; gap: 18px; }
@media (min-width: 900px) { .agl-cover { grid-template-columns: 1fr 1fr; gap: 24px; } }
.agl-cover-card { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--agl-line); }
.agl-cover-card .agl-cover-media { background: linear-gradient(180deg, #EEF0F8, #E0E3F0); padding: 24px 28px 0; }
.agl-cover-card.is-dark { background: var(--agl-navy); border-color: var(--agl-navy); color: rgba(255,255,255,.78); }
.agl-cover-card.is-dark .agl-cover-media { background: radial-gradient(circle at 50% 30%, #34338A, var(--agl-navy) 70%); }
.agl-cover-card.is-dark h3 { color: #fff; }
.agl-cover-media img { display: block; width: 100%; max-height: 260px; object-fit: contain; }
.agl-cover-body { padding: 26px 26px 30px; }
.agl-cover-body h3 { font-size: 1.5rem; margin: 0 0 10px; }
.agl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.agl-tags li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--agl-mist); color: var(--agl-ink); font-size: .82rem; font-weight: 600; }
.is-dark .agl-tags li { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- CTA band ---------- */
.agl-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 40px 24px; background: linear-gradient(120deg, var(--agl-red) 0%, #C00420 100%); color: rgba(255,255,255,.9); display: grid; gap: 24px; }
.agl-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); }
.agl-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); margin: 0 0 8px; }
.agl-cta p { margin: 0; }
.agl-cta .agl-btns { position: relative; z-index: 1; }
.agl-cta .agl-btn-navy { box-shadow: 0 10px 24px rgba(15,14,51,.3); }
@media (min-width: 900px) { .agl-cta { grid-template-columns: 1.4fr auto; align-items: center; padding: 56px 56px; } }

/* ---------- FAQ ---------- */
.agl-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.agl-faq details { border: 1px solid var(--agl-line); border-radius: 14px; background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.agl-faq details[open] { box-shadow: var(--agl-shadow); border-color: transparent; }
.agl-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-family: var(--agl-head); font-weight: 700; color: var(--agl-ink); font-size: 1.02rem; }
.agl-faq summary::-webkit-details-marker { display: none; }
.agl-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--agl-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1A4B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s ease, background-color .2s ease; }
.agl-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--agl-red-50); }
.agl-faq .agl-faq-a { padding: 0 20px 20px; }
.agl-faq .agl-faq-a p:last-child { margin: 0; }
.agl-faq-group { margin: 0 auto 40px; max-width: 860px; }
.agl-faq-group > h2 { font-size: 1.35rem; margin: 0 0 16px; }

/* ---------- Inner page hero ---------- */
.agl-page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--agl-navy) 0%, var(--agl-navy-900) 100%); color: rgba(255,255,255,.8); padding: 56px 0 60px; }
.agl-page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.agl-page-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(236,6,40,.35), transparent 65%); pointer-events: none; }
.agl-page-hero .agl-wrap { position: relative; z-index: 1; }
.agl-page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); line-height: 1.08; margin: 0 0 14px; max-width: 820px; }
.agl-page-hero .agl-lead { color: rgba(255,255,255,.8); margin: 0; }
.agl-page-hero .agl-kicker { color: #fff; }
.agl-crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.agl-crumbs a { color: rgba(255,255,255,.8) !important; text-decoration: none; }
.agl-crumbs a:hover { color: #fff !important; }
@media (min-width: 900px) { .agl-page-hero { padding: 88px 0 92px; } }

/* ---------- Services page ---------- */
.agl-svc-nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--agl-line); }
.agl-svc-nav ul { display: flex; gap: 6px; overflow-x: auto; margin: 0; padding: 12px 0; list-style: none; scrollbar-width: none; }
.agl-svc-nav ul::-webkit-scrollbar { display: none; }
.agl-svc-nav li { margin: 0; flex: none; }
.agl-svc-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--agl-mist); color: var(--agl-ink) !important; font-family: var(--agl-head); font-weight: 700; font-size: .88rem; text-decoration: none; }
.agl-svc-nav a:hover { background: var(--agl-navy); color: #fff !important; }
.agl-svc-nav .agl-i { color: var(--agl-red); }
.agl-svc-nav a:hover .agl-i { color: #fff; }
.agl-svc { scroll-margin-top: 150px; }
.agl-svc + .agl-svc { border-top: 1px solid var(--agl-line); }
.agl-svc h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin: 0 0 14px; }
.agl-svc .agl-ico { margin-bottom: 18px; }
.agl-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 26px; }
.agl-specs div { padding: 14px 16px; border-radius: 12px; background: var(--agl-mist); }
.agl-specs dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--agl-muted); margin: 0; }
.agl-specs dd { margin: 2px 0 0; font-family: var(--agl-head); font-weight: 700; color: var(--agl-ink); }

/* ---------- About ---------- */
.agl-values { display: grid; gap: 16px; }
@media (min-width: 900px) { .agl-values { grid-template-columns: repeat(4, 1fr); } }
.agl-mission { font-family: var(--agl-head); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); line-height: 1.35; color: var(--agl-ink); letter-spacing: -.01em; max-width: 920px; }
.agl-mission span { color: var(--agl-red); }

/* ---------- Forms ---------- */
.agl-form-wrap { background: #fff; border: 1px solid var(--agl-line); border-radius: 24px; padding: 22px; box-shadow: var(--agl-shadow); scroll-margin-top: 120px; }
@media (min-width: 640px) { .agl-form-wrap { padding: 36px; } }
.agl-form-grid { display: grid; gap: 4px 18px; }
@media (min-width: 640px) { .agl-form-grid { grid-template-columns: 1fr 1fr; } .agl-field.is-full { grid-column: 1 / -1; } }
.agl-field { margin: 0 0 12px; }
.agl-field label { display: block; font-family: var(--agl-head); font-weight: 700; font-size: .88rem; color: var(--agl-ink); margin-bottom: 6px; }
.agl-field label span { color: var(--agl-red); }
.agl .agl-field input, .agl .agl-field select, .agl .agl-field textarea { width: 100%; min-height: 50px; margin: 0; border: 1.5px solid var(--agl-line); border-radius: 12px; background: #fff; box-shadow: none; font-size: 16px; color: var(--agl-ink); padding: 10px 14px; font-family: var(--agl-body); transition: border-color .15s ease, box-shadow .15s ease; }
.agl .agl-field textarea { min-height: 130px; resize: vertical; }
.agl .agl-field input:focus, .agl .agl-field select:focus, .agl .agl-field textarea:focus { border-color: var(--agl-navy); box-shadow: 0 0 0 4px rgba(27, 26, 75, .1); outline: none; }
.agl-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.agl-form-foot p { margin: 0; }
.agl-form-foot .agl-btn { width: 100%; }
@media (min-width: 640px) { .agl-form-foot .agl-btn { width: auto; } }
.agl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.agl-alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; margin-bottom: 20px; }
.agl-alert .agl-i { width: 22px; height: 22px; margin-top: 2px; }
.agl-alert p { margin: 2px 0 0; font-size: .92rem; }
.agl-alert.is-success { background: var(--agl-success-50); color: #0A5E34; }
.agl-alert.is-error { background: var(--agl-red-50); color: var(--agl-red-700); }
.agl-alert strong { color: inherit; }

/* Contact */
.agl-contact-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .agl-contact-grid { grid-template-columns: 380px 1fr; gap: 40px; align-items: start; } }
.agl-contact-cards { display: grid; gap: 14px; }
.agl-contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid var(--agl-line); background: #fff; text-decoration: none; color: var(--agl-text); }
a.agl-contact-card:hover { border-color: var(--agl-navy); color: var(--agl-text); }
.agl-contact-card h3 { font-size: 1rem; margin: 0 0 2px; }
.agl-contact-card p { margin: 0; font-size: .95rem; word-break: break-word; }
.agl-contact-card strong { color: var(--agl-ink); }
.agl-aside-note { padding: 22px; border-radius: 18px; background: var(--agl-navy); color: rgba(255,255,255,.8); }
.agl-aside-note h3 { color: #fff; font-size: 1.1rem; margin: 0 0 8px; }
.agl-aside-note p { font-size: .94rem; }
.agl-aside-note .agl-track-form { box-shadow: none; }

/* Legal */
.agl-legal { max-width: 820px; margin: 0 auto; }
.agl-legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.agl-legal ul { margin: 0 0 1em 1.2em; }
.agl-legal li { margin-bottom: .4em; }

/* ==========================================================================
   Track page
   ========================================================================== */
.agl-track-hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 90% -10%, #34338A 0%, rgba(52,51,138,0) 60%), linear-gradient(160deg, var(--agl-navy) 0%, var(--agl-navy-900) 100%); color: rgba(255,255,255,.8); padding: 56px 0 120px; text-align: center; }
.agl-track-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); pointer-events: none; }
.agl-track-hero .agl-wrap { position: relative; max-width: 820px; }
.agl-track-hero .agl-kicker { color: #fff; }
.agl-track-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.8rem); line-height: 1.05; margin: 0 0 14px; }
.agl-track-hero .agl-lead { margin: 0 auto 28px; color: rgba(255,255,255,.8); }
.agl-track-hero .agl-track-form { max-width: 680px; margin: 0 auto; text-align: left; }
.agl-track-hero .agl-linkish { color: #fff; font-weight: 600; letter-spacing: .04em; }
@media (min-width: 900px) { .agl-track-hero { padding: 96px 0 150px; } }

.agl-result-wrap { position: relative; z-index: 2; margin-top: -76px; max-width: 1100px; min-height: 40px; }
.agl-result-wrap:empty { margin-top: -76px; min-height: 76px; }
.agl-result { background: #fff; border-radius: 24px; box-shadow: var(--agl-shadow-lg); padding: 20px; border: 1px solid var(--agl-line); animation: agl-in .45s ease both; }
@media (min-width: 640px) { .agl-result { padding: 32px; } }
@keyframes agl-in { from { opacity: 0; transform: translateY(12px); } }
.agl-res-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--agl-line); }
.agl-tn { display: flex; align-items: center; gap: 10px; font-family: var(--agl-head); font-weight: 800; font-size: 1.3rem; color: var(--agl-ink); letter-spacing: .05em; word-break: break-all; }
.agl-res-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.agl-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--agl-mist); color: var(--agl-ink); font-size: .8rem; font-weight: 600; }

.agl-res-hero { display: grid; gap: 18px; padding: 24px 0; }
@media (min-width: 900px) { .agl-res-hero { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }
.agl-res-status { display: flex; gap: 16px; align-items: flex-start; }
.agl-status-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--agl-navy); color: #fff; }
.agl-status-ico .agl-i { width: 28px; height: 28px; }
.agl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--agl-navy-100); color: var(--agl-navy); }
.agl-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: agl-pulse 1.8s ease-in-out infinite; }
@keyframes agl-pulse { 50% { opacity: .3; } }
.agl-status-title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); line-height: 1.1; margin: 8px 0 6px; }
.agl-status-sub { margin: 0 0 6px; color: var(--agl-text); font-weight: 500; }
.agl-status-time { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--agl-muted); }
.agl-eta { display: grid; gap: 2px; padding: 18px 22px; border-radius: 18px; background: var(--agl-mist); min-width: 230px; }
.agl-eta span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--agl-muted); }
.agl-eta strong { font-family: var(--agl-head); font-size: 1.6rem; font-weight: 800; color: var(--agl-ink); letter-spacing: -.02em; }
.agl-eta em { font-style: normal; font-weight: 600; color: var(--agl-red); font-size: .92rem; }

.tone-success .agl-status-ico { background: var(--agl-success); }
.tone-success .agl-badge { background: var(--agl-success-50); color: var(--agl-success); }
.tone-success .agl-badge::before { animation: none; }
.tone-success .agl-eta { background: var(--agl-success-50); }
.tone-success .agl-eta em { color: var(--agl-success); }
.tone-warn .agl-status-ico { background: var(--agl-warn); }
.tone-warn .agl-badge { background: var(--agl-warn-50); color: var(--agl-warn); }
.tone-danger .agl-status-ico { background: var(--agl-red); }
.tone-danger .agl-badge { background: var(--agl-red-50); color: var(--agl-red-700); }

/* Stepper */
.agl-steps { --agl-p: 0%; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin: 6px 0 26px; padding: 0; list-style: none; }
.agl-steps::before, .agl-steps::after { content: ""; position: absolute; top: 19px; left: 10%; height: 4px; border-radius: 4px; }
.agl-steps::before { right: 10%; background: var(--agl-navy-100); }
.agl-steps::after { width: calc(80% * var(--agl-p) / 100%); background: linear-gradient(90deg, var(--agl-navy), var(--agl-red)); animation: agl-grow-step 1.2s ease-out both; }
@keyframes agl-grow-step { from { width: 0; } }
.agl-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 0; }
.agl-step-dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--agl-line); color: #A6A9C0; transition: all .3s ease; }
.agl-step-dot .agl-i { width: 19px; height: 19px; }
.agl-step-label { font-size: .7rem; font-weight: 700; line-height: 1.25; color: var(--agl-muted); max-width: 80px; }
.agl-steps li.is-done .agl-step-dot { background: var(--agl-navy); border-color: var(--agl-navy); color: #fff; }
.agl-steps li.is-current .agl-step-dot { background: var(--agl-red); border-color: var(--agl-red); color: #fff; box-shadow: 0 0 0 6px rgba(236, 6, 40, .15); }
.agl-steps li.is-done .agl-step-label, .agl-steps li.is-current .agl-step-label { color: var(--agl-ink); }
.tone-success .agl-steps li.is-done:last-child .agl-step-dot { background: var(--agl-success); border-color: var(--agl-success); box-shadow: 0 0 0 6px rgba(14, 159, 87, .15); }
.tone-success .agl-steps::after { background: linear-gradient(90deg, var(--agl-navy), var(--agl-success)); }
.tone-warn .agl-steps li.is-current .agl-step-dot { background: var(--agl-warn); border-color: var(--agl-warn); box-shadow: 0 0 0 6px rgba(194, 122, 0, .15); }
@media (min-width: 640px) { .agl-step-label { font-size: .82rem; max-width: none; } .agl-step-dot { width: 48px; height: 48px; } .agl-steps::before, .agl-steps::after { top: 22px; } }

/* Route */
.agl-route { --agl-p: 0%; display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, var(--agl-navy) 0%, var(--agl-navy-700) 100%); color: rgba(255,255,255,.75); margin-bottom: 28px; }
.agl-route-end strong { display: block; font-family: var(--agl-head); font-size: 1.15rem; color: #fff; line-height: 1.25; }
.agl-route-end small { font-size: .82rem; }
.agl-route .agl-eyebrow { color: rgba(255,255,255,.55); }
.agl-route-line { position: relative; height: 34px; }
.agl-route-line::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; border-top: 2px dashed rgba(255,255,255,.3); }
.agl-route-fill { position: absolute; left: 0; top: 15px; height: 4px; border-radius: 4px; width: var(--agl-p); background: var(--agl-red); animation: agl-grow 1.2s ease-out both; }
.agl-route-mover { position: absolute; top: 0; left: clamp(0px, calc(var(--agl-p) - 17px), calc(100% - 34px)); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--agl-red); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.agl-route-mover .agl-i { width: 18px; height: 18px; }
@media (min-width: 640px) {
  .agl-route { grid-template-columns: minmax(140px, auto) 1fr minmax(140px, auto); align-items: center; gap: 24px; padding: 24px 28px; }
  .agl-route-end.is-dest { text-align: right; }
}

/* Timeline + details */
.agl-res-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .agl-res-cols { grid-template-columns: 1fr 340px; gap: 36px; } }
.agl-res-cols h3 { font-size: 1.15rem; margin: 0 0 16px; }
.agl-timeline ul { list-style: none; margin: 0; padding: 0; }
.agl-tl-day { margin: 0 0 8px; padding-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--agl-muted); }
.agl-tl-day:first-child { padding-top: 0; }
.agl-tl-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; margin: 0; padding: 0 0 20px 0; }
.agl-tl-item time { font-size: .85rem; font-weight: 600; color: var(--agl-muted); padding-top: 1px; text-align: right; }
.agl-tl-item > div { position: relative; padding-left: 24px; }
.agl-tl-item > div::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #B9BCD2; }
.agl-tl-item > div::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: -18px; width: 2px; background: var(--agl-line); }
.agl-tl-item:last-child > div::after { display: none; }
.agl-tl-item.is-latest > div::before { border-color: var(--agl-red); box-shadow: 0 0 0 4px rgba(236, 6, 40, .15); }
.agl-tl-item.is-latest.tone-success > div::before { border-color: var(--agl-success); box-shadow: 0 0 0 4px rgba(14, 159, 87, .15); }
.agl-tl-item.tone-warn > div::before { border-color: var(--agl-warn); }
.agl-tl-item.tone-danger > div::before { border-color: var(--agl-red); }
.agl-tl-item strong { display: block; font-family: var(--agl-head); color: var(--agl-ink); font-size: 1rem; }
.agl-tl-item p { margin: 2px 0 4px; font-size: .94rem; }
.agl-tl-loc { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; color: var(--agl-muted); }
.agl-tl-loc .agl-i { width: 14px; height: 14px; color: var(--agl-red); }
.agl-details { align-self: start; padding: 22px; border-radius: 18px; background: var(--agl-mist); }
.agl-details dl { margin: 0 0 16px; display: grid; gap: 0; }
.agl-details dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--agl-line); font-size: .92rem; }
.agl-details dl div:last-child { border-bottom: 0; }
.agl-details dt { color: var(--agl-muted); font-weight: 500; }
.agl-details dd { margin: 0; color: var(--agl-ink); font-weight: 600; text-align: right; }
.agl-note { display: flex; gap: 10px; padding: 14px; border-radius: 12px; background: var(--agl-warn-50); color: #6B4300; font-size: .9rem; margin-bottom: 16px; }
.agl-note p { margin: 0; }
.agl-res-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agl-res-actions .agl-btn { flex: 1; min-height: 44px; padding: 0 16px; font-size: .92rem; }
.agl-res-actions.is-center { justify-content: center; margin-top: 20px; }
.agl-res-actions.is-center .agl-btn { flex: 0 1 auto; }
.agl-help-mini { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--agl-line); font-size: .9rem; }
.agl-help-mini strong { color: var(--agl-ink); font-family: var(--agl-head); }
.agl-help-mini a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; word-break: break-all; }
.agl-help-mini .agl-i { color: var(--agl-red); }

.agl-empty-state { text-align: center; padding: 40px 22px; }
.agl-empty-state .agl-status-ico { margin: 0 auto 16px; background: var(--agl-warn-50); color: var(--agl-warn); }
.agl-empty-state h2 { font-size: 1.5rem; margin: 0 0 8px; }
.agl-empty-state p { max-width: 520px; margin: 0 auto; }

.agl-skeleton { background: #fff; border-radius: 24px; box-shadow: var(--agl-shadow-lg); padding: 32px; display: grid; gap: 16px; }
.agl-skeleton span { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, #EEF0F6 0%, #F7F8FB 50%, #EEF0F6 100%); background-size: 200% 100%; animation: agl-shimmer 1.2s linear infinite; }
.agl-skeleton span:nth-child(1) { width: 40%; height: 26px; }
.agl-skeleton span:nth-child(2) { width: 90%; height: 48px; }
.agl-skeleton span:nth-child(3) { width: 70%; }
@keyframes agl-shimmer { to { background-position: -200% 0; } }

.agl-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99999; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--agl-ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--agl-shadow-lg); transition: all .25s ease; }
.agl-toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* Track page help cards */
.agl-help-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .agl-help-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.agl-help-card { padding: 26px; border-radius: var(--agl-radius); background: #fff; border: 1px solid var(--agl-line); }
.agl-help-card h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.agl-help-card p { font-size: .95rem; margin-bottom: 12px; }
.agl-status-legend { display: grid; gap: 10px; }
@media (min-width: 640px) { .agl-status-legend { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .agl-status-legend { grid-template-columns: repeat(4, 1fr); } }
.agl-status-legend div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--agl-line); }
.agl-status-legend strong { display: flex; align-items: center; gap: 8px; font-family: var(--agl-head); color: var(--agl-ink); margin-bottom: 4px; }
.agl-status-legend strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--agl-navy); }
.agl-status-legend .is-success strong::before { background: var(--agl-success); }
.agl-status-legend .is-warn strong::before { background: var(--agl-warn); }
.agl-status-legend .is-red strong::before { background: var(--agl-red); }
.agl-status-legend p { margin: 0; font-size: .9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.agl-footer { background: var(--agl-navy-900); color: rgba(255,255,255,.7); padding: 0 0 36px; font-size: .95rem; }
.agl-footer a { color: rgba(255,255,255,.78) !important; text-decoration: none; }
.agl-footer a:hover { color: #fff !important; }
.agl-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin: 0 0 16px; }
.agl-footer ul { list-style: none; margin: 0; padding: 0; }
.agl-footer li { margin: 0 0 10px; }
.agl-footer-track { position: relative; display: grid; gap: 18px; padding: 28px 22px; margin: 0 0 48px; border-radius: 0 0 24px 24px; background: linear-gradient(120deg, var(--agl-red), #B8041E); color: rgba(255,255,255,.88); }
.agl-footer-track h2 { color: #fff; font-size: 1.45rem; margin: 0 0 4px; }
.agl-footer-track p { margin: 0; }
.agl-footer-track .agl-track-form { box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.agl-footer-track .agl-track-form button { background: var(--agl-navy); }
.agl-footer-track .agl-track-form button:hover { background: var(--agl-navy-900); }
@media (min-width: 900px) { .agl-footer-track { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 36px 40px; gap: 32px; } }
.agl-footer-grid { display: grid; gap: 34px 24px; grid-template-columns: 1fr 1fr; }
.agl-footer-brand, .agl-footer-contact { grid-column: 1 / -1; }
.agl-footer-logo img { width: 220px; height: auto; margin-bottom: 16px; }
.agl-footer-brand p { max-width: 360px; }
.agl-social { display: flex; gap: 10px; margin-top: 18px; }
.agl-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); }
.agl-social a:hover { background: var(--agl-red); }
.agl-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.agl-footer-contact .agl-i { color: var(--agl-red); margin-top: 3px; }
.agl-footer-contact a { word-break: break-all; }
@media (min-width: 900px) {
  .agl-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .agl-footer-brand, .agl-footer-contact { grid-column: auto; }
}
.agl .absolute-footer { background: var(--agl-navy-900) !important; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.55); font-size: .85rem; padding: 20px 0 24px; }
.agl .absolute-footer a { color: rgba(255,255,255,.75) !important; }
.agl .absolute-footer a:hover { color: #fff !important; }
.agl .absolute-footer .container { padding: 0 var(--agl-gutter); max-width: 1240px; }
.agl .back-to-top { background: var(--agl-red) !important; border-color: var(--agl-red) !important; color: #fff !important; }

/* Reveal on scroll */
.agl-reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.agl-reveal-ready.is-in { opacity: 1; transform: none; }

/* Print: only the tracking result */
@media print {
  .agl #header, .agl #footer, .agl .agl-track-hero, .agl-res-actions, .agl-help-mini, .agl .absolute-footer, .agl-after-track, .agl-icon-btn, .agl .back-to-top { display: none !important; }
  .agl-result-wrap { margin: 0 !important; }
  .agl-result { box-shadow: none !important; border: 0; padding: 0; }
  .agl-route { background: #fff !important; color: #000; border: 1px solid #ccc; }
  .agl-route-end strong { color: #000; }
}

/* Headings on dark surfaces (beat the global body.agl heading color) */
body.agl .agl-hero h1, body.agl .agl-page-hero h1, body.agl .agl-track-hero h1,
body.agl .agl-cta h2, body.agl .agl-footer h2, body.agl .agl-footer h3,
body.agl .is-navy h2, body.agl .is-navy h3, body.agl .is-dark h3,
body.agl .agl-aside-note h3, body.agl .agl-route-end strong { color: #fff; }
body.agl .agl-hero h1 em { color: var(--agl-red); }
.agl-hero-copy { padding-bottom: 12px; }

/* CookieAdmin banner in brand colors */
body.agl .cookieadmin_law_container { font-family: var(--agl-body) !important; border-radius: 18px !important; box-shadow: var(--agl-shadow-lg) !important; border: 1px solid var(--agl-line) !important; }
body.agl .cookieadmin_law_container .cookieadmin_header, body.agl .cookieadmin_law_container h1, body.agl .cookieadmin_law_container h2 { font-family: var(--agl-head) !important; color: var(--agl-ink) !important; }
body.agl .cookieadmin_btn { font-family: var(--agl-head) !important; font-weight: 700 !important; border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; }
body.agl .cookieadmin_accept_btn, body.agl .cookieadmin_save_btn { background: var(--agl-red) !important; border-color: var(--agl-red) !important; color: #fff !important; }
body.agl .cookieadmin_customize_btn, body.agl .cookieadmin_reject_btn { background: #fff !important; border: 2px solid var(--agl-navy) !important; color: var(--agl-navy) !important; }

/* Mobile header track pill + compact trust strip / service cards on phones */
body.agl .agl-mobile-track, body.agl .agl-mobile-track span { color: #fff !important; }
body.agl .agl-mobile-track span { display: inline !important; font-size: .88rem; line-height: 1; }
body.agl .agl-mobile-track { padding: 0 14px 0 12px; height: 38px; }
@media (max-width: 639px) {
  .agl-trust li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .agl-trust .agl-ico { width: 40px; height: 40px; border-radius: 12px; }
  .agl-card-media { aspect-ratio: 2 / 1; padding: 14px 18px; }
}
body.agl .agl-mobile-track { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; white-space: nowrap; }
body.agl .agl-mobile-track .agl-i { display: inline-block; margin: 0; }
body.agl .agl-details dt, body.agl .agl-details dd { text-transform: none; letter-spacing: 0; font-size: .92rem; }
body.agl .agl-specs dd { text-transform: none; letter-spacing: 0; }
body.agl .agl-specs dt, body.agl .agl-specs dd { display: block; float: none; width: auto; }
.agl-sec.is-mist .agl-specs div { background: #fff; border: 1px solid var(--agl-line); }
.agl-cta-sec { padding-top: 32px; }
.agl-sec:not(.is-mist):not(.is-navy) + .agl-cta-sec { padding-top: 0; }
.agl-contact-card p, .agl-help-mini a, .agl-footer-contact a { word-break: normal; overflow-wrap: anywhere; }
.agl-contact-card p { font-size: .9rem; }
.agl-footer-track { background: linear-gradient(120deg, var(--agl-navy-700), var(--agl-navy)); border: 1px solid rgba(255,255,255,.08); border-top: 0; }
.agl-footer-track .agl-track-form button { background: var(--agl-red); }
.agl-footer-track .agl-track-form button:hover { background: var(--agl-red-700); }
.agl-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); }
