:root {
  --indigo: #26257a;
  --deep: #0f1030;
  --kraft: #b8895a;
  --kraft-d: #8a6238;
  --film: #eef2f9;
  --paper: #fbfbfd;
  --line: #dde2ee;
  --muted: #52567a;
  --wa: #128c4a;
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px; 
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--deep);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--indigo);
}

:focus-visible {
  outline: 3px solid var(--kraft);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.025em;
}

h1 { font-size: 4rem; font-weight: 800; }
h2 { font-size: 2.8rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }

p { margin: 0 0 1em; max-width: 62ch; }
section { padding: 4rem 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-p { background: var(--indigo); color: #ffffff; }
.btn-p:hover { background: #1b1a5c; }
.btn-w { background: var(--wa); color: #ffffff; }
.btn-w:hover { background: #0e7039; }
.btn-l { border-color: rgba(255, 255, 255, 0.7); color: #ffffff; }
.btn-l:hover { background: rgba(255, 255, 255, 0.12); }

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 1000; 
  background: #ffffff; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 1rem;
}

.logo { display: flex; align-items: center; height: 100%; }
.logo img {
  height: 100%;
  max-height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

nav.m { display: flex; gap: 1.8rem; align-items: center; }
nav.m a:not(.btn) {
  color: var(--deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
nav.m a:not(.btn):hover { color: var(--kraft-d); }

/* Top Utility Bar */
.top-bar {
  background: var(--deep);
  color: #cfd3f0;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  text-align: center;
  font-weight: 500;
}
.top-bar span { margin: 0 1rem; display: inline-block; }
.top-bar i { color: var(--kraft); margin-right: 0.4rem; }

/* Hero Section */
.slot { position: relative; overflow: hidden; background: linear-gradient(135deg, #1b1a5c, #4a3a2a); }
.slot > img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  padding: 0;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(15, 16, 48, 0.93), rgba(15, 16, 48, 0.65) 58%, rgba(15, 16, 48, 0.3));
}
.hero .in { padding: 7rem 0 2rem; position: relative; z-index: 3; }
.hero h1 { max-width: 400px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.hero .lead { font-size: 1.25rem; color: #dfe2f7; margin: 1.2rem 0 1.8rem; max-width: 450px; }

.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.2rem 2rem 1.5rem 2rem;
  background: rgba(15, 16, 48, 0.3);
  border-radius: 12px 12px 0 0;
  position: relative;
  z-index: 3;
}
.svc b { font-family: var(--head); font-weight: 700; font-size: 1.1rem; display: block; color: var(--kraft); }
.svc span { color: #cfd3f0; font-size: 0.95rem; }

/* Products */
.sub { color: var(--muted); margin: 0.8rem 0 2rem; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.8rem; }
.t {
  border-radius: 1rem;
  min-height: 280px;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  grid-column: span 6;
  position: relative;
  overflow: hidden;
}
.t::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 16, 48, 0.88));
}
.t > div { padding: 1.5rem; position: relative; z-index: 3; }
.t p { margin: 0.4rem 0 0; color: #dfe2f7; font-size: 0.98rem; max-width: 90%; }
.t.a { grid-column: span 7; grid-row: span 2; min-height: 520px; background: linear-gradient(135deg, #26257a, #0f1030); }
.t.b { grid-column: span 5; }
.t.c { grid-column: span 5; }
.t.d { grid-column: span 12; min-height: 220px; }
.t > img {
  transition: transform 0.6s;
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; top: 0; left: 0;
  z-index: 1;
}
.t:hover > img { transform: scale(1.04); }
.t > div::before { content: ""; display: block; width: 36px; height: 4px; background: var(--kraft); margin-bottom: 0.8rem; border-radius: 2px; }
.t h3 { font-size: 1.8rem; }
.t.a h3 { font-size: 2.4rem; }

/* Specs Table */
.specs-section { background: #ffffff; border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 0.8rem; }
table { width: 100%; border-collapse: collapse; min-width: 600px; text-align: left; }
th, td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
th { background: var(--film); font-family: var(--head); font-weight: 700; font-size: 0.95rem; color: var(--indigo); text-transform: uppercase; letter-spacing: 0.5px; }
td { font-size: 0.95rem; color: var(--deep); }
tr:last-child td { border-bottom: none; }

/* Spec Finder */
.finder { background: var(--deep); color: #ffffff; }
.finder p { color: #c9cce8; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fbox { background: #ffffff; color: var(--deep); border-radius: 1rem; padding: 2rem; }
label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.95rem; }
select, input {
  width: 100%; font-family: var(--body); font-size: 1rem;
  padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 0.55rem;
  background: #ffffff; color: var(--deep);
}
select:focus, input:focus { border-color: var(--indigo); outline: none; }
.out { margin-top: 1.2rem; padding: 1rem; border-left: 5px solid var(--kraft); background: var(--film); border-radius: 0.3rem; }
.out strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--indigo); }
.out small { color: var(--muted); display: block; margin-top: 0.8rem; line-height: 1.4; }

/* Trust & Map */
.map-section { background: var(--paper); }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-top: 1.5rem; }
.map-wrapper { border-radius: 1rem; overflow: hidden; border: 4px solid #ffffff; height: 380px; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }
.map-info { background: #ffffff; padding: 2rem; border-radius: 1rem; border: 1px solid var(--line); }
.map-info h3 { color: var(--indigo); margin-bottom: 1rem; }
.map-info p { font-size: 0.95rem; margin-bottom: 1rem; }

/* Steps & Coverage */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--kraft); padding-top: 1rem; }
.steps li::before { content: counter(s); font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: var(--kraft-d); display: block; line-height: 1; }
.steps b { font-family: var(--head); font-weight: 700; font-size: 1.2rem; display: block; margin: 0.5rem 0 0.2rem; }
.steps span { color: var(--muted); font-size: 0.95rem; display: block; }

.cov { background: var(--film); }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.cgrid h3 { margin-bottom: 0.8rem; color: var(--indigo); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--line); background: #ffffff; border-radius: 2rem; padding: 0.4rem 1rem; font-size: 0.9rem; font-weight: 500; }
.chips a { text-decoration: none; color: var(--deep); transition: color 0.2s; }
.chips a:hover { color: var(--indigo); }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--kraft-d); transition: transform 0.3s; }
details[open] summary::after { content: "-"; }
details p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Quote Form */
.quote { background: linear-gradient(135deg, var(--indigo), var(--deep)); color: #ffffff; position: relative; overflow: hidden; }
.quote p { color: #cfd3f0; }
.quote a { color: #ffffff; }
.qgrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.trust-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1.2rem; }
.trust-list li { display: flex; align-items: center; gap: 1rem; font-size: 1.05rem; color: #dfe2f7; font-weight: 500; }
.trust-list i { color: var(--kraft); font-size: 1.1rem; background: rgba(255, 255, 255, 0.1); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }

.qf { background: #ffffff; color: var(--deep); border-radius: 1rem; padding: 2rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.qf .full { grid-column: 1 / -1; }
.note { font-size: 0.85rem; color: var(--muted) !important; grid-column: 1 / -1; margin: 0; text-align: center; }

/* Footer */
footer.ft { background: var(--deep); color: #b9bcd8; padding: 0; font-size: 0.97rem; position: relative; overflow: hidden; }
.ft .wrap { position: relative; }
.ftcta { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding: 2.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ftcta h2 { color: #ffffff; font-size: 2.2rem; }
.ftcta p { margin: 0.6rem 0 0; color: #cfd3f0; }
.ftgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: 2.5rem 0; }
.ftgrid h3 { color: #ffffff; font-size: 1.1rem; margin-bottom: 1rem; font-family: var(--head); }
.ftgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.ftgrid a { color: #c9cce8; text-decoration: none; transition: color 0.2s; }
.ftgrid a:hover { color: #ffffff; text-decoration: underline; }
.ftb p { margin: 1rem 0 0; max-width: 38ch; font-size: 0.95rem; line-height: 1.6; }
.ftbot { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 1.2rem 0 1.5rem; font-size: 0.9rem; }
.ftbot a { color: #c9cce8; }

/* Mobile Bottom Bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1fr 1fr 1fr; background: #ffffff; border-top: 1px solid var(--line); z-index: 30; }
.mbar a { padding: 1rem 0.5rem; text-align: center; font-weight: 700; text-decoration: none; color: var(--indigo); font-size: 0.95rem; }
.mbar a + a { border-left: 1px solid var(--line); }
.mbar .w { color: var(--wa); }

/* Location & Product Page Hero */
.ph { 
  color: #ffffff; 
  padding: 5rem 0; 
  background: linear-gradient(135deg, var(--indigo), var(--deep)); 
  position: relative; 
}

.ph::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(15, 16, 48, 0.95), rgba(15, 16, 48, 0.7) 60%, rgba(15, 16, 48, 0.2));
  z-index: 2;
}

/* Force the content wrapper above the dark overlay */
.ph > .wrap {
  position: relative !important;
  z-index: 3 !important;
}

.ph h1 { font-size: 3.5rem; max-width: 20ch; }
.ph .lead { font-size: 1.15rem; color: #dfe2f7; margin: 1.2rem 0 2rem; max-width: 56ch; }
.crumbs { font-size: 0.9rem; color: #c9cce8; margin-bottom: 1.2rem; }
.crumbs a { color: #ffffff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 1rem; background: #ffffff; border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { width: 40%; background: var(--film); font-weight: 600; color: var(--indigo); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }
.note2 { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; background: var(--film); padding: 0.8rem; border-radius: 4px; display: inline-block; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.card { display: block; border: 1px solid var(--line); background: #ffffff; border-radius: 0.9rem; padding: 1.5rem; text-decoration: none; color: var(--deep); border-top: 4px solid var(--kraft); transition: all 0.3s; }
.card:hover { border-color: var(--indigo); }
.card p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.95rem; }
.band { background: linear-gradient(135deg, var(--indigo), var(--deep)); color: #ffffff; }
.band p { color: #cfd3f0; }

/* Industry / Product Visual Grid */
.ind {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ind .slot {
  aspect-ratio: 4/3;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  background: var(--film);
}

/* General Media Queries */
@media (max-width: 900px) {
  nav.m .lnk { display: none; }
  .mbar { display: grid; }
}
@media (max-width: 860px) {
  .t, .t.a, .t.b, .t.c, .t.d { grid-column: span 12; grid-row: auto; min-height: 280px; }
  .fgrid, .map-grid, .qgrid, .qf { grid-template-columns: 1fr; }
  .qgrid { align-items: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .ftgrid { grid-template-columns: 1fr 1fr; }
  .ftb { grid-column: 1 / -1; }
}
@media (max-width: 800px) { 
  .two { grid-template-columns: 1fr; } 
  .ind { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.2rem; }
  .cgrid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .ftbot { padding-bottom: 5rem; } }
@media (max-width: 600px) {
  .top-bar span:nth-child(2) { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero .in { padding: 4rem 0 2rem; }
  .ph h1 { font-size: 2.5rem; }
}