:root {
  --navy: #13325b;
  --navy-900: #0c2240;
  --navy-800: #102a4c;
  --steel: #8ea2bd;
  --steel-soft: #c8d2df;
  --steel-100: #eef1f6;
  --line: #d7dde6;
  --ink: #12233b;
  --text: #2c3a4d;
  --muted: #5d6b7e;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 12px 30px rgba(12, 34, 64, .12);
  --head: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  --logo-roof-1: #5f7ea6; --logo-roof-2: #13325b; --logo-seam: #dbe4ef; --logo-edge: #0c2240;
  --logo-text: #0c2240; --logo-ribbon: #13325b; --logo-llc: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.18em; }
.big { font-size: 1.14rem; }

/* ---------- Logo ---------- */
.logo { display: block; width: 215px; height: auto; transition: width .2s; }
.logo text { font-family: var(--head); font-weight: 800; }
.logo-47 { font-size: 36px; font-style: italic; fill: var(--logo-text); stroke: #fff; stroke-width: 1.5px; paint-order: stroke; }
.logo-l1 { font-size: 26px; fill: var(--logo-text); letter-spacing: .5px; }
.logo-l2 { font-size: 20.5px; fill: var(--logo-text); letter-spacing: .6px; }
.logo-llc { font-size: 10.5px; fill: var(--logo-llc); letter-spacing: 1.5px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .85em 1.6em; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { padding: 1em 1.9em; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(19, 50, 91, .25); }
.btn-navy:hover { background: var(--navy-900); }
.btn-soft { background: var(--steel-soft); color: var(--navy); }
.btn-soft:hover { background: #b6c3d4; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--steel-100); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(12, 34, 64, .1); }
.header-in { display: flex; align-items: center; gap: 28px; height: 112px; transition: height .2s; }
.site-header.scrolled .header-in { height: 84px; }
.site-header.scrolled .logo { width: 170px; }
.brand { display: block; text-decoration: none; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .has-mega > a { position: relative; display: block; padding: 10px 16px; text-decoration: none; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.nav > a::after, .has-mega > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .2s; }
.nav > a:hover::after, .has-mega > a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { font-weight: 700; color: var(--navy); }
.caret { font-size: .7em; color: var(--muted); }
.nav-phone { display: none !important; }
.header-cta { flex-shrink: 0; }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 24px 40px rgba(12,34,64,.14); border-top: 3px solid var(--navy); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: 1240px; margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mega-head { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 1rem; color: var(--navy); text-decoration: none; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--line); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 4px 0; font-size: .95rem; color: var(--muted); text-decoration: none; }
.mega li a:hover { color: var(--navy); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; margin-left: auto; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.kicker { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .24em; font-size: .95rem; color: var(--ink); margin-bottom: .8em; }
.kicker.light { color: #d5deea; }
.kicker.center { text-align: center; color: var(--muted); margin-bottom: .4em; }
.hero { position: relative; background: linear-gradient(180deg, #f6f8fb 0%, #eef1f6 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px 56px; align-items: end; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { margin: 0; color: var(--navy-900); }
.hero h1 span { display: block; }
.hero .lead { font-size: 1.15rem; color: var(--text); margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-photo { position: relative; }
.hero-img { display: block; width: 100%; height: auto; }
.hero-stats { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); list-style: none; padding: 0; margin: 0; display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 2; }
.hero-stats li { padding: 16px 34px; border-left: 1px solid var(--line); text-align: center; }
.hero-stats li:first-child { border-left: 0; }
.hero-stats b { display: block; font-family: var(--head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.hero-stats span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.hero + .section { padding-top: 88px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 72px; }
.section-alt { background: var(--steel-100); }
.sec-title { display: flex; align-items: center; gap: 22px; margin: 0 0 30px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); text-transform: uppercase; letter-spacing: .12em; color: var(--navy-900); }
.sec-title::before, .sec-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.center-btn { text-align: center; margin-top: 28px; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-grid.four { grid-template-columns: repeat(4, 1fr); }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(12,34,64,.05); transition: box-shadow .2s, transform .2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-img { display: block; aspect-ratio: 16/10.5; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 18px 18px; }
.svc-body h3 { font-size: 1.32rem; text-transform: uppercase; color: var(--navy-900); min-height: 2.2em; }
.svc-body h3 a { text-decoration: none; }
.svc-body ul { margin: 0 0 18px; padding-left: 1.1em; flex: 1; }
.svc-body li { font-size: .98rem; padding: 1px 0; }
.svc-body li::marker { color: var(--navy); }
.svc-body li a { text-decoration: none; }
.svc-body li a:hover { color: var(--navy); text-decoration: underline; }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; color: var(--navy-900); text-decoration: none; padding: 6px 8px 0; }
.more .ico { transition: transform .2s; }
.more:hover .ico { transform: translateX(4px); }

/* Values strip */
.values { background: var(--steel-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-in { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.val { display: flex; align-items: center; gap: 16px; padding: 6px 18px; border-left: 2px solid var(--line); }
.val:first-child { border-left: 0; padding-left: 0; }
.val-ico { width: 72px; height: 72px; padding: 17px; border-radius: 50%; background: var(--steel); color: var(--navy-900); stroke-width: 1.8; }
.val h3 { font-size: 1.12rem; text-transform: uppercase; color: var(--navy-900); margin: 0 0 2px; }
.val p { margin: 0; font-size: .95rem; line-height: 1.35; color: var(--text); }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.proj-grid.three { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3/2.05; background: var(--steel-100); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover img { transform: scale(1.06); }
.proj figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; background: linear-gradient(0deg, rgba(12,34,64,.88), rgba(12,34,64,0)); color: #fff; opacity: 0; transform: translateY(8px); transition: .25s; }
.proj:hover figcaption { opacity: 1; transform: none; }
.proj figcaption b { display: block; font-family: var(--head); font-size: 1.1rem; }
.proj figcaption span { font-size: .85rem; color: #c8d4e4; }

/* Image split */
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: var(--shadow); }
.img-badge { position: absolute; left: -18px; bottom: -18px; background: var(--navy); color: #fff; padding: 18px 22px; font-family: var(--head); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.15; box-shadow: var(--shadow); }
.img-badge b { display: block; font-size: 2.6rem; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .ico { color: #fff; background: var(--navy); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 3px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); padding: 26px; border-top: 4px solid var(--navy); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: block; font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: var(--steel); line-height: 1; margin-bottom: 12px; }

/* Area tags */
.area-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid var(--line); background: #fff; font-weight: 500; color: var(--ink); }
.area-tags .ico { color: var(--navy); }

/* ---------- Estimate ---------- */
.estimate { display: grid; grid-template-columns: 45% 55%; background: var(--steel-100); }
.est-left { position: relative; color: #fff; background: linear-gradient(100deg, rgba(12,34,64,.96) 0%, rgba(16,42,76,.9) 55%, rgba(19,50,91,.72) 100%), url('../img/cta.jpg') center/cover; display: flex; justify-content: flex-end; }
.est-copy { width: 100%; max-width: 560px; padding: 56px 48px 56px 24px; }
.est-left h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.est-left p { color: #dbe3ee; font-size: 1.08rem; }
.est-contact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.est-contact li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.est-contact .ico { width: 26px; height: 26px; color: #c8d2df; }
.est-contact a { color: #fff; text-decoration: none; word-break: break-word; }
.est-contact a:hover { text-decoration: underline; }
.est-right { display: flex; align-items: center; padding: 40px 24px; }
.form { display: grid; gap: 14px; width: 100%; max-width: 640px; margin: 0 auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c5cfdb; border-radius: 2px; background: #fff; color: var(--ink); width: 100%; }
.form select { color: var(--muted); }
.form input::placeholder, .form textarea::placeholder { color: #5d6b7e; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form button { justify-self: center; min-width: 300px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c9d4e3; --logo-roof-1: #9fb4cf; --logo-roof-2: #4c6d97; --logo-seam: #fff; --logo-edge: #dbe4ef; --logo-text: #fff; --logo-ribbon: #fff; --logo-llc: #0c2240; }
.site-footer .logo-47 { stroke: var(--navy-900); }
.foot-top { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand .logo { width: 180px; }
.foot-nav { display: flex; flex-wrap: wrap; margin-left: auto; }
.foot-nav a { color: #fff; text-decoration: none; padding: 2px 18px; border-left: 1px solid rgba(255,255,255,.35); font-weight: 500; }
.foot-nav a:first-child { border-left: 0; }
.foot-nav a:hover { text-decoration: underline; }
.tagline { margin: 0; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.3); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.15rem; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 40px; padding-top: 36px; padding-bottom: 24px; }
.site-footer h4 { text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul a { display: inline-block; padding: 3px 0; color: #c9d4e3; text-decoration: none; word-break: break-word; }
.site-footer ul a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.foot-contact .ico { margin-top: 6px; color: var(--steel); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 22px; font-size: .88rem; color: #8ea2bd; }
.call-fab { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; color: #fff; background: linear-gradient(95deg, rgba(12,34,64,.96) 0%, rgba(16,42,76,.88) 50%, rgba(19,50,91,.55) 100%), var(--bg) center/cover; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.page-hero .lead { color: #dbe3ee; font-size: 1.15rem; max-width: 700px; }
.crumbs { font-size: .9rem; color: #a9b8cc; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #dbe3ee; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }

.prose h2 { color: var(--navy-900); }
.prose h3 { margin-top: 1.6em; text-transform: uppercase; color: var(--navy-900); }
.prose-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; margin: 10px 0 8px; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--navy); color: #fff; padding: 24px 26px; margin-top: 36px; }
.inline-cta b { display: block; font-family: var(--head); font-size: 1.3rem; text-transform: uppercase; }
.inline-cta span { color: #c8d4e4; }

.side-card { position: sticky; top: 110px; border: 1px solid var(--line); background: #fff; }
.side-card h3 { margin: 0; padding: 18px 22px; background: var(--steel-100); border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: 1.2rem; }
.side-card h3 a { text-decoration: none; color: var(--navy-900); }
.side-links { list-style: none; padding: 8px 22px; margin: 0; }
.side-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover, .side-links a.current { color: var(--navy); }
.side-links a.current { font-weight: 700; box-shadow: inset 3px 0 0 var(--navy); padding-left: 12px; }
.side-cta { background: var(--navy); color: #fff; padding: 22px; }
.side-cta p { color: #dbe3ee; margin-bottom: 6px; }
.side-cta .kicker { margin-bottom: 4px; font-size: .85rem; }
.side-phone { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: #fff; text-decoration: none; margin: 4px 0 16px; }

.svc-links { display: grid; gap: 10px; }
.svc-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--navy); background: #fff; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.svc-link:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.svc-link b { font-family: var(--head); font-size: 1.2rem; color: var(--navy-900); }
.svc-link span { grid-column: 1; color: var(--muted); font-size: .96rem; }
.svc-link .ico { grid-row: 1 / span 2; grid-column: 2; color: var(--navy); width: 22px; height: 22px; }
.svc-group { margin-bottom: 48px; }
.svc-group-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.svc-group-head img { width: 120px; height: 84px; object-fit: cover; flex-shrink: 0; }
.svc-group-head h2 { margin: 0 0 4px; text-transform: uppercase; font-size: 1.7rem; }
.svc-group-head h2 a { text-decoration: none; color: var(--navy-900); }
.svc-group-head p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.contact-tile { text-align: center; padding: 30px 18px; border: 1px solid var(--line); background: var(--steel-100); }
.contact-tile .val-ico { margin: 0 auto 14px; display: block; }
.contact-tile h3 { text-transform: uppercase; color: var(--navy-900); }
.contact-tile a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.map { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid.four { grid-template-columns: repeat(2, 1fr); }
  .values-in { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .val:nth-child(3) { border-left: 0; padding-left: 0; }
  .mega-in { grid-template-columns: repeat(3, 1fr); }
  .foot-top { flex-wrap: wrap; }
  .tagline { border-left: 0; padding-left: 0; }
  .nav > a, .has-mega > a { padding: 10px 11px; }
}
@media (max-width: 980px) {
  .header-in, .site-header.scrolled .header-in { height: 80px; }
  .logo, .site-header.scrolled .logo { width: 150px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 96px 22px 30px; overflow-y: auto; transform: translateX(105%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: 1; }
  .nav.open { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(12,34,64,.2); }
  .nav > a, .has-mega > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav > a::after, .has-mega > a::after { display: none; }
  .nav-phone { display: flex !important; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; background: var(--navy); color: #fff !important; border-radius: var(--radius); font-weight: 700 !important; border: 0 !important; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; }
  .has-mega.expanded .mega { display: block; }
  .mega-in { grid-template-columns: 1fr; padding: 10px 0 10px 8px; gap: 14px; }
  .hero-in { grid-template-columns: 1fr; align-items: start; padding-top: 44px; padding-bottom: 32px; }
  .split, .estimate { grid-template-columns: 1fr; }
  .est-left { justify-content: flex-start; }
  .est-copy { max-width: none; padding: 48px 24px; }
  .proj-grid, .proj-grid.three { grid-template-columns: 1fr 1fr; }
  .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .img-badge { left: 12px; bottom: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-in, .site-header.scrolled .header-in { height: 72px; }
  .logo, .site-header.scrolled .logo { width: 128px; }
  .section { padding: 44px 0 56px; }
  .sec-title { gap: 12px; letter-spacing: .08em; }
  .svc-grid, .svc-grid.four, .values-in, .steps, .contact-grid, .form .row, .foot-grid { grid-template-columns: 1fr; }
  .svc-body h3 { min-height: 0; }
  .val, .val:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-in { padding-top: 36px; padding-bottom: 28px; gap: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { position: relative; left: auto; bottom: auto; transform: none; width: calc(100% - 32px); margin: -26px auto 0; }
  .hero-stats li { flex: 1; padding: 12px 8px; }
  .hero + .section { padding-top: 48px; }
  .hero-stats b { font-size: 1.25rem; }
  .hero-stats span { font-size: .72rem; letter-spacing: .02em; line-height: 1.25; display: block; white-space: normal; }
  .proj-grid, .proj-grid.three { gap: 8px; }
  .proj figcaption { opacity: 1; transform: none; padding: 18px 8px 6px; }
  .proj figcaption b { font-size: .86rem; line-height: 1.2; }
  .proj figcaption span { display: none; }
  .form button { min-width: 0; width: 100%; }
  .foot-top { flex-direction: column; text-align: center; gap: 18px; padding-top: 32px; padding-bottom: 30px; }
  .foot-nav { margin-left: 0; justify-content: center; gap: 6px 0; }
  .foot-nav a, .foot-nav a:first-child { border-left: 0; padding: 4px 12px; }
  .tagline { padding: 0; }
  .foot-grid { gap: 28px; padding-top: 30px; }
  .svc-group-head img { width: 84px; height: 64px; }
  .call-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(12,34,64,.35); }
  .site-footer { padding-bottom: 70px; }
}
.nav-open .call-fab { display: none !important; }
