/* =========================================================
   Ceri Logistics: Petroleum Tank Storage & Fuel Logistics
   Plain CSS. Brand tokens from the build spec, section 2.
   ========================================================= */

:root {
  --night: #0A1620;
  --steel: #1D3A52;
  --steel-2: #274a66;
  --flame: #F2A900;
  --flame-dark: #d99700;
  --signal: #D7262E;
  --mist: #F3F5F7;
  --ink: #16212B;
  --white: #FFFFFF;

  --muted: #4E5E6C;
  --muted-on-dark: #A8B7C5;
  --line: #DDE3E8;
  --line-dark: rgba(255, 255, 255, .12);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --container: 1280px;
  --gutter: 16px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(10, 22, 32, .06), 0 8px 24px rgba(10, 22, 32, .06);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--flame); color: var(--night); padding: 10px 16px;
  font-weight: 700; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 8px; }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Placeholder marker: anything still to be verified */
.tbc {
  background: rgba(242, 169, 0, .16);
  border-bottom: 1px dashed var(--flame-dark);
  padding: 0 .2em;
  border-radius: 2px;
  font-style: normal;
  white-space: nowrap;
}
.on-dark .tbc, .tbc--dark { background: rgba(242, 169, 0, .2); color: #FFD25C; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--flame); color: var(--night); }
.btn--primary:hover { background: #ffbb1f; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--night); }
.btn--outline { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn--outline:hover { background: var(--steel); color: var(--white); }
.btn--dark { background: var(--night); color: var(--white); }
.btn--dark:hover { background: var(--steel); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--steel);
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--flame); }

/* ---------- Top bar ---------- */
.topbar { display: none; background: #06101a; color: var(--muted-on-dark); font-size: .85rem; }
.topbar__in { display: flex; justify-content: flex-end; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; }
.topbar__em { color: #ff7a7f; font-weight: 600; }
.topbar__em .icon { color: var(--signal); }
@media (min-width: 1024px) { .topbar { display: block; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--night); color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1; }
.brand__name small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .16em; color: var(--muted-on-dark); margin-top: 5px; text-transform: uppercase; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; }
.sub-toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; display: inline-flex; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; color: var(--white);
  border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.header__cta { display: none; }
.nav__extra { margin-top: 24px; display: grid; gap: 12px; }
.nav__emergency { display: flex; align-items: center; gap: 10px; color: #ff7a7f; font-weight: 600; font-size: .95rem; }
.nav__emergency .icon { color: var(--signal); }

/* Mobile drawer (< 1024px) */
@media (max-width: 1023.98px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(360px, 88vw);
    background: var(--night); border-left: 1px solid var(--line-dark);
    padding: 84px 24px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list > li { border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; }
  .nav__list > li > a { flex: 1; padding: 14px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
  .nav__list a[aria-current="page"] { color: var(--flame); }
  .nav .sub { list-style: none; margin: 0; padding: 0 0 12px 12px; width: 100%; display: none; }
  .nav .sub a { display: block; padding: 8px 0; color: var(--muted-on-dark); }
  .nav .sub a:hover { color: var(--white); }
  .has-sub.open .sub { display: block; }
  .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .nav-close { position: absolute; top: 14px; right: 16px; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 110; background: rgba(6, 16, 26, .6);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* Desktop nav (>= 1024px) */
@media (min-width: 1024px) {
  .menu-toggle, .nav-close, .nav__extra, .nav-backdrop { display: none; }
  .header__cta { display: inline-flex; }
  .nav__list { display: flex; align-items: center; gap: 4px; }
  .nav__list > li { position: relative; display: flex; align-items: center; }
  .nav__list > li > a {
    padding: 10px 12px; font-weight: 600; font-size: .95rem; color: #dce5ec; border-radius: var(--radius);
  }
  .nav__list > li > a:hover, .nav__list > li > a[aria-current="page"] { color: var(--white); }
  .nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--flame); border-radius: 0; }
  .has-sub > a { padding-right: 2px !important; }
  .sub-toggle { padding: 6px 6px 6px 2px; color: #dce5ec; }
  .nav .sub {
    position: absolute; top: 100%; left: 0; min-width: 270px;
    list-style: none; margin: 0; padding: 8px;
    background: var(--white); color: var(--ink);
    border-radius: var(--radius); box-shadow: 0 16px 40px rgba(6, 16, 26, .25);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .sub a { display: block; padding: 9px 12px; border-radius: 4px; font-size: .93rem; font-weight: 500; }
  .nav .sub a:hover { background: var(--mist); }
  .nav .sub a[aria-current="page"] { color: var(--steel); font-weight: 700; background: var(--mist); }
}

/* ---------- Media + image placeholders ---------- */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--steel) 0%, var(--night) 100%); border-radius: var(--radius); }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-family: ui-monospace, Consolas, monospace; font-size: .8rem;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  background: linear-gradient(135deg, var(--steel) 0%, var(--night) 70%);
  overflow: hidden;
}
.hero > .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.hero > .media .media__ph { align-items: flex-end; justify-content: flex-end; padding: 16px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(10,22,32,.88) 0%, rgba(10,22,32,.6) 60%, rgba(10,22,32,.45) 100%);
}
.hero__in { padding-top: 64px; padding-bottom: 64px; max-width: var(--container); }
.hero--home .hero__in { padding-top: 96px; padding-bottom: 112px; }
.hero__content { max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #dbe4eb; max-width: 640px; margin-bottom: 1.6em; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: #c9d5df; font-weight: 500;
  list-style: none; padding-left: 0;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--flame); width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .hero__in { padding-top: 96px; padding-bottom: 96px; }
  .hero--home .hero__in { padding-top: 150px; padding-bottom: 150px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--flame);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow { color: #a26f00; }
.hero .eyebrow, .banner .eyebrow, .section--dark .eyebrow, .section--steel .eyebrow, .on-dark .eyebrow { color: var(--flame); }

.breadcrumb { font-size: .85rem; color: #b9c6d1; margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }
.section--mist { background: var(--mist); }
.section--dark {
  background-color: var(--night); color: var(--white);
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section--steel { background: var(--steel); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head p, .lead { font-size: 1.1rem; color: var(--muted); }
.on-dark .section-head p, .section--dark .section-head p, .section--dark .lead { color: var(--muted-on-dark); }
.section-foot { margin-top: 36px; }

.prose { max-width: 760px; }
.prose p, .prose li { color: #2e3d4a; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.6em; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid { gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--wide-text { grid-template-columns: 1.2fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
a.card { text-decoration: none; }
a.card:hover, .card--hover:hover { border-color: #b8c4ce; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card ul { color: var(--muted); padding-left: 1.1em; margin-bottom: 0; }
.card ul li { margin-bottom: .35em; }
.card ul li::marker { color: var(--flame-dark); }

.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--night); color: var(--flame); margin-bottom: 20px;
}
.card-icon .icon { width: 24px; height: 24px; }

.section--dark .card, .card--dark { background: rgba(29, 58, 82, .55); border-color: var(--line-dark); color: var(--white); }
.section--dark .card p, .card--dark p, .section--dark .card ul { color: var(--muted-on-dark); }
.section--dark .card-icon { background: rgba(242,169,0,.12); }

/* Split "what we do" cards */
.feature-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; border-radius: var(--radius); overflow: hidden; color: var(--white);
  text-decoration: none; isolation: isolate;
}
.feature-card > .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.feature-card > .media img { transition: transform .5s ease; }
.feature-card:hover > .media img { transform: scale(1.04); }
.feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,22,32,.15) 0%, rgba(10,22,32,.92) 75%);
}
.feature-card__body { padding: 32px; }
.feature-card__num { font-family: var(--font-head); font-weight: 800; color: var(--flame); font-size: .85rem; letter-spacing: .14em; }
.feature-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin: 6px 0 10px; }
.feature-card p { color: #d4dee6; max-width: 480px; }
.feature-card .link-arrow { color: var(--flame); }
@media (min-width: 1024px) { .feature-card { min-height: 520px; } .feature-card__body { padding: 44px; } }

/* ---------- Key facts strip ---------- */
.facts { background: var(--steel); color: var(--white); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__list li { padding: 24px 16px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.facts__list strong { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--flame); line-height: 1.1; }
.facts__list span { color: var(--muted-on-dark); font-size: .9rem; }
@media (min-width: 1024px) { .facts__list { grid-template-columns: repeat(5, 1fr); } .facts__list li { border-bottom: 0; } }

/* ---------- Product flow diagram ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: flow; }
.flow__step { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 0; counter-increment: flow; }
.flow__node {
  position: relative; z-index: 1; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--night); border: 2px solid rgba(242,169,0,.55); color: var(--flame);
  box-shadow: 0 0 0 6px rgba(242,169,0,.06);
}
.flow__node .icon { width: 28px; height: 28px; }
.flow__label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.flow__label small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted-on-dark); margin-bottom: 2px; letter-spacing: .08em; }
.flow__label small::before { content: "0" counter(flow) " "; color: var(--flame); }
/* connector line, vertical on mobile */
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; left: 31px; top: calc(50% + 32px); height: calc(100% - 64px + 28px - 14px);
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--flame) 0 8px, transparent 8px 16px);
  background-size: 2px 16px;
  animation: flow-v 0.9s linear infinite;
  opacity: .8;
}
@keyframes flow-v { to { background-position: 0 16px; } }
@keyframes flow-h { to { background-position: 16px 0; } }
.flow__node { animation: pulse 3.5s ease-in-out infinite; }
.flow__step:nth-child(2) .flow__node { animation-delay: .5s; }
.flow__step:nth-child(3) .flow__node { animation-delay: 1s; }
.flow__step:nth-child(4) .flow__node { animation-delay: 1.5s; }
.flow__step:nth-child(5) .flow__node { animation-delay: 2s; }
.flow__step:nth-child(6) .flow__node { animation-delay: 2.5s; }
.flow__step:nth-child(7) .flow__node { animation-delay: 3s; }
@keyframes pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 6px rgba(242,169,0,.06); border-color: rgba(242,169,0,.55); }
  15% { box-shadow: 0 0 0 10px rgba(242,169,0,.18); border-color: var(--flame); }
}
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(7, 1fr); }
  .flow__step { flex-direction: column; text-align: center; padding: 0 6px; gap: 18px; align-items: center; }
  .flow__node { width: 76px; height: 76px; }
  .flow__node .icon { width: 32px; height: 32px; }
  .flow__step:not(:last-child)::after {
    left: calc(50% + 46px); right: calc(-50% + 46px); top: 37px; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--flame) 0 8px, transparent 8px 16px);
    background-size: 16px 2px;
    animation-name: flow-h;
  }
}
.flow-caption { margin-top: 40px; text-align: center; font-style: italic; color: var(--muted-on-dark); }

/* ---------- Pillars ---------- */
.pillar { padding: 28px 0 0; border-top: 2px solid var(--flame); }
.pillar h3 { display: flex; align-items: center; gap: 12px; }
.pillar h3 .icon { color: var(--flame); width: 24px; height: 24px; }
.pillar p { color: var(--muted-on-dark); margin: 0; }
.section--light .pillar p, .section--mist .pillar p { color: var(--muted); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
}
.chip .icon { color: var(--flame-dark); width: 18px; height: 18px; }

/* ---------- Tiles (industries) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tile {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; line-height: 1.3; height: 100%;
}
.tile .icon { width: 28px; height: 28px; color: var(--steel); }
.tile p { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- HSE banner ---------- */
.banner { position: relative; isolation: isolate; color: var(--white); overflow: hidden; }
.banner > .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,22,32,.94) 0%, rgba(10,22,32,.78) 55%, rgba(10,22,32,.4) 100%);
}
.banner__in { padding-top: 80px; padding-bottom: 80px; }
.banner__content { max-width: 620px; border-left: 4px solid var(--signal); padding-left: 24px; }
.banner p { color: #d4dee6; font-size: 1.1rem; }
.banner .link-arrow { color: var(--flame); }
@media (min-width: 1024px) { .banner__in { padding-top: 120px; padding-bottom: 120px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--flame); color: var(--night); }
.cta-band__in { display: grid; gap: 24px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #3a2c00; max-width: 640px; }
@media (min-width: 1024px) { .cta-band__in { grid-template-columns: 1fr auto; gap: 48px; padding-top: 72px; padding-bottom: 72px; } }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 4px;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A900' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; font-family: var(--font-head); font-weight: 700; background: var(--mist); }
@media (max-width: 639.98px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: 0; padding-bottom: 4px; }
  .spec-table td { padding-top: 4px; }
  .spec-table .tbc { white-space: normal; }
}

/* ---------- Timeline (delivery steps) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-weight: 800; color: var(--flame-dark); font-size: .9rem; letter-spacing: .1em; margin-bottom: 8px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .steps--6 { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Product cards ---------- */
.product-card h3 { margin-bottom: .15em; }
.product-card .aka { font-size: .85rem; font-weight: 600; color: #a26f00; letter-spacing: .04em; margin-bottom: 12px; }
.product-card dl { margin: 0 0 16px; }
.product-card dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.product-card dd { margin: 2px 0 0; }

/* ---------- Gallery + lightbox (CSS :target) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery a .media { transition: transform .3s; }
.gallery a:hover .media { transform: scale(1.03); }
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(6,16,26,.92);
}
.lightbox:target { display: flex; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--night);
}
.lightbox figcaption { color: var(--muted-on-dark); text-align: center; margin-top: 12px; }

/* ---------- Map placeholder ---------- */
.map-ph {
  min-height: 320px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  color: var(--muted); border: 1px dashed #b8c4ce;
  background:
    linear-gradient(rgba(29,58,82,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(29,58,82,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--mist);
}
.map-ph .icon { width: 32px; height: 32px; color: var(--signal); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 12px; max-width: 880px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg);
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion details[open] { border-color: #b8c4ce; box-shadow: var(--shadow); }
.accordion .answer { padding: 0 22px 20px; color: var(--muted); }
.accordion .answer p:last-child { margin: 0; }

/* ---------- Contact cards ---------- */
.contact-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.contact-card h3 .icon { color: var(--steel); }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card--emergency { border-color: var(--signal); border-width: 2px; background: #fff6f6; }
.contact-card--emergency h3, .contact-card--emergency h3 .icon { color: var(--signal); }
.contact-card--emergency a { color: var(--signal); font-size: 1.25rem; font-family: var(--font-head); font-weight: 800; }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 28px;
  background: #fff7e0; border: 1px solid #f2d27a; color: #5a4100; font-size: .95rem;
}
.notice .icon { color: var(--flame-dark); margin-top: 2px; }
.notice--danger { background: #fff1f1; border-color: #f2b5b8; color: #7a1418; }
.notice--danger .icon { color: var(--signal); }
.notice p { margin: 0; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 768px) { .form-panel { padding: 40px; } }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend {
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; padding: 0; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
legend .step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  background: var(--night); color: var(--flame); border-radius: 50%; font-size: .85rem;
}
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.req { color: var(--signal); }
.hint { font-size: .82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"],
select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #b8c4ce; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(242,169,0,.45); }
input[type="file"] { font: inherit; font-size: .92rem; padding: 10px; border: 1px dashed #b8c4ce; border-radius: var(--radius); background: var(--mist); width: 100%; }
.was-validated input:invalid, .was-validated select:invalid, .was-validated textarea:invalid { border-color: var(--signal); }
.field-error { color: var(--signal); font-size: .85rem; font-weight: 600; display: none; }
.field-error.show { display: block; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--steel); flex: none; }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px;
  border: 1px solid #b8c4ce; border-radius: var(--radius); font-size: .93rem; font-weight: 500; cursor: pointer; background: var(--white);
}
.check-pill input:checked + span { background: var(--night); color: var(--white); border-color: var(--night); }
.check-pill input:focus-visible + span { outline: 3px solid var(--flame); outline-offset: 2px; }

.type-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .type-cards { grid-template-columns: repeat(4, 1fr); } }
.type-card { position: relative; }
.type-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.type-card span {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 18px 16px; border: 2px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s;
}
.type-card .icon { width: 26px; height: 26px; color: var(--steel); }
.type-card input:checked + span { border-color: var(--flame); background: #fffaeb; box-shadow: inset 0 0 0 1px var(--flame); }
.type-card input:focus-visible + span { outline: 3px solid var(--steel); outline-offset: 2px; }

/* conditional fieldsets (JS also disables hidden ones so they skip validation) */
.cond { display: none; }
.quote-form:has(#type-storage:checked) .cond--storage,
.quote-form:has(#type-supply:checked) .cond--supply,
.quote-form:has(#type-transport:checked) .cond--transport { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success .icon { width: 56px; height: 56px; color: #1f8a4c; margin: 0 auto 16px; }
.form-success.show { display: block; }
.form-success .ref { font-family: ui-monospace, Consolas, monospace; background: var(--mist); padding: 2px 8px; border-radius: 4px; }

.side-panel { display: grid; gap: 16px; }
@media (min-width: 1024px) { .side-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-box { background: var(--night); color: var(--white); border-radius: var(--radius); padding: 24px; }
.side-box h3 { font-size: 1rem; margin-bottom: 14px; }
.side-box p { color: var(--muted-on-dark); margin: 0 0 4px; font-size: .92rem; }
.side-box a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.side-box a:hover { color: var(--flame); }
.side-box .icon { width: 16px; height: 16px; color: var(--flame); }
.side-box + .side-box { margin-top: 0; }
.side-box--emergency { background: var(--signal); }
.side-box--emergency p { color: #ffe1e2; }
.side-box--emergency a { font-size: 1.3rem; font-family: var(--font-head); font-weight: 800; }
.side-box--emergency .icon { color: var(--white); width: 20px; height: 20px; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

/* ---------- Jobs ---------- */
.empty-state { background: var(--mist); border: 1px dashed #b8c4ce; border-radius: var(--radius); padding: 32px; text-align: center; }
.empty-state p { margin: 0; color: var(--muted); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--night); color: var(--muted-on-dark); font-size: .95rem;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.footer__top { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer__brand p { margin: 16px 0 20px; max-width: 360px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-dark);
  display: inline-flex; align-items: center; justify-content: center; color: var(--white);
}
.socials a:hover { background: var(--flame); color: var(--night); border-color: var(--flame); }
.socials .icon { width: 18px; height: 18px; }
.footer__contact {
  display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--flame); }
.footer__contact .em { color: #ff7a7f; font-weight: 700; }
.footer__contact .em .icon { color: var(--signal); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 22px 0 28px; font-size: .85rem; }
.footer__bottom nav { display: flex; gap: 16px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px var(--gutter);
  background: rgba(10, 22, 32, .97); border-top: 1px solid var(--line-dark);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.mobile-cta .btn { min-height: 46px; }
@media (max-width: 1023.98px) { body { padding-bottom: 72px; } }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 84px;
  max-width: 520px; padding: 20px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: 0 20px 50px rgba(6,16,26,.3); border: 1px solid var(--line);
  display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: .92rem; color: var(--muted); }
.cookie .btn-row { gap: 8px; }
@media (min-width: 1024px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
