/* AAI site styles. Brand: AAI Red #8C1200, AAI Gray #615F5F, sans-serif only.
   The live Wix site uses a brighter red (#ED1C24-ish) on its buttons; this preview uses
   the brand red for accents and keeps the dark theme of the live site. */
:root {
  --red: #8C1200;
  --btn-red: #E3120B;
  --gray: #615F5F;
  --panel: #3a3a3a;
  --text: #e6e6e6;
  --muted: #a9a9a9;
  --bg: #000;
  --font: 'Gotham', 'Montserrat', 'Arial', 'Helvetica Neue', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 6px 10px; z-index: 10; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 8px 40px; background: linear-gradient(90deg, #111 0%, #333 60%, #8a8a8a 100%); border-bottom: 18px solid #9a9a9a; }
.logo img { display: block; width: 160px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; background: #050505; border-radius: 22px; padding: 10px 28px; font-size: 13px; }
.nav a { text-decoration: none; color: #fff; }
.nav a:hover { color: #ff6b5f; }

.btn { display: inline-block; text-decoration: none; border-radius: 22px; padding: 10px 22px; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; font-family: var(--font); }
.btn-red { background: var(--btn-red); color: #fff; }
.btn-red:hover { background: var(--red); }
.btn-gray { background: #7a7a7a; color: #fff; }
.btn-dark { background: #000; color: #fff; }
.btn-row { margin: 18px 0; }

.sec { padding: 56px 40px; }
.sec-bg { background-size: cover; background-position: center; }
.row { display: flex; flex-wrap: wrap; gap: 32px 40px; max-width: 1360px; margin: 0 auto; align-items: flex-start; }
.col { min-width: 0; }
.col.center { text-align: center; }
.blk-img { display: block; width: 100%; border-radius: 4px; margin: 0 0 16px; }
.rich h1 { font-size: 34px; font-weight: 400; line-height: 1.3; margin: 0 0 18px; color: #fff; }
.rich h2 { font-size: 22px; font-weight: 400; margin: 0 0 14px; color: #fff; }
.rich h3 { font-size: 20px; font-weight: 400; margin: 0 0 10px; color: #ff3b30; }
.rich h4, .rich h5, .rich h6 { color: #fff; margin: 0 0 8px; }
.rich p, .rich li { margin: 0 0 12px; color: var(--text); }
.muted { color: var(--muted); }
.embed { width: 100%; border: 0; display: block; }

.faq details { background: #1d1d1d; border: 1px solid #333; border-radius: 4px; margin: 8px 0; padding: 12px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--text); }

.aai-form { max-width: 700px; background: #cfcfcf; color: #111; padding: 28px; border-radius: 4px; }
.aai-form-light { background: #fff; max-width: 500px; }
.aai-form label { display: block; font-size: 13px; margin: 0 0 14px; }
.aai-form input, .aai-form textarea { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 0; border-bottom: 1px solid #333; background: transparent; font: inherit; }
.aai-form textarea { min-height: 110px; border: 1px solid #555; }
.grid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }

.site-footer { background: #2b2b2b; padding: 40px 40px 20px; font-size: 13px; color: #bdbdbd; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; max-width: 1360px; margin: 0 auto; }
.foot-cols > div { flex: 1 1 180px; }
.foot-cols .foot-news { flex: 2 1 320px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 13px; }
.site-footer p { margin: 0 0 6px; }
.news-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.news-form label { flex: 1 1 200px; }
.news-form input { display: block; width: 100%; margin-top: 4px; padding: 8px 12px; border-radius: 18px; border: 1px solid #777; background: transparent; color: #fff; }
.badges { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 28px 0 8px; }
.badges img { width: auto; max-height: 90px; }
.copy { font-size: 11px; color: #888; margin: 8px 0 0; }

@media (max-width: 760px) {
  .site-header { padding: 8px 16px; justify-content: center; }
  .sec { padding: 40px 16px; }
  .site-footer { padding: 32px 16px 16px; }
  .grid2 { grid-template-columns: 1fr; }
  .rich h1 { font-size: 26px; }
}

/* Rich text: the wrapper carries the live font size / color; children inherit it. */
.rich[style] h1, .rich[style] h2, .rich[style] h3, .rich[style] h4,
.rich[style] h5, .rich[style] h6, .rich[style] p, .rich[style] li { font-size: inherit; color: inherit; font-weight: 400; }
.rich[style] h1, .rich[style] h2 { line-height: 1.3; }
.f-mont { font-family: 'Montserrat', 'Gotham', 'Arial', sans-serif; }
.f-body { font-family: 'Gotham', 'Arial', 'Helvetica Neue', sans-serif; }
.has-page-bg { background-repeat: no-repeat; background-position: right 120px; background-size: 45% auto; }
.rich[style*="text-align:center"] ul, .rich[style*="text-align:center"] ol { list-style-position: inside; padding-left: 0; }
.blk-img { margin-left: auto; margin-right: auto; }

/* ---- Lists inside rich text: the live markup wraps every li in a p. Keep the
   marker on the same line as the text (it was rendering as a lone dot above it). */
.rich li > p { display: inline; margin: 0; }
.rich ul, .rich ol { margin: 0 0 14px; padding-left: 28px; }
.rich li { margin: 0 0 2px; }

/* ---- Gray panels (live: #333 block, 1240px wide, content inset) ---- */
.panel { max-width: 1240px; margin: 0 auto; background: #333; }
.panel-outline { background: transparent; border: 1px solid #3a3a3a; }
.cards { display: grid; }
.card { padding: 30px 40px 48px 69px; border-right: 1px solid #292929; border-bottom: 1px solid #4f4f4f; min-width: 0; }
.card:last-child { border-right: 0; }
.cards:last-child .card { border-bottom: 0; }
.panel-outline .card { border-color: #3a3a3a; }
.card > .rich { max-width: 400px; }
.card > .rich + .rich { max-width: 360px; margin-top: 28px; }
.card-h { position: relative; }
.card-h::before { content: ""; position: absolute; left: -29px; top: 0; width: 6px; height: 50px; border-radius: 3px; background: #7d7d7d; }
.card-h h1, .card-h h2, .card-h h3 { margin: 8px 0 0; }
.card .rich p { line-height: 1.8; }

/* section heading drawn as a gray label tab (about Core Values) */
.sec-label { padding-bottom: 0; }
.sec-label-h { max-width: 1240px; margin: 0 auto; }
.sec-label-h h1, .sec-label-h h2, .sec-label-h h3 { display: inline-block; min-width: 300px; background: #7a7a7a; color: #111 !important;
  font-weight: 700 !important; font-size: 17px !important; padding: 14px 20px; margin: 0; border-radius: 6px 6px 0 0; }
.sec-label + .sec { padding-top: 0; }

/* materials: 3 equal columns, label tab, image, ruled item list */
.panel-mat { margin-top: -24px; }
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 846px; }
.mat-col { padding: 0 60px 40px; border-right: 1px solid #262626; min-width: 0; }
.mat-col:last-child { border-right: 0; }
.mat-label { margin: 0 0 40px 30px; }
.mat-label h1, .mat-label h2, .mat-label h3 { display: inline-block; background: #808080; color: #111 !important; font-weight: 700 !important;
  padding: 12px 20px; margin: 0; border-radius: 0 0 6px 6px; line-height: 1.25; }
.mat-label h2 { border-radius: 6px; }
.mat-img { border-radius: 6px; max-width: 282px; aspect-ratio: 282 / 175; object-fit: cover; margin: 0 0 44px; }
.mat-list { max-width: 282px; margin: 0 auto; min-height: 400px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 42px, #555 42px, #555 43px); }
.mat-item { background: #333; border-bottom: 1px solid #555; padding: 4px 0 6px; margin: 0 0 14px; }
.mat-item .rich p { margin: 0; line-height: 1.3; text-decoration: underline; }

/* about team block: stacked text left, printer render with headshots overlaid right */
.panel-team { padding: 30px 60px 60px; }
.team { display: flex; gap: 40px 120px; flex-wrap: wrap; align-items: flex-start; }
.team-text { flex: 1 1 480px; min-width: 0; }
.team-text .rich { margin: 0 0 24px; }
.team-text .rich p { margin: 0; }
.team-pic { position: relative; flex: 1 1 320px; aspect-ratio: 449 / 521; background: #1b1b1b; }
.team-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.9); }
.team-head { position: absolute; object-fit: cover; }
.team-head:first-of-type { border-radius: 8px; }

/* instant-quote panel and its lead-time block */
.panel-iq { background: #292929; max-width: 1280px; padding: 10px 0 20px; }
.panel-iq .row { gap: 0; }
.panel-iq .rich p { margin: 0; }
.panel-iq .rich p:empty { display: none; }
.iq-strong { font-weight: 700 !important; margin-top: 18px !important; }
.iq-tips { font-size: 20px; }
.iq-left { padding: 0 60px; }
.iq-title { text-align: center; font-weight: 700 !important; text-decoration: underline; margin-top: 20px !important; }
.iq-left .iq-h { font-weight: 700 !important; margin: 28px 0 2px; font-size: 18px; }
.iq-small, .iq-left li { font-size: 14px !important; }
.iq-left ul { margin: 2px 0 0; padding-left: 26px; list-style: disc outside; }
.iq-c { text-align: center; }

@media (max-width: 760px) {
  .cards, .mat-grid { grid-template-columns: 1fr !important; }
  .card { padding: 24px 20px 32px 48px; border-right: 0; }
  .mat-col { border-right: 0; padding: 0 20px 24px; }
  .panel-team { padding: 24px 16px; }
  .iq-left { padding: 0 16px; }
}

/* tweaks after the first compare pass */
.mat-item .rich p { font-weight: 700; }
.mat-img { width: 282px; height: 175px; }
.team-pic { flex: 0 1 449px; }
.iq-c + .iq-c { margin-top: 0 !important; }
.mat-label { min-height: 70px; }
