/* ==========================================================================
   ACI Oilfield Services — site styles
   Brand: red #9C282B · blue #265680 · dot blue #2E5D7E
   ========================================================================== */

:root {
  --red: #9c282b;
  --red-dark: #7f1f22;
  --blue: #265680;
  --blue-dark: #1b4061;
  --navy: #12283c;
  --navy-2: #0c1d2c;
  --ink: #1d2733;
  --text: #3b4754;
  --muted: #5f6b78;
  --line: #dde3ea;
  --tint: #f3f6f9;
  --white: #fff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(18, 40, 60, .06), 0 6px 20px rgba(18, 40, 60, .07);
  --shadow-lg: 0 10px 40px rgba(18, 40, 60, .16);
  --container: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.2rem; color: var(--ink); }
.h-small { font-size: 1.05rem; margin-top: 1.4em; }
.visually-hidden, .sr-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .7em; }
.eyebrow--light { color: #f0b4b5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.3em; border-radius: var(--radius-sm); border: 2px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9eef3; color: var(--ink); }
.btn--ghost { color: var(--blue); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: .55em 1em; font-size: .92rem; }
.btn--lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d4df; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__tag { font-weight: 600; letter-spacing: .02em; }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #f0b4b5; }
@media (max-width: 760px) { .topbar__tag { display: none; } .topbar__inner { justify-content: center; } .topbar__contact a:last-child { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { width: 108px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav ul a { display: block; padding: .5em .8em; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm); }
.site-nav ul a:hover { color: var(--blue); background: var(--tint); }
.site-nav ul a[aria-current="page"] { color: var(--red); }
.site-nav__actions { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon--close { display: none; }

@media (max-width: 1020px) {
  .site-header__inner { min-height: 70px; }
  .brand img { width: 88px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 22px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .8em .6em; border-bottom: 1px solid var(--tint); border-radius: 0; }
  .site-nav__actions { flex-direction: column; }
  .site-nav__actions .btn { width: 100%; padding: .85em; }
  .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--close { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 29, 44, .94) 0%, rgba(12, 29, 44, .82) 45%, rgba(12, 29, 44, .35) 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(56px, 9vw, 110px); padding-bottom: clamp(56px, 9vw, 110px); }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero__lead { font-size: 1.2rem; color: #dbe4ec; max-width: 40em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__card { background: rgba(255, 255, 255, .97); color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); }
.hero__card h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.hero__card h2 .icon { color: var(--red); }
.hero__card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.hero__card li + li { border-top: 1px solid var(--line); }
.hero__card li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--ink); }
.hero__card li span { color: var(--muted); font-size: .92rem; }
.hero__card li strong { color: var(--blue); }
.hero__card li a:hover strong { color: var(--red); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; gap: 32px; } .hero::after { background: rgba(12, 29, 44, .85); } }

/* ---------- Key facts strip ---------- */
.strip { background: var(--blue); color: #e3ecf4; }
.strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; font-size: .95rem; line-height: 1.45; }
.strip__item + .strip__item { border-left: 1px solid rgba(255, 255, 255, .18); }
.strip__item .icon { width: 30px; height: 30px; color: #fff; margin-top: 2px; }
.strip__item strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
@media (max-width: 800px) { .strip__inner { grid-template-columns: 1fr; } .strip__item + .strip__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--narrow { padding: 56px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c9d4df; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid--4 { grid-template-columns: 1fr; } }

.service-card, .equip-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.service-card:hover, .equip-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.service-card h3, .equip-card h3 { margin-top: 4px; }
.service-card p, .equip-card p { flex: 1; font-size: .98rem; }
.service-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(38, 86, 128, .1); color: var(--blue); margin-bottom: 16px; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--red); font-size: .95rem; }
.equip-card { border-top: 4px solid var(--blue); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { display: flex; gap: 12px; padding: 7px 0; }
.checklist .icon { color: var(--red); margin-top: .25em; }
.checklist--light .icon { color: #f0b4b5; }
.checklist--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .checklist--2col { grid-template-columns: 1fr; } }

.loc-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.loc-list li { border-left: 3px solid var(--red); padding-left: 14px; line-height: 1.45; }
.loc-list strong { display: block; color: #fff; }
@media (max-width: 520px) { .loc-list { grid-template-columns: 1fr; } }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.section--tint .why { border-color: transparent; box-shadow: var(--shadow); }
.why > .icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
.why p { margin: 0; font-size: .98rem; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Logos ---------- */
.logos { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__h { text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.logos__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.logos__grid img { height: 42px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos__grid li:hover img { filter: none; opacity: 1; }
@media (max-width: 600px) { .logos__grid { gap: 22px 30px; } .logos__grid img { height: 32px; max-width: 120px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%); color: #fbe9e9; padding: 56px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--primary { background: var(--navy); }
.cta-band .btn--primary:hover { background: var(--navy-2); }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy) linear-gradient(120deg, var(--navy-2) 0%, var(--navy) 55%, var(--blue-dark) 100%); color: #c9d4df; padding: 44px 0 56px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero__lead { font-size: 1.2rem; max-width: 46em; margin: 0; color: #dbe4ec; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #7f93a6; }
.crumbs a { color: #c9d4df; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Services list ---------- */
.service-list { display: grid; gap: 28px; }
.service-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.service-row__body { padding: 30px; }
.service-row__body h2 { font-size: 1.5rem; }
.service-row__body h2 a { color: var(--ink); text-decoration: none; }
.service-row__body h2 a:hover { color: var(--blue); }
@media (max-width: 780px) { .service-row { grid-template-columns: 1fr; } .service-row__media img { min-height: 0; aspect-ratio: 16 / 9; } }

.tags { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--tint); color: var(--blue-dark); border-radius: 999px; padding: .3em .85em; font-size: .88rem; font-weight: 600; }
.tags a { color: inherit; text-decoration: none; }
.tags a:hover { text-decoration: underline; }
.tags--lg li { font-size: .95rem; padding: .4em 1em; background: #fff; border: 1px solid var(--line); }

/* ---------- Detail layout (service / equipment) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail__main h2 { margin-top: 1.6em; font-size: 1.5rem; }
.detail__figure { margin: 0 0 28px; }
.detail__figure img { width: 100%; border-radius: var(--radius); max-height: 440px; object-fit: cover; }
.detail__side { position: sticky; top: 110px; display: grid; gap: 20px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h2 { font-size: 1.15rem; }
.side-card--accent { border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.side-card__contact { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; }
.side-card__contact li + li { margin-top: 8px; }
.side-card__contact a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.side-card__contact--lg li + li { margin-top: 14px; }
.side-card__contact--lg a { align-items: flex-start; color: var(--muted); }
.side-card__contact--lg strong { color: var(--blue); font-size: 1.15rem; }
.side-card__contact--lg .icon { margin-top: 4px; color: var(--red); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 600; }
.side-links a:hover { color: var(--blue); }
.side-links .icon { color: var(--blue); }
.link-strong { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; }

/* ---------- Equipment ---------- */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.model { padding: 24px; border-radius: var(--radius); background: var(--tint); }
.model .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 10px; }
.model h2 { font-size: 1.15rem; margin-bottom: .3em; }
.model p { margin: 0; font-size: .97rem; }
@media (max-width: 780px) { .model-grid { grid-template-columns: 1fr; } }

.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cat { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); }
.cat h3 a { color: var(--ink); text-decoration: none; }
.cat h3 a:hover { color: var(--blue); }
@media (max-width: 780px) { .cat-list { grid-template-columns: 1fr; } }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--blue); }
.product-card__model { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.product-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--ink); font-weight: 650; background: var(--tint); }

.notice { background: var(--tint); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 20px 22px; }
.notice h2 { font-size: 1.2rem; margin-top: 0 !important; }
.notice p:last-child { margin-bottom: 0; }
.notice .btn { margin-top: 6px; }

/* ---------- Locations ---------- */
.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.region { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.region h2 { font-size: 1.3rem; display: flex; gap: 8px; align-items: center; }
.region h2 .icon { color: var(--red); }
.region p { margin-bottom: .6em; }
.region--main { grid-column: 1 / -1; background: var(--tint); border-color: transparent; }
@media (max-width: 700px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact__side { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; font-size: .97rem; padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .7em .85em; border: 1.5px solid #c5ced8; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 86, 128, .18); }
.field textarea { resize: vertical; min-height: 140px; }
.field--error input, .field--error textarea { border-color: var(--red); }
.field__err { color: var(--red); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field--radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.field--radios legend { width: 100%; }
.radio { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--red); }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.form-note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 24px; }
.alert h2 { font-size: 1.3rem; }
.alert p:last-child { margin-bottom: 0; }
.alert--ok { background: #e8f4ec; border-left: 4px solid #2f7d4a; color: #1f4d2f; }
.alert--ok h2 { color: #1f4d2f; }
.alert--err { background: #fbecec; border-left: 4px solid var(--red); color: #6d1b1d; font-weight: 600; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #a9b7c5; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand img { width: 128px; margin-bottom: 18px; }
.site-footer__h { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: #d3dde7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact a { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 4px; color: #f0b4b5; }
.site-footer__contact strong { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__legal .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.site-footer__legal p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Print ---------- */
@media print { .topbar, .site-header, .cta-band, .site-footer, .detail__side { display: none; } .page-hero { background: none; color: #000; padding: 0; } .page-hero h1 { color: #000; } }

/* ---------- Customer showcase (scrolling) ---------- */
.logos--marquee { padding-bottom: 48px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 8px 0; display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; }
.marquee__track img { height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 32px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0 20px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .marquee__track { gap: 40px; animation-duration: 35s; } .marquee__track img { height: 34px; max-width: 130px; } }

/* ---------- Service photo gallery ---------- */
.gallery { display: grid; gap: 14px; margin: 8px 0 28px; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 560px) { .gallery--2, .gallery--3 { grid-template-columns: 1fr; } }

/* ---------- Phone reveal (contact page) ---------- */
.phone-reveal p { font-size: .95rem; color: var(--muted); }
.phone-reveal__btn .icon { color: currentColor; }
.phone-reveal__list { margin-top: 0; }
.hero__card .btn--block { margin: 6px 0 4px; }
.phone-reveal__err { color: var(--red) !important; font-weight: 600; margin-top: 10px; }

/* Equipment cards on the homepage: fit 5 across on wide screens */
@media (min-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }

/* Per-logo size boost for square/stacked logos ('scale' in app/data/clients.php) */
.logos__grid img { height: calc(42px * var(--s, 1)); }
.marquee__track img { height: calc(44px * var(--s, 1)); }
@media (max-width: 600px) {
  .logos__grid img { height: calc(32px * var(--s, 1)); }
  .marquee__track img { height: calc(34px * var(--s, 1)); }
}
