/* ============================================================
   YEMEX LOGISTICS — theme styles
   Palette + type sampled from the Yemex company profile.
   Colours can be overridden from Theme settings > Colours.
   ============================================================ */
:root {
  --navy: #001844;
  --navy-deep: #001f4d;
  --navy-700: #001860;
  --blue: #1888d0;
  --blue-dark: #084890;
  --blue-soft: #e3ebf8;
  --bg: #f1f3f2;
  --bg-alt: #f1f3f2;
  --white: #ffffff;
  --text: #001844;
  --muted: #55677f;
  --muted-2: #7b8b9e;
  --line: #e3ebf8;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(0, 24, 68, 0.06);
  --shadow: 0 14px 40px rgba(0, 24, 68, 0.10);
  --shadow-lg: 0 28px 70px rgba(0, 24, 68, 0.18);
  --nav-h: 76px;

  --font-head: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background-color: var(--white);
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  background-color: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* the phone's own dark mode must never repaint this brand palette */
@media (prefers-color-scheme: dark) {
  html, body { background-color: var(--white); color: var(--text); }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 600; }
h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: 0; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--blue); color: #fff; }

main, section, header, footer { max-width: 100%; }
.grid > *, .stats > *, .services__grid > *, .steps > *, .ind__grid > *,
.partner__cols > *, .why__items > *, .area__grid > *, .fleet__cols > * { min-width: 0; }
h1, h2, h3, h4, p, li, a, label, span { overflow-wrap: break-word; }

/* ---------- layout primitives ---------- */
.container { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: #dfe7f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--surface { background: var(--white); }

.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 34px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.section--navy .eyebrow { color: #7cc3f0; }
.section--navy .eyebrow::before { background: #7cc3f0; }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.sec-head .lede { margin-top: 10px; }
.section--navy .lede { color: #b9c7dc; }
.muted-text { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.span-all { grid-column: 1 / -1; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.28s, border-color 0.28s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d7e8; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card h3 { margin-bottom: 8px; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: #fff; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(1, 45, 107, 0.22);
}
.icon-badge--light { background: var(--blue-soft); color: var(--blue-dark); box-shadow: none; }
.ico { display: block; flex: 0 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-head); font-size: 0.93rem; font-weight: 500;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, color 0.22s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(31, 143, 215, 0.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(31, 143, 215, 0.4); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.42); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.reveal { animation: fadeUp 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

/* ---------- header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0, 24, 68, 0.07);
  padding-top: env(safe-area-inset-top);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.nav__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav__logo img { height: 48px; width: auto; max-width: none; }
.nav__logo-text { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em; color: var(--navy); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  font-family: var(--font-head); font-size: 0.87rem; font-weight: 400; color: var(--navy);
  padding: 9px 13px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.nav__link:hover, .nav__link.is-active { background: var(--blue-soft); color: var(--blue-dark); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--navy); padding: 8px; }
.nav__drawer {
  display: none; flex-direction: column; gap: 2px; padding: 10px 6vw 22px;
  background: #fff; border-bottom: 1px solid var(--line);
}
.nav__drawer a { padding: 11px 4px; border-bottom: 1px solid var(--bg-alt); font-family: var(--font-head); }
.nav__drawer .btn { margin-top: 14px; justify-content: center; }
.nav.is-open .nav__drawer { display: flex; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: right 30% center; opacity: 0.95; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy) 6%, rgba(0, 24, 68, 0.94) 38%, rgba(0, 24, 68, 0.45) 62%, rgba(0, 24, 68, 0.15) 100%);
}
.hero__inner { position: relative; padding: clamp(84px, 11vw, 140px) 0 clamp(56px, 7vw, 92px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: #6dc0f0; }
.hero__sub { margin-top: 22px; max-width: 44ch; color: #c3d2e6; font-size: 1.1rem; }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__chips { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; color: #dce6f4;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
  border-radius: 999px; padding: 9px 16px; font-size: 0.88rem; backdrop-filter: blur(8px);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, color 0.22s;
}
/* same shape/size as the other hero chips, but reads as a call to action */
.chip--cta {
  color: #fff; font-weight: 600; background: var(--blue); border-color: transparent;
  box-shadow: 0 8px 18px rgba(24, 136, 208, 0.36);
}
.chip--cta:hover, .chip--cta:focus-visible {
  background: #1f97e0; transform: translateY(-2px); box-shadow: 0 13px 26px rgba(24, 136, 208, 0.5);
}
.hero__site { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: #7cc3f0; font-family: var(--font-head); font-size: 0.95rem; }

/* ---------- generic page hero (quote page, inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.4; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 10%, rgba(0, 24, 68, 0.9) 55%, rgba(0, 24, 68, 0.62) 100%); }
.page-hero__inner { position: relative; padding: clamp(52px, 7vw, 92px) 0 clamp(46px, 6vw, 74px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-hero__sub { margin-top: 16px; color: #c3d2e6; max-width: 62ch; font-size: 1.06rem; }
.crumbs { display: flex; gap: 8px; align-items: center; color: #8fa4c0; font-size: 0.84rem; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 46px; align-items: center; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__caps { margin-top: 34px; display: grid; gap: 0; }
.about__cap { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.about__cap:last-child { border-bottom: 1px solid var(--line); }
.about__cap .ico { color: var(--blue-dark); margin-top: 3px; }
.about__cap strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: block; font-size: 1rem; }
.about__cap span { color: var(--muted); font-size: 0.96rem; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 54px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; transition: transform 0.26s, box-shadow 0.26s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat .ico { color: var(--blue); margin: 0 auto 12px; }
.stat b { display: block; font-family: var(--font-head); font-size: 0.83rem; font-weight: 600; letter-spacing: 0.11em; color: var(--navy); }
.stat span { font-size: 0.87rem; color: var(--muted); }

/* ---------- mission ---------- */
.mission__text { font-family: var(--font-head); font-weight: 500; color: #fff; font-size: clamp(1.55rem, 3.5vw, 2.85rem); line-height: 1.25; max-width: 26ch; }
.mission__text span { color: #6dc0f0; }
.mission__side { display: grid; gap: 18px; align-content: center; }
.mission__pill { display: flex; align-items: center; gap: 14px; color: #cfdcee; }
.mission__pill .ico { color: #6dc0f0; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; }
.why__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.why__media img { width: 100%; }
.why__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d7e8; }
.service h3 { font-size: 1.02rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.service li { display: flex; gap: 10px; color: var(--muted); font-size: 0.94rem; line-height: 1.45; }
.service li .ico { color: var(--blue); margin-top: 4px; }

/* ---------- industries ---------- */
.ind__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: transform 0.26s, box-shadow 0.26s, border-color 0.26s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d7e8; }
.ind b { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; color: var(--navy); text-transform: uppercase; }
.ind small { color: var(--muted-2); font-size: 0.83rem; display: block; letter-spacing: 0.02em; }

/* ---------- fleet ---------- */
.fleet__band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 34px; }
.fleet__band img { width: 100%; }
.fleet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.fleet__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.fleet__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.fleet__list .ico { color: var(--blue); margin-top: 4px; }
.fleet__list b { color: var(--navy); font-family: var(--font-head); font-weight: 500; font-size: 0.97rem; }
.pillbox { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.pillbox span { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 15px; font-size: 0.88rem; color: var(--navy); }

/* ---------- service area ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 30px; align-items: start; }
.area__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.area__media img { width: 100%; }
/* full, uncropped media — nothing clipped, all corners visible */
.area__media--full { border: 0; box-shadow: none; border-radius: 0; overflow: visible; background: transparent; }
.area__media--full img { width: 100%; height: auto; display: block; border-radius: 0; object-fit: contain; }
.area__list { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 12px; }
.area__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; font-family: var(--font-head); color: var(--navy); }
.area__list .ico { color: #1f8fd7; }
.area__list em { font-style: normal; font-size: 0.76rem; letter-spacing: 0.12em; color: var(--blue-dark); background: var(--blue-soft); border-radius: 999px; padding: 4px 11px; }
.area__cta { background: var(--navy); border: 0; }
.area__cta:hover { border: 0; box-shadow: var(--shadow-lg); }
.area__cta h3 { color: #fff; }
.area__cta p { color: #b9c7dc; }

/* ---------- process steps + cta band ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; transition: transform 0.26s, box-shadow 0.26s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__n { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--blue); }
.step h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.07em; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step__ico { position: absolute; top: 20px; right: 20px; color: var(--blue-soft); }
.cta-band { margin-top: 40px; background: var(--navy); border-radius: var(--radius-lg); padding: 38px 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta-band p { color: #fff; font-family: var(--font-head); font-size: clamp(1.05rem, 1.9vw, 1.45rem); font-weight: 500; max-width: 46ch; }
.cta-band small { color: #7cc3f0; font-family: var(--font-head); letter-spacing: 0.18em; font-size: 0.76rem; display: block; margin-top: 10px; }

/* ---------- compliance ---------- */
.comp__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: center; }
.comp__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.comp__list li { display: flex; gap: 13px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--font-head); font-size: 0.96rem; color: var(--navy); }
.comp__list .ico { color: #fff; background: var(--blue); border-radius: 999px; padding: 3px; }
.comp__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.comp__media img { width: 100%; }
.note { margin-top: 22px; color: var(--muted); border-left: 3px solid var(--blue); padding-left: 16px; font-size: 0.97rem; }

/* ---------- partner ---------- */
.partner__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.partner__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.partner__media img { width: 100%; }
.partner__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.partner__cols .ico { color: #0e4d94; }
.partner__cols h4 { margin: 10px 0 6px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.86rem; }
.partner__cols p { color: var(--muted); font-size: 0.94rem; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 46px; align-items: start; }
.contact__card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(12px); }
.contact__row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.contact__row:last-child { border-bottom: 0; }
.contact__row .ico { color: #6dc0f0; margin-top: 3px; }
.contact__row small { display: block; color: #93a5bd; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; }
.contact__row a, .contact__row span { color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.contact__row a:hover { color: #6dc0f0; }
.tagline { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.2; }
.tagline span { color: #6dc0f0; display: block; }
.contact__cta-text { margin-top: 20px; color: #b9c7dc; max-width: 44ch; }
.contact__btn { margin-top: 26px; }

/* ---------- quote form ---------- */
.quote__layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }
.quote__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.quote__steps { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.qstep { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 0.86rem; color: var(--muted-2); }
.qstep i { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 0.8rem; background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.qstep.is-active { color: var(--navy); }
.qstep.is-active i { background: var(--blue); color: #fff; }
.qstep.is-done i { background: var(--blue-dark); color: #fff; }
.qstep__bar { flex: 1 0 18px; height: 2px; background: var(--line); min-width: 18px; }
.qpanel { display: none; }
.qpanel.is-active { display: block; animation: fadeUp 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.qpanel__title { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); margin-bottom: 4px; }
.qpanel__hint { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qgrid .span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-size: 0.84rem; font-weight: 500; color: var(--navy); letter-spacing: 0.02em; }
.field label .req { color: #d94b4b; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 136, 208, 0.16);
}
.field small { color: var(--muted-2); font-size: 0.8rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d94b4b; box-shadow: 0 0 0 3px rgba(217, 75, 75, 0.12); }
.field__error { color: #c33; font-size: 0.8rem; display: none; }
.field.has-error .field__error { display: block; }
.qnav { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 26px; flex-wrap: wrap; }
.qnav__right { display: flex; gap: 10px; margin-left: auto; }
.qreview { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qreview li { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; padding: 12px 16px; font-size: 0.94rem; border-bottom: 1px solid var(--line); }
.qreview li:last-child { border-bottom: 0; }
.qreview li:nth-child(odd) { background: #fafbfd; }
.qreview b { font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.qreview span { color: var(--muted); }
.quote__aside { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 20px); }
.quote__aside-card { background: var(--navy); color: #cfdcee; border-radius: var(--radius-lg); padding: 28px; }
.quote__aside-card h3 { color: #fff; margin-bottom: 12px; }
.quote__aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.quote__aside-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.quote__aside-card .ico { color: #6dc0f0; margin-top: 3px; }
.quote__aside-card a { color: #fff; font-family: var(--font-head); }
.quote__aside-card a:hover { color: #6dc0f0; }
.qalert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.94rem; margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.qalert--ok { background: #e8f6ee; border: 1px solid #b7e2c9; color: #1c6b3f; }
.qalert--err { background: #fdecec; border: 1px solid #f3c2c2; color: #a52d2d; }
.qalert ul { margin: 6px 0 0; padding-left: 18px; }
.qalert[hidden] { display: none; }
.qalert--ok p { margin: 6px 0 0; }
.sana-form.is-sent .quote__steps, .sana-form.is-sent .qpanel { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: #93a5bd; padding: 54px 0 30px; font-size: 0.92rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer img { height: 44px; }
.footer__brand p { margin-top: 16px; max-width: 34ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
.footer__bottom a:hover { color: #fff; }

/* ---------- generic page + commerce basics ---------- */
.rte > * + * { margin-top: 16px; }
.rte h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.rte ul, .rte ol { padding-left: 22px; }
.rte img { border-radius: var(--radius); }
.page-body { max-width: 76ch; }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.26s, box-shadow 0.26s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card__body { padding: 18px 20px 22px; }
.product-card__price { font-family: var(--font-head); color: var(--navy); margin-top: 6px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-size: 0.9rem; }
.pagination .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.product-page__gallery img { width: 100%; border-radius: var(--radius-lg); }
.product-page__price { font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); margin: 14px 0 18px; }
.product-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.product-form input[type="number"] { width: 92px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); }
.cart-table img { width: 76px; border-radius: var(--radius-sm); }
.cart-total { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.empty-state { text-align: center; padding: 40px 0; color: var(--muted); }

/* ============ tablet / small laptop ============ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .area__grid { grid-template-columns: 1fr 1fr; }
  .area__grid .area__media { grid-column: 1 / -1; }
  .fleet__cols { grid-template-columns: 1fr 1fr; }
  .about__grid, .why__grid, .comp__grid, .partner__grid, .contact__grid,
  .quote__layout, .product-page { grid-template-columns: 1fr; }
  .why__grid .why__media { order: 2; }
  .about__media { max-height: 420px; }
  .quote__aside { position: static; }
}

/* ============ phone ============ */
@media (max-width: 760px) {
  :root { --nav-h: 66px; --radius-lg: 20px; }
  body { font-size: 16.5px; }
  .container { width: min(1180px, 100% - 36px); }
  .section { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }

  .nav__logo img { height: 44px; }
  .nav__drawer { padding: 8px 18px 18px; }
  .nav__drawer a { padding: 14px 4px; font-size: 1rem; }

  .hero__inner { padding: 56px 0 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero__sub { font-size: 1.02rem; max-width: 100%; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__chips { margin-top: 30px; gap: 9px; }
  .chip { font-size: 0.83rem; padding: 8px 13px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .g2, .g3, .g4, .steps, .why__items, .partner__cols, .services__grid,
  .area__grid, .fleet__cols, .cards, .qgrid { grid-template-columns: 1fr; }

  /* industries: two cards per row on phones, pulled closer together */
  .ind__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ind { flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 14px 10px; }
  .ind .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
  .ind b { display: block; font-size: 0.78rem; letter-spacing: 0.015em; line-height: 1.3; }
  .ind small { font-size: 0.76rem; }
  .ind__grid > .ind:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .area__grid .area__media { grid-column: auto; }

  .card { padding: 22px 20px; }
  .cta-band { padding: 26px 22px; border-radius: var(--radius); }
  .cta-band .btn { width: 100%; justify-content: center; }
  .contact__card { padding: 24px 20px; }
  .contact__row a, .contact__row span { font-size: 0.97rem; }
  .footer { padding: 42px 0 26px; }
  .footer__top { flex-direction: column; gap: 22px; }
  .footer img { height: 40px; }
  .footer__bottom { margin-top: 26px; }
  .about__media { max-height: none; }
  .steps { gap: 14px; }

  .quote__card { padding: 22px 18px; }
  .quote__aside-card { padding: 22px 20px; }
  .qgrid { gap: 14px; }
  .qnav { flex-direction: column-reverse; align-items: stretch; }
  .qnav .btn { width: 100%; justify-content: center; }
  .qnav__right { margin-left: 0; flex-direction: column; }
  .qreview li { grid-template-columns: 1fr; gap: 2px; }
}

/* ============ very small phones ============ */
@media (max-width: 400px) {
  body { font-size: 16px; }
  .container { width: min(1180px, 100% - 28px); }
  .hero h1 { font-size: 1.85rem; }
  .nav__logo img { height: 40px; }
  .btn { padding: 12px 18px; font-size: 0.89rem; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero__bg { background-position: center; opacity: 0.9; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(0, 24, 68, 0.18) 0%,
      rgba(0, 24, 68, 0.62) 38%,
      rgba(0, 24, 68, 0.88) 68%,
      var(--navy) 100%);
  }
}

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

/* ---------- toggles + progressive reveal (JS enabled) ---------- */
.nav__toggle-close { display: none; }
.nav.is-open .nav__toggle-close { display: block; }
.nav.is-open .nav__toggle-open { display: none; }

.js .reveal { animation: none; opacity: 0; }
.js .reveal.is-in { animation: fadeUp 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

/* focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(24, 136, 208, 0.45);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200; font-family: var(--font-head);
}
.skip-link:focus { left: 0; }

/* ---------- get-a-quote band (bottom of the home page) ---------- */
.quote-band { background: var(--bg); }
.quote-cta {
  background: var(--navy); border-radius: var(--radius-lg); padding: 42px 38px;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 38px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.quote-cta::after {
  content: ""; position: absolute; inset: auto -60px -90px auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(24, 136, 208, 0.42), transparent 68%); pointer-events: none;
}
.quote-cta__main { position: relative; }
.quote-cta__badge {
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  margin: 0 auto 18px; border-radius: 999px; background: rgba(24, 136, 208, 0.18);
  border: 1px solid rgba(124, 195, 240, 0.35); color: #7cc3f0;
}
/* centred variant — icon, heading, buttons and note in the middle */
.quote-cta--center { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; }
.quote-cta--center .quote-cta__main { max-width: 760px; }
.quote-cta--center .quote-cta__text { margin-left: auto; margin-right: auto; }
.quote-cta--center .quote-cta__actions { justify-content: center; }
.quote-cta--center .quote-cta__lines {
  width: 100%; max-width: 720px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.quote-cta--center .quote-cta__lines li { text-align: left; }
.quote-cta__eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #7cc3f0; margin-bottom: 14px;
}
.quote-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.quote-cta__text { margin-top: 14px; color: #b9c7dc; max-width: 52ch; }
.quote-cta__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.quote-cta__note { margin-top: 16px; color: #8fa4c0; font-size: 0.9rem; }
.quote-cta__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.quote-cta__lines li {
  display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm);
  padding: 14px 16px; backdrop-filter: blur(8px);
}
.quote-cta__ico {
  color: #7cc3f0; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; background: rgba(24, 136, 208, 0.18);
}
.quote-cta__line { display: grid; gap: 2px; min-width: 0; }
.quote-cta__line small { color: #8fa4c0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.quote-cta__line a, .quote-cta__line b {
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; overflow-wrap: anywhere;
}
.quote-cta__line a:hover { color: #7cc3f0; }

@media (max-width: 1080px) {
  .quote-cta { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .quote-cta { padding: 28px 20px; border-radius: var(--radius); }
  .quote-cta__actions .btn { width: 100%; justify-content: center; }
}
.footer__quote { margin-top: 20px; }

/* ---------- footer social links ---------- */
.footer__social { margin-top: 22px; }
.footer__social-head {
  display: block; font-family: var(--font-head); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #8fa4c0; margin-bottom: 10px;
}
.footer__social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.footer__social-link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  color: #dce4ef; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.footer__social-link { color: #fff; }
.footer__social-link:hover { transform: translateY(-3px) scale(1.05); }
.footer__social-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.footer__social-link .ico, .footer__social-link .social-glyph { display: block; }

/* brand colours — each icon keeps its own official colour */
.footer__social-link--linkedin { background: #0a66c2; border-color: #0a66c2; }
.footer__social-link--facebook { background: #1877f2; border-color: #1877f2; }
.footer__social-link--instagram {
  background: radial-gradient(circle at 28% 108%, #fdf497 0%, #fdd35c 8%, #fd5949 45%, #d6249f 66%, #285aeb 100%);
  border-color: #c13584;
}
.footer__social-link--youtube { background: #ff0000; border-color: #ff0000; }
.footer__social-link--x-twitter { background: #000000; border-color: #000000; }
.footer__social-link--whatsapp { background: #25d366; border-color: #25d366; }
.footer__social-link--linkedin:hover,
.footer__social-link--facebook:hover,
.footer__social-link--instagram:hover,
.footer__social-link--youtube:hover,
.footer__social-link--x-twitter:hover,
.footer__social-link--whatsapp:hover { filter: brightness(1.1) saturate(1.05); }

/* ---------- hero CTAs: three big, centred, one under the other ---------- */
.hero__actions--stack {
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.hero__cta {
  justify-content: center; text-align: center;
  min-width: min(340px, 100%); padding: 15px 26px; font-size: 1rem;
}
.hero__cta--quote { font-weight: 600; }
@media (max-width: 760px) {
  .hero__actions--stack { align-items: stretch; }
  .hero__actions--stack .btn { flex: 0 0 auto; width: 100%; min-width: 0; }
}
