/* SWIFT Trading & Contracting — site styles
   Palette: indigo from the Swift logo, deep indigo for dark bands,
   galvanized grey surfaces, safety amber reserved for the primary action. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --indigo: #4537ad;
  --indigo-deep: #1d1850;
  --indigo-ink: #2a2470;
  --galv: #eef0f3;
  --galv-2: #dfe3e8;
  --steel: #27303b;
  --muted: #5a6573;
  --line: #cfd5dc;
  --white: #ffffff;
  --amber: #f2b01e;
  --amber-press: #d99b0c;
  --wa: #1c9d50;
  --ok: #1c7c43;
  --err: #b3261e;

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --narrow: 72%;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;

  --t-sm: .875rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-xl: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --t-xxl: clamp(2.6rem, 1.6rem + 4.2vw, 5.2rem);

  --wrap: 1240px;
  --radius: 6px;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--f); font-size: var(--t-base); line-height: 1.6;
  color: var(--steel); background: var(--white);
  font-stretch: 100%; font-weight: 400;
  padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
p { margin: 0 0 var(--s4); max-width: 68ch; }
ul, ol { padding-left: 1.2em; margin: 0 0 var(--s4); }
li { margin-bottom: .3em; }
h1, h2, h3, h4 {
  font-family: var(--f); font-stretch: var(--narrow); font-weight: 760;
  line-height: 1.04; letter-spacing: -.005em; color: var(--indigo-deep); margin: 0 0 var(--s4);
}
h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); line-height: 1.1; }
h4 { font-size: var(--t-md); line-height: 1.2; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--steel); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--indigo-deep); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: var(--radius);
  font: 650 1rem/1.1 var(--f); font-stretch: 88%; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--amber); color: var(--indigo-deep); }
.btn-primary:hover { background: var(--amber-press); color: var(--indigo-deep); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #157f40; color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--indigo); background: transparent; }
.btn-ghost:hover { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--indigo-deep); border-color: var(--white); }
.btn-sm { min-height: 40px; padding: .5em .9em; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- Header ---------- */
.topline { background: var(--indigo-deep); color: #d9d7f0; font-size: var(--t-sm); }
.topline .wrap { display: flex; gap: var(--s5); justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topline a { color: var(--white); text-decoration: none; }
.topline a:hover { text-decoration: underline; color: var(--white); }
.topline-links { display: flex; gap: var(--s5); }

.nav-open .site-header { z-index: 80; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--indigo-deep); flex: none; }
.brand img { width: 62px; height: auto; }
.brand-name { font-stretch: var(--narrow); font-weight: 760; font-size: 1.2rem; line-height: 1; }
.brand-name small { display: block; font-weight: 450; font-stretch: 100%; font-size: .75rem; color: var(--muted); margin-top: .2rem; letter-spacing: .01em; }

.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a, .nav button.nav-top {
  display: block; padding: .6rem .7rem; color: var(--steel); text-decoration: none;
  font: 560 .98rem/1.2 var(--f); font-stretch: 92%; border-radius: 4px; white-space: nowrap; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button.nav-top:hover, .nav a[aria-current="page"] { color: var(--indigo); background: var(--galv); }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 30px -12px rgba(29, 24, 80, .28);
}
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: block; }
.nav .sub a { padding: .5rem .7rem; font-stretch: 100%; font-weight: 450; }
.nav .sub a strong { display: block; font-weight: 650; color: var(--indigo-deep); }
.nav .sub a span { font-size: .82rem; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; height: 44px; padding: 0 .6rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--indigo-deep);
  cursor: pointer; font: 600 .9rem var(--f); text-decoration: none;
}
.icon-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.icon-btn svg { width: 20px; height: 20px; }
.quote-count {
  min-width: 1.35rem; height: 1.35rem; border-radius: 99px; background: var(--amber); color: var(--indigo-deep);
  font-size: .75rem; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; padding: 0 .3rem;
}
.quote-count[data-n="0"] { background: var(--galv-2); color: var(--muted); }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); background: var(--white); transform: translateX(100%);
    transition: transform .22s ease, visibility 0s linear .22s; visibility: hidden; z-index: 60; overflow-y: auto; padding: 5rem 1.25rem 2rem; margin: 0; }
  .nav.open { transform: none; visibility: visible; transition: transform .22s ease; box-shadow: -20px 0 40px rgba(29,24,80,.2); }
  .nav > ul { flex-direction: column; }
  .nav .sub { display: block; position: static; box-shadow: none; border: 0; border-left: 2px solid var(--galv-2); border-radius: 0; margin: 0 0 .5rem .7rem; padding: 0 0 0 .5rem; min-width: 0; }
  .nav .sub a span { display: none; }
  .nav-close { position: absolute; top: 1rem; right: 1rem; }
  .header-actions .hide-sm { display: none; }
  .scrim { position: fixed; inset: 0; background: rgba(29,24,80,.45); z-index: 55; }
}
@media (min-width: 1181px) { .nav-close, .scrim { display: none !important; } }
@media (max-width: 640px) {
  .topline { display: none; }
  .brand-name small { display: none; }
  .header-inner { min-height: 64px; gap: .75rem; }
  .brand img { width: 50px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--indigo-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,24,80,.96) 0%, rgba(29,24,80,.86) 42%, rgba(29,24,80,.35) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s7); padding-block: var(--s8) var(--s8); align-items: end; }
.hero h1 { color: var(--white); font-size: var(--t-xxl); font-stretch: 66%; font-weight: 800; max-width: 14ch; margin-bottom: var(--s5); }
.hero .lead { color: #e7e6f6; }
.hero-proof { margin-top: var(--s5); font-size: var(--t-sm); color: #c9c7ea; max-width: 60ch; }

.finder { margin-top: var(--s6); max-width: 620px; }
.finder label { display: block; font-weight: 600; margin-bottom: .5rem; color: var(--white); }
.finder-row { display: flex; background: var(--white); border-radius: var(--radius); padding: 5px; gap: 5px; }
.finder-row input { flex: 1; min-width: 0; border: 0; font: 400 1.0625rem var(--f); padding: 0 .8rem; color: var(--steel); background: transparent; }
.finder-row input:focus { outline: none; }
.finder-row:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.chip { font: 500 .875rem var(--f); color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  border-radius: 99px; padding: .35rem .8rem; cursor: pointer; text-decoration: none; }
.chip:hover { background: rgba(255,255,255,.2); color: var(--white); }

.desk-card { background: var(--white); color: var(--steel); border-radius: var(--radius); padding: var(--s5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.desk-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.desk-card > p { font-size: var(--t-sm); color: var(--muted); margin-bottom: var(--s4); }
.desk-list { list-style: none; margin: 0; padding: 0; }
.desk-list li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--galv-2); margin: 0; }
.desk-list strong { color: var(--indigo-deep); font-stretch: 90%; font-size: 1.02rem; }
.desk-list .num { grid-column: 1; font-size: .9rem; color: var(--muted); }
.desk-list .acts { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: .4rem; }
.round { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--indigo); background: var(--white); }
.round svg { width: 19px; height: 19px; }
.round:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }
.round.wa { color: var(--wa); }
.round.wa:hover { background: var(--wa); color: var(--white); border-color: var(--wa); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: var(--s7); gap: var(--s6); }
  .hero-media::after { background: linear-gradient(180deg, rgba(29,24,80,.82), rgba(29,24,80,.95)); }
}

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--indigo-deep); color: var(--white); position: relative; isolation: isolate; overflow: hidden; }
.page-hero .wrap { padding-block: var(--s7) var(--s7); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.page-hero h1 { color: var(--white); font-size: var(--t-xl); font-stretch: 68%; font-weight: 800; max-width: 20ch; }
.page-hero .lead { color: #e2e0f5; }
.page-hero .hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #2b2566; }
.page-hero .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-img.cutout { background: var(--galv); display: flex; align-items: center; justify-content: center; padding: var(--s5); }
.page-hero .hero-img.cutout img { object-fit: contain; }
.crumbs { font-size: var(--t-sm); margin-bottom: var(--s4); color: #bdbae6; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #8884c9; }
.crumbs a { color: #e2e0f5; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; gap: var(--s5); } .page-hero .hero-img { max-width: 520px; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--s9); }
.section.tight { padding-block: var(--s8); }
.section.galv { background: var(--galv); }
.section.dark { background: var(--indigo-deep); color: #e2e0f5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark a:not(.btn) { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s7); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; color: var(--muted); }
.section.dark .section-head p { color: #c9c7ea; }
@media (max-width: 860px) { .section { padding-block: var(--s8); } .section-head { grid-template-columns: 1fr; gap: var(--s4); margin-bottom: var(--s6); } }

/* Clients strip */
.clients { border-bottom: 1px solid var(--line); background: var(--white); }
.clients .wrap { display: flex; gap: var(--s5); align-items: baseline; padding-block: var(--s5); flex-wrap: wrap; }
.clients h2 { font-size: 1rem; font-stretch: 100%; font-weight: 600; color: var(--muted); margin: 0; flex: none; }
.client-names { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.client-names li { margin: 0; font-stretch: 78%; font-weight: 700; font-size: 1.15rem; color: var(--indigo-ink); }

/* ---------- Division directory (home signature) ---------- */
.directory { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--indigo-deep); }
.dir-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) auto; gap: var(--s6); align-items: start;
  padding: var(--s6) 0; border-bottom: 1px solid var(--line); margin: 0; }
.dir-row h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-stretch: 64%; font-weight: 800; margin: 0 0 .4rem; }
.dir-row h3 a { color: var(--indigo-deep); text-decoration: none; }
.dir-row h3 a:hover { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 3px; }
.dir-row .who { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.dir-row .what { margin: 0 0 .6rem; }
.dir-row .tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.dir-row .tags li { margin: 0; font-size: .85rem; background: var(--galv); border-radius: 4px; padding: .25rem .55rem; color: var(--steel); }
.dir-row .tags a { color: inherit; text-decoration: none; }
.dir-row .tags a:hover { color: var(--indigo); text-decoration: underline; }
.dir-row .acts { display: flex; flex-direction: column; gap: .5rem; min-width: 190px; }
@media (max-width: 900px) { .dir-row { grid-template-columns: 1fr; gap: var(--s4); } .dir-row .acts { flex-direction: row; flex-wrap: wrap; min-width: 0; } }

/* ---------- Brand / product tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s5); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.section.galv .tile { border-color: transparent; }
.tile-img { background: var(--galv); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: var(--s5); }
.section.galv .tile-img { background: #f7f8fa; }
.tile-img { overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile-img.photo { padding: 0; }
.tile-img.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-body { padding: var(--s5); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tile-body h3 { font-size: 1.45rem; margin: 0; }
.tile-body h3 a { color: var(--indigo-deep); text-decoration: none; }
.tile-body h3 a:hover { text-decoration: underline; color: var(--indigo); }
.tile-body p { font-size: .96rem; margin: 0; color: var(--steel); }
.tile-body .meta { font-size: .85rem; color: var(--muted); }
.tile-actions { margin-top: auto; padding-top: .6rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.badge { display: inline-block; align-self: flex-start; background: var(--indigo); color: var(--white); font-size: .78rem; font-weight: 650; padding: .2rem .55rem; border-radius: 3px; }
.badge.amber { background: var(--amber); color: var(--indigo-deep); }

/* Category lists */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s6) var(--s6); }
.cat h3 { font-size: 1.35rem; padding-bottom: .5rem; border-bottom: 2px solid var(--indigo-deep); }
.cat ul { list-style: none; padding: 0; }
.cat li { padding: .45rem 0; border-bottom: 1px solid var(--galv-2); margin: 0; display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.cat .add { flex: none; }

.add-btn {
  font: 600 .82rem var(--f); border: 1px solid var(--line); background: var(--white); color: var(--indigo); border-radius: 4px;
  padding: .3rem .55rem; cursor: pointer; white-space: nowrap; min-height: 32px;
}
.add-btn:hover { border-color: var(--indigo); }
.add-btn[aria-pressed="true"] { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s5); }
.fact { border-left: 3px solid var(--amber); padding-left: var(--s4); }
.fact strong { display: block; font-stretch: 66%; font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1; color: var(--white); margin-bottom: .4rem; }
.section:not(.dark) .fact strong { color: var(--indigo-deep); }
.fact span { font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Capability photo grid */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4); }
.cap { position: relative; border-radius: var(--radius); overflow: hidden; background: #2b2566; min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; }
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,24,80,0) 25%, rgba(29,24,80,.94) 85%); }
.cap div { padding: var(--s5); color: #e8e7f7; }
.cap h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .35rem; }
.cap p { font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } .cap { min-height: 240px; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s8); align-items: center; }
.split.top { align-items: start; }
.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s6); } }

/* Project log */
.projects { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--indigo-deep); }
.proj { display: grid; grid-template-columns: 220px minmax(0,1fr) 180px; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); margin: 0; }
.proj .client { font-stretch: 78%; font-weight: 750; font-size: 1.2rem; color: var(--indigo-deep); line-height: 1.2; }
.proj h3 { font-size: 1.2rem; font-stretch: 100%; font-weight: 650; margin: 0 0 .25rem; line-height: 1.3; }
.proj p { margin: 0; font-size: .95rem; color: var(--muted); }
.proj .sector { font-size: .875rem; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .proj { grid-template-columns: 1fr; gap: .3rem; } .proj .sector { text-align: left; } }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .96rem; margin-bottom: var(--s5); }
.spec th, .spec td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--indigo-deep); font-weight: 650; background: var(--galv); }
.table-scroll { overflow-x: auto; }

.prose h2 { font-size: var(--t-lg); margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: var(--s6); }
.prose ul li::marker { color: var(--indigo); }
.aside-card { background: var(--galv); border-radius: var(--radius); padding: var(--s5); position: sticky; top: 100px; }
.aside-card h2 { font-size: 1.4rem; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s8); align-items: start; }
.layout-aside > *, .split > *, .form-grid > * { min-width: 0; }
input[type=file] { max-width: 100%; }
@media (max-width: 640px) { .form-panel { padding: var(--s5) var(--s4); } }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; gap: var(--s6); } .aside-card { position: static; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: .2rem 0; }
.faq summary { cursor: pointer; font-weight: 650; color: var(--indigo-deep); padding: .9rem 2rem .9rem 0; list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .7rem; font-size: 1.4rem; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-bottom: 1rem; }

/* CTA band */
.cta-band { background: var(--amber); color: var(--indigo-deep); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0,1.4fr) auto; gap: var(--s6); align-items: center; padding-block: var(--s7); }
.cta-band h2 { margin: 0 0 .4rem; font-size: var(--t-xl); }
.cta-band p { margin: 0; }
.cta-band .btn-primary { background: var(--indigo-deep); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--indigo); color: var(--white); }
.cta-band .btn-ghost { color: var(--indigo-deep); }
.cta-band .btn-ghost:hover { background: var(--indigo-deep); color: var(--white); border-color: var(--indigo-deep); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s4); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--indigo-deep); }
.field .hint { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }
.req { color: var(--err); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; font: 400 1rem var(--f); color: var(--steel); padding: .72rem .8rem; border: 1px solid #b6bec8; border-radius: 5px; background: var(--white); min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(69,55,173,.35); border-color: var(--indigo); }
input[type=file] { font: 400 .95rem var(--f); }
.hp { position: absolute; left: -5000px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lines { display: grid; gap: .5rem; }
.line { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.2fr) 90px 44px; gap: .5rem; align-items: center; }
.line-head { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.2fr) 90px 44px; gap: .5rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.line .rm { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 5px; cursor: pointer; color: var(--muted); font-size: 1.2rem; }
.line .rm:hover { color: var(--err); border-color: var(--err); }
@media (max-width: 640px) {
  .line-head { display: none; }
  .line { grid-template-columns: 1fr 90px 44px; background: var(--galv); padding: .5rem; border-radius: 6px; }
  .line input[name="item[]"] { grid-column: 1 / -1; }
}
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { padding: .8rem 1rem; border-radius: 5px; display: none; }
.form-status.ok { display: block; background: #e3f3e9; color: var(--ok); }
.form-status.err { display: block; background: #fbe9e8; color: var(--err); }
.submit-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-deep); color: #c9c7ea; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s6); padding-block: var(--s8) var(--s7); }
.footer-grid h2 { font-size: 1.05rem; font-stretch: 100%; font-weight: 650; color: var(--white); margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-brand img { width: 76px; margin-bottom: .8rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: var(--s5); font-size: .85rem; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: 64px; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--bar-h);
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(29,24,80,.12); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font: 650 .78rem var(--f); color: var(--indigo-deep); }
  .action-bar a svg { width: 22px; height: 22px; }
  .action-bar .ab-wa { color: var(--wa); }
  .action-bar .ab-quote { background: var(--amber); color: var(--indigo-deep); }
}

/* ---------- Search dialog ---------- */
dialog.search { width: min(680px, calc(100% - 2rem)); border: 0; border-radius: 10px; padding: 0; box-shadow: 0 30px 80px rgba(29,24,80,.4); margin-top: 10vh; }
dialog.search::backdrop { background: rgba(29,24,80,.55); }
.search-head { display: flex; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.search-head input { border: 0; font-size: 1.15rem; }
.search-head input:focus { outline: none; }
.search-results { list-style: none; margin: 0; padding: .5rem; max-height: 60vh; overflow-y: auto; }
.search-results li { margin: 0; }
.search-results a { display: block; padding: .7rem .8rem; border-radius: 6px; text-decoration: none; color: var(--steel); }
.search-results a:hover, .search-results a:focus { background: var(--galv); }
.search-results strong { color: var(--indigo-deep); display: block; }
.search-results span { font-size: .85rem; color: var(--muted); }
.search-empty { padding: 1rem 1.3rem 1.3rem; color: var(--muted); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 18px); transform: translate(-50%, 20px); opacity: 0; background: var(--indigo-deep); color: var(--white);
  padding: .75rem 1.1rem; border-radius: 6px; font-weight: 550; z-index: 70; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--amber); pointer-events: auto; margin-left: .5rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .site-header, .action-bar, .topline, .cta-band, .site-footer { display: none; } }

/* ---------- Swift Industrial: product showcase hero ---------- */
.hero-si { background: var(--indigo-deep); }
.hero-si .wrap { align-items: center; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.show-item { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--indigo-deep); outline-offset: 3px; }
.show-img { aspect-ratio: 4 / 3; background: var(--galv); display: flex; align-items: center; justify-content: center; padding: var(--s4); }
.show-img img { width: 100%; height: 100%; object-fit: contain; }
.show-name { padding: .8rem 1rem; font-weight: 700; font-stretch: 85%; font-size: 1.1rem; border-top: 3px solid var(--amber); }
.show-item:hover .show-name { background: var(--amber); }
@media (max-width: 960px) { .showcase { grid-template-columns: repeat(4, 1fr); } .show-name { font-size: .95rem; padding: .6rem .7rem; } }
@media (max-width: 560px) { .showcase { grid-template-columns: 1fr 1fr; } }
figure img { border-radius: var(--radius); }

.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles.three { grid-template-columns: 1fr; } }
@media (max-width: 359px) {
  .brand-name { display: none; }
  .header-actions { gap: .35rem; }
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
}

/* ---------- Photo-led sections (v2) ---------- */
.brand img { width: 54px; border-radius: 50%; }
.page-hero.has-bg { min-height: 380px; display: flex; align-items: center; }
.page-hero.has-bg > .wrap { position: relative; z-index: 1; width: min(100% - 2.5rem, var(--wrap)); }
.page-hero .hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-media img, .cta-photo .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,24,80,.95) 0%, rgba(29,24,80,.85) 50%, rgba(29,24,80,.55) 100%); }
.cta-photo { position: relative; color: #e7e6f6; isolation: isolate; overflow: hidden; }
.cta-photo .hero-media { position: absolute; inset: 0; z-index: -1; }
.cta-photo .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(29,24,80,.88); }
.cta-photo .wrap { display: grid; grid-template-columns: minmax(0,1.2fr) auto; gap: var(--s6); align-items: center; padding-block: var(--s8); }
.cta-photo h2 { color: #fff; margin: 0 0 .4rem; font-size: var(--t-xl); }
.cta-photo p { margin: 0; }
@media (max-width: 860px) { .cta-photo .wrap { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: var(--s4); }
.photo-strip figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: #2b2566; }
.photo-strip figure:first-child { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.photo-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(180deg, rgba(29,24,80,0), rgba(29,24,80,.9)); }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; } .photo-strip figure:first-child { grid-column: span 2; grid-row: auto; } }

.spec-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s7); align-items: center; }
.spec-split .split-img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .spec-split { grid-template-columns: 1fr; gap: var(--s5); } }

.brand-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.brand-chips li { margin: 0; }
.brand-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 6px; background: var(--white); border: 1px solid var(--line);
  color: var(--indigo-deep); font-weight: 650; font-stretch: 88%; text-decoration: none; font-size: 1.02rem; }
.brand-chips a:hover { border-color: var(--indigo); color: var(--indigo); }
.on-dark .brand-chips a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.on-dark .brand-chips a:hover { background: rgba(255,255,255,.18); }
.brand-chips a.strong { background: var(--amber); border-color: var(--amber); color: var(--indigo-deep); }

.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s4); }
.sector { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; text-decoration: none; background: #2b2566; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,24,80,.1) 0%, rgba(29,24,80,.55) 35%, rgba(29,24,80,.97) 68%); }
.sector div { padding: var(--s4); color: #e8e7f7; }
.sector h3 { color: #fff; font-size: 1.3rem; margin-bottom: .3rem; }
.sector p { font-size: .88rem; margin: 0; }
.footer-5 { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 1000px) { .footer-5 { grid-template-columns: 1fr 1fr; } }
.disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.contact-card h3 { font-size: 1.15rem; font-stretch: 95%; margin-bottom: .3rem; }
.contact-card a.big { font-size: 1.35rem; font-weight: 700; font-stretch: 85%; text-decoration: none; color: var(--indigo-deep); display: block; margin: .3rem 0 .8rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
@media (max-width: 430px) {
  .brand-name { display: none; }
  .brand img { width: 48px; }
  .header-actions { gap: .4rem; }
}

.group-h { font-size: 1.25rem; margin: 2.2rem 0 1rem; }
.group-h:first-of-type { margin-top: .5rem; }
