/* ============================================================
   GLD Engineering & Construction Limited — gld-construction.com

   Built on the same system as gld-concrete.com (same structure,
   type pairing, components and class names) with the palette
   taken from this company's own logo.

   Palette (from the logo):
   --blue     #0267AF   primary brand blue
   --blue-2   #014E86   hover / deep blue
   --ink      #05294B   navy — text, topbar, footer
   --gray     #5A6472   secondary text
   --soft     #EAF2F9   light section background
   Type: Montserrat (display) / Inter (body)
   ============================================================ */

:root {
  --blue: #0267AF;
  --blue-2: #014E86;
  --ink: #05294B;
  --gray: #5A6472;
  --soft: #EAF2F9;
  --line: #D3E2EE;
  --white: #ffffff;
  --sky: #74B6E4;            /* accent on dark backgrounds */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(5, 41, 75, .08);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { color: var(--gray); }
p.lead { font-size: 1.1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0; z-index: 200;
  transform: translate(-50%, -120%);
  background: var(--blue); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
  padding: .7rem 1.2rem; border-radius: 0 0 8px 8px; transition: transform .15s;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .6rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-2); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-2); }
.btn-light:hover { background: var(--soft); color: var(--blue-2); }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #C2D3E2; font-size: .82rem; }
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 12px; flex-wrap: wrap;
  padding-top: 4px; padding-bottom: 4px;
}
.topbar a { color: #E4EDF5; font-weight: 500; }
.topbar a:hover { color: var(--white); }
.topbar .contact-mini { display: flex; gap: 18px; flex-wrap: wrap; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 2px 9px; border-radius: 6px; font-weight: 700; letter-spacing: .05em; }
.lang-switch a.active { background: var(--blue); color: var(--white); }
.lang-switch a:not(.active) { color: #8FA5BA; }
.lang-switch a:not(.active):hover { color: var(--white); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(5, 41, 75, .06);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
/* The lockup carries small descriptor text, so it needs more height than a
   bare monogram would. */
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .88rem;
  color: var(--ink);
  padding: .5rem .6rem; border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover { color: var(--blue); background: var(--soft); }
.nav a.active { color: var(--blue); }
.nav .btn { margin-left: 8px; color: var(--white); }
.nav .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; font-size: 1.1rem; color: var(--ink); line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--ink) 0%, #0A3C6B 55%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 11vw, 8rem);
  max-width: 820px; text-align: left;
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--sky); }
.hero p { color: #C6DAEA; font-size: 1.12rem; max-width: 560px; margin: 1.2rem 0 2rem; }
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .swoosh-bg { position: absolute; right: -140px; top: -60px; width: 620px; opacity: .16; pointer-events: none; }
.hero .eyebrow { color: var(--sky); }

/* swoosh divider (logo arc echoed at the base of dark sections) */
.swoosh-divider { display: block; width: 100%; height: 56px; margin-top: -1px; }

/* page hero (subpages) */
.page-hero {
  background: linear-gradient(140deg, var(--ink) 0%, #0A3C6B 60%, var(--blue) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.page-hero .wrap { padding-top: 3.2rem; padding-bottom: 3.6rem; position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #C6DAEA; max-width: 640px; margin-top: .8rem; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero .swoosh-bg { position: absolute; right: -160px; top: -80px; width: 520px; opacity: .14; pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head p { margin-top: .6rem; }
.section-foot { margin-top: 2rem; }
.measure { max-width: 760px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5rem; }
.card .tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .75rem;
  color: var(--blue-2); background: var(--soft);
  border-radius: 6px; padding: 3px 10px;
  margin-bottom: .8rem; letter-spacing: .06em;
}
.card ul { list-style: none; margin-top: .6rem; }
.card ul li {
  color: var(--gray); padding-left: 1.3rem; position: relative;
  margin-bottom: .35rem; font-size: .95rem;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--blue);
}
.card .more { margin-top: 1rem; }

/* photo sitting flush at the top of a card */
.card-img {
  width: calc(100% + 3.2rem);
  margin: -1.6rem -1.6rem 1.2rem;
  height: 190px; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* icon tile */
.ico-tile {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.ico-tile svg { width: 24px; height: 24px; }

/* ---------- people ---------- */
.person { text-align: center; }
.person .initials {
  width: 84px; height: 84px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--soft); color: var(--blue);
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.6rem; letter-spacing: .02em;
}
.person h3 { margin-bottom: .25rem; }
.person .role {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-2);
}
/* When portrait photos arrive, swap .initials for an <img class="portrait"> */
.person .portrait {
  width: 84px; height: 84px; margin: 0 auto 1.1rem;
  border-radius: 50%; object-fit: cover;
}

/* ---------- photo grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-grid figure { margin: 0; }
.work-grid img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.work-grid figcaption { margin-top: .7rem; font-size: .88rem; color: var(--gray); line-height: 1.5; }
.media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- service blocks ---------- */
.svc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.svc-head h2 { margin-bottom: .6rem; }
.svc-head .lead { margin-bottom: .9rem; }
.svc-head p + p { margin-top: .9rem; }
.svc-media img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.svc-scope {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem;
}
.svc-scope h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray); padding-bottom: .7rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.svc-scope ul { list-style: none; }
.svc-scope ul li {
  color: var(--gray); padding-left: 1.3rem; position: relative;
  margin-bottom: .45rem; font-size: .93rem;
}
.svc-scope ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--blue);
}

/* ---------- process ---------- */
.phases { list-style: none; display: grid; gap: 18px; }
.phase {
  display: grid; grid-template-columns: 230px 1fr; gap: 28px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem;
}
.phase .num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem;
  color: var(--blue); letter-spacing: -.02em; display: block; margin-bottom: .3rem;
}
.phase ul { list-style: none; margin-top: .9rem; }
.phase ul li {
  color: var(--gray); padding-left: 1.3rem; position: relative;
  margin-bottom: .4rem; font-size: .93rem;
}
.phase ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--blue);
}

.steps {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.steps li { background: var(--white); padding: 1.1rem; }
.steps .num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .85rem;
  color: var(--blue); letter-spacing: .06em; display: block; margin-bottom: .4rem;
}
.steps h3 { font-size: .95rem; line-height: 1.3; }

/* ---------- at a glance ---------- */
.glance { border-bottom: 1px solid var(--line); }
.glance dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.glance .item { background: var(--white); padding: 1.2rem 1.4rem; }
.glance dt {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: .25rem;
}
.glance dd { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .98rem; line-height: 1.4; }
.glance .item:first-child { padding-left: 0; }
.glance .item:last-child { padding-right: 0; }

/* ---------- on-page index ---------- */
.toc { background: var(--soft); border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.toc h2 {
  font-family: 'Montserrat', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: .9rem;
}
.toc ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.toc a {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: .55rem .8rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem;
  color: var(--ink); line-height: 1.3;
}
.toc a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- tables / data lists ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
th {
  font-family: 'Montserrat', sans-serif; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; text-align: left;
  background: var(--ink); color: var(--white); padding: 12px 16px; white-space: nowrap;
}
td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--gray); vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 600; }

.data-list { border-top: 1px solid var(--line); }
.data-list .row {
  display: grid; grid-template-columns: 250px 1fr; gap: 6px 24px;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.data-list dt { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: var(--gray); }
.data-list dd { font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); }
.cta-band .wrap {
  padding: 3rem 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D9EAF6; margin-top: .4rem; max-width: 60ch; }
.cta-band .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.14); border-color: var(--white); color: var(--white); }

/* ---------- forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 0; }
legend {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray); padding-bottom: .6rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--line); width: 100%;
}
fieldset + fieldset { margin-top: 1.8rem; }
label {
  display: block; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .85rem; margin-bottom: 6px;
}
label .req { color: var(--blue); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--white); transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--gray); margin-top: 1rem; }
.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  background: var(--soft); border-radius: 8px; padding: 1rem; margin-top: 1.4rem;
}
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.consent label { margin: 0; font-family: 'Inter', sans-serif; font-weight: 400; font-size: .88rem; }
.form-actions { margin-top: 1.6rem; }

.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; display: none;
}
.form-status.ok { display: block; background: #E8F7EE; color: #14683A; border: 1.5px solid #7FD3A3; }
.form-status.err { display: block; background: #FDECEC; color: #9B1C1C; border: 1.5px solid #F1A3A3; }

/* ---------- contact blocks ---------- */
.contact-tile {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow);
}
.contact-tile .ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.15rem;
}
.contact-tile strong { font-family: 'Montserrat', sans-serif; display: block; margin-bottom: 2px; }
.contact-tile span, .contact-tile a { font-size: .95rem; }
.contact-tile address { font-style: normal; color: var(--gray); font-size: .95rem; }

.map-slot {
  display: grid; place-items: center; gap: .7rem;
  min-height: clamp(14rem, 32vw, 20rem); padding: 1.5rem; text-align: center;
  background: var(--white); border: 1.5px dashed var(--line);
  border-radius: var(--radius); color: var(--gray);
}

/* ---------- quality / value list ---------- */
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .9rem; color: var(--gray); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}

/* ---------- notice ---------- */
.notice {
  border-left: 4px solid var(--blue); background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem; font-size: .95rem; color: var(--gray);
}
.notice h2 { font-size: 1rem; color: var(--ink); margin-bottom: .4rem; }

/* ---------- legal prose ---------- */
.prose h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.prose section + section { margin-top: 2.2rem; }
.prose p + p { margin-top: .8rem; }
.prose ul { margin: .8rem 0 0 1.1rem; }
.prose ul li { color: var(--gray); margin-bottom: .4rem; }
.prose ul li::marker { color: var(--blue); }
.prose .updated {
  font-size: .87rem; color: var(--gray);
  padding-bottom: 1rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line);
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #A9BCCD; }
.site-footer .wrap { padding: 3.2rem 20px 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px;
  padding-bottom: 2.2rem; border-bottom: 1px solid #16405F;
}
.site-footer h2 {
  color: var(--white); font-size: .85rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .9rem; line-height: 1.3;
}
.site-footer ul { list-style: none; }
.site-footer a { color: #A9BCCD; display: inline-block; margin-bottom: .45rem; font-size: .93rem; }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: #8FA5BA; font-size: .93rem; }
.site-footer address { font-style: normal; color: #8FA5BA; font-size: .93rem; margin-bottom: .8rem; }
.footer-brand img {
  height: 44px; width: auto; margin-bottom: 1rem;
  background: var(--white); padding: 7px 11px; border-radius: 8px;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 1.4rem; font-size: .82rem; color: #7E95AB;
}
.footer-bottom a { margin: 0; font-size: .82rem; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,.34); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .brand img { height: 42px; }
  .nav a { font-size: .84rem; padding: .5rem .45rem; }
}

/* The nav collapses earlier than on gld-concrete.com: this site has six items
   with longer labels plus a wide logo lockup. Keep in sync with the inline
   script's matchMedia query. */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 3px solid var(--blue);
    flex-direction: column; align-items: stretch;
    padding: 10px 16px 16px;
    box-shadow: 0 14px 30px rgba(5,41,75,.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; font-size: 1rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .glance dl { grid-template-columns: repeat(2, 1fr); }
  .glance .item:first-child, .glance .item:last-child { padding-left: 1.4rem; padding-right: 1.4rem; }
  .toc ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 24px; }
  .phase { grid-template-columns: 1fr; gap: 12px; }
  .data-list .row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps, .toc ul { grid-template-columns: 1fr; }
  .glance dl { grid-template-columns: 1fr; }
  .topbar .contact-mini { gap: 12px; }
  .cta-band .wrap { padding: 2.4rem 20px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .site-footer .wrap { padding-bottom: 5.5rem; }
  .brand img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .wa-float, .skip-link, .toc, .form-actions,
  .swoosh-bg, .swoosh-divider { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .page-hero, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1, .hero p, .page-hero p,
  .site-footer p, .site-footer a, .site-footer address { color: #000 !important; }
  .card, .phase, .svc-scope, .form-card, .contact-tile { box-shadow: none; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
