/* Gayatri Aircon Pvt. Ltd. - site stylesheet */

:root {
  --ink: #0c2438;
  --ink-2: #1b3a55;
  --text: #23384a;
  --muted: #566a7a;
  --line: #d3dee7;
  --line-soft: #e6eef4;
  --paper: #ffffff;
  --stone: #eef4f8;
  --stone-2: #e1ecf3;
  --accent: #0a6ba3;
  --accent-dark: #085a8a;
  --logo-blue: #1ea2d8;
  --on-dark: #5cc4ee;
  --blue: #1ea2d8;
  --blue-dark: #0a6ba3;
  --ok: #2f7d4f;
  --radius: 3px;
  --wrap: 1200px;
  --head-font: "Archivo", "Segoe UI", Arial, sans-serif;
  --body-font: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono-font: "IBM Plex Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--head-font);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1 var(--body-font);
  padding: .95em 1.4em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  text-align: center;
  min-height: 46px;
}
.btn-red { background: var(--accent); color: #fff; }
.btn-red:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.link-arrow:hover { color: var(--accent); }
.link-arrow::after { content: " \2192"; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #c3d3e0; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--on-dark); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .sep { color: #3d5a73; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 500 .95rem var(--body-font);
  color: var(--ink);
  padding: 10px 12px;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"] { color: var(--accent); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.dd { position: relative; }
.dd > button svg { width: 12px; height: 12px; }
.dd-panel {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent);
  padding: 8px 0; display: none; box-shadow: 0 10px 24px rgba(12,36,56,.08);
}
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { display: block; }
.dd-panel a { display: block; padding: 8px 18px; color: var(--ink); font-size: .93rem; }
.dd-panel a:hover { background: var(--stone); color: var(--accent); }
.dd-panel .dd-all { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 10px; font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { font-weight: 600; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.header-phone small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-weight: 500; }
.mobile-nav .mn-label { padding: 14px 20px 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mobile-nav .mn-sub a { padding-left: 34px; font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.bg-stone { background: var(--stone); }
.bg-ink { background: var(--ink); color: #c9d8e4; }
.bg-ink h2, .bg-ink h3, .bg-ink strong { color: #fff; }
.rule-top { border-top: 1px solid var(--line); }
.kicker {
  display: inline-block; font: 600 .78rem/1 var(--body-font);
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
  margin-bottom: 14px; padding-top: 12px; border-top: 2px solid var(--logo-blue);
}
.bg-ink .kicker { color: var(--on-dark); border-color: var(--on-dark); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head p { max-width: 560px; margin: 10px 0 0; color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-2.center { align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cols-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

/* ---------- Hero ---------- */
.hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 30px; }
.hero-creds { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--muted); padding-top: 22px; border-top: 1px solid var(--line); }
.hero-creds span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--logo-blue); margin-right: 8px; vertical-align: middle; }
.hero-figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: 10px; }
.hero-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; }
figcaption { font-size: .82rem; color: var(--muted); padding-top: 10px; line-height: 1.45; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures div { padding: 26px 24px; border-left: 1px solid var(--line); }
.figures div:first-child { border-left: 0; padding-left: 0; }
.figures b { display: block; font: 800 2.1rem/1 var(--head-font); color: var(--ink); letter-spacing: -.02em; }
.figures span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* ---------- Page header ---------- */
.page-head { background: var(--stone); border-bottom: 1px solid var(--line); padding: 44px 0 48px; }
.page-head h1 { max-width: 900px; margin-bottom: 14px; }
.page-head .lead { max-width: 760px; margin: 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9db0bf; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Service list (rows) ---------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) 160px; gap: 28px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line); color: inherit;
}
.svc-row:hover { background: linear-gradient(90deg, var(--stone), transparent); color: inherit; }
.svc-row img { width: 120px; height: 90px; object-fit: contain; background: #fff; border: 1px solid var(--line-soft); padding: 6px; }
.svc-row h3 { margin: 0 0 4px; font-size: 1.15rem; }
.svc-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.svc-row .go { justify-self: end; font-weight: 600; color: var(--ink); font-size: .9rem; }
.svc-row:hover .go { color: var(--accent); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; border-top: 1px solid rgba(255,255,255,.18); }
.steps li { counter-increment: step; padding: 24px 22px 0 0; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 .85rem var(--mono-font); color: var(--on-dark); margin-bottom: 12px; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--on-dark); }
.steps h3 { font-size: 1.02rem; margin-bottom: 8px; }
.steps p { font-size: .9rem; color: #a9bccb; margin: 0; }
.bg-stone .steps, .steps.light { border-top-color: var(--line); }
.steps.light li::before { color: var(--accent); }
.steps.light li::after { background: var(--accent); }
.steps.light p { color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
td a { color: var(--ink); font-weight: 600; }
td a:hover { color: var(--accent); }
.spec-table th { width: 38%; text-transform: none; letter-spacing: 0; font-size: .93rem; color: var(--ink); font-weight: 600; }
.spec-table td { color: var(--text); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.area { padding: 26px 22px 26px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.area:last-child { border-right: 0; margin-right: 0; }
.area h3 { margin-bottom: 4px; }
.area h3 a { color: var(--ink); }
.area h3 a:hover { color: var(--accent); }
.area .st { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 12px; }
.area p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; aspect-ratio: 3 / 2; }
.logo-grid img { max-height: 64px; width: auto; object-fit: contain; transition: transform .2s; }
.logo-grid div:hover img { transform: scale(1.05); }
.logo-grid.large { grid-template-columns: repeat(6, 1fr); }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.cert button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 8px; }
.cert h3 { font-size: .98rem; margin: 12px 0 4px; }
.cert p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.5; }
dialog.lightbox { border: 0; padding: 0; max-width: min(92vw, 900px); background: #fff; }
dialog.lightbox::backdrop { background: rgba(10,16,22,.82); }
dialog.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
dialog.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .9rem; }
dialog.lightbox button { background: var(--ink); color: #fff; border: 0; padding: 8px 14px; cursor: pointer; border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.05rem/1.4 var(--head-font); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--body-font); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 40px 22px 0; color: var(--text); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Articles ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.post { border-top: 1px solid var(--ink); padding-top: 18px; }
.post .meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { margin: 10px 0 10px; font-size: 1.15rem; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--accent); }
.post p { font-size: .94rem; color: var(--muted); }

.prose { font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: 1.55rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink-2); }

/* ---------- Sidebar ---------- */
.aside-box { border: 1px solid var(--line); padding: 26px; background: #fff; }
.aside-box + .aside-box { margin-top: 22px; }
.aside-box h3 { font-size: 1.05rem; }
.aside-box.dark { background: var(--ink); border-color: var(--ink); color: #c3d3e0; }
.aside-box.dark h3 { color: #fff; }
.sticky { position: sticky; top: 100px; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 18px; font-size: .94rem; }
.contact-lines li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.aside-box.dark .contact-lines li { border-color: rgba(255,255,255,.1); }
.aside-box.dark .contact-lines b { color: #8aa1b4; }
.aside-box.dark a { color: #fff; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 0 0 10px 26px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--logo-blue); border-bottom: 2px solid var(--logo-blue); transform: rotate(-45deg); }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cols-list { columns: 2; column-gap: 40px; }
.cols-list li { break-inside: avoid; }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.office { padding: 24px 24px 24px 0; }
.office + .office { padding-left: 24px; border-left: 1px solid var(--line); }
.office .tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 600; }
.office h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.office address { font-style: normal; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.map-frame { border: 1px solid var(--line); background: var(--stone); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .98rem var(--body-font); color: var(--ink);
  padding: 12px 14px; border: 1px solid #b3c4d1; border-radius: var(--radius); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,162,216,.2); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form-note { font-size: .84rem; color: var(--muted); }
.notice { padding: 16px 18px; border-left: 3px solid var(--ok); background: #eef6f1; margin-bottom: 24px; color: var(--ink); }
.notice.err { border-color: #c62828; background: #fdf0f0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #c3d3e0; padding: 56px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #081a2a; color: #a9bccb; font-size: .92rem; padding-top: 64px; }
.site-footer a { color: #d7dee4; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h2 { font: 600 .78rem var(--body-font); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.foot-logo { background: #fff; display: inline-block; padding: 8px 12px; margin-bottom: 18px; }
.foot-logo img { height: 40px; width: auto; }
.foot-reg { border-top: 1px solid #173149; padding: 18px 0; font-size: .8rem; color: #8aa1b4; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom { border-top: 1px solid #173149; padding: 18px 0 22px; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }



/* ---------- Misc ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.brand-strip span { font: 600 1rem var(--head-font); color: var(--ink-2); padding: 0 22px; border-left: 1px solid var(--line); }
.brand-strip span:first-child { border-left: 0; padding-left: 0; }
.figure-box { margin: 0; border: 1px solid var(--line); background: #fff; padding: 10px; }
.figure-box img { width: 100%; }
.product-img { background: #fff; border: 1px solid var(--line); padding: 24px; }
.product-img img { margin: 0 auto; max-height: 340px; width: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .84rem; border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--radius); background: #fff; }
.note { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; }
.pagination { display: flex; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span { border: 1px solid var(--line); padding: 8px 14px; color: var(--ink); }
.pagination span { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a { border: 1px solid var(--line); padding: 7px 14px; color: var(--ink); font-size: .9rem; border-radius: var(--radius); }
.filters a.on, .filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.err-page { padding: 100px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: inline-block; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area:nth-child(3) { border-right: 0; margin-right: 0; }
  .logo-grid, .logo-grid.large { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr 1fr; }
  .office:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .hero .wrap, .grid-2, .cols-main { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .post-list { grid-template-columns: 1fr 1fr; }
  .grid-4, .certs { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sticky { position: static; }
  .section { padding: 60px 0; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 44px; }
  .brand img { height: 40px; }
  .site-header .wrap { min-height: 66px; }
  .header-cta .btn { display: none; }
  .grid-3, .post-list, .grid-4, .certs { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .svc-row img { width: 84px; height: 66px; }
  .svc-row .go { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .logo-grid, .logo-grid.large { grid-template-columns: repeat(3, 1fr); }
  .logo-grid div { padding: 10px; }
  .form { grid-template-columns: 1fr; }
  .foot-grid, .offices { grid-template-columns: 1fr; }
  .office + .office { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .cols-list { columns: 1; }
  .figures b { font-size: 1.7rem; }
  .topbar-left .hide-xs { display: none; }
  .site-footer { padding-bottom: 80px; }
  .map-frame iframe { height: 300px; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .app-bar { display: none; }
}

/* =========================================================
   Motion, brands, industries, landing pages, mobile app bar
   ========================================================= */

/* Hero (home) */
.hero-home { position: relative; overflow: hidden; }
.hero-home .wrap { position: relative; z-index: 1; }
.airflow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.airflow path { fill: none; stroke: var(--logo-blue); stroke-width: 1.4; opacity: .3; stroke-dasharray: 6 14; animation: flow 6s linear infinite; vector-effect: non-scaling-stroke; }
.airflow path:nth-child(2) { stroke: var(--ink-2); opacity: .14; animation-duration: 8s; }
.airflow path.slow { animation-duration: 14s; opacity: .14; }
@keyframes flow { to { stroke-dashoffset: -200; } }

.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .28s; }
.hero-copy > *:nth-child(4) { animation-delay: .4s; }
.hero-copy > *:nth-child(5) { animation-delay: .52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-stage { position: relative; opacity: 0; animation: rise 1s .25s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-slides { position: relative; aspect-ratio: 16 / 11; padding: 10px; }
.hero-slides .slide { position: absolute; inset: 10px; opacity: 0; animation: slideshow 18s infinite; display: flex; flex-direction: column; overflow: hidden; }
.hero-slides .slide:nth-child(1) { animation-delay: 0s; }
.hero-slides .slide:nth-child(2) { animation-delay: 6s; }
.hero-slides .slide:nth-child(3) { animation-delay: 12s; }
.hero-slides .slide img { flex: 1; min-height: 0; width: 100%; aspect-ratio: auto; object-fit: cover; animation: kenburns 18s infinite linear; }
.hero-slides .slide figcaption { background: #fff; position: relative; z-index: 1; }
@keyframes slideshow { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kenburns { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1.06); } }
.hero-badge { position: absolute; right: -18px; top: -18px; z-index: 2; background: var(--ink); color: #c3d3e0; padding: 16px 20px; max-width: 240px; border-left: 3px solid var(--logo-blue); box-shadow: 0 14px 30px rgba(12,36,56,.18); }
.hero-badge b { display: block; font: 800 2rem/1 var(--head-font); color: #fff; }
.hero-badge span { font-size: .84rem; line-height: 1.4; display: block; margin-top: 6px; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.industries .ind:nth-child(4n+2) { transition-delay: .08s; }
.industries .ind:nth-child(4n+3) { transition-delay: .16s; }
.industries .ind:nth-child(4n+4) { transition-delay: .24s; }

/* Micro interactions */
.btn { position: relative; overflow: hidden; }
.btn-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn-red:hover::after { transform: translateX(120%); }
.svc-row .go::after { content: " \2192"; display: inline-block; transition: transform .2s; }
.svc-row:hover .go::after { transform: translateX(4px); }
.svc-row img { transition: transform .3s; }
.svc-row:hover img { transform: scale(1.05); }
.site-header { transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(12,36,56,.08); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { display: block; padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); transition: background-color .2s, opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); position: relative; }
.ind::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width .3s; }
.ind:hover { background: var(--stone); color: var(--text); }
.ind:hover::before { width: 100%; }
.ind svg { width: 34px; height: 34px; fill: none; stroke: var(--logo-blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 14px; }
.ind h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ind p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; text-align: center; transition: background-color .2s; }
.brand-tile img { height: 46px; width: auto; max-width: 100%; object-fit: contain; transition: transform .25s; }
.brand-tile span { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.brand-tile:hover { background: var(--stone); }
.brand-tile:hover img { transform: scale(1.06); }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.logo-row img { height: 34px; width: auto; }
.matrix th, .matrix td { padding: 12px 10px; font-size: .88rem; }
.matrix td.c, .matrix th:not(:first-child) { text-align: center; }
.matrix .yes { color: var(--ok); font-weight: 700; }
.matrix .no { color: #b3c4d1; }

/* Landing pages */
.lp-hero .wrap { align-items: start; }
.lp-form { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--logo-blue); padding: 28px; box-shadow: 0 18px 40px rgba(12,36,56,.08); }
.lp-form h2 { font-size: 1.4rem; margin-bottom: 4px; }

/* Mobile app bar */
.app-bar { display: none; }
@media (max-width: 900px) {
  .industries { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-badge { right: 12px; top: -14px; }
}
@media (max-width: 640px) {
  .industries { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-tile img { height: 38px; }
  .hero-badge { position: relative; left: 0; bottom: 0; margin-top: 12px; max-width: none; }
  .hero-slides { aspect-ratio: 4 / 3.4; }
  .app-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(12,36,56,.06);
  }
  .app-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: .68rem; font-weight: 600; padding: 4px 0; -webkit-tap-highlight-color: transparent; }
  .app-bar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
  .app-bar a:active svg { transform: scale(.88); }
  .app-bar a.on { color: var(--accent); }
  .app-bar .app-call { color: var(--ink); }
  .app-bar .app-call svg { width: 52px; height: 52px; padding: 13px; margin-top: -28px; background: var(--accent); stroke: #fff; border-radius: 50%; box-shadow: 0 6px 16px rgba(10,107,163,.4); border: 3px solid #fff; animation: ring 3.5s ease-in-out infinite; }
  @keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
  .mobile-nav { max-height: calc(100vh - 66px); overflow-y: auto; padding-bottom: 80px; }
  .topbar { display: none; }
}

/* Service cards (home) */
.btn-sm { min-height: 40px; padding: .7em 1.05em; font-size: .88rem; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--logo-blue); transition: box-shadow .25s, transform .25s, border-color .25s, opacity .7s ease; }
.svc-card:hover { box-shadow: 0 16px 34px rgba(12,36,56,.1); transform: translateY(-3px); }
.svc-card-img { display: block; background: var(--stone); padding: 16px; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.svc-card-body h3 a { color: var(--ink); }
.svc-card-body h3 a:hover { color: var(--accent); }
.svc-card-body p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.svc-card-cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.svc-card-cta .btn { flex: 1; }
.svc-cards .svc-card:nth-child(3n+2) { transition-delay: .06s; }
.svc-cards .svc-card:nth-child(3n+3) { transition-delay: .12s; }
.allied { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 18px 20px; background: var(--stone); border: 1px solid var(--line); }
.allied-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-right: 6px; }
.allied-item { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 6px 14px 6px 6px; color: var(--ink); font-weight: 600; font-size: .9rem; transition: border-color .2s; }
.allied-item:hover { border-color: var(--logo-blue); color: var(--accent); }
.allied-item img { width: 44px; height: 33px; object-fit: contain; }
.allied .btn { margin-left: auto; }
.brand-word { font: 800 1.25rem/1.1 var(--head-font); color: var(--ink-2); letter-spacing: -.01em; min-height: 46px; display: flex; align-items: center; }
.logo-row .brand-word { font-size: 1.05rem; min-height: 34px; }
.offices { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .svc-cards { grid-template-columns: 1fr; gap: 16px; }
  .svc-card-img { aspect-ratio: 16 / 8; }
  .allied .btn { margin-left: 0; width: 100%; }
  .allied-item { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-copy > *, .hero-stage, .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-slides .slide:first-child { opacity: 1; }
}

/* Grid safety + 3-step layout */
.cols-main > *, .grid-2 > * { min-width: 0; }
.steps-3 { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
@media (max-width: 640px) { .steps-3 { grid-template-columns: 1fr; } }

/* =========================================================
   Mobile: logo sliders and compact 2-column grids
   ========================================================= */
@media (max-width: 640px) {
  /* Logo sliders (swipe + auto-advance from site.js) */
  [data-mslider] {
    display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; border: 0 !important; padding: 2px 0 6px;
  }
  [data-mslider]::-webkit-scrollbar { display: none; }
  [data-mslider] > * { flex: 0 0 44%; scroll-snap-align: start; border: 1px solid var(--line) !important; }
  .logo-grid[data-mslider] > div { aspect-ratio: 3 / 2; }
  .brand-grid[data-mslider] > .brand-tile { padding: 16px 10px; }
  .logo-row[data-mslider] > * { flex: 0 0 38%; display: flex; align-items: center; justify-content: center; padding: 10px; background: #fff; height: 64px; }
  .logo-row[data-mslider] img { max-height: 34px; }
  .mslider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .mslider-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
  .mslider-dots span.on { background: var(--accent); width: 16px; border-radius: 3px; }

  /* Brands page and clients page: 3 per row instead of 2 */
  .brand-grid:not([data-mslider]) { grid-template-columns: repeat(3, 1fr); }
  .brand-grid:not([data-mslider]) .brand-tile { padding: 14px 6px; gap: 6px; }
  .brand-grid:not([data-mslider]) .brand-tile img { height: 28px; }
  .brand-grid:not([data-mslider]) .brand-tile span { font-size: .66rem; }

  /* Service cards: 2 per row */
  .svc-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card-img { aspect-ratio: 4 / 3; padding: 8px; }
  .svc-card-body { padding: 12px 12px 14px; }
  .svc-card-body h3 { font-size: .92rem; line-height: 1.25; }
  .svc-card-body p { font-size: .8rem; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-card-cta { flex-direction: column; gap: 6px; }
  .svc-card-cta .btn { min-height: 36px; font-size: .8rem; padding: .55em .6em; width: 100%; }

  /* Allied services: 2 per row */
  .allied { padding: 14px; gap: 8px; }
  .allied-label { width: 100%; }
  .allied-item { width: calc(50% - 4px); font-size: .78rem; padding: 6px 8px 6px 6px; gap: 6px; line-height: 1.25; }
  .allied-item img { width: 30px; height: 24px; flex: none; }

  /* Industries: 2 per row */
  .industries { grid-template-columns: 1fr 1fr; }
  .ind { padding: 16px 14px; }
  .ind svg { width: 26px; height: 26px; margin-bottom: 8px; }
  .ind h3 { font-size: .9rem; }
  .ind p { font-size: .78rem; line-height: 1.45; }

  /* Certificates: 2 per row */
  .certs { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .cert h3 { font-size: .85rem; }
  .cert p { font-size: .74rem; }

  /* Offices: 2 per row */
  .offices { grid-template-columns: 1fr 1fr; }
  .office, .office + .office { padding: 16px 12px 16px 0; border-left: 0; border-top: 0; }
  .office:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--line); }
  .office h3 { font-size: .92rem; }
  .office address { font-size: .8rem; }

  /* Figures stay 2 per row; footer link columns 2 per row */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; }
  .site-footer { font-size: .86rem; }
}
@media (min-width: 641px) { .mslider-dots { display: none; } }

/* =========================================================
   Home hero (photo background, quick enquiry, brand strip)
   ========================================================= */
.hx { position: relative; overflow: hidden; background: #081a2a; color: #cfdce7; isolation: isolate; }
.hx-bg { position: absolute; inset: 0; z-index: -2; }
.hx-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hxfade 21s infinite; }
.hx-bg img:nth-child(1) { opacity: 1; animation-delay: 0s; }
.hx-bg img:nth-child(2) { animation-delay: 7s; }
.hx-bg img:nth-child(3) { animation-delay: 14s; }
@keyframes hxfade {
  0% { opacity: 0; transform: scale(1.03); }
  5% { opacity: 1; }
  33% { opacity: 1; }
  39% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 0; transform: scale(1.09); }
}
.hx-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8,26,42,.96) 0%, rgba(8,26,42,.9) 42%, rgba(8,26,42,.62) 72%, rgba(8,26,42,.5) 100%),
  linear-gradient(0deg, rgba(8,26,42,.65), rgba(8,26,42,0) 40%); }
.hx-air { z-index: 0; }
.hx-air path { opacity: .35; }
.hx-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 60px; }

.hx-copy > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hx-copy > *:nth-child(2) { animation-delay: .1s; }
.hx-copy > *:nth-child(3) { animation-delay: .2s; }
.hx-copy > *:nth-child(4) { animation-delay: .3s; }
.hx-copy > *:nth-child(5) { animation-delay: .4s; }
.hx-copy > *:nth-child(6) { animation-delay: .5s; }

.hx-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9fb6c8; margin: 0 0 18px; letter-spacing: .02em; }
.hx-kicker span { font: 600 .74rem/1 var(--body-font); text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--logo-blue); padding: 7px 10px; }
.hx h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; max-width: 760px; }
.hx h1 span { color: var(--on-dark); }
.hx-lead { font-size: 1.12rem; line-height: 1.6; color: #c6d5e2; max-width: 640px; margin: 0 0 22px; }
.hx-chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-chips a { display: inline-block; font-size: .86rem; color: #e3edf5; border: 1px solid rgba(255,255,255,.22); padding: 7px 12px; transition: border-color .2s, background-color .2s, color .2s; }
.hx-chips a:hover { border-color: var(--logo-blue); background: rgba(30,162,216,.14); color: #fff; }
.hx-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.hx-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.16); max-width: 660px; }
.hx-stats div { padding: 16px 16px 0 0; }
.hx-stats div + div { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
.hx-stats dd { margin: 0; font: 800 1.9rem/1 var(--head-font); color: #fff; }
.hx-stats dt { order: 2; font-size: .78rem; color: #9fb6c8; margin-top: 6px; line-height: 1.3; }
.hx-stats dd { order: 1; }
.hx-stats div { display: flex; flex-direction: column; }

.hx-form { background: #fff; color: var(--text); padding: 28px 26px 22px; border-top: 4px solid var(--logo-blue); box-shadow: 0 24px 60px rgba(0,0,0,.35); opacity: 0; transform: translateX(24px); animation: hxin .9s .35s cubic-bezier(.2,.7,.2,1) forwards; scroll-margin-top: 100px; }
@keyframes hxin { to { opacity: 1; transform: none; } }
.hx-form h2 { font-size: 1.45rem; margin: 0 0 6px; }
.hx-form > p { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.hx-form .form { gap: 12px 12px; }
.hx-form .form label { font-size: .8rem; margin-bottom: 4px; }
.hx-form .form input, .hx-form .form select { padding: 10px 12px; font-size: .95rem; }
.hx-form .notice { font-size: .9rem; margin-bottom: 14px; }
.hx-form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

.hx-brands { position: relative; z-index: 1; background: rgba(255,255,255,.97); border-top: 3px solid var(--logo-blue); }
.hx-brands .wrap { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.hx-brands-label { flex: none; font: 600 .74rem/1.3 var(--body-font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); max-width: 150px; }
.hx-brands-label:hover { color: var(--accent); }
.hx-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hx-logos a { display: flex; align-items: center; justify-content: center; }
.hx-logos img { height: 30px; width: auto; max-width: 110px; object-fit: contain; transition: transform .25s; }
.hx-logos a:hover img { filter: none; opacity: 1; transform: translateY(-2px); }
.hx-logos .brand-word { font-size: .95rem; min-height: 30px; }

.hx-creds { background: var(--stone); border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.hx-creds .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 14px; padding-bottom: 14px; }
.hx-creds span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--logo-blue); margin-right: 8px; vertical-align: middle; }

@media (max-width: 1100px) {
  .hx-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; }
  .hx-logos img { height: 26px; }
}
@media (max-width: 900px) {
  .hx-grid { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 40px; }
  .hx-shade { background: linear-gradient(180deg, rgba(8,26,42,.86), rgba(8,26,42,.95)); }
  .hx-form { transform: translateY(18px); max-width: 560px; }
  .hx-brands .wrap { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .hx-brands-label { max-width: none; }
  .hx-logos { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
}
@media (max-width: 640px) {
  .hx-grid { padding-top: 36px; padding-bottom: 30px; gap: 28px; }
  .hx h1 { font-size: 2rem; }
  .hx-lead { font-size: 1rem; }
  .hx-chips a { font-size: .8rem; padding: 6px 10px; }
  .hx-actions .btn { flex: 1; }
  .hx-stats { grid-template-columns: 1fr 1fr; }
  .hx-stats div, .hx-stats div + div { padding: 12px 10px 12px 0; border-left: 0; }
  .hx-stats div:nth-child(2n) { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.12); }
  .hx-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .hx-stats dd { font-size: 1.6rem; }
  .hx-form { padding: 22px 18px 18px; }
  .hx-form .form { grid-template-columns: 1fr 1fr; }
  .hx-logos[data-mslider] { flex-wrap: nowrap !important; justify-content: flex-start; gap: 10px; }
  .hx-logos[data-mslider] > * { flex: 0 0 30%; height: 52px; background: #fff; }
  .hx-logos img { height: 24px; }
  .hx-creds .wrap { gap: 4px 16px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-bg img:not(:first-child) { display: none; }
  .hx-copy > *, .hx-form { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@media (max-width: 640px) { .hx-actions .btn { font-size: .88rem; padding: .85em .7em; } .hx-actions .btn-ghost { white-space: nowrap; flex: 0 0 auto; } }

/* Careers */
.jobs summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.job-title { font: 600 1.08rem/1.35 var(--head-font); color: var(--ink); }
.job-meta { font: 400 .86rem var(--body-font); color: var(--muted); }
.jobs .ans .btn { margin: 4px 8px 4px 0; }

/* Top bar and footer contact icons */
.topbar-right { gap: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.18); line-height: 38px; }
.tb-item:first-child { border-left: 0; }
.tb-item svg, .fc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; opacity: .9; }
.fc { display: flex; align-items: center; gap: 8px; }
.topbar { background: var(--accent); color: #e3f1fa; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-right { flex-wrap: nowrap; }
@media (max-width: 1100px) { .topbar-left { display: none; } .topbar .wrap { justify-content: flex-end; } }

/* Contact page: three maps */
.maps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.maps-3 .map-frame iframe { height: 300px; }
@media (max-width: 900px) { .maps-3 { grid-template-columns: 1fr; } }

/* Thank-you page */
.thanks { background: var(--stone); min-height: 60vh; }
.thanks-tick { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center; animation: rise .6s ease both; }
.thanks-tick svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.thanks-steps div { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--logo-blue); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.thanks-steps b { font: 800 1.3rem/1 var(--head-font); color: var(--accent); }
.thanks-steps span { font-size: .92rem; color: var(--text); }
@media (max-width: 640px) { .thanks-steps { grid-template-columns: 1fr; } }
