/*
Theme Name: Priority Parcels
Theme URI: https://priority-parcels.com/
Author: Priority Parcels
Description: Custom WordPress conversion of the Priority Parcels courier website.
Version: 1.0.0
Text Domain: priority-parcels
*/

/* ==========================================================================
   Priority Parcels — global stylesheet
   Layout uses flexbox only (no CSS grid) so every section maps 1:1 to
   Elementor flex containers. Comments reference the matching Elementor widget.
   ========================================================================== */

:root {
  /* Brand colours  -> Elementor Site Settings > Global Colors */
  --cobalt: #1530D6;
  --cobalt-dark: #0F23A8;
  --ink: #0D1440;
  --ink-2: #151E57;
  --yellow: #FFD400;
  --yellow-dark: #EBC300;
  --ice: #EEF1FF;
  --white: #FFFFFF;
  --text: #2A3160;
  --muted: #5C638F;
  --line: #DCE1F6;

  /* Typography -> Elementor Global Fonts */
  --font-display: "Archivo", "Arial Black", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(13, 20, 64, .28);
  --shadow-sm: 0 6px 18px -8px rgba(13, 20, 64, .2);
  --container: 1240px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cobalt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dark); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Typography (Heading widget) ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 125%;            /* Archivo Expanded */
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, .82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.hero h1, .hero h2, .page-hero h1, .page-hero h2 { color: var(--white); }

.hl { color: var(--yellow); }
.hl-cobalt { color: var(--cobalt); }

/* Eyebrow label above headings (Heading widget, small) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--yellow); border-radius: 2px; flex: none; }
.on-dark .eyebrow { color: var(--yellow); }
.on-dark .eyebrow::before { background: var(--yellow); }

/* ---------- Layout (Elementor flex containers) ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.bg-ice { background: var(--ice); }
.bg-ink { background: var(--ink); }
.bg-cobalt { background: var(--cobalt); }
.bg-yellow { background: var(--yellow); }

.row { display: flex; flex-wrap: wrap; gap: var(--gap, 28px); }
.row.align-center { align-items: center; }
.row.justify-between { justify-content: space-between; }
.row > * { min-width: 0; }
.cols-2 > * { flex: 1 1 calc(50% - var(--gap, 28px)); }
.cols-3 > * { flex: 1 1 calc(33.333% - var(--gap, 28px)); }
.cols-4 > * { flex: 1 1 calc(25% - var(--gap, 28px)); }
.col-60 { flex: 1 1 calc(58% - var(--gap, 28px)); }
.col-40 { flex: 1 1 calc(42% - var(--gap, 28px)); }
.stack { display: flex; flex-direction: column; gap: 16px; }

.section-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Buttons (Button widget) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 17px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 212, 0, .7); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--ink); }
.btn-secondary { background: var(--cobalt); color: var(--white); }
.btn-secondary:hover { background: var(--cobalt-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .btn-outline, .btn-outline.light { color: var(--white); }
.on-dark .btn-outline:hover, .btn-outline.light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { padding: 12px 20px; font-size: .92rem; }
.btn-lg { padding: 20px 32px; font-size: 1.06rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--cobalt); text-decoration: none;
}
.text-link i { transition: transform .15s ease; }
.text-link:hover i { transform: translateX(4px); }
.on-dark .text-link { color: var(--yellow); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar-info, .topbar-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar i { color: var(--yellow); margin-right: 6px; }

/* ---------- Header / navigation (Nav Menu widget) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-list > li > button {
  display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:hover, .nav-list > li > button:hover { background: var(--ice); color: var(--cobalt); }
.nav-list a[aria-current="page"], .nav-list .is-active > button { color: var(--cobalt); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--yellow); border-radius: 3px;
}
.nav-list .fa-chevron-down { font-size: .7rem; transition: transform .2s ease; }

.dropdown {
  position: absolute; top: 100%; left: -12px; min-width: 300px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover .fa-chevron-down, .has-dropdown.open .fa-chevron-down { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.dropdown a i { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--ice); color: var(--cobalt); font-size: .9rem; }
.dropdown a:hover { background: var(--ice); color: var(--cobalt); }
.dropdown a:hover i { background: var(--cobalt); color: var(--yellow); }
.dropdown .dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--cobalt); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.track-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--cobalt); font-weight: 700; font-size: .95rem; color: var(--cobalt); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.track-link i { color: inherit; }
.track-link:hover { background: var(--cobalt); color: var(--white); }

.menu-toggle, .nav-close {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--white); font-size: 1.15rem; align-items: center; justify-content: center;
}
.mobile-only { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background-color: var(--ink);
  background-size: cover; background-position: center 60%;
  padding: clamp(80px, 11vw, 150px) 0 clamp(120px, 14vw, 190px);
}
.hero::before { /* Elementor: Background Overlay */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13, 20, 64, .96) 0%, rgba(13, 20, 64, .86) 42%, rgba(21, 48, 214, .38) 100%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-content { max-width: 820px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1; margin-bottom: 26px; }
.hero h1 .hl { display: inline-block; position: relative; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 620px; margin-bottom: 34px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 26px;
}
.badge span { background: var(--yellow); color: var(--ink); padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }


/* Elementor: Shape Divider (Tilt) */
.shape-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.shape-divider svg { width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--white); background-color: var(--ink);
  background-size: cover; background-position: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(90px, 11vw, 150px); overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 20, 64, .95) 0%, rgba(13, 20, 64, .82) 50%, rgba(21, 48, 214, .45) 100%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .hero-content { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 22px; }
.page-hero .lead { color: rgba(255, 255, 255, .85); margin-bottom: 30px; }
.page-hero.compact { padding: clamp(56px, 7vw, 90px) 0 clamp(80px, 9vw, 120px); }

.breadcrumbs { font-size: .88rem; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--yellow); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }

/* ---------- Stats strip (Counter / Heading widgets) ---------- */
.stats-band { position: relative; z-index: 4; margin-top: clamp(-80px, -7vw, -50px); }
.stats {
  display: flex; flex-wrap: wrap; background: var(--yellow); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.stat { flex: 1 1 calc(25% - 1px); padding: clamp(24px, 3vw, 38px) clamp(20px, 2.5vw, 34px); border-right: 1px solid rgba(13, 20, 64, .14); }
.stat:last-child { border-right: 0; }
.stat-number { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; color: var(--ink); margin-bottom: 8px; }
.stat-label { font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.4; }
.stats.on-ink { background: var(--ink-2); }
.stats.on-ink .stat { border-color: rgba(255, 255, 255, .12); }
.stats.on-ink .stat-number { color: var(--yellow); }
.stats.on-ink .stat-label { color: rgba(255, 255, 255, .82); }

/* ---------- Cards / Icon boxes (Icon Box widget) ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card .text-link { margin-top: auto; padding-top: 6px; }
a.card { text-decoration: none; color: inherit; }

.icon-tile {
  width: 60px; height: 60px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--cobalt); color: var(--yellow); font-size: 1.45rem;
}
.icon-tile.yellow { background: var(--yellow); color: var(--ink); }
.icon-tile.ice { background: var(--ice); color: var(--cobalt); }
.icon-tile.sm { width: 46px; height: 46px; border-radius: 12px; font-size: 1.1rem; }

.card-dark { background: var(--ink-2); border-color: rgba(255, 255, 255, .1); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255, 255, 255, .74); }
.card-dark:hover { border-color: var(--yellow); box-shadow: none; }

/* Horizontal icon box (icon left) */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h3 { margin: 4px 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.on-dark .feature p { color: rgba(255, 255, 255, .74); }

/* Icon list (Icon List widget) */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: .72rem; margin-top: 2px; }
.on-dark .check-list li { color: rgba(255, 255, 255, .88); }

/* ---------- Image blocks (Image widget) ---------- */
.img-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.img-frame.tall img { aspect-ratio: 4 / 5; }
.img-frame.wide img { aspect-ratio: 16 / 9; }
.img-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
  background: var(--white); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center;
}
.img-badge strong { display: block; font-family: var(--font-display); font-stretch: 125%; color: var(--ink); font-size: 1.15rem; line-height: 1.1; }
.img-badge span { font-size: .88rem; color: var(--muted); }

/* ---------- Steps ---------- */
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 3.4rem; line-height: 1;
  color: var(--yellow); margin-bottom: 14px; display: flex; align-items: center; gap: 14px;
}
.step-num::after { content: ""; flex: 1; height: 2px; background: rgba(255, 255, 255, .18); }
.bg-ice .step-num, .section:not(.on-dark) .step-num { color: var(--cobalt); }
.section:not(.on-dark) .step-num::after { background: var(--line); }
.step p { color: var(--muted); }
.on-dark .step p { color: rgba(255, 255, 255, .74); }

/* ---------- Coverage band ---------- */
.coverage {
  position: relative; color: var(--white); background-color: var(--cobalt);
  background-size: cover; background-position: center; overflow: hidden;
}
.coverage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 48, 214, .97) 0%, rgba(21, 48, 214, .9) 55%, rgba(21, 48, 214, .55) 100%); }
.coverage > .container { position: relative; z-index: 2; }
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.city-tags span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); font-weight: 600; font-size: .92rem; }
.city-tags span.home { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.route-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.route-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.route-row:last-child { border-bottom: 0; padding-bottom: 0; }
.route-row:first-of-type { padding-top: 6px; }
.route-row strong { color: var(--ink); font-size: 1.02rem; }
.route-row .pill { flex: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--ice); color: var(--cobalt); }
.pill.yellow { background: var(--yellow); color: var(--ink); }
.pill.ink { background: var(--ink); color: var(--white); }

/* ---------- Testimonials (Testimonial + Star Rating widgets) ---------- */
.testimonial { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.stars { color: #F5B700; display: flex; gap: 4px; font-size: .95rem; }
.testimonial blockquote { margin: 0; font-size: 1.06rem; color: var(--ink); line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--cobalt); color: var(--yellow); font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1rem; }
.testimonial-author strong { display: block; color: var(--ink); }
.testimonial-author span { font-size: .9rem; color: var(--muted); }

/* ---------- Accordion (Accordion widget) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.accordion details[open] { border-color: var(--cobalt); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--ice); color: var(--cobalt); font-size: 1.3rem; font-weight: 500; transition: transform .2s ease, background-color .2s ease;
}
.accordion details[open] summary::after { content: "–"; background: var(--yellow); color: var(--ink); }
.accordion .answer { padding: 0 24px 22px; color: var(--muted); }
.bg-ice .accordion details { border-color: transparent; }
.bg-ice .accordion details[open] { border-color: var(--cobalt); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: var(--ink); margin: 0; font-size: 1.08rem; }
.cta-band .cta-text { flex: 1 1 460px; position: relative; }
.cta-band .btn-group { position: relative; }
.cta-band::after { /* decorative speed stripes (Elementor: background image or shape) */
  content: ""; position: absolute; right: -40px; top: -40px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(13, 20, 64, .06);
}

/* ---------- Logos / industries strip ---------- */
.industry-chip { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.industry-chip i { color: var(--cobalt); font-size: 1.15rem; width: 22px; text-align: center; }

/* ---------- Service rows (services overview) ---------- */
.service-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row > * { flex: 1 1 calc(50% - 32px); min-width: 0; }
.service-row.reverse { flex-direction: row-reverse; }
.service-row .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }

/* ---------- Comparison (speed tiers) ---------- */
.tier { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 2px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tier.featured { border-color: var(--cobalt); box-shadow: var(--shadow); position: relative; }
.tier .tier-time { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2.2rem; color: var(--ink); line-height: 1; }
.tier .tier-time small { font-size: .9rem; font-family: var(--font-body); font-stretch: 100%; color: var(--muted); font-weight: 600; }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Forms (Form widget) ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.form-row > .field { flex: 1 1 calc(50% - 18px); min-width: 220px; }
.form-row > .field.full { flex-basis: 100%; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; color: var(--ink); font-size: .94rem; }
.field label .req { color: var(--cobalt); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(21, 48, 214, .14); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D3263A; }
.field .error { display: none; font-size: .84rem; color: #C11F33; font-weight: 600; }
.field.invalid .error { display: block; }
.form-legend { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; color: var(--ink); font-size: 1.12rem; margin: 10px 0 16px; padding-top: 10px; display: flex; align-items: center; gap: 12px; }
.form-legend span { width: 30px; height: 30px; border-radius: 8px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cobalt); flex: none; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .94rem; color: var(--ink); }
.radio-group input { accent-color: var(--cobalt); }
.radio-group label:has(input:checked) { border-color: var(--cobalt); background: var(--ice); }

.side-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px); }
.side-card h3 { color: var(--white); }
.side-card p { color: rgba(255, 255, 255, .78); }
.side-card + .side-card { margin-top: 20px; }
.side-card.light { background: var(--ice); color: var(--text); }
.side-card.light h3 { color: var(--ink); }
.side-card.light p { color: var(--muted); }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: n; }
.numbered li { display: flex; gap: 14px; counter-increment: n; }
.numbered li::before { content: counter(n); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.numbered strong { display: block; color: var(--white); }
.numbered span { color: rgba(255, 255, 255, .74); font-size: .95rem; }

/* ---------- Tracking ---------- */
.track-box { display: flex; flex-wrap: wrap; gap: 12px; }
.track-box input { flex: 1 1 260px; font: inherit; font-size: 1.05rem; padding: 18px 20px; border-radius: 999px; border: 2px solid var(--line); color: var(--ink); min-width: 0; }
.track-box input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(21, 48, 214, .14); }
.track-result { display: none; margin-top: 30px; }
.track-result.show { display: block; }
.track-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.track-head .ref { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; color: var(--ink); font-size: 1.3rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cobalt); color: var(--white); font-size: .8rem; position: relative; z-index: 1; }
.timeline li.current .dot { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 6px rgba(255, 212, 0, .3); }
.timeline li.pending .dot { background: var(--ice); color: var(--muted); }
.timeline strong { display: block; color: var(--ink); }
.timeline span { font-size: .92rem; color: var(--muted); }
.notice { padding: 16px 20px; border-radius: var(--radius); background: var(--ice); color: var(--ink); font-size: .94rem; display: flex; gap: 12px; align-items: flex-start; }
.notice i { color: var(--cobalt); margin-top: 4px; }
.notice.warn { background: #FFF7CC; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-item a { font-weight: 600; text-decoration: none; }
.contact-item span { color: var(--muted); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar { width: 96px; height: 96px; font-size: 1.6rem; margin: 0 auto 16px; }
.team-card h3 { margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Legal pages ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.placeholder-note { background: #FFF7CC; border-left: 4px solid var(--yellow); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-size: .95rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); font-size: .95rem; }
.footer-cta { padding: clamp(40px, 6vw, 72px) 0 0; }
.footer-main { padding: clamp(56px, 7vw, 88px) 0 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-brand { flex: 1 1 300px; max-width: 360px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-col { flex: 1 1 170px; }
.footer-col h2 { font-family: var(--font-body); font-stretch: 100%; color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-col a:hover { color: var(--yellow); }
.footer-col i { color: var(--yellow); width: 18px; margin-right: 6px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: var(--white); text-decoration: none; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-bottom a { color: rgba(255, 255, 255, .78); text-decoration: none; margin-left: 18px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.text-center { text-align: center; }
.center-x { justify-content: center; }
.muted { color: var(--muted); }
.big-quote { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--ink); }
.on-dark .big-quote { color: var(--white); }

/* ==========================================================================
   Responsive — Elementor breakpoints: tablet ≤1024px, mobile ≤767px
   ========================================================================== */
@media (max-width: 1100px) {
  .topbar-info .hide-md { display: none; }
  .nav-list > li > a, .nav-list > li > button { padding: 12px 10px; }
}

@media (max-width: 1024px) {
  .cols-4 > * { flex-basis: calc(50% - var(--gap, 28px)); }
  .cols-3 > * { flex-basis: calc(50% - var(--gap, 28px)); }
  .stat { flex-basis: calc(50% - 1px); border-bottom: 1px solid rgba(13, 20, 64, .14); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }

  /* Mobile menu (Nav Menu widget > Dropdown on tablet) */
  .menu-toggle { display: inline-flex; }
  .mobile-only { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); z-index: 200;
    flex-direction: column; align-items: stretch; gap: 0; padding: 90px 24px 32px;
    background: var(--white); box-shadow: -20px 0 60px rgba(13, 20, 64, .25);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
  }
  .nav-open .main-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a, .nav-list > li > button { padding: 15px 12px; font-size: 1.08rem; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .main-nav .mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .main-nav .mobile-actions .btn { width: 100%; }
  .nav-close { display: inline-flex; position: absolute; top: 20px; right: 20px; }
  .header-actions .btn-quote, .header-actions .track-link span { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(13, 20, 64, .5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

@media (min-width: 1025px) {
  .main-nav .mobile-actions, .nav-close, .nav-backdrop { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .cols-2 > *, .cols-3 > *, .cols-4 > *, .col-60, .col-40, .service-row > * { flex-basis: 100%; }
  .service-row.reverse { flex-direction: row; }
  .topbar .topbar-info { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-links { gap: 16px; font-size: .82rem; }
  .header-inner { min-height: 68px; }
  .logo img { height: 38px; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .btn-group .btn { flex: 1 1 auto; }
  .stat { flex-basis: 100%; border-right: 0; border-bottom: 1px solid rgba(13, 20, 64, .14); }
  .stat:nth-last-child(-n+2) { border-bottom: 1px solid rgba(13, 20, 64, .14); }
  .stat:last-child { border-bottom: 0; }
  .img-badge { left: 12px; right: 12px; bottom: 12px; }
  .form-row > .field { min-width: 100%; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  .accordion summary { padding: 18px; }
  .accordion .answer { padding: 0 18px 20px; }
  .route-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Dark-background text colour fixes */
.on-dark { color: rgba(255, 255, 255, .85); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--yellow); }
.city-tags span { color: inherit; }
.on-dark .city-tags span { color: var(--white); }

/* Mobile menu: backdrop-filter would trap the fixed slide-out panel inside the header */
@media (max-width: 1024px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
}
@media (max-width: 767px) {
  .topbar .hide-sm { display: none; }
  .badge { font-size: .82rem; }
}
.radio-group label { white-space: nowrap; }
/* Lift the header above the backdrop while the mobile menu is open */
.nav-open .site-header { z-index: 300; }
@media (max-width: 1024px) {
  .main-nav { visibility: hidden; box-shadow: none; transition: transform .28s ease, visibility 0s linear .28s; }
  .nav-open .main-nav { visibility: visible; box-shadow: -20px 0 60px rgba(13, 20, 64, .25); transition: transform .28s ease; }
}
.card-dark .text-link { color: var(--yellow); }

/* ---------- Home hero: "Track your order" card ---------- */
.hero-row { align-items: center; --gap: clamp(32px, 5vw, 64px); }
.hero-row .hero-content { flex: 1 1 520px; }
.track-card {
  flex: 0 1 420px; background: var(--white); color: var(--text);
  border-radius: var(--radius-lg); border-top: 6px solid var(--yellow);
  padding: clamp(24px, 3vw, 34px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.track-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.track-card h2 { color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 0 0 4px; }
.track-card-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.track-card form { display: flex; flex-direction: column; gap: 10px; }
.track-card label { font-weight: 700; color: var(--ink); font-size: .9rem; }
.track-card input {
  font: inherit; font-size: 1.08rem; color: var(--ink); padding: 16px 18px;
  border: 2px solid var(--line); border-radius: 12px; width: 100%;
}
.track-card input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(21, 48, 214, .14); }
.track-card .btn { width: 100%; margin-top: 4px; }
.track-card-status {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px;
  background: var(--ice); border-radius: 12px; font-size: .9rem; color: var(--ink);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #1DB954; flex: none; box-shadow: 0 0 0 4px rgba(29, 185, 84, .2); }
.track-card-help { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.track-card-help a { font-weight: 700; }

@media (max-width: 1024px) {
  .track-card { flex-basis: 100%; max-width: 560px; }
  .header-actions .track-link { padding: 0; width: 48px; height: 48px; }
}
.hero:has(.hero-row) { padding-top: clamp(56px, 7vw, 100px); }
.hero-row h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }

/* ---------- Live tracking map (tracking page) ---------- */
.live-map { position: relative; isolation: isolate; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--line); }
.live-map-canvas { height: clamp(300px, 45vw, 420px); background: var(--ice); z-index: 0; }
.live-map-badge {
  position: absolute; top: 14px; right: 14px; z-index: 500; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white); padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.live-map-badge .live-dot { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px rgba(29, 185, 84, 0); } }
.live-map-eta {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 500; max-width: 360px;
  display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow);
}
.live-map-eta strong { display: block; color: var(--ink); font-size: 1.02rem; }
.live-map-eta span { font-size: .86rem; color: var(--muted); }
.live-map-eta strong span { font-size: inherit; color: inherit; }
.map-pin { display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 4px 12px rgba(13, 20, 64, .35); }
.map-pin.van { width: 44px; height: 44px; background: var(--yellow); color: var(--ink); font-size: 1.05rem; }
.map-pin.start { width: 22px; height: 22px; background: var(--cobalt); }
.map-pin.end { width: 34px; height: 34px; background: var(--ink); color: var(--yellow); font-size: .85rem; }
.leaflet-container { font-family: var(--font-body); }
.home-map { margin-bottom: 0; border: 0; box-shadow: var(--shadow); }
.home-map .live-map-canvas { height: clamp(380px, 46vw, 620px); }
/* Home tracking section: map takes ~2/3 of the row */
.home-map-row { --gap: clamp(32px, 4vw, 56px); }
.home-map { flex: 1 1 calc(64% - var(--gap)); }
.home-map-text { flex: 1 1 calc(36% - var(--gap)); min-width: 280px; }
@media (max-width: 1024px) {
  .home-map, .home-map-text { flex-basis: 100%; }
}
/* Spam trap field on forms — hidden from people, filled in by bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Home hero: moving-van photo, lighter overlay on the right so the van shows */
.hero-van { background-position: 30% 55%; }
.hero-van::before { background: linear-gradient(100deg, rgba(13, 20, 64, .94) 0%, rgba(13, 20, 64, .78) 38%, rgba(13, 20, 64, .3) 70%, rgba(13, 20, 64, .15) 100%); }

/* Supporting photographs on individual service pages. */
.pp-service-gallery { padding-top: 0; }
.pp-service-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.pp-service-gallery figure { margin: 0; min-width: 0; }
.pp-service-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }

@media (max-width: 640px) { .pp-service-gallery-grid { grid-template-columns: 1fr; } }

.pp-restored-services { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.pp-restored-services > .card { display:flex; flex-direction:column; align-items:flex-start; }
.pp-restored-services > .card .text-link { margin-top:auto; }
@media(max-width:1024px) { .pp-restored-services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .pp-restored-services { grid-template-columns:1fr; } }
