/* XpressShip public website
   Tokens come from the logo: navy ink, orange for action only. One family
   (Archivo) — expanded width for display type, normal width for reading. */
:root {
  --ink: #0A2634;
  --ink-deep: #061A24;
  --orange: #E96000;
  --orange-dark: #B84C00;
  --orange-tint: #FFF1E6;
  --concrete: #EEF1F2;
  --slate: #4F626B;
  --line: #D6DEE2;
  --white: #FFFFFF;
  --radius-btn: 6px;
  --radius-panel: 12px;
  --wrap: 1180px;
  --font: "Archivo", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); font-stretch: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type scale (≈ 1.25 ratio). Display = expanded width. */
h1, h2, h3, .display { font-stretch: 125%; font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw + .6rem, 4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw + .7rem, 2.6rem); }
h3 { font-size: 1.22rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--slate); max-width: 62ch; }
.muted { color: var(--slate); }
.kicker { display: inline-block; font-weight: 700; color: var(--orange); font-size: .95rem; margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-btn); font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.on-light .btn-ghost:hover, .btn-ghost.dark:hover { background: var(--concrete); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 12px; border-radius: var(--radius-btn); color: var(--ink); }
.nav a:hover { background: var(--concrete); }
.nav a[aria-current="page"] { color: var(--orange); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .login { font-weight: 700; text-decoration: none; padding: 10px 12px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { padding: 84px 0 0; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: #C5D2D8; margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }
.hero-trial-note { margin-top: 14px; color: #9FB2BB; font-size: .92rem; }

/* The one bold element: the trip route */
.route { margin-top: 64px; padding: 52px 0 40px; border-top: 1px solid rgba(255,255,255,.12); }
.route-track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.route-track::before { content: ""; position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 15px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 14px, transparent 14px 24px); }
.route-progress { position: absolute; left: calc(100% / 14); top: 15px; height: 4px; width: 0; background: var(--orange); }
.route-stop { position: relative; text-align: center; padding: 0 4px; }
.route-dot { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: var(--ink); border: 3px solid rgba(255,255,255,.4);
  display: grid; place-items: center; font: 800 .82rem/1 var(--font); font-stretch: 112%; color: #fff; position: relative; z-index: 1; }
.route-stop span { display: block; font-size: .9rem; font-weight: 600; color: #C5D2D8; line-height: 1.3; }
.route-truck { position: absolute; top: -38px; left: calc(100% / 14); transform: translateX(-50%); z-index: 2; color: var(--orange); }
.route-truck svg { width: 40px; height: 40px; }
.route.is-done .route-dot { border-color: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .route.play .route-progress { animation: road 2.8s cubic-bezier(.55,.05,.35,1) .3s forwards; }
  .route.play .route-truck { animation: drive 2.8s cubic-bezier(.55,.05,.35,1) .3s forwards; }
  .route.play .route-dot { transition: border-color .2s; }
}
@keyframes road { to { width: calc(100% - 100% / 7); } }
@keyframes drive { to { left: calc(100% - 100% / 14); } }
@media (prefers-reduced-motion: reduce) {
  .route-progress { width: calc(100% - 100% / 7); }
  .route-truck { left: calc(100% - 100% / 14); }
}

/* Hero layout: copy left, a real product moment right */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.lr-card { background: #fff; color: var(--ink); border-radius: var(--radius-panel); padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); max-width: 420px; justify-self: end; width: 100%; }
.lr-card .lr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lr-card .lr-no { font-weight: 800; font-stretch: 112%; font-size: 1.05rem; }
.lr-card .lr-route { color: var(--slate); font-size: .92rem; margin-top: 2px; }
.lr-card .pill { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--orange-tint); color: var(--orange-dark); white-space: nowrap; }
.lr-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lr-card dt { font-size: .78rem; color: var(--slate); }
.lr-card dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.lr-card .lr-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lr-card .lr-next span { font-size: .88rem; color: var(--slate); }
.lr-card .lr-btn { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; border-radius: var(--radius-btn); padding: 8px 14px; font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* Products with no screenshot: an "included" panel instead of an empty box */
.included { background: var(--concrete); border-radius: var(--radius-panel); padding: 30px; }
.included .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.included h4 { margin: 0 0 4px; font-size: 1rem; font-stretch: 112%; }
.included .ticks { margin: 14px 0 0; }

/* Facts ribbon */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 22px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: 125%; line-height: 1.1; }
.facts span { color: var(--slate); font-size: .95rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--concrete); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .lede { margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split .sticky { position: sticky; top: 110px; }

/* Spec-sheet list (features, values) */
.spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.spec li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.spec .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange); }
.spec h3 { font-size: 1.08rem; margin-bottom: 6px; }
.spec p { color: var(--slate); margin: 0; font-size: .98rem; }

/* Steps (a real sequence → numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1rem/1 var(--font); font-stretch: 125%; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 54px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: .98rem; margin: 0; }

/* Product rows */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-child { border-top: 0; padding-top: 0; }
.product:nth-child(even) .product-media, .product:nth-child(even) .included { order: -1; }
.product .tag { display: inline-block; background: var(--orange); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
.product h3 { font-size: clamp(1.4rem, 1.4vw + .9rem, 1.9rem); }
.product .sub { color: var(--orange); font-weight: 700; margin: 8px 0 14px; }
.ticks { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks svg { color: var(--orange); margin-top: 3px; }
.product-media { border-radius: var(--radius-panel); overflow: hidden; background: var(--concrete); border: 1px solid var(--line); }
.module-plate { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--ink); color: #fff; position: relative; }
.module-plate::after { content: ""; position: absolute; inset: auto 0 18% 0; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 14px, transparent 14px 24px); }
.module-plate .big { width: 96px; height: 96px; color: var(--orange); }
.module-plate .big svg { width: 96px; height: 96px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(even) { padding: 40px 0 40px 40px; border-left: 1px solid var(--line); }
.service .ico { color: var(--orange); margin-bottom: 18px; }
.service h3 { margin-bottom: 10px; }
.service img { border-radius: var(--radius-panel); margin-bottom: 18px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* Pricing table */
.plans { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border: 1px solid var(--line); border-radius: var(--radius-panel); background: #fff; }
.plan { padding: 32px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan:first-child { border-left: 0; }
.plan.featured { background: var(--ink); color: #fff; margin: -12px 0; border-radius: var(--radius-panel); border-left: 0; box-shadow: 0 18px 40px rgba(10,38,52,.25); z-index: 1; padding-top: 44px; }
.plan .badge { position: absolute; top: 14px; left: 26px; font-size: .8rem; font-weight: 700; color: var(--orange); }
.plan h3 { font-size: 1.2rem; }
.plan .for { color: var(--slate); font-size: .94rem; margin: 6px 0 22px; min-height: 2.8em; }
.plan.featured .for { color: #B8C8CF; }
.price { font-stretch: 125%; font-weight: 800; font-size: 2.3rem; line-height: 1; }
.price small { font-stretch: 100%; font-size: .95rem; font-weight: 600; color: var(--slate); margin-left: 4px; }
.plan.featured .price small { color: #B8C8CF; }
.plan .ticks { margin: 24px 0 28px; font-size: .96rem; flex: 1; }
.plan .btn { width: 100%; }
.plan.featured .btn-ghost { color: #fff; }
.pricing-note { margin-top: 24px; color: var(--slate); font-size: .95rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--orange); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--slate); padding-bottom: 22px; margin: 0; max-width: 70ch; }

/* Testimonials & clients (shown only when real entries exist) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.15rem; line-height: 1.55; }
.quote figcaption { display: flex; gap: 12px; align-items: center; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; }
.clients { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; }
.clients img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #fff; padding: 76px 0 72px; }
.page-hero .lede { color: #C5D2D8; margin-top: 18px; }
.page-hero .kicker { color: #FF9A4D; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.page-hero-grid img { border-radius: var(--radius-panel); }

/* Rich text from the admin editor */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose p, .prose li { color: #2B3F48; }
.prose a { color: var(--orange-dark); }
.prose img { border-radius: var(--radius-panel); margin: 1.2em 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.team img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-panel); margin-bottom: 14px; width: 100%; }
.team p { color: var(--slate); font-size: .95rem; }

/* Careers */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 26px 0; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { margin-bottom: 6px; }
.job .facts-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--slate); font-size: .94rem; }
.job .facts-inline span { display: inline-flex; gap: 6px; align-items: center; }
.job-body { padding: 0 0 30px; max-width: 72ch; }
.job[open] .job-toggle { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--slate); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-btn); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,38,52,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.field .err { color: #B42318; font-size: .88rem; margin-top: 6px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--radius-btn); margin-bottom: 22px; font-weight: 600; }
.notice.ok { background: #E7F6EC; color: #12603A; border: 1px solid #B7E3C6; }
.notice.bad { background: #FDECEC; color: #8A1C14; border: 1px solid #F5C2BE; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange); }
.contact-list strong { display: block; font-size: .9rem; color: var(--slate); font-weight: 600; }
.contact-list a, .contact-list div > span { font-weight: 700; text-decoration: none; white-space: pre-line; }
.map { margin-top: 32px; border-radius: var(--radius-panel); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 36px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 14px, transparent 14px 24px); }
.cta-band .wrap { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band p { color: #C5D2D8; margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #B8C8CF; padding: 64px 0 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; font-stretch: 112%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: #B8C8CF; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; }
  .menu-btn { display: block; }
  .header-actions .login { display: none; }
  .plans { --cols: 2 !important; }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plan.featured { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lr-card { justify-self: start; }
  .split, .product, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .split .sticky { position: static; }
  .product:nth-child(even) .product-media, .product:nth-child(even) .included { order: 0; }
  .spec { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2)::after { display: none; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 32px 0; border-left: 0; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .route-stop span { font-size: .74rem; }
  .route-dot { width: 28px; height: 28px; font-size: .74rem; }
  .route-track::before, .route-progress { top: 12px; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .hero .wrap { padding-top: 56px; }
  .route-stop span { display: none; }
  .route-track > .route-stop:nth-child(3) span, .route-track > .route-stop:last-child span { display: block; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .plans { --cols: 1 !important; }
  .plan { border-left: 0 !important; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .job summary { grid-template-columns: 1fr; }
}
