/* ==========================================================================
   Brandmax Global Logistics — design system
   Flat, editorial, Swiss-inflected. No gradients. No shadows.
   ========================================================================== */

:root {
  --navy: #0D1F53;
  --deep: #030634;
  --red: #E40C11;
  --red-dark: #B30A0E;
  --white: #FFFFFF;
  --paper: #F7F6F9;
  --gray: #DFDDE3;
  --line: #E4E2EA;
  --line-dark: #2A3570;
  --ink: #12163A;
  --muted: #565B74;
  --muted-on-dark: #B9BED4;
  --green: #25D366;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --space: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; z-index: 300; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
@media (max-width: 560px) { .container { width: calc(100% - 32px); } }

/* ---------- type --------------------------------------------------------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--navy);
}

.display-xl { font-size: clamp(2.3rem, 7.2vw, 5.4rem); }
.display-lg { font-size: clamp(1.9rem, 4.6vw, 3.6rem); }
.display-md { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.display-sm { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.eyebrow--center::after { content: ""; width: 28px; height: 3px; background: var(--red); }
.on-dark .eyebrow { color: #FF5A5E; }
.on-dark .eyebrow::before, .on-dark .eyebrow--center::after { background: #FF5A5E; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: var(--muted-on-dark); }

.accent { color: var(--red); }

/* ---------- sections ------------------------------------------------------ */

.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.62); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); }
.section--deep { background: var(--deep); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin: 14px 0 16px; }
.section-head--split {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}

.section-index {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--muted);
}
.on-dark .section-index { color: var(--muted-on-dark); }

/* ---------- buttons -------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  min-height: 52px;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--deep); border-color: var(--deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--small { padding: 10px 18px; font-size: .95rem; min-height: 44px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 3px;
  transition: gap .18s ease, color .18s ease;
}
.link-arrow svg { width: 17px; height: 17px; color: var(--red); }
.link-arrow:hover { gap: 16px; color: var(--red); }
.on-dark .link-arrow { color: var(--white); }

/* ---------- topbar + header ----------------------------------------------- */

.topbar {
  background: var(--deep); color: var(--muted-on-dark);
  font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: #FF8A8D; }
.topbar__group { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; margin-right: 6px; color: var(--red); }
@media (max-width: 1240px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 20px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; min-width: 0; }
.brand picture { display: inline-flex; }
.brand-logo { display: block; width: auto; height: auto; max-height: 58px; }
.brand-logo--footer {
  max-height: 52px; background: var(--white); padding: 8px 14px;
  border-radius: var(--radius);
}
@media (max-width: 1240px) {
  .brand-logo { max-height: 44px; }
}
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .site-header .container { min-height: var(--header-h); gap: 10px; }
  /* full lockup, sized by width so height follows the aspect ratio */
  .brand-logo { width: clamp(170px, 54vw, 260px); height: auto; max-height: none; }
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a, .nav-group > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 10px; white-space: nowrap; flex-shrink: 0;
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  text-decoration: none; background: none; border: 0;
}
.main-nav a::after, .nav-group > button::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after,
.nav-group:hover > button::after, .nav-group > button[aria-expanded="true"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.nav-group > button svg { width: 12px; height: 12px; }

.nav-group { position: relative; }
.nav-group__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 290px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: opacity .15s ease;
}
/* invisible hover-bridge across the gap between button and menu */
.nav-group__menu::before {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
/* rightmost dropdown stays inside the viewport */
.nav-group:last-of-type .nav-group__menu { left: auto; right: 0; translate: none; }
.nav-group:hover .nav-group__menu,
.nav-group:focus-within .nav-group__menu,
.nav-group > button[aria-expanded="true"] ~ .nav-group__menu { opacity: 1; visibility: visible; }
.nav-group__menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 18px; font-size: 0.92rem; font-weight: 500;
}
.nav-group__menu a::after { display: none; }
.nav-group__menu a:hover { background: var(--paper); color: var(--red); }
.nav-group__menu a svg { width: 14px; height: 14px; color: var(--gray); }
.nav-group__menu a:hover svg { color: var(--red); }

/* mega dropdown: full header width, 5 service columns */
.site-header .container { position: relative; }
.nav-group--mega { position: static; }
.nav-group--mega .nav-group__menu {
  left: 0; right: 0; translate: none; min-width: 0; padding: 0;
}
.nav-mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.nav-mega__col { padding: 20px 18px 22px; border-right: 1px solid var(--line); }
.nav-mega__col:last-child { border-right: 0; }
.nav-mega a.nav-mega__head {
  display: block; padding: 0 0 10px; margin-bottom: 10px;
  font-family: var(--font-display); font-size: .98rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--navy);
  border-bottom: 2px solid var(--red); line-height: 1.15;
}
.nav-mega a.nav-mega__head:hover { color: var(--red); background: none; }
.nav-mega a.nav-mega__link {
  display: block; padding: 6px 0; font-size: .88rem; font-weight: 500;
  color: var(--muted); line-height: 1.3;
}
.nav-mega a.nav-mega__link:hover { color: var(--red); background: none; padding-left: 6px; }
a.nav-mega__all {
  display: flex; align-items: center; gap: 10px; justify-content: flex-start;
  padding: 13px 18px; font-family: var(--font-display); font-size: .98rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--paper); border-top: 1px solid var(--line);
}
a.nav-mega__all:hover { background: var(--navy); color: var(--white); }
a.nav-mega__all svg { width: 15px; height: 15px; color: var(--red); }
a.nav-mega__all:hover svg { color: #FF5A5E; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  width: 44px; height: 44px; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--navy); text-decoration: none;
}
.header-call:hover { border-color: var(--navy); background: var(--paper); }
.header-call svg { width: 18px; height: 18px; }
/* the call icon only shows alongside the hamburger (phones/tablets);
   on desktop the number already lives in the topbar */
.header-call { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-call { display: inline-flex; }
}



/* mobile nav */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 95;
  background: var(--navy); color: var(--white);
  padding: 20px 20px calc(96px + env(safe-area-inset-bottom)); overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
}
body.nav-open .mobile-nav { transform: none; opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-nav a { color: var(--white); text-decoration: none; }
.mobile-nav__link {
  display: block; padding: 15px 4px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav__link:hover { color: #FF8A8D; }
.mobile-nav details { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 15px 4px; cursor: pointer;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 16px; height: 16px; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details a {
  display: block; padding: 12px 4px 12px 18px; font-size: 1rem; color: var(--muted-on-dark);
}
.mobile-nav details a:hover, .mobile-nav details a:active { color: var(--white); }
.mobile-nav .btn { width: 100%; margin-top: 22px; }

/* nested service groups inside mobile nav */
.mobile-nav__sub { border-bottom: 0 !important; }
.mobile-nav__sub > summary {
  font-size: 1.15rem; font-weight: 600; padding: 12px 4px 12px 18px;
  color: var(--muted-on-dark); letter-spacing: .04em; min-height: 46px;
}
.mobile-nav__sub > summary:hover, .mobile-nav__sub[open] > summary { color: var(--white); }
.mobile-nav__sub > summary svg { width: 13px; height: 13px; }
.mobile-nav__sub a { padding-left: 36px !important; font-size: .93rem; }

/* quick contact row pinned inside the menu */
.mobile-nav__contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px;
}
.mobile-nav__contact a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white);
  text-decoration: none;
}
.mobile-nav__contact a svg { width: 16px; height: 16px; color: var(--red); }
.mobile-nav__contact a:hover { background: var(--deep); }

/* ---------- hero ------------------------------------------------------------ */

.hero {
  position: relative; background: var(--navy); color: var(--white);
  overflow: hidden;
}
.hero__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("/static/img/dots-light.svg");
  background-size: 26px 26px;
  opacity: .5;
  mask-image: linear-gradient(to left, black 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 75%);
}
.hero .container {
  position: relative; display: grid;
  grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding-block: clamp(72px, 10vw, 128px);
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: #FF4D51; }
.hero .lead { margin-top: 22px; max-width: 52ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 560px) {
  .hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__ctas .btn { padding: 13px 10px; font-size: .92rem; min-height: 48px; gap: 7px; }
  .hero__ctas .btn:only-child { grid-column: 1 / -1; }
}
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px;
  padding-top: 26px; border-top: 1px solid var(--line-dark);
}
.chip {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-on-dark);
  border: 1px solid var(--line-dark); padding: 7px 14px; border-radius: 999px;
}
.chip b { color: var(--white); font-weight: 600; }

.hero__visual { position: relative; margin: 0; border: 1px solid rgba(255,255,255,.3); }
.hero__visual::before {
  content: ""; position: absolute; top: -1px; left: -1px; z-index: 2;
  width: 70px; height: 6px; background: var(--red);
}
.hero__visual img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero__visual figcaption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark);
}
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 520px; }
  .hero__visual img { aspect-ratio: 16 / 10; }
}

/* ---------- ticker ----------------------------------------------------------- */

.ticker {
  background: var(--red); color: var(--white);
  overflow: hidden; padding-block: 13px;
  border-block: 1px solid var(--red-dark);
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 28s linear infinite; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 26px;
  padding-inline: 26px; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.ticker__track span::after { content: ""; width: 9px; height: 9px; background: var(--white); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- service cards ----------------------------------------------------- */

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white); padding: 34px 30px;
  display: flex; flex-direction: column; min-height: 340px;
  position: relative; text-decoration: none;
  transition: background-color .18s ease;
}
.service-card:hover { background: var(--paper); }
.service-card__no {
  position: absolute; top: 26px; right: 26px; z-index: 1;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--gray); letter-spacing: 0.1em;
}
.service-card--photo .service-card__no {
  top: 0; right: 0; padding: 6px 14px;
  background: var(--navy); color: var(--white);
}
.service-card__media {
  display: block; margin: -34px -30px 22px;
  aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 4px solid var(--red);
}
.service-card__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__icon {
  width: 52px; height: 52px; color: var(--navy); margin-bottom: 22px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.service-card p { font-size: 0.97rem; color: var(--muted); flex: 1; }
.service-card__more {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
}
.service-card__more svg { width: 16px; height: 16px; transition: translate .18s ease; }
.service-card:hover .service-card__more svg { translate: 5px 0; }
.service-card--cta { background: var(--navy); }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: var(--muted-on-dark); }
.service-card--cta:hover { background: var(--deep); }
.service-card--cta .service-card__more { color: #FF5A5E; }

/* phones: photo cards become compact horizontal rows */
@media (max-width: 620px) {
  .service-card { padding: 20px 18px; min-height: 0; }
  .service-card--photo {
    display: grid; grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 16px; align-content: center;
  }
  .service-card--photo .service-card__media {
    grid-row: 1 / 4; grid-column: 1; height: 100%;
    margin: -20px 0 -20px -18px; aspect-ratio: auto;
    border-bottom: 0; border-right: 4px solid var(--red);
  }
  .service-card--photo .service-card__media img { height: 100%; }
  .service-card--photo h3,
  .service-card--photo p,
  .service-card--photo .service-card__more { grid-column: 2; }
  .service-card--photo h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .service-card--photo p { font-size: .86rem; flex: none;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .service-card--photo .service-card__more { margin-top: 12px; font-size: .88rem; }
}

/* ---------- glance strip ------------------------------------------------------- */

.glance {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
}
.glance__item {
  padding: 30px 28px; border-right: 1px solid var(--line-dark);
}
.glance__item:last-child { border-right: 0; }
.glance__figure {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1; color: var(--white);
}
.glance__figure sup { color: var(--red); font-size: .55em; }
.glance__label { font-weight: 600; color: var(--white); margin-top: 8px; }
.glance__note { font-size: .85rem; color: var(--muted-on-dark); margin-top: 4px; }
@media (max-width: 900px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance__item:nth-child(2n) { border-right: 0; }
  .glance__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
  .glance__item { padding: 18px 16px; }
  .glance__figure { font-size: 1.9rem; }
  .glance__label { font-size: .9rem; }
  .glance__note { font-size: .78rem; }
}

/* ---------- values ------------------------------------------------------------ */

.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  counter-reset: value;
}
@media (max-width: 1000px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .value-card { border-top-width: 3px; padding-top: 14px; }
  .value-card h3 { font-size: 1.2rem; margin: 6px 0 8px; }
  .value-card p { font-size: .87rem; }
}

.value-card {
  border-top: 4px solid var(--red); padding-top: 22px;
}
.value-card__no {
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  letter-spacing: .12em; color: var(--red);
}
.value-card h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.value-card p { font-size: .95rem; color: var(--muted); }

/* ---------- steps -------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 26px 0;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--gray);
  margin-bottom: 14px; transition: color .18s ease;
}
.step:hover::before { color: var(--red); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }
.step::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.step:hover::after { transform: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding: 20px 0 20px 74px; border-top: 0; border-left: 1px solid var(--line); }
  .step::before { position: absolute; left: 18px; top: 18px; font-size: 2rem; }
  .step::after { top: 0; left: -1px; width: 3px; height: 44px; transform: scaleY(0); transform-origin: top; }
  .step:hover::after { transform: none; }
}
@media (max-width: 560px) {
  .steps { gap: 2px; }
  .step { padding: 14px 0 14px 58px; }
  .step::before { left: 12px; top: 12px; font-size: 1.6rem; }
  .step h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .step p { font-size: .87rem; }
}

/* ---------- industries ---------------------------------------------------------- */

.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1000px) { .industries-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .industry-card { padding: 18px 16px; }
  .industry-card svg { width: 30px; height: 30px; margin-bottom: 12px; }
  .industry-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .industry-card p { font-size: .83rem; }
}
.industry-card { background: var(--white); padding: 30px 26px; }
.industry-card svg { width: 40px; height: 40px; color: var(--red); margin-bottom: 18px; }
.industry-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.industry-card p { font-size: .92rem; color: var(--muted); }

/* ---------- coverage band --------------------------------------------------------- */

.coverage-list {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line-dark);
}
.coverage-list li {
  flex: 1 1 20%; padding: 22px 24px;
  border-right: 1px solid var(--line-dark);
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--white); min-width: 160px;
}
@media (max-width: 560px) {
  .coverage-list li { min-width: 46%; padding: 14px 14px; font-size: .9rem; }
}
.coverage-list li::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; }
.coverage-list li:last-child { border-right: 0; }

/* ---------- CTA band --------------------------------------------------------------- */

.cta-band { background: var(--deep); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("/static/img/dots-light.svg");
  background-size: 26px 26px; opacity: .35;
  mask-image: linear-gradient(to right, black 20%, transparent 60%);
  -webkit-mask-image: linear-gradient(to right, black 20%, transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .cta-band__row { gap: 28px; }
  .cta-band__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .cta-band__actions .btn { padding: 13px 12px; font-size: .92rem; min-height: 48px; }
  .cta-band__actions .btn--primary { grid-column: 1 / -1; }
}

/* ---------- page hero (inner pages) -------------------------------------------------- */

.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("/static/img/dots-light.svg");
  background-size: 26px 26px; opacity: .4;
  mask-image: linear-gradient(to left, black 25%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, black 25%, transparent 70%);
}
.page-hero .container { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: var(--white); margin-top: 14px; }
.page-hero .lead { margin-top: 18px; }

.page-hero--media .container {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.page-hero__media { position: relative; margin: 0; }
.page-hero__media::before {
  content: ""; position: absolute; top: -1px; left: -1px; z-index: 2;
  width: 70px; height: 6px; background: var(--red);
}
.page-hero__media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid rgba(255,255,255,.28);
}
@media (max-width: 960px) {
  .page-hero--media .container { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__media { max-width: 560px; }
}
@media (max-width: 560px) {
  .page-hero--media .container { gap: 24px; padding-block: 36px 44px; }
  .page-hero__media { max-width: none; }
  .page-hero__media img { aspect-ratio: 16 / 10; }
}

.media-band { position: relative; margin: 0; }
.media-band img {
  display: block; width: 100%;
  height: clamp(240px, 32vw, 440px); object-fit: cover;
}
.media-band figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; border-left: 4px solid var(--red);
  font-family: var(--font-display); font-size: .85rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}

.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .82rem; font-weight: 500; color: var(--muted-on-dark);
}
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { color: #FF8A8D; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--red); }
@media (max-width: 560px) { .breadcrumbs { font-size: .74rem; gap: 6px; } }

/* ---------- subcategory blocks (service detail) ----------------------------------------- */

.subcat {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px; padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.subcat:first-of-type { border-top: 0; padding-top: 0; }
.subcat h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.subcat__tag { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.subcat__includes li {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: .98rem;
}
.subcat__media {
  display: block; width: 100%; margin: 18px 0 22px;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-bottom: 4px solid var(--red);
}
.subcat__includes li svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 4px; }
.subcat__who {
  margin-top: 20px; padding: 18px 20px; background: var(--paper);
  border-left: 3px solid var(--red); font-size: .95rem;
}
.subcat__who b { color: var(--navy); }
@media (max-width: 860px) { .subcat { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- subcategory detail page ------------------------------------------------------- */

.svc-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } }

.svc-body { margin-bottom: 18px; color: var(--ink); max-width: 70ch; }
.svc-body--lead {
  font-size: 1.15rem; color: var(--navy); font-weight: 500;
  padding-left: 20px; border-left: 4px solid var(--red);
}

.svc-h {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 42px 0 16px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.svc-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 640px) { .svc-checklist { grid-template-columns: 1fr; } }

.steps--vert { grid-template-columns: 1fr !important; gap: 4px; }
.steps--vert .step { padding: 18px 0 18px 70px; border-top: 0; border-left: 1px solid var(--line); }
.steps--vert .step::before { position: absolute; left: 16px; top: 14px; font-size: 1.9rem; }
.steps--vert .step::after { top: 0; left: -1px; width: 3px; height: 44px; transform: scaleY(0); transform-origin: top; }
.steps--vert .step:hover::after { transform: none; }

.svc-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
@media (max-width: 960px) { .svc-side { position: static; } }

.svc-quote {
  background: var(--navy); color: var(--white); padding: 28px;
}
.svc-quote h3 { color: var(--white); }
.svc-quote p { font-size: .92rem; color: var(--muted-on-dark); margin-top: 8px; }
.svc-phone {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding-top: 14px; border-top: 1px solid var(--line-dark);
}
.svc-phone + .svc-phone { margin-top: 10px; padding-top: 0; border-top: 0; }
.svc-phone:hover { color: #FF8A8D; }
.svc-phone svg { width: 17px; height: 17px; color: var(--red); flex: none; }

.svc-navlist { border: 1px solid var(--line); padding: 22px; }
.svc-navlist h4 {
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid var(--red);
}
.svc-navlist ul { display: grid; }
.svc-navlist a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 0; font-size: .95rem; font-weight: 500; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.svc-navlist li:last-child a { border-bottom: 0; }
.svc-navlist a:hover { color: var(--red); }
.svc-navlist a svg { width: 14px; height: 14px; color: var(--gray); flex: none; }
.svc-navlist a:hover svg { color: var(--red); }

/* ---------- FAQs ------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__x {
  flex: none; width: 26px; height: 26px; position: relative;
}
.faq summary .faq__x::before, .faq summary .faq__x::after {
  content: ""; position: absolute; background: var(--red);
  top: 50%; left: 50%; translate: -50% -50%;
}
.faq summary .faq__x::before { width: 14px; height: 2px; }
.faq summary .faq__x::after { width: 2px; height: 14px; transition: transform .2s ease; }
.faq details[open] summary .faq__x::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--red); }
.faq details p { padding: 0 4px 20px; color: var(--muted); max-width: 72ch; }

/* ---------- forms --------------------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 7px;
}
.field label small { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 48px;
  font-size: 1rem; /* >=16px prevents iOS focus zoom */
  background: var(--white); border: 1px solid #C9C7D2; border-radius: var(--radius);
  transition: border-color .15s ease;
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1F53' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 16px; padding-right: 42px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--navy); outline-offset: -1px; border-color: var(--navy);
}
.field input[type="file"] { padding: 10px 12px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none; }
.consent a { color: var(--navy); }

.form-foot { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot p { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .form-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-foot .btn { width: 100%; }
}

/* contact layout */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.info-block { border-top: 4px solid var(--navy); padding-top: 26px; }
.info-block + .info-block { margin-top: 34px; border-top-color: var(--line); }
.info-block h3 { font-size: 1.15rem; margin-bottom: 14px; }
.info-rows li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.info-rows li:last-child { border-bottom: 0; }
.info-rows svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 5px; }
.info-rows .lbl { color: var(--muted); font-size: .82rem; display: block; }
.info-rows a { font-weight: 600; color: var(--navy); text-decoration: none; }
.info-rows a:hover { color: var(--red); }

.map-frame { border: 1px solid var(--line); margin-top: 10px; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width: 640px) { .map-frame iframe { height: 240px; } }

/* ---------- flash / alerts -------------------------------------------------------------------- */

.flash-stack { position: fixed; right: 20px; top: calc(var(--header-h) + 14px); z-index: 250; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
@media (max-width: 640px) { .flash-stack { left: 12px; right: 12px; top: calc(var(--header-h) + 8px); max-width: none; } }
.flash {
  padding: 15px 18px; font-size: .95rem; font-weight: 500;
  border: 1px solid; background: var(--white);
  display: flex; gap: 12px; align-items: flex-start;
}
.flash--success { border-color: #1C8A45; border-left-width: 5px; }
.flash--error { border-color: var(--red); border-left-width: 5px; }
.flash__close { margin-left: auto; background: none; border: 0; font-size: 1.1rem; line-height: 1; color: var(--muted); }

/* ---------- footer ------------------------------------------------------------------------------ */

.site-footer { background: var(--deep); color: var(--muted-on-dark); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px;
  padding-block: clamp(48px, 6vw, 76px);
}
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand, .footer-top .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { margin-bottom: 10px; padding-bottom: 8px; font-size: .9rem; }
  .footer-col ul { gap: 7px; }
  .footer-col a { font-size: .88rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

.footer-brand p { margin-top: 18px; font-size: .93rem; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--white);
  padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--muted-on-dark); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; font-size: .93rem; margin-bottom: 10px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 4px; }
.footer-contact a { color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.footer-contact li span { min-width: 0; overflow-wrap: anywhere; }

.footer-newsletter { margin-top: 20px; }
.footer-newsletter form { display: flex; margin-top: 12px; }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: 11px 13px; font-size: .92rem;
  background: transparent; color: var(--white);
  border: 1px solid var(--line-dark); border-right: 0; border-radius: 0;
}
.footer-newsletter input::placeholder { color: var(--muted-on-dark); }
.footer-newsletter button {
  padding: 11px 18px; background: var(--red); color: var(--white);
  border: 0; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
}
.footer-newsletter button:hover { background: var(--red-dark); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted-on-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- floating whatsapp + mobile action bar ------------------------------------------------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #1DA851; }
.wa-float::before {
  content: "Chat with us";
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%;
  background: var(--deep); color: var(--white);
  font-size: .78rem; font-weight: 600; padding: 7px 12px; white-space: nowrap;
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.wa-float:hover::before { opacity: 1; }
@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-float::before { display: none; }
}

/* ---------- cookie banner -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 240;
  max-width: 400px; background: var(--deep); color: var(--muted-on-dark);
  border-left: 4px solid var(--red); padding: 20px 22px;
  font-size: .88rem; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-banner a { color: var(--white); }
.cookie-banner .btn { padding: 9px 18px; min-height: 40px; font-size: .9rem; margin: 0 8px 4px 0; }
@media (max-width: 768px) {
  .cookie-banner { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; }
}

/* ---------- cards / misc ---------------------------------------------------------------------------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px 18px; }
  .card svg.card__icon { width: 32px; height: 32px; margin-bottom: 12px; }
  .card h3 { font-size: 1.15rem; }
}

.card {
  border: 1px solid var(--line); background: var(--white);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: border-color .18s ease;
}
.card:hover { border-color: var(--navy); }
.card svg.card__icon { width: 38px; height: 38px; color: var(--red); margin-bottom: 18px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--muted); flex: 1; }
.card .card__foot { margin-top: 20px; }
.card__kind {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  color: var(--red); text-transform: uppercase;
}

.post-card time { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.post-card h3 { margin: 10px 0; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--red); }

.article { max-width: 720px; }
.article p { margin-bottom: 18px; color: var(--ink); }
.article h2 { font-size: 1.5rem; margin: 30px 0 12px; }
.article meta { display: block; }

.vacancy {
  border: 1px solid var(--line); padding: 30px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start;
}
@media (max-width: 560px) { .vacancy { padding: 18px 16px; } }
.vacancy + .vacancy { margin-top: 18px; }
.vacancy__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.vacancy__meta span { display: inline-flex; align-items: center; gap: 6px; }
.vacancy__meta svg { width: 14px; height: 14px; color: var(--red); }
.vacancy ul { margin-top: 14px; display: grid; gap: 6px; font-size: .95rem; }
.vacancy ul li { display: flex; gap: 10px; }
.vacancy ul li::before { content: ""; width: 6px; height: 6px; background: var(--red); margin-top: 9px; flex: none; }
.vacancy__apply { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
@media (max-width: 700px) { .vacancy { grid-template-columns: 1fr; } }

details.apply-form summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
details.apply-form summary::-webkit-details-marker { display: none; }
details.apply-form[open] summary { color: var(--navy); }
.apply-form form { margin-top: 18px; }

/* ---------- legal pages --------------------------------------------------------------------------- */

.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.legal-body p, .legal-body li { color: var(--ink); margin-bottom: 14px; }
.legal-body ul { padding-left: 20px; list-style: square; }
.legal-body ul li::marker { color: var(--red); }
.legal-body .updated { font-size: .85rem; color: var(--muted); }

/* ---------- admin --------------------------------------------------------------------------------- */

.admin-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.admin-header { background: var(--navy); color: var(--white); }
.admin-header .container { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.admin-header .brand-logo { max-height: 40px; }
.admin-header a { color: var(--muted-on-dark); text-decoration: none; font-size: .9rem; font-weight: 600; }
.admin-header a:hover { color: var(--white); }
.admin-main { flex: 1; padding-block: 40px 80px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-tabs a {
  padding: 10px 18px; background: var(--white); border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink);
}
.admin-tabs a:hover, .admin-tabs a.on { border-color: var(--navy); color: var(--navy); }
.admin-tabs .count {
  display: inline-block; margin-left: 8px; padding: 1px 8px;
  background: var(--red); color: var(--white); border-radius: 999px;
  font-size: .72rem; font-weight: 700;
}
.admin-table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.admin-table th {
  text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  padding: 13px 16px; border-bottom: 2px solid var(--line); background: var(--paper);
}
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.admin-table tr:hover td { background: var(--paper); }
.admin-table .id { font-family: monospace; font-size: .82rem; white-space: nowrap; }
.status {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--gray); color: var(--muted);
}
.status--new { background: var(--navy); color: var(--white); border-color: var(--navy); }
.status--contacted { border-color: var(--red); color: var(--red); }
.status--in-progress { border-color: #B8860B; color: #8a6508; }
.status--closed { background: var(--paper); }
.detail-list { background: var(--white); border: 1px solid var(--line); }
.detail-list dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 14px 18px 0;
}
.detail-list dd { padding: 4px 18px 14px; border-bottom: 1px solid var(--line); }
.detail-list dd:last-of-type { border-bottom: 0; }
.admin-login { max-width: 420px; margin: 8vh auto; }
.admin-login .card { padding: 36px; }
@media (max-width: 640px) {
  .admin-main { padding-block: 26px 60px; }
  .admin-tabs a { padding: 8px 12px; font-size: .84rem; }
  .admin-table th, .admin-table td { padding: 10px 12px; }
  .admin-login .card { padding: 24px 20px; }
  .detail-list dt { padding: 12px 14px 0; }
  .detail-list dd { padding: 4px 14px 12px; }
}
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--gray); }

/* ---------- error pages ---------------------------------------------------------------------------- */

.error-page { text-align: center; padding-block: clamp(70px, 12vw, 140px); }
.error-page .code {
  font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 700; line-height: .9; color: var(--navy);
}
.error-page .code em { font-style: normal; color: var(--red); }

/* ---------- utility -------------------------------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }
.dots-accent {
  height: 130px;
  background-image: url("/static/img/dots-navy.svg");
  background-size: 22px 22px; opacity: .5;
}
@media (max-width: 640px) { .dots-accent { height: 64px; } }
