/* ==========================================================================
   Ionir Integral — corporate engineering design system
   Deep navy + logo cobalt, warm amber for "energised", soft blue-grey tints.
   Layout language follows the pbz Essen prototype: utility bar, mega menu,
   full-bleed photo hero with teaser cards, generous editorial sections.
   ========================================================================== */

:root {
  --ink: #161e38;
  --ink-2: #1e2748;
  --ink-3: #2a3460;
  --cobalt: #1239c4;
  --cobalt-600: #0b2c9c;
  --cobalt-50: #eaf0ff;
  --amber: #f5a524;
  --amber-600: #c97f06;
  --sand: #fce0a5;
  --ok: #16b06f;
  --paper: #ffffff;
  --tint: #f2f4f9;
  --tint-2: #e7e9f2;
  --line: #d3d7e6;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #161e38;
  --muted: #5a6280;
  --muted-light: #aab2cf;

  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r: 10px;
  --r-sm: 6px;
  --shadow: 0 1px 2px rgba(22, 30, 56, .05), 0 10px 30px rgba(22, 30, 56, .08);
  --shadow-lg: 0 30px 70px rgba(22, 30, 56, .22);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 400 16.5px/1.7 var(--f-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-600); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sand); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.small { font-size: .9rem; }
.muted-light { color: var(--muted-light); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline; } }

.eyebrow {
  font: 700 .76rem/1.2 var(--f-body); letter-spacing: .16em;
  text-transform: uppercase; color: var(--cobalt); margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.eyebrow--amber { color: var(--sand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .95rem/1 var(--f-body); padding: 14px 22px; border-radius: var(--r-sm);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--lg { padding: 17px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 15px; font-size: .86rem; }
.btn--block { width: 100%; margin-top: 10px; white-space: normal; text-align: center; }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(245, 165, 36, .28); }
.btn--amber:hover { background: #ffb53d; color: var(--ink); box-shadow: 0 12px 28px rgba(245, 165, 36, .38); }
.btn--cobalt { background: var(--cobalt); color: #fff; }
.btn--cobalt:hover { background: var(--cobalt-600); color: #fff; box-shadow: 0 10px 24px rgba(18, 57, 196, .28); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.04); }
.btn--ghost-light:hover { border-color: #fff; color: var(--ink); background: #fff; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: var(--muted-light); font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--amber); }
.topbar__wa { color: #4ade80 !important; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(22,176,111,.6); animation: pulse-ok 2s infinite; }
.pulse--ok { background: var(--ok); }
@keyframes pulse-ok { 70% { box-shadow: 0 0 0 8px rgba(22,176,111,0); } 100% { box-shadow: 0 0 0 0 rgba(22,176,111,0); } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--tint-2); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(22,30,56,.08); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; transition: min-height .25s; }
.header.is-scrolled .header__in { min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: auto; }
.brand__text { display: grid; font-size: 1.12rem; letter-spacing: .08em; font-weight: 500; line-height: 1.15; }
.brand__text strong { font-weight: 800; }
.brand__text small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand--light { color: #fff; }
.brand--light img { background: #fff; border-radius: 6px; padding: 3px; }
.brand--light .brand__text small { color: var(--muted-light); }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__list > li > a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; }
.nav__list > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list > li > a:hover::after, .nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list > li > a[aria-current="page"] { color: var(--cobalt); }
.nav__has-menu { position: relative; display: flex; align-items: center; }
.nav__sub-toggle { background: none; border: 0; padding: 8px 6px 8px 0; margin-left: -8px; cursor: pointer; color: var(--muted); display: inline-flex; }
.nav__sub-toggle svg { transition: transform .2s; }
.nav-toggle { display: none; }

.mega { display: none; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background .15s; }
.mega__item:hover { background: var(--tint); color: var(--ink); }
.mega__item strong { display: block; font-size: .95rem; line-height: 1.3; }
.mega__item small { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .04em; }
.mega__ico { flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--cobalt-50); color: var(--cobalt); }
.mega__aside { background: var(--ink); color: var(--muted-light); border-radius: var(--r); padding: 22px; font-size: .9rem; }
.mega__title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }

@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: 18px; }
  .mega {
    display: grid; grid-template-columns: 1fr 250px; gap: 18px; position: absolute; top: calc(100% + 14px); left: 50%;
    width: 760px; padding: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--tint-2);
    opacity: 0; visibility: hidden; transform: translate(-40%, 8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .nav__has-menu:hover .mega, .nav__has-menu:focus-within .mega, .nav__has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
  .nav__has-menu:hover .nav__sub-toggle svg, .nav__has-menu.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .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); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: var(--shadow-lg); display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; }
  .nav__list > li { border-bottom: 1px solid var(--tint-2); }
  .nav__list > li > a { padding: 15px 4px; font-size: 1.05rem; flex: 1; }
  .nav__list > li > a::after { display: none; }
  .nav__has-menu { flex-wrap: wrap; }
  .nav__sub-toggle { padding: 14px; margin: 0; }
  .nav__has-menu.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
  .nav__has-menu.is-open .mega { display: block; width: 100%; padding-bottom: 12px; }
  .mega__aside { display: none; }
  .nav__cta { width: 100%; margin-top: 16px; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; color: #fff; background: var(--ink); height: clamp(680px, 92vh, 860px); overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide, .hero__media { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; backface-visibility: hidden; }
/* No zoom effect: enlarging a photo past its own pixels is what makes it look soft. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,20,40,.9) 0%, rgba(14,20,40,.66) 36%, rgba(14,20,40,.08) 68%, transparent 100%),
    linear-gradient(0deg, rgba(14,20,40,.8) 0%, transparent 30%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 176px; }
.hero__content > * { max-width: 680px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .36s; }
.hero__eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--amber); }
.hero__title { font: 800 clamp(2.3rem, 5.6vw, 4.3rem)/1.04 var(--f-display); letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.hero__lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: #dfe4f5; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.hero__top { position: absolute; top: 26px; left: 0; right: 0; z-index: 3; pointer-events: none; }
.hero__h1 { display: inline-block; margin: 0; font: 600 .78rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(14,20,40,.35); backdrop-filter: blur(6px); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

.slider-dots { display: flex; gap: 10px; flex: 1; max-width: 860px; }
.slider-dot { position: relative; flex: 1; min-width: 0; background: none; border: 0; padding: 0 0 14px; color: rgba(255,255,255,.6); text-align: left; cursor: pointer; font: 600 .78rem/1.3 var(--f-body); }
.slider-dot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.22); border-radius: 2px; }
.slider-dot i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--amber); border-radius: 2px; }
.slider-dot.is-active { color: #fff; }
.slider-dot.is-active i { animation: progress var(--slide-dur, 6.5s) linear forwards; }
.is-paused .slider-dot.is-active i { animation-play-state: paused; }
.slider-dot:hover { color: #fff; }
.slider-dot__n { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--amber); margin-bottom: 2px; }
.slider-dot__lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 720px) {
  .slider-dot__lbl, .slider-dot__n { display: none; }
  .slider-dot { padding-bottom: 6px; }
  .hero__controls { bottom: 90px; }
  .hero__content { padding-bottom: 150px; }
}

.slider-arrows { display: flex; gap: 8px; flex: none; }
.slider-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(14,20,40,.35); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s; }
.slider-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.slider-btn .i-play { display: none; }
.is-paused .slider-btn .i-play { display: block; }
.is-paused .slider-btn .i-pause { display: none; }
.slider-arrows--dark .slider-btn { border-color: var(--line); background: #fff; color: var(--ink); }
.slider-arrows--dark .slider-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- teaser cards (overlap the hero) ---------- */
.teasers { position: relative; z-index: 5; margin-top: -72px; }
.teasers__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .teasers__grid { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.teaser {
  display: flex; align-items: flex-start; gap: 16px; padding: 26px 26px 28px; background: #fff; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); border-radius: var(--r); position: relative; overflow: hidden; transition: background .3s, color .3s, transform .3s var(--ease);
}
@media (min-width: 900px) {
  .teaser { border-radius: 0; box-shadow: none; border-right: 1px solid var(--tint-2); }
  .teasers__grid { box-shadow: var(--shadow-lg); border-radius: var(--r); overflow: hidden; }
  .teaser:last-child { border-right: 0; }
}
.teaser::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--amber); transition: width .4s var(--ease); }
.teaser:hover { background: var(--ink); color: #fff; }
.teaser:hover::after { width: 100%; }
.teaser__ico { flex: none; width: 50px; height: 50px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-50); color: var(--cobalt); transition: background .3s, color .3s; }
.teaser__ico .ico { width: 26px; height: 26px; }
.teaser:hover .teaser__ico { background: var(--amber); color: var(--ink); }
.teaser__txt { display: grid; gap: 6px; }
.teaser__txt strong { font-size: 1.08rem; line-height: 1.3; }
.teaser__txt span { font-size: .9rem; color: var(--muted); line-height: 1.55; transition: color .3s; }
.teaser:hover .teaser__txt span { color: var(--muted-light); }
.teaser__go { margin-left: auto; font-size: 1.3rem; color: var(--amber); transition: transform .3s; }
.teaser:hover .teaser__go { transform: translateX(4px); }

/* ---------- client logo marquee ---------- */
.logos { padding: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.logos--tint { background: var(--tint); }
.logos__head { text-align: center; margin-bottom: 34px; }
.logos__head .eyebrow { justify-content: center; }
.logos__h { font-size: clamp(1.2rem, 2.2vw, 1.6rem); max-width: 34ch; margin: 0 auto; font-weight: 700; }
.marquee { position: relative; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { list-style: none; margin: 0; padding: 10px 0 14px; display: flex; gap: 20px; width: max-content; }
.js .marquee.is-running { overflow: hidden; }
.js .marquee.is-running .marquee__track { animation: marquee var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-card {
  flex: none; width: 230px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 18px 20px;
  background: #fff; border: 1px solid var(--tint-2); border-radius: var(--r); text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.logo-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.logo-card__img { height: 72px; display: grid; place-items: center; }
.logo-card__img img { max-height: 72px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(.25); transition: filter .25s; }
.logo-card:hover .logo-card__img img { filter: none; }
.logo-card__txt { display: grid; gap: 2px; }
.logo-card__txt strong { font-size: .95rem; line-height: 1.3; }
.logo-card__txt small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: #d5dbef; position: relative; overflow: hidden; }
.section--ink::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 90% 0%, rgba(18,57,196,.35), transparent 60%); pointer-events: none; }
.section--ink > .wrap { position: relative; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section__head--split > div { max-width: 680px; }
.section__head--split > .section__lead { max-width: 440px; }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--ink .section__lead { color: var(--muted-light); }

/* ---------- what we do ---------- */
.intro { display: grid; gap: 28px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .intro { grid-template-columns: 1.15fr 1fr; align-items: end; } }
.verbs { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.12; margin: 0; }
.verbs span { color: var(--cobalt); }
.verbs span:nth-child(even) { color: var(--amber-600); }
.intro__copy { color: var(--muted); font-size: 1.05rem; }
.intro__copy p:last-child { margin: 0; color: var(--ink); font-weight: 600; }

.svc-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.svc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden;
  background: #fff; border: 1px solid var(--tint-2); text-decoration: none; color: var(--text);
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.svc:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); color: var(--text); }
.svc__media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--ink-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.06); }
.svc__ico { position: absolute; left: 22px; bottom: -24px; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(22,30,56,.25); z-index: 1; }
.svc__body { padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc__code { align-self: flex-start; font: 700 .7rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px; }
.svc__title { font-size: 1.28rem; margin-bottom: 10px; }
.svc__sum { color: var(--muted); flex: 1; font-size: .96rem; }
.svc__more { font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.svc__more span { color: var(--amber-600); transition: transform .25s; }
.svc:hover .svc__more span { transform: translateX(4px); }

/* ---------- who we are ---------- */
.who { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .who { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.who__media { position: relative; }
.who__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.who__media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 45%; border: 3px solid var(--amber); border-radius: var(--r); z-index: -1; }
.who__badge { position: absolute; right: -10px; bottom: 28px; background: var(--ink); color: #fff; padding: 20px 24px; border-radius: var(--r); display: grid; max-width: 210px; box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .who__badge { right: -36px; } }
.who__badge strong { font-size: 2.6rem; line-height: 1; color: var(--amber); }
.who__badge span { font-size: .86rem; color: var(--muted-light); margin-top: 6px; }
.who__copy > p { color: var(--muted); }
.roles { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 26px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__n, .stat__suf { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.stat__suf { color: var(--amber-600); font-size: clamp(1.1rem, 2vw, 1.4rem); margin-left: 3px; }
.stat p { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }

/* ---------- industries ---------- */
.industries { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.industry { position: relative; display: block; min-height: 420px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); isolation: isolate; }
.industry > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,20,40,.05) 20%, rgba(14,20,40,.92) 75%); transition: background .4s; }
.industry:hover::before { background: linear-gradient(180deg, rgba(18,57,196,.35) 0%, rgba(14,20,40,.96) 70%); }
.industry:hover > img { transform: scale(1.07); }
.industry__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.industry h3 { color: #fff; font-size: 1.32rem; margin-bottom: 8px; }
.industry__txt { color: #d5dbef; font-size: .93rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.industry:hover .industry__txt, .industry:focus-visible .industry__txt { max-height: 160px; opacity: 1; margin-bottom: 14px; }
@media (hover: none) { .industry__txt { max-height: none; opacity: 1; margin-bottom: 14px; } }
.industry__more { font-weight: 700; color: var(--amber); font-size: .92rem; }

/* ---------- process circuit ---------- */
.circuit { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; }
@media (min-width: 960px) {
  .circuit { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  .circuit::before { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px); opacity: .6; }
}
.circuit__node { position: relative; padding-left: 70px; }
@media (min-width: 960px) { .circuit__node { padding-left: 0; padding-top: 76px; } }
.circuit__dot { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 2px solid var(--amber); color: var(--amber); font: 700 .86rem var(--f-mono); transition: background .3s, color .3s; }
.circuit__node:hover .circuit__dot { background: var(--amber); color: var(--ink); }
.circuit__node h3 { font-size: 1.05rem; margin-bottom: 6px; }
.circuit__node p { color: var(--muted-light); font-size: .92rem; margin: 0; }

/* ---------- project cards ---------- */
.log-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.log-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.logcard { height: 100%; }
.logcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--tint-2); transition: box-shadow .3s, transform .3s var(--ease); }
.logcard__link:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); color: var(--text); }
.logcard__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--ink-2); }
.logcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.logcard__link:hover .logcard__media img { transform: scale(1.06); }
.logcard__status { position: absolute; top: 12px; left: 12px; background: rgba(14,20,40,.85); color: #fff; font: 600 .66rem var(--f-mono); letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.logcard__stamp { position: absolute; right: 0; bottom: 0; left: 0; text-align: right; padding: 30px 12px 10px; font-size: .68rem; line-height: 1.45; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.logcard__body { padding: 20px 22px 24px; }
.logcard__client { font: 700 .7rem var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt); margin: 0 0 8px; }
.logcard__title { font-size: 1.08rem; margin-bottom: 6px; }
.logcard__loc { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- maintenance band ---------- */
.band { position: relative; color: #fff; padding: var(--section) 0; overflow: hidden; isolation: isolate; background: var(--ink); }
.band__bg { position: absolute; inset: 0; z-index: -1; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,20,40,.97) 30%, rgba(18,57,196,.55)); }
.band__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .band__in { grid-template-columns: 1fr 1fr; gap: 72px; } }
.band h2 { color: #fff; }
.band__copy p:not(.eyebrow) { color: #d5dbef; font-size: 1.06rem; margin-bottom: 28px; }
.band__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.band__list li { padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); backdrop-filter: blur(6px); transition: background .3s, border-color .3s; }
.band__list li:hover { background: rgba(255,255,255,.1); border-color: rgba(245,165,36,.5); }
.band__list strong { display: block; color: #fff; margin-bottom: 4px; }
.band__list span { color: var(--muted-light); font-size: .9rem; }

/* ---------- features ---------- */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.feature { padding: 30px 26px; border-radius: var(--r); background: var(--tint); border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { background: #fff; border-color: var(--tint-2); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__ico { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--amber); margin-bottom: 20px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; scroll-behavior: smooth; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; padding: 32px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--tint-2); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.quote::before { content: "“"; position: absolute; right: 26px; top: 6px; font: 800 5rem/1 var(--f-display); color: var(--tint-2); }
.quote blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--ink); position: relative; }
.quote figcaption { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--tint-2); }
.quote__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-weight: 800; }
.quote figcaption strong { display: block; line-height: 1.3; }
.quote figcaption span span { color: var(--muted); font-size: .88rem; }

/* ---------- posts ---------- */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.postcard a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); height: 100%; background: #fff; border: 1px solid var(--tint-2); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.postcard a:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.postcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.postcard a:hover img { transform: scale(1.05); }
.postcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.postcard__meta { font: 700 .7rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: var(--cobalt); margin-bottom: 10px; }
.postcard h2, .postcard h3 { font-size: 1.15rem; flex: 1; }
.postcard p:not(.postcard__meta) { color: var(--muted); }
.postcard__more { font-weight: 700; font-size: .9rem; color: var(--amber-600); }
.postcard > a > .postcard__meta, .postcard > a > h2, .postcard > a > h3, .postcard > a > p { padding: 0 24px; }
.postcard > a > .postcard__meta { padding-top: 22px; }
.postcard > a > :last-child:not(.postcard__media):not(.postcard__body) { padding-bottom: 24px; }
@media (min-width: 900px) {
  .postcard--lead { grid-column: 1 / -1; }
  .postcard--lead a { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 40px; align-items: center; }
  .postcard--lead .postcard__media { grid-row: span 4; height: 100%; }
  .postcard--lead h2 { font-size: 1.9rem; }
}

/* ---------- faq ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 72px; } }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--tint-2); border-radius: var(--r); padding: 0 22px; transition: box-shadow .25s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 700 1.03rem/1.4 var(--f-display); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); font: 500 1.2rem/1 var(--f-body); color: var(--cobalt); transition: transform .25s, background .25s, color .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--amber); color: var(--ink); }
.faq__a { color: var(--muted); padding-bottom: 18px; }

/* ---------- careers ---------- */
.careers { padding: clamp(48px, 6vw, 72px) 0; background: var(--sand); }
.careers__in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .careers__in { grid-template-columns: 1fr auto; gap: 56px; } }
.careers h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.careers p:not(.eyebrow) { margin: 0; max-width: 70ch; color: #4a4330; }
.careers .eyebrow { color: var(--ink); }

/* ---------- inner pages ---------- */
.pagehead { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.pagehead__bg { position: absolute; inset: 0; z-index: -1; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,40,.95) 0%, rgba(14,20,40,.82) 45%, rgba(14,20,40,.45) 100%); }
.pagehead__in { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.pagehead h1 { color: #fff; max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.pagehead__lead { color: #d5dbef; font-size: 1.12rem; max-width: 64ch; margin: 0; }
.crumbs { font-size: .8rem; font-weight: 600; color: var(--muted-light); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted-light); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 64px; align-items: start; } }
.sidebar { display: grid; gap: 20px; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: 100px; } }
.card { background: #fff; border: 1px solid var(--tint-2); border-radius: var(--r); padding: 28px; }
.card--flush { padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.card--ink { background: var(--ink); border-color: var(--ink); color: #d5dbef; }
.card--ink .card__h { color: #fff; }
.card .btn--block:first-of-type { margin-top: 18px; }
.sidelinks { list-style: none; margin: 0; padding: 0; }
.sidelinks li { border-bottom: 1px solid var(--tint-2); }
.sidelinks li:last-child { border-bottom: 0; }
.sidelinks a { display: block; padding: 12px 0; text-decoration: none; color: var(--text); font-weight: 600; transition: color .2s, padding .2s; }
.sidelinks a:hover { color: var(--cobalt); padding-left: 6px; }
.sidelinks .mono { font-size: .7rem; color: var(--cobalt); margin-right: 6px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.toc li { padding-left: 14px; border-left: 2px solid var(--line); }
.toc li:hover { border-color: var(--amber); }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--cobalt); }

.prose { max-width: 760px; }
.prose--narrow { margin: 0 auto; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose__hero { margin: 0 0 32px; }
.prose__hero img { border-radius: var(--r); width: 100%; max-height: 520px; object-fit: cover; }
.prose figcaption, .gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--tint); }
.byline { font-size: .76rem; color: var(--muted); margin-bottom: 24px; }

.scope { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.scope li { counter-increment: s; background: var(--tint); border-radius: var(--r-sm); padding: 14px 16px 14px 52px; position: relative; margin: 0; font-weight: 600; }
.scope li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 16px; top: 14px; font: 600 .8rem var(--f-mono); color: var(--amber-600); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r-sm); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; cursor: zoom-in; transition: opacity .2s; }
.gallery img:hover { opacity: .9; }

.factsheet dl { margin: 0 0 8px; }
.factsheet dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); }
.factsheet dt { color: var(--muted-light); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.factsheet dd { margin: 0; text-align: right; color: #fff; font-weight: 600; }

.svc-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.svc-row { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: 72px; }
  .svc-row--flip .svc-row__media { order: 2; }
}
.svc-row__media { position: relative; }
.svc-row__media img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.svc-row h2 a { color: var(--ink); text-decoration: none; }
.svc-row h2 a:hover { color: var(--cobalt); }
.svc-row p { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 600 .88rem var(--f-body); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; cursor: pointer; color: var(--text); text-decoration: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-filter-grid] > [hidden] { display: none; }
.process-strip { display: grid; gap: 28px; }
@media (min-width: 900px) { .process-strip { grid-template-columns: 1fr 2fr; gap: 56px; align-items: center; } }

.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231239c4' stroke-width='2.2' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks--compact { gap: 8px; font-size: .95rem; }
.ticks--light li::before { background-color: rgba(245,165,36,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23f5a524' stroke-width='2.2' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E"); }
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px 32px; }

/* ---------- about ---------- */
.story { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.story__copy h2 { margin-top: 0; }
.story__copy p { color: var(--muted); }
.story__copy strong { color: var(--ink); }
.story__sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.story__sign strong { display: block; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.story__sign span { font-size: .85rem; color: var(--muted); }

.gallery-slider { position: relative; }
@media (min-width: 960px) { .gallery-slider { position: sticky; top: 100px; } }
.gallery-slider__frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.gallery-slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.gallery-slider__slide.is-active { opacity: 1; visibility: visible; }
.gallery-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slider__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(14,20,40,.85)); }
.gallery-slider__arrows { position: absolute; top: 16px; right: 16px; z-index: 2; }
.gallery-slider__arrows .slider-btn { width: 40px; height: 40px; }
.gallery-slider__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-slider__thumb { padding: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; opacity: .55; transition: opacity .25s; }
.gallery-slider__thumb::before { display: none; }
.gallery-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slider__thumb i { left: 0; right: 0; bottom: 0; }
.gallery-slider__thumb.is-active, .gallery-slider__thumb:hover { opacity: 1; }
.gallery-slider__thumb.is-active { outline: 2px solid var(--amber); outline-offset: 2px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: t; }
.timeline li { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--r); border-top: 4px solid var(--amber); box-shadow: var(--shadow); }
.timeline__year { font: 800 1.9rem/1 var(--f-display); color: var(--cobalt); letter-spacing: -.03em; display: block; margin-bottom: 14px; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .93rem; margin: 0; }

.values, .creds { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.value { padding: 30px 26px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(255,255,255,.03); transition: background .3s, border-color .3s; }
.value:hover { background: rgba(255,255,255,.07); border-color: rgba(245,165,36,.5); }
.value__n { font: 800 1.6rem var(--f-display); color: var(--amber); }
.value .mono, .cred .mono { color: var(--amber); font-size: .78rem; }
.value h3 { margin-top: 12px; }
.value p { color: var(--muted-light); margin: 0; font-size: .95rem; }
.cred { padding: 28px 26px; border-radius: var(--r); background: var(--tint); }
.cred__tag { display: inline-block; font: 700 .7rem var(--f-body); letter-spacing: .12em; padding: 5px 10px; border-radius: 4px; background: var(--ink); color: var(--amber); }
.cred h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.cred p { color: var(--muted); margin: 0; font-size: .95rem; }
.client-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.client-cards li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.client-cards img { height: 56px; width: auto; object-fit: contain; align-self: flex-start; margin-bottom: 10px; }

/* ---------- forms ---------- */
.contact, .quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .contact { grid-template-columns: 1fr 1.2fr; gap: 48px; }
  .quote-layout { grid-template-columns: minmax(0, 1.7fr) 1fr; gap: 40px; }
}
.form { display: grid; gap: 16px; }
.form h2 { font-size: 1.5rem; margin: 0; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(18,57,196,.12); }
.field [aria-invalid="true"] { border-color: #d43c3c; box-shadow: 0 0 0 4px rgba(212,60,60,.08); }
.field__err { color: #c62828; font-size: .86rem; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cobalt); flex: none; }
.alert { background: #fdecea; color: #8a1c1c; padding: 12px 16px; border-radius: var(--r-sm); margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
legend { font: 800 1.4rem var(--f-display); letter-spacing: -.02em; margin-bottom: 4px; padding: 0; color: var(--ink); }
.quote__aside { display: grid; gap: 20px; }
.next { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.next strong { color: #fff; }

.contact__wa { display: block; padding: 22px 24px; border-radius: var(--r); background: #0f7a4a; color: #fff; text-decoration: none; margin-bottom: 24px; transition: background .2s; }
.contact__wa:hover { background: #0c6a40; color: #fff; }
.contact__wa .mono { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; display: block; }
.contact__wa strong { font-size: 1.4rem; }
.contact__list { margin: 0 0 24px; }
.contact__list > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--tint-2); }
.contact__list dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.contact__list dd { margin: 0; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; }

.thanks__in { max-width: 640px; text-align: center; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(22,176,111,.12); color: var(--ok); font-size: 2rem; }
.thanks__icon--off { background: var(--cobalt-50); color: var(--cobalt); font-size: 1.1rem; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- quote wizard (modal + /quote page) ---------- */
.qw { display: flex; flex-direction: column; background: #fff; min-height: 0; }
.qw__head { display: flex; justify-content: space-between; gap: 16px; padding: 28px 32px 0; }
.qw__head .eyebrow { margin-bottom: 10px; }
.qw__title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0 0 6px; }
.qw__intro { color: var(--muted); font-size: .94rem; margin: 0; max-width: 56ch; }
.qw__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.qw__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.qw__progress { list-style: none; margin: 22px 32px 0; padding: 0; display: none; gap: 6px; }
.js .qw__progress { display: flex; }
.qw__progress li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.qw__progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--tint-2); transition: background .3s; }
.qw__progress li.is-done::before, .qw__progress li.is-active::before { background: var(--amber); }
.qw__progress li.is-active { color: var(--ink); }
.qw__progress li.is-done { color: var(--ink); cursor: pointer; }
.qw__dot { display: none; }
@media (max-width: 560px) { .qw__lbl { display: none; } }
.qw > .alert { margin: 16px 32px 0; }
.qw__body { padding: 24px 32px; flex: 1; overflow-y: auto; display: grid; gap: 32px; }
.js .qw__body { display: block; }
.qw__step { display: grid; gap: 16px; }
.js .qw__step:not(.is-active) { display: none; }
.js .qw__step.is-active { animation: step-in .4s var(--ease); }
.js .qw__step.is-back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.qw__step--review { display: none; }
.js .qw__step--review.is-active { display: grid; }
.qw__legend { font-size: 1.4rem; margin: 0; }
.qw__hint { color: var(--muted); font-size: .92rem; margin: -6px 0 4px; }
.qw__cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.qw__cards--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.qcard { position: relative; cursor: pointer; display: block; }
.qcard input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qcard__in { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); }
.qcard--row .qcard__in { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 18px; }
.qcard:hover .qcard__in { border-color: var(--cobalt); transform: translateY(-2px); box-shadow: var(--shadow); }
.qcard__ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-50); color: var(--cobalt); transition: background .2s, color .2s; }
.qcard__txt { display: grid; gap: 2px; }
.qcard__txt strong { font-size: .97rem; line-height: 1.3; }
.qcard__txt small { color: var(--muted); font-size: .8rem; }
.qcard__go { color: var(--muted); transition: transform .2s, color .2s; }
.qcard input:checked + .qcard__in { border-color: var(--cobalt); background: var(--cobalt-50); box-shadow: inset 0 0 0 1px var(--cobalt); }
.qcard input:checked + .qcard__in .qcard__ico { background: var(--cobalt); color: #fff; }
.qcard input:checked + .qcard__in .qcard__go { color: var(--cobalt); transform: translateX(4px); }
.qcard input:focus-visible + .qcard__in { outline: 3px solid var(--amber); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipopt { position: relative; cursor: pointer; }
.chipopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chipopt span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.chipopt:hover span { border-color: var(--cobalt); }
.chipopt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chipopt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.qw__review { display: grid; gap: 12px; }
.qw__group { border: 1px solid var(--tint-2); border-radius: var(--r); padding: 6px 18px; background: var(--tint); }
.qw__group-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; }
.qw__group-head h4 { margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt); }
.qw__edit { background: none; border: 0; color: var(--cobalt); font: 700 .85rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.qw__group dl { margin: 0; }
.qw__group dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--tint-2); font-size: .93rem; }
.qw__group dt { color: var(--muted); }
.qw__group dd { margin: 0; font-weight: 600; word-break: break-word; white-space: pre-line; }
.qw__group dd.is-empty { color: var(--muted); font-weight: 400; font-style: italic; }
@media (max-width: 520px) { .qw__group dl > div { grid-template-columns: 1fr; gap: 2px; } }
.qw__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 32px; border-top: 1px solid var(--tint-2); background: #fff; }
.qw__count { font-size: .85rem; color: var(--muted); display: none; }
.js .qw__count { display: inline; }
[data-qw-prev], [data-qw-next] { display: none; }
.js [data-qw-next] { display: inline-flex; }
.js .qw.is-first [data-qw-prev] { visibility: hidden; }
.js .qw:not(.is-first) [data-qw-prev] { display: inline-flex; }
.js .qw.is-first [data-qw-prev] { display: inline-flex; }
.js [data-qw-submit] { display: none; }
.js .qw.is-review [data-qw-submit] { display: inline-flex; }
.js .qw.is-review [data-qw-next] { display: none; }
.qw.is-sending [data-qw-submit] { opacity: .7; pointer-events: none; }
.qw.is-done .qw__progress, .qw.is-done .qw__foot, .qw.is-done .qw__head > div { display: none; }
.qw.is-done .qw__head { justify-content: flex-end; padding-bottom: 0; }
.qw__done { text-align: center; padding: 8px 0 12px; }
.qw__done-icon { width: 76px; height: 76px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(22,176,111,.12); color: var(--ok); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.qw__done h3 { font-size: 1.6rem; }
.qw__done p { color: var(--muted); max-width: 52ch; margin-left: auto; margin-right: auto; }
.qw__ref { font-size: .95rem; }
.qw__ref strong { font-family: var(--f-mono); color: var(--ink); background: var(--sand); padding: 4px 10px; border-radius: 4px; margin-left: 4px; }
.qw__done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
@media (max-width: 560px) {
  .qw__head, .qw__body, .qw__foot { padding-left: 18px; padding-right: 18px; }
  .qw__progress { margin-left: 18px; margin-right: 18px; }
  .qw > .alert { margin-left: 18px; margin-right: 18px; }
  .qw__foot .btn { padding: 13px 16px; }
}

.js .qw:not(.is-first) .qw__intro { display: none; }
.qw.is-done .qw__body { display: grid; place-items: center; }
.qmodal { border: 0; padding: 0; width: min(880px, 100% - 24px); height: min(90vh, 740px); max-height: none; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.qmodal[open] { display: flex; flex-direction: column; animation: modal-in .35s var(--ease); }
.qmodal .qw { flex: 1; overflow: hidden; }
.qmodal::backdrop { background: rgba(10, 15, 32, .72); backdrop-filter: blur(4px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .qmodal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; } }
body.has-modal { overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); }
.footer a { color: #dfe4f5; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer__cta { background: linear-gradient(110deg, var(--cobalt) 0%, #2433a8 60%, var(--ink-3) 100%); position: relative; overflow: hidden; }
.footer__cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.footer__cta-in { display: grid; gap: 26px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); position: relative; z-index: 1; }
@media (min-width: 960px) { .footer__cta-in { grid-template-columns: 1.4fr auto; align-items: center; gap: 48px; } }
.footer__cta h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); max-width: 26ch; }
.footer__cta p:not(.eyebrow) { color: #d5dbef; margin: 0; }
.footer__cta .eyebrow { margin-bottom: 12px; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding: clamp(48px, 6vw, 72px) 0 44px; }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { margin-top: 18px; font-size: .93rem; }
.footer__reg { font-size: .8rem; font-weight: 600; color: var(--amber) !important; }
.footer__h { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin-bottom: 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__nap { font-style: normal; line-height: 1.9; font-size: .93rem; }
.footer__nap strong { color: #fff; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: .82rem; }

/* ---------- floating & overlays ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .92rem; }
.consent p { margin: 0 0 12px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(5,10,28,.9); }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--r-sm); }
.lightbox__close { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
}

/* ---------- small-screen refinements ---------- */
@media (max-width: 719px) {
  .topbar__left { display: none; }
  .topbar__in { justify-content: center; }
  .hero__media::after { background: linear-gradient(180deg, rgba(14,20,40,.55) 0%, rgba(14,20,40,.82) 45%, rgba(14,20,40,.95) 100%); }
  .hero__h1 { font-size: .66rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .qw__cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qw__cards--list { grid-template-columns: 1fr; }
  .qcard__in { padding: 14px; gap: 10px; }
  .qcard__ico { width: 38px; height: 38px; }
  .qcard__txt strong { font-size: .88rem; }
}
