:root {
  --navy-950: #02112a;
  --navy-900: #05204a;
  --blue: #0866f4;
  --cyan: #2da3ff;
  --line: rgba(83, 173, 255, 0.32);
  --ink: #071a34;
  --muted: #cbd9ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f5f8fc; font: 16px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  min-height: 6rem; padding: .4rem clamp(1.25rem,4vw,4.5rem); gap: clamp(1rem,2vw,2rem); background: #fff;
  border-bottom: 1px solid #dce5f2; box-shadow: 0 10px 35px rgb(4 20 45 / 8%);
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 7.6rem; height: auto; object-fit: contain; filter: contrast(1.04) saturate(1.04); }
.main-nav { display: flex; justify-content: center; gap: clamp(.7rem,1.35vw,1.35rem); color: #263c59; font-size: .88rem; font-weight: 700; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .65rem 0; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .18s ease,border-color .18s ease; }
.main-nav a:hover,.main-nav a:focus-visible { color: var(--blue); border-color: var(--blue); }

.header-contact,.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem;
  padding: .75rem 1.2rem; border-radius: .35rem; font-weight: 750; transition: transform .18s ease,background .18s ease,border-color .18s ease;
}
.header-contact { color: #fff; background: var(--blue); }
.header-contact:hover,.header-contact:focus-visible,.button:hover,.button:focus-visible { transform: translateY(-2px); }

.hero-shell {
  position: relative; isolation: isolate; min-height: calc(100vh - 5.25rem); overflow: hidden; color: #fff;
  background: radial-gradient(circle at 82% 12%,rgb(27 129 255 / 22%),transparent 25rem),linear-gradient(115deg,var(--navy-950),var(--navy-900) 53%,#041631);
}
.hero-shell::before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .14;
  background-image: linear-gradient(rgb(85 167 255 / 30%) 1px,transparent 1px),linear-gradient(90deg,rgb(85 167 255 / 30%) 1px,transparent 1px);
  background-size: 3.5rem 3.5rem; mask-image: linear-gradient(to right,#000,transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0,.93fr) minmax(30rem,1.07fr); align-items: center;
  gap: clamp(3rem,6vw,7rem); width: min(100% - 2.5rem,90rem); min-height: calc(100vh - 10.75rem);
  margin: 0 auto; padding: clamp(4.25rem,8vw,7rem) 0 clamp(6rem,10vw,8rem);
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; color: #6ed5ff; font-size: .83rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.5rem; height: .2rem; background: #168dff; }
.hero-copy h1 { max-width: 12ch; margin: 0; font: 850 clamp(3rem,5.5vw,5.8rem)/.96 "Arial Narrow","Aptos Narrow","Segoe UI",sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.hero-copy h1 span { color: var(--cyan); }
.hero-lead { max-width: 40rem; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button-primary { color: #fff; background: var(--blue); border: 1px solid var(--blue); }
.button-primary:hover,.button-primary:focus-visible { background: #1677ff; }
.button-whatsapp { color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / 32%); }
.button-whatsapp:hover,.button-whatsapp:focus-visible { background: rgb(255 255 255 / 8%); border-color: #fff; }

.hero-facts { display: flex; flex-wrap: wrap; margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 16%); }
.hero-facts div { display: grid; gap: .1rem; min-width: 8rem; padding-right: 1.5rem; margin-right: 1.5rem; border-right: 1px solid rgb(255 255 255 / 18%); }
.hero-facts div:last-child { border: 0; }
.hero-facts strong { font-size: 1.35rem; }
.hero-facts span { color: #91a8c6; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.hero-visual { position: relative; min-height: 34rem; }
.hero-visual::before { content: ""; position: absolute; inset: 2rem -4rem -2rem 9rem; border: 1px solid var(--line); transform: skewX(-8deg); }
.photo-frame { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(11% 0,100% 0,90% 100%,0 100%); border: 1px solid rgb(96 190 255 / 45%); background: #092b59; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgb(2 17 42 / 38%),transparent 48%); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.07); }
.visual-note { position: absolute; z-index: 3; right: -.5rem; bottom: 2rem; display: flex; align-items: center; gap: .8rem; width: min(23rem,86%); padding: 1rem 1.1rem; background: rgb(3 21 48 / 92%); border: 1px solid #168dff; box-shadow: 0 16px 40px rgb(0 0 0 / 28%); }
.status-dot { flex: 0 0 auto; width: .75rem; height: .75rem; border-radius: 50%; background: #28d47d; box-shadow: 0 0 0 .4rem rgb(40 212 125 / 14%); }
.visual-note div { display: grid; }
.visual-note small { color: #6ed5ff; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.visual-note strong { font-size: .95rem; }

.contact-rail { position: absolute; z-index: 5; inset: auto 0 0; display: flex; justify-content: center; gap: clamp(1rem,4vw,4rem); min-height: 5.5rem; padding: 1rem 1.25rem; background: rgb(1 11 26 / 84%); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.contact-rail a { display: inline-flex; align-items: center; gap: .7rem; color: #dceaff; font-weight: 650; }
.contact-rail a:hover,.contact-rail a:focus-visible { color: #5fcdff; }

.section { padding: clamp(5rem,8vw,8rem) 0; }
.section-inner { width: min(100% - 2.5rem,80rem); margin: 0 auto; }
.section-heading h2,.planning-intro h2,.quality-content h2,.safety-content h2,.contact-grid h2 {
  margin: 0; color: var(--navy-950); font: 850 clamp(2.25rem,4vw,4.2rem)/1.02 "Arial Narrow","Aptos Narrow","Segoe UI",sans-serif;
  letter-spacing: -.035em; text-transform: uppercase;
}
.section-kicker { margin: 0 0 1rem; color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker.light { color: #69d3ff; }
.split-heading { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(17rem,.75fr); align-items: end; gap: clamp(2rem,6vw,6rem); margin-bottom: 3.5rem; }
.split-heading > p { margin: 0 0 .35rem; color: #59708e; font-size: 1.05rem; }

.company-section { background: #fff; }
.company-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem,8vw,8rem); align-items: start; }
.company-copy { padding-top: .25rem; color: #4d6480; font-size: 1.03rem; }
.company-copy p { max-width: 46rem; margin: 0 0 1.2rem; }
.company-copy .lead-copy { color: #17314f; font-size: clamp(1.22rem,2vw,1.55rem); line-height: 1.48; }
.company-principles { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.company-principles span { padding: .58rem .8rem; color: var(--navy-900); background: #edf5ff; border-left: 3px solid var(--blue); font-size: .84rem; font-weight: 800; }

.clients-section { padding: 2rem 0 2.4rem; background: #edf3fa; border-block: 1px solid #dce6f2; }
.clients-label { margin: 0 0 1.4rem; color: #657c98; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.clients-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.client-logo { display: grid; place-items: center; min-height: 7.2rem; padding: 1rem; overflow: hidden; background: #fff; border: 1px solid #dbe5f1; box-shadow: 0 8px 24px rgb(7 35 72 / 5%); }
.client-logo img { display: block; max-width: 9rem; max-height: 4rem; object-fit: contain; }
.logo-seatrium img { width: 96%; max-width: none; }
.logo-veracel img { width: 95%; max-width: none; }
.logo-white-martins img { width: 96%; max-width: none; }
.logo-deepsea { padding: .25rem .8rem; }
.logo-deepsea img { width: 100%; max-width: 11rem; max-height: none; clip-path: inset(33% 0 34% 0); transform: scale(1.06); }
.logo-modus img { width: 96%; max-width: none; }
.logo-mizu img { max-height: 5.2rem; }
.logo-garoto img { max-height: 4.4rem; }
.logo-engevil img { width: 96%; max-width: none; }

.services-section { background: #f8fafd; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #cfdae8; border-left: 1px solid #cfdae8; }
.service-item { position: relative; min-height: 17rem; padding: 2rem 1.45rem; background: #fff; border-right: 1px solid #cfdae8; border-bottom: 1px solid #cfdae8; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.service-item:hover { z-index: 2; transform: translateY(-5px); border-color: #6facff; box-shadow: 0 18px 40px rgb(0 39 91 / 12%); }
.service-item > span { display: block; margin-bottom: 3.1rem; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.service-item h3 { margin: 0 0 .85rem; color: #0a2850; font-size: 1.25rem; line-height: 1.15; }
.service-item p { margin: 0; color: #647994; font-size: .93rem; }

.planning-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem,8vw,7rem) 0; color: #fff; background: linear-gradient(125deg,#031329,#062755); }
.planning-section::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .18; background: repeating-linear-gradient(120deg,transparent 0 5rem,#1c8eff 5rem 5.05rem); }
.planning-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,8vw,8rem); align-items: center; }
.planning-intro h2 { color: #fff; }
.planning-intro > p:last-child { max-width: 34rem; margin: 1.4rem 0 0; color: #b9cbe2; font-size: 1.03rem; }
.planning-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 19%); }
.planning-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid rgb(255 255 255 / 19%); }
.planning-list li > span { color: #58c6ff; font-size: .76rem; font-weight: 850; letter-spacing: .13em; }
.planning-list h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.planning-list p { margin: 0; color: #aebfd5; font-size: .92rem; }

.feature-gallery { margin-top: clamp(4rem,7vw,6rem); padding-top: 2.2rem; border-top: 1px solid #d9e3ef; }
.planning-gallery { border-top-color: rgb(255 255 255 / 19%); }
.feature-gallery-heading { display: grid; grid-template-columns: .72fr 1.28fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.feature-gallery-heading .section-kicker { margin: 0; }
.feature-gallery-heading h3 { max-width: 25ch; margin: 0; color: var(--navy-950); font: 820 clamp(1.8rem,3vw,3rem)/1.05 "Arial Narrow","Aptos Narrow","Segoe UI",sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.planning-gallery .feature-gallery-heading h3 { color: #fff; }
.feature-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 13rem; grid-auto-flow: dense; gap: .8rem; }
.feature-gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #0d2d55; }
.feature-gallery-item.feature-photo-wide { grid-column: span 2; }
.feature-gallery-item.feature-photo-tall { grid-row: span 2; }
.feature-gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(1 13 31 / 78%),transparent 55%); pointer-events: none; }
.feature-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature-gallery-item:hover img { transform: scale(1.025); }
.feature-gallery-item figcaption { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .9rem; color: #fff; font-size: .82rem; font-weight: 760; }

.quality-section { background: #f8fafd; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,7rem); align-items: center; }
.quality-photo { position: relative; min-height: 35rem; overflow: hidden; background: #dce7f3; box-shadow: 0 20px 50px rgb(4 32 68 / 13%); }
.quality-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(2 17 42 / 58%),transparent 48%); }
.quality-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.quality-caption { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: .8rem; color: #fff; font-weight: 780; }
.quality-caption span { padding: .42rem .6rem; background: var(--blue); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.quality-content > p:not(.section-kicker) { margin: 1.35rem 0 2rem; color: #61758e; font-size: 1.02rem; }
.quality-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0; padding: 0; list-style: none; counter-reset: quality; }
.quality-list li { counter-increment: quality; display: grid; align-content: start; gap: .35rem; min-height: 9.5rem; padding: 1.2rem; background: #fff; border: 1px solid #dbe4ef; border-top: 3px solid var(--blue); box-shadow: 0 10px 26px rgb(8 42 82 / 6%); }
.quality-list li::before { content: "0" counter(quality); color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.quality-list strong { color: #0d2d55; }
.quality-list span { color: #6c8098; font-size: .88rem; }

.projects-section { background: #eef3f9; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.project-card { overflow: hidden; background: #fff; border: 1px solid #d6e0eb; box-shadow: 0 12px 32px rgb(9 38 75 / 7%); }
.project-card.project-wide { display: grid; grid-template-columns: 1.16fr .84fr; grid-column: 1 / -1; }
.project-card.project-wide.reverse .project-image { order: 2; }
.project-image { height: 18rem; overflow: hidden; background: #dce7f3; }
.project-wide .project-image { height: 100%; min-height: 25rem; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-content { padding: clamp(1.5rem,3vw,2.7rem); }
.project-meta { margin: 0 0 .85rem; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.project-content h3 { margin: 0 0 1rem; color: #09264c; font-size: clamp(1.35rem,2.3vw,2rem); line-height: 1.1; }
.project-content > p:not(.project-meta) { margin: 0 0 1.6rem; color: #61758e; }
.project-tag { display: inline-flex; padding: .5rem .72rem; color: #1a4f8c; background: #ecf4ff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.gallery-section { background: #071a34; color: #fff; }
.gallery-section .section-heading h2 { color: #fff; }
.gallery-section .split-heading > p { color: #b5c7dd; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 15rem; gap: .85rem; }
.gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #0d2d55; }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(1 13 31 / 80%),transparent 55%); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: .9rem; display: grid; color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.gallery-item figcaption span { color: #8ecfff; font-size: .74rem; font-weight: 650; letter-spacing: .02em; text-transform: none; }
.gallery-extension-heading { display: grid; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 2rem; margin: clamp(4rem,7vw,6rem) 0 2rem; padding-top: 2.2rem; border-top: 1px solid rgb(255 255 255 / 17%); }
.gallery-extension-heading .section-kicker { margin: 0; }
.gallery-extension-heading h3 { max-width: 24ch; margin: 0; font: 820 clamp(1.8rem,3vw,3rem)/1.05 "Arial Narrow","Aptos Narrow","Segoe UI",sans-serif; letter-spacing: -.025em; text-transform: uppercase; }

.safety-section { background: #fff; }
.safety-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(3rem,7vw,7rem); align-items: center; }
.safety-photo { position: relative; min-height: 36rem; overflow: hidden; background: #dce7f3; }
.safety-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(2 17 42 / 55%),transparent 48%); }
.safety-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.safety-caption { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: .8rem; color: #fff; font-weight: 780; }
.safety-caption span { padding: .42rem .6rem; background: var(--blue); font-size: .76rem; letter-spacing: .12em; }
.safety-content > p:not(.section-kicker) { margin: 1.35rem 0 2rem; color: #61758e; font-size: 1.02rem; }
.safety-list { margin: 0; padding: 0; list-style: none; }
.safety-list li { position: relative; display: grid; gap: .15rem; padding: 1rem 0 1rem 2.2rem; border-top: 1px solid #dbe4ef; }
.safety-list li:last-child { border-bottom: 1px solid #dbe4ef; }
.safety-list li::before { content: "✓"; position: absolute; left: 0; top: 1.02rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; color: #fff; background: var(--blue); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.safety-list strong { color: #0d2d55; }
.safety-list span { color: #6c8098; font-size: .9rem; }

.contact-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4.5rem,8vw,7rem) 0; color: #fff; background: linear-gradient(125deg,#06265a,#075de0); }
.contact-section::after { content: "VS"; position: absolute; z-index: -1; right: -2rem; bottom: -7rem; color: rgb(255 255 255 / 5%); font: 900 20rem/1 "Arial Narrow",sans-serif; letter-spacing: -.12em; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem,8vw,8rem); align-items: center; }
.contact-grid h2 { color: #fff; }
.contact-grid > div:first-child > p:last-child { max-width: 34rem; margin: 1.3rem 0 0; color: #d4e6ff; }
.contact-actions { display: grid; gap: .85rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1.2rem 1.25rem; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 28%); transition: transform .18s ease,background .18s ease; }
.contact-card:hover,.contact-card:focus-visible { transform: translateX(4px); background: rgb(255 255 255 / 17%); }
.contact-card svg { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; color: #76d7ff; }
.contact-card.whatsapp svg { color: #67ef9d; }
.contact-card span { display: grid; min-width: 0; }
.contact-card small { color: #b8d2f3; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-card strong { overflow-wrap: anywhere; font-size: clamp(.94rem,1.6vw,1.15rem); }

.floating-contact { position: fixed; z-index: 50; right: 1.15rem; bottom: 1.15rem; display: grid; gap: .62rem; }
.floating-contact a { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; color: #fff; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 8px 24px rgb(0 18 45 / 28%); transition: transform .18s ease; }
.floating-contact a:hover,.floating-contact a:focus-visible { transform: translateY(-3px) scale(1.04); }
.floating-contact svg { width: 1.42rem; height: 1.42rem; stroke-width: 2; }
.floating-email { background: var(--blue); }
.floating-whatsapp { background: #14a85b; }

.site-footer { padding: 3.5rem 0 1.4rem; color: #9eb1c8; background: #020d1f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 3rem; padding-bottom: 2.8rem; }
.footer-brand img { display: block; width: 8.4rem; height: auto; padding: .35rem; object-fit: contain; background: #fff; box-shadow: 0 8px 26px rgb(0 0 0 / 18%); }
.footer-grid p { margin: .8rem 0 0; font-size: .9rem; }
.footer-grid > div > strong { color: #fff; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.35rem; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .78rem; }
.footer-bottom a { color: #7ed7ff; }

[id] { scroll-margin-top: 8.5rem; }
a:focus-visible { outline: 3px solid #6ed5ff; outline-offset: 3px; }

@media (max-width: 78rem) {
  .site-header { grid-template-columns: 1fr auto; gap: .25rem 1rem; padding-bottom: .2rem; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 1.35rem; overflow-x: auto; padding: 0 .15rem .15rem; scrollbar-width: thin; }
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 2.5rem; }
  .hero-visual { min-height: 30rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 52rem) {
  .brand img { width: 6.1rem; height: auto; }
  .header-contact { padding-inline: .85rem; font-size: .88rem; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-visual { min-height: 25rem; }
  .contact-rail { position: relative; flex-direction: column; align-items: flex-start; gap: .7rem; }
  .company-grid,.planning-grid,.quality-grid,.safety-grid,.contact-grid { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .feature-gallery-heading { grid-template-columns: 1fr; gap: .8rem; }
  .gallery-extension-heading { grid-template-columns: 1fr; gap: .8rem; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .project-card.project-wide { grid-template-columns: 1fr; }
  .project-card.project-wide.reverse .project-image { order: 0; }
  .project-wide .project-image { min-height: 21rem; }
  .quality-photo,.safety-photo { min-height: 29rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 14rem; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  .site-header { min-height: 4.6rem; padding-inline: 1rem; }
  .brand img { width: 5.35rem; height: auto; }
  .header-contact svg { display: none; }
  .header-contact { min-height: 2.7rem; padding: .6rem .75rem; }
  .main-nav { gap: 1.1rem; font-size: .875rem; }
  .hero-grid { width: min(100% - 2rem,90rem); padding-top: 3rem; }
  .hero-copy h1 { font-size: clamp(2.65rem,15vw,4rem); }
  .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-facts div { min-width: 0; padding: 0; margin: 0; border: 0; }
  .hero-visual { min-height: 21rem; }
  .visual-note { right: 0; bottom: 1rem; }
  .contact-rail span { overflow-wrap: anywhere; }
  .section-inner { width: min(100% - 2rem,80rem); }
  .clients-grid,.services-grid,.projects-grid,.quality-list,.footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .service-item { min-height: 14rem; }
  .project-card { grid-column: 1; }
  .project-image,.project-wide .project-image { height: 15rem; min-height: 0; }
  .quality-photo,.safety-photo { min-height: 22rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 15rem; }
  .feature-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 15rem; }
  .feature-gallery-item.feature-photo-wide { grid-column: auto; }
  .feature-gallery-item.feature-photo-tall { grid-row: auto; }
  .gallery-item.gallery-wide { grid-column: auto; }
  .gallery-item.gallery-tall { grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-contact { right: .7rem; bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
