/* =====================================================================
   ASMACS Engineering
   Simple, professional styling built on the ASMACS logo palette:
   gold #F1C318, red #D91E25, deep navy, white.
   ===================================================================== */

:root {
  /* brand */
  --gold: #f1c318;
  --gold-d: #c99b06;
  --red: #d91e25;
  --navy: #16243a;
  --navy-d: #0e1829;

  /* neutrals */
  --ink: #16243a;
  --ink-2: #4a5768;
  --ink-3: #5f6b7c;
  --line: #e2e6eb;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 20px;
  --radius: 10px;
  --maxw: 1200px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.125rem; }
em { font-style: normal; color: var(--red); }
strong { font-weight: 600; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: 1.0625rem; color: var(--ink-2); }
@media (min-width: 768px) { .lead { font-size: 1.125rem; } }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 16px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 6px;
  font-size: .9375rem; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--red); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 600; }
.btn--gold:hover { background: #fff; }
.sec--dark .btn--ghost { background: transparent; border-color: rgb(255 255 255 / .3); color: #fff; }
.sec--dark .btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: block; }
.logo img { height: 46px; width: auto; }
.nav__links { display: none; }
@media (min-width: 1100px) {
  .nav__links { display: block; margin-left: auto; }
  .nav__links ul { display: flex; gap: 4px; }
  .nav__links a { display: block; padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--ink-2); border-radius: 6px; transition: color .2s, background .2s; }
  .nav__links a:hover { color: var(--ink); background: var(--bg-alt); }
  .nav__links a.is-active { color: var(--red); }
}
.nav__end { display: flex; align-items: center; gap: 12px; }
.nav__end .btn { display: none; }
@media (min-width: 640px) { .nav__end .btn { display: inline-flex; } }
.burger { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--line); border-radius: 6px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1100px) { .burger { display: none; } }
.menu { border-top: 1px solid var(--line); background: #fff; }
.menu ul { padding: 8px var(--gutter) 0; }
.menu a { display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu__cta { padding: 18px var(--gutter) 24px; }
.menu__cta .btn { width: 100%; justify-content: center; }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 768px) { .sec { padding: 104px 0; } }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--navy); color: #fff; }
.sec--dark .lead, .sec--dark p { color: rgb(255 255 255 / .78); }
.sec--dark .eyebrow { color: rgb(255 255 255 / .6); }
.sec--dark .eyebrow span { color: var(--gold); }
.sec__head { display: grid; gap: 14px; margin-bottom: 40px; }
@media (min-width: 900px) { .sec__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 56px; margin-bottom: 56px; } .sec__head .lead { padding-bottom: 4px; } }
.sec__head--center { text-align: center; max-width: 680px; margin-inline: auto; }
@media (min-width: 900px) { .sec__head--center { grid-template-columns: 1fr; gap: 14px; } }
.sec__head--center .eyebrow { justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow span { color: var(--red); }
.eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--gold); }

/* ---------- hero (full screen) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 76px);
  display: flex; align-items: stretch;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__bg .slide.is-on { opacity: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Light enough to keep the photograph readable, dark enough for white text. */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgb(14 24 41 / .74) 0%, rgb(14 24 41 / .62) 34%, rgb(14 24 41 / .34) 64%, rgb(14 24 41 / .14) 100%),
    linear-gradient(0deg, rgb(14 24 41 / .5) 0%, rgb(14 24 41 / 0) 46%);
}
/* On narrow screens the text spans the full width, so even it out instead. */
@media (max-width: 959px) {
  .hero__veil {
    background: linear-gradient(180deg, rgb(14 24 41 / .6) 0%, rgb(14 24 41 / .5) 42%, rgb(14 24 41 / .72) 100%);
  }
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  width: 100%; padding-block: 56px 96px; color: #fff;
}
@media (min-width: 960px) { .hero__inner { padding-block: 72px 104px; } }
.hero__copy { max-width: 46rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  border: 1px solid rgb(255 255 255 / .28); border-radius: 99px;
  font-size: .78rem; font-weight: 500; color: rgb(255 255 255 / .9);
  background: rgb(255 255 255 / .08); backdrop-filter: blur(6px);
}
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.hero h1 {
  margin: 24px 0 0; color: #fff;
  text-shadow: 0 2px 18px rgb(8 15 27 / .45);
  font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 em { color: var(--gold); }
.hero__lead { margin-top: 20px; max-width: 40rem; font-size: 1.0625rem; color: rgb(255 255 255 / .9); text-shadow: 0 1px 12px rgb(8 15 27 / .5); }
@media (min-width: 768px) { .hero__lead { font-size: 1.1875rem; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__foot {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px;
  margin-top: auto; padding-top: 44px;
}
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 36px; margin: 0; justify-content: start; }
.hero__stats dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .82); text-shadow: 0 1px 10px rgb(8 15 27 / .6); }
.hero__stats dd { margin: 5px 0 0; font-size: 2rem; font-weight: 600; letter-spacing: -.02em; color: var(--gold); text-shadow: 0 2px 14px rgb(8 15 27 / .6); }
@media (max-width: 480px) { .hero__stats { gap: 14px 22px; } .hero__stats dd { font-size: 1.45rem; } }

.hero__ctrl { display: flex; align-items: center; gap: 14px; }
.hero__ctrl .slide-label { font-size: .78rem; color: rgb(255 255 255 / .9); text-shadow: 0 1px 10px rgb(8 15 27 / .6); }
.hero__ctrl .dots button { width: 26px; height: 3px; background: rgb(255 255 255 / .3); }
.hero__ctrl .dots button[aria-selected='true'] { background: var(--gold); }

/* outline button, used on the hero image */
.btn--outline { border-color: rgb(255 255 255 / .45); color: #fff; background: rgb(255 255 255 / .06); backdrop-filter: blur(6px); }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- image slideshow (civil, electrical) ---------- */
.split__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-alt); aspect-ratio: 4 / 3;
}
.split__media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.split__media .slide.is-on { opacity: 1; }
.split__media .slide img { width: 100%; height: 100%; object-fit: cover; }
.split__media figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px; border-radius: 8px;
  background: rgb(22 36 58 / .78); backdrop-filter: blur(8px); color: #fff;
}
.slide-label { font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
.dots { display: flex; gap: 7px; }
.dots button { width: 22px; height: 4px; border-radius: 99px; background: rgb(255 255 255 / .35); transition: background .3s; }
.dots button[aria-selected='true'], .dots button.is-on { background: var(--gold); }

/* ---------- trusted-by strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding-block: 22px; }
.strip p { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.strip ul { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.strip img { height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.strip li:hover img { filter: none; opacity: 1; }

/* ---------- about ---------- */
.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.about__copy h2 { margin-bottom: 18px; }
.about__copy .lead { margin-bottom: 14px; }
.about__copy > p { color: var(--ink-2); }
.ticks { margin-top: 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: rotate(-45deg);
}
.about__media { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; align-items: end; }
.about__media figure { overflow: hidden; border-radius: var(--radius); }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__media figure:last-child img { aspect-ratio: 3 / 4; }

/* ---------- cards ---------- */
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.certs__badges { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 640px) { .certs__badges { grid-template-columns: repeat(2, 1fr); } }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.card:hover { border-color: #cdd4dc; box-shadow: 0 14px 34px -22px rgb(22 36 58 / .45); transform: translateY(-3px); }
.card__img { overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { flex: 1; padding: 22px 22px 24px; }
.card__n, .card__tag { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.card__body h3 { margin-bottom: 8px; }
.card__body p { font-size: .9375rem; color: var(--ink-2); }

/* ---------- split sections ---------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--rev .split__media { order: 2; }
}
.split__media--plain { aspect-ratio: 4 / 3; }
.split__media--plain img { width: 100%; height: 100%; object-fit: cover; }
.split__copy h2 { margin-bottom: 16px; }
.split__copy .lead { margin-bottom: 26px; }
.scope { display: grid; gap: 22px; margin-bottom: 28px; }
@media (min-width: 520px) { .scope { grid-template-columns: repeat(3, 1fr); } }
.scope__col h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 12px; }
.scope__col li { font-size: .9375rem; color: var(--ink-2); padding: 5px 0; }

/* electrical step list */
.steps { display: grid; gap: 2px; }
.steps__item button { display: flex; gap: 16px; width: 100%; text-align: left; padding: 15px 16px; border-radius: 8px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.steps__item.is-on button { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .16); }
.steps__n { font-size: .78rem; font-weight: 600; color: rgb(255 255 255 / .45); padding-top: 2px; }
.steps__item.is-on .steps__n { color: var(--gold); }
.steps__item strong { display: block; font-weight: 500; color: rgb(255 255 255 / .62); transition: color .3s; }
.steps__item.is-on strong { color: #fff; }
.steps__d { display: block; max-height: 0; overflow: hidden; font-size: .9rem; color: rgb(255 255 255 / .72); transition: max-height .5s var(--ease), margin-top .5s; }
.steps__item.is-on .steps__d { max-height: 90px; margin-top: 5px; }

/* ---------- process ---------- */
.process { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { background: #fff; padding: 26px 22px; }
.process__n { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-d); margin-bottom: 10px; }
.process h3 { margin-bottom: 7px; font-size: 1.05rem; }
.process p { font-size: .9rem; color: var(--ink-2); }

/* ---------- project cards ---------- */
.pcard { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { border-color: #cdd4dc; box-shadow: 0 14px 34px -22px rgb(22 36 58 / .45); transform: translateY(-3px); }
.pcard button { display: flex; flex-direction: column; width: 100%; text-align: left; }
.pcard__img { display: block; overflow: hidden; }
.pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 24px; }
.pcard__cat { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.pcard__t { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
.pcard__loc { display: block; margin-top: auto; padding-top: 6px; font-size: .875rem; color: var(--ink-3); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgb(14 24 41 / .6); }
.modal__box { position: relative; width: min(880px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: var(--radius); display: grid; }
@media (min-width: 760px) { .modal__box { grid-template-columns: 1fr 1fr; } }
.modal__img img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
@media (min-width: 760px) { .modal__img img { max-height: none; } }
.modal__close { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .18); }
.modal__close svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.modal__txt { padding: 26px; }
@media (min-width: 760px) { .modal__txt { padding: 32px; } }
.modal__txt h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal__loc { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }
.modal__scope-l { margin: 20px 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; color: var(--ink-2); }
.modal__nav { display: flex; gap: 10px; margin-top: 26px; }
.modal__nav .btn { height: 40px; font-size: .875rem; }

/* ---------- badges / certificates ---------- */
.badge { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.badge img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.badge strong { display: block; font-size: 1rem; }
.badge span { font-size: .85rem; color: var(--ink-3); }
.doc-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.doc { display: grid; place-content: center; gap: 8px; text-align: center; aspect-ratio: 16 / 10; margin-bottom: 16px; border: 1px dashed #d8cfb4; border-radius: 6px; background: #fcfbf7; padding: 14px; }
.doc__title { font-size: .85rem; font-weight: 600; color: var(--navy); }
.doc__note { font-size: .72rem; color: var(--ink-3); }
.doc-card h3 { font-size: 1rem; margin-bottom: 4px; }
.doc-card p { font-size: .875rem; color: var(--ink-3); }

/* ---------- why ---------- */
.why { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 560px) { .why { grid-template-columns: 1fr 1fr; } }
.why li { position: relative; background: var(--bg-alt); padding: 15px 18px 15px 42px; font-size: .9375rem; }
.why li::before {
  content: ''; position: absolute; left: 18px; top: 1.35em; width: 12px; height: 7px;
  border-left: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: rotate(-45deg);
}

/* ---------- record ---------- */
.record { border-top: 1px solid var(--line); }
.record li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 768px) { .record li { grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; } }
.record__n { font-size: .8rem; font-weight: 600; color: var(--gold-d); }
.record h3 { font-size: 1.05rem; }
.record p { font-size: .9rem; color: var(--ink-2); margin-top: 3px; }
.record__loc { grid-column: 2; font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
@media (min-width: 768px) { .record__loc { grid-column: auto; } }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(5, 1fr); } }
.clients li { display: grid; place-items: center; gap: 12px; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; transition: border-color .25s; }
.clients li:hover { border-color: #cdd4dc; }
.clients img { height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .66; transition: filter .3s, opacity .3s; }
.clients li:hover img { filter: none; opacity: 1; }
.clients span { font-size: .78rem; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; }
.faq__item button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 0; text-align: left; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }
.faq__item button:hover { color: var(--red); }
.faq__ico { position: relative; flex: none; width: 20px; height: 20px; }
.faq__ico::before, .faq__ico::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.faq__ico::before { width: 13px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__ico::after { width: 1.5px; height: 13px; transform: translate(-50%, -50%); }
.faq__item button[aria-expanded='true'] .faq__ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__body > div { overflow: hidden; }
.faq__item.open .faq__body { grid-template-rows: 1fr; }
.faq__body p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.contact__copy h2 { margin-bottom: 16px; }
.contact__dl { margin: 28px 0 0; }
.contact__dl dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .78); }
.contact__dl dd { margin: 5px 0 0; color: #fff; }
.form { display: grid; gap: 14px; }
@media (min-width: 620px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: span 2; } }
.form label { display: block; }
.form label > span { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: rgb(255 255 255 / .62); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px; font: inherit; font-size: .9375rem; color: #fff;
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .18); outline: none;
  transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; }
.form select { appearance: none; }
.form option { color: var(--ink); }
.form ::placeholder { color: rgb(255 255 255 / .4); }
.form :focus { border-color: var(--gold); background: rgb(255 255 255 / .1); }
.form .invalid { border-color: #ff8b84; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: .875rem; color: rgb(255 255 255 / .75); }

/* ---------- footer ---------- */
.footer { background: var(--navy-d); color: rgb(255 255 255 / .7); }
.footer__grid { display: grid; gap: 34px; padding-block: 56px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__brand .logo { display: inline-block; padding: 10px 14px; background: #fff; border-radius: 8px; }
.footer__brand .logo img { height: 50px; }
.footer__brand p { margin-top: 18px; max-width: 30rem; font-size: .9375rem; }
.footer__brand strong { color: #fff; }
.footer h2 { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer ul { margin-top: 16px; display: grid; gap: 9px; }
.footer a { font-size: .9375rem; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer address { margin-top: 16px; font-style: normal; font-size: .9375rem; line-height: 1.7; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; }
.social a:hover { background: #fff; }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social a:hover svg { fill: var(--navy); }
.footer__bar { border-top: 1px solid rgb(255 255 255 / .12); }
.footer__bar .wrap { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; font-size: .85rem; }
@media (min-width: 700px) { .footer__bar .wrap { flex-direction: row; justify-content: space-between; } }

[hidden] { display: none !important; }
