:root {
  --navy: #071a33;
  --navy-2: #0d2948;
  --ink: #172433;
  --muted: #5c6875;
  --blue: #1457a6;
  --blue-dark: #0f4789;
  --paper: #fff;
  --soft: #f5f7f9;
  --line: #dfe4e9;
  --line-dark: #b8c3ce;
  --shadow: 0 10px 28px rgba(7,26,51,.07);
  --max: 1240px;
}

/* 2026-11 SPエポ追加・立体感調整 */
main { overflow: hidden; }
main > section { position: relative; }
.pagehero { box-shadow: inset 0 -1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(7,26,51,.08); }
.cards article,
.service-tech-grid a,
.repair-links a,
.sp-use-list article,
.performance-grid article {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.cards article:hover,
.service-tech-grid a:hover,
.repair-links a:hover,
.sp-use-list article:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 34px rgba(7,26,51,.09);
  border-color: #b9c8d7;
}
.inline-links { display: flex; gap: 18px; margin-top: 22px; }
.inline-links a { color: var(--blue); font-size: 14px; font-weight: 700; }
.inline-links a::after { content: " →"; }
.repair-links { display: grid; gap: 14px; margin-top: 30px; }
.repair-links a {
  display: grid;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-left: 4px solid #70aee8;
  border-radius: 7px;
  background: rgba(255,255,255,.055);
}
.repair-links span { color: #aebdcb; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.repair-links strong { margin: 4px 0; color: #fff; font-size: 20px; }
.repair-links small { color: #c8d3de; }
.service-tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.service-tech-grid a {
  display: grid;
  min-height: 150px;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7,26,51,.045);
}
.service-tech-grid small { color: var(--muted); }
.service-tech-grid strong { margin: 4px 0 12px; color: var(--navy); font-size: 20px; }
.service-tech-grid span { color: var(--blue); font-size: 13px; font-weight: 700; }

/* GX施工写真を完全に同一サイズへ統一 */
.equal-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.equal-gallery figure { aspect-ratio: 4 / 5; }
.equal-gallery img,
.equal-gallery figure:nth-child(2) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equal-gallery figure:nth-child(2) { grid-column: auto; grid-row: auto; }

/* SPエポ */
.sp-hero { background: #102b52; }
.sp-intro {
  display: grid;
  grid-template-columns: minmax(0,52fr) minmax(0,48fr);
  gap: clamp(48px,7vw,100px);
  align-items: center;
}
.sp-intro > * { max-width: none; margin: 0; }
.sp-visual {
  position: relative;
  min-height: 580px;
  padding: 34px 70px 80px 0;
}
.sp-visual::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 42px;
  left: -7vw;
  z-index: -1;
  background: #eef2f6;
  box-shadow: inset -1px 0 0 #d7dfe7;
}
.sp-visual img:first-child { width: 74%; height: 440px; object-fit: cover; box-shadow: 18px 20px 36px rgba(7,26,51,.14); }
.sp-visual img:last-child { position: absolute; right: 0; bottom: 0; width: 48%; height: 235px; border: 8px solid #fff; object-fit: cover; box-shadow: 0 12px 28px rgba(7,26,51,.13); }
.sp-intro dl { display: grid; grid-template-columns: 130px 1fr; margin-top: 30px; border-top: 1px solid var(--line-dark); }
.sp-intro dt,.sp-intro dd { margin: 0; padding: 13px 8px; border-bottom: 1px solid var(--line); }
.sp-intro dt { padding-left: 0; color: var(--muted); font-size: 13px; font-weight: 700; }

.sp-performance {
  background: #f3f6f8;
  box-shadow: inset 0 1px 0 #e1e7ec, inset 0 -1px 0 #e1e7ec;
}
.performance-grid { display: grid; grid-template-columns: repeat(3,1fr); max-width: var(--max); margin: 42px auto 36px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line-dark); }
.performance-grid article { position: relative; min-height: 205px; padding: 30px; border-right: 1px solid var(--line); background: rgba(255,255,255,.86); }
.performance-grid article:last-child { border-right: 0; }
.performance-grid strong { color: var(--navy); font-size: clamp(54px,7vw,84px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.performance-grid span { margin-left: 7px; color: var(--blue); font-size: 18px; font-weight: 700; }
.performance-grid p { margin: 20px 0 0; color: #4d5965; font-size: 14px; }
.sp-table { max-width: 780px; margin: 0 auto 18px; background: #fff; }
.sp-performance > small { display: block; max-width: 780px; margin: 0 auto; color: var(--muted); }

.sp-use-layout { display: grid; grid-template-columns: minmax(0,55fr) minmax(0,45fr); gap: 64px; align-items: start; max-width: var(--max); }
.sp-use-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-use-images figure { margin: 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 24px rgba(7,26,51,.06); }
.sp-use-images img { width: 100%; height: 360px; object-fit: cover; }
.sp-use-images figcaption { padding: 13px 16px; color: var(--navy); font-size: 13px; font-weight: 700; }
.sp-use-list { border-top: 2px solid var(--navy); }
.sp-use-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 24px 8px; border-bottom: 1px solid var(--line); }
.sp-use-list article > b { color: var(--blue); font-size: 17px; }
.sp-use-list h3 { margin: 0 0 6px; font-size: 22px; }
.sp-use-list p { margin: 0; color: var(--muted); font-size: 14px; }

.sp-case { display: grid; grid-template-columns: minmax(0,38fr) minmax(0,62fr); gap: 60px; align-items: center; background: var(--navy); color: #d8e1ea; }
.sp-case > * { max-width: none; margin: 0; }
.sp-case h2 { color: #fff; }
.sp-case .eyebrow { color: #8fc0ee; border-color: #8fc0ee; }
.sp-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-before-after figure { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.sp-before-after img { width: 100%; height: 350px; object-fit: cover; }
.sp-before-after figcaption { position: absolute; top: 0; left: 0; padding: 8px 14px; background: rgba(7,26,51,.9); color: #fff; font-size: 13px; font-weight: 700; }

.sp-flow { grid-template-columns: repeat(3,1fr); background: #fff; }
.sp-flow article { border-bottom: 1px solid var(--line); }
.sp-notes { max-width: 1100px; margin: auto; }
.sp-notes ul { margin: 28px 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.sp-notes li { position: relative; padding: 15px 18px 15px 34px; border-bottom: 1px solid var(--line); }
.sp-notes li::before { content: ""; position: absolute; top: 25px; left: 12px; width: 7px; height: 7px; background: var(--blue); }

@media (max-width:1180px) {
  header nav { gap: 15px; font-size: 13px; }
  .consult { margin-left: 15px; padding-right: 13px; padding-left: 13px; }
}
@media (max-width:1040px) {
  .brand small,header nav,.consult { display: none; }
  .menu { display: block; }
  header nav.open { position: absolute; top: 76px; right: 0; left: 0; display: flex; height: auto; flex-direction: column; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 24px rgba(7,26,51,.08); }
  header nav.open a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width:900px) {
  header nav.open { top: 68px; }
  .service-tech-grid { grid-template-columns: 1fr; }
  .equal-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .equal-gallery figure { aspect-ratio: 3 / 4; }
  .sp-intro,.sp-use-layout,.sp-case { grid-template-columns: 1fr; }
  .sp-visual { min-height: 510px; }
  .sp-visual::before { left: -24px; }
  .performance-grid { grid-template-columns: 1fr; }
  .performance-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sp-use-images img { height: 320px; }
  .sp-case { gap: 40px; }
  .sp-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width:560px) {
  .equal-gallery { grid-template-columns: 1fr; }
  .equal-gallery figure { aspect-ratio: 4 / 3; }
  .sp-visual { min-height: 400px; padding: 25px 44px 60px 0; }
  .sp-visual img:first-child { width: 78%; height: 300px; }
  .sp-visual img:last-child { width: 52%; height: 175px; border-width: 5px; }
  .sp-intro dl { grid-template-columns: 1fr; }
  .sp-intro dt { padding-bottom: 3px; border-bottom: 0; }
  .sp-intro dd { padding-top: 3px; }
  .sp-use-images { grid-template-columns: 1fr; }
  .sp-use-images img { height: 290px; }
  .sp-before-after { grid-template-columns: 1fr; }
  .sp-before-after img { height: 280px; }
  .sp-flow { display: block; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP","Yu Gothic",Meiryo,sans-serif; font-size: 16.5px; font-weight: 400; line-height: 1.82; letter-spacing: .015em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.35em; }
img { display: block; max-width: 100%; }

header { position: sticky; top: 0; z-index: 30; height: 76px; display: flex; align-items: center; padding: 0 max(3vw,28px); background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(184,195,206,.65); box-shadow: 0 3px 14px rgba(7,26,51,.035); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand b,.footbrand b { color: var(--navy); font-family: Arial,sans-serif; font-size: 28px; font-weight: 800; letter-spacing: .1em; line-height: 1; }
.brand small { color: #465361; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
header nav { display: flex; align-items: stretch; gap: 27px; height: 100%; font-size: 14px; font-weight: 600; }
header nav a { display: grid; place-items: center; position: relative; }
header nav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .22s ease; }
header nav a:hover::after,header nav a:focus-visible::after { transform: scaleX(1); }
.consult,.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 21px; border: 1px solid transparent; border-radius: 7px; background: var(--blue); color: #fff; font-weight: 700; line-height: 1.4; transition: background-color .2s ease,transform .2s ease; }
.consult { margin-left: 28px; font-size: 14px; }
.consult:hover,.btn:hover { background: var(--blue-dark); transform: translateY(-2px); }
.menu { display: none; border: 0; background: transparent; color: var(--navy); font-size: 25px; }

.hero { position: relative; isolation: isolate; display: grid; min-height: 670px; align-items: center; overflow: hidden; background-color: var(--navy); background-position: right center; background-size: 57% 100%; background-repeat: no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,var(--navy) 0 45%,rgba(7,26,51,.95) 51%,rgba(7,26,51,.18) 74%,rgba(7,26,51,.08)); }
.heroCopy { width: min(650px,47vw); margin-left: max(7vw,54px); padding: 72px 0 118px; }
.heroCopy>p { display: inline-block; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid #63a5e5; color: #dceafa; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { margin: 0 0 28px; color: #fff; font-size: clamp(42px,4.6vw,66px); font-weight: 700; line-height: 1.34; letter-spacing: .015em; }
.heroCopy>span { display: block; max-width: 560px; color: #d4dde7; font-size: 16px; line-height: 1.9; }
.hero aside { position: absolute; right: max(5vw,40px); bottom: 38px; width: min(410px,35vw); padding: 23px 28px; border: 1px solid rgba(255,255,255,.78); border-left: 4px solid var(--blue); border-radius: 6px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); color: var(--ink); }
.hero aside>* { display: block; }
.hero aside small { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hero aside h2 { margin: 4px 0 2px; color: var(--navy); font-size: 24px; font-weight: 700; }
.hero aside b { font-size: 14px; }
.hero aside a,.textlink { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.hero aside a:hover,.textlink:hover { text-decoration: underline; }

.pad { padding: 120px max(7vw,30px); }
.pad>* { max-width: var(--max); margin-right: auto; margin-left: auto; }
h2 { margin: 12px 0 32px; color: var(--navy); font-size: clamp(29px,3.2vw,46px); font-weight: 700; line-height: 1.46; letter-spacing: .01em; }
h3 { color: var(--navy); font-weight: 700; line-height: 1.55; }
.eyebrow,.pagehero p { margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.eyebrow { padding-left: 13px; border-left: 3px solid var(--blue); }

.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(70px,9vw,135px); align-items: start; }
.split>* { max-width: none; margin-right: 0; margin-left: 0; }
.split>div:last-child { padding-top: 24px; color: #354251; }
.split dl,.feature dl { display: grid; grid-template-columns: 155px 1fr; margin-top: 34px; border-top: 1px solid var(--line-dark); }
.split dt,.split dd,.feature dt,.feature dd { margin: 0; padding: 15px 10px; border-bottom: 1px solid var(--line); }
.split dt,.feature dt { padding-left: 0; color: var(--muted); font-size: 13px; font-weight: 700; }

.services { position: relative; background: var(--soft); }
.services::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(7,26,51,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(7,26,51,.025) 1px,transparent 1px); background-size: 40px 40px; }
.services>* { position: relative; }
.cards { display: grid; grid-template-columns: 1.15fr .925fr .925fr; gap: 0; margin-top: 42px; margin-bottom: 38px; border-top: 1px solid var(--line-dark); background: transparent; }
.cards article { min-height: 285px; padding: 38px 34px 35px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.82); }
.cards article:first-child { border-left: 4px solid var(--blue); }
.cards article:last-child { border-right: 0; }
.cards article>b,.serviceList article>b,.flow article>b { color: var(--blue); font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.cards h3 { margin: 18px 0 14px; font-size: 23px; }
.cards p { color: #4a5662; font-size: 15px; }
.btn.dark { margin: 0; background: var(--navy); }

.feature { display: grid; grid-template-columns: minmax(0,55fr) minmax(0,45fr); gap: clamp(48px,7vw,105px); align-items: center; background: var(--navy); color: #dce3ea; }
.feature>* { max-width: none; margin: 0; }
.feature img { width: calc(100% + 7vw); height: 620px; margin-left: -7vw; object-fit: cover; box-shadow: 24px 24px 0 rgba(255,255,255,.055); }
.feature .eyebrow { color: #8fc0ee; border-color: #8fc0ee; }
.feature h2,.feature h3 { color: #fff; }
.feature h3 { margin: -12px 0 20px; font-size: 21px; }
.feature dt,.feature dd { border-color: rgba(255,255,255,.17); }
.feature dt { color: #aebac7; }
.feature .textlink { color: #9ccbf7; }

.pagehero { position: relative; display: flex; min-height: 370px; align-items: center; overflow: hidden; padding: 60px max(7vw,30px); border-bottom: 1px solid #1d3b5a; background: var(--navy); color: #fff; }
.pagehero::after { content: ""; position: absolute; right: 6vw; bottom: 0; width: 34%; height: 100%; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.45) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.45) 1px,transparent 1px); background-size: 44px 44px; }
.pagehero>div { position: relative; z-index: 1; width: min(760px,70vw); }
.pagehero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(42px,5vw,66px); font-weight: 700; line-height: 1.3; }
.pagehero p { color: #8fc0ee; }
.pagehero span { color: #d5dee7; }

.info { max-width: 1050px; margin: auto; }
.info>dl { display: grid; grid-template-columns: 240px 1fr; border-top: 2px solid var(--navy); }
.info dt,.info dd { margin: 0; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.info dt { background: #f4f6f8; font-weight: 700; }
.partner { margin-top: 90px; }

.serviceList { max-width: 1120px; margin: auto; }
.serviceList article { display: grid; grid-template-columns: 125px 1fr; gap: 42px; padding: 58px 0; border-bottom: 1px solid var(--line-dark); }
.serviceList article:first-child { border-top: 1px solid var(--line-dark); }
.serviceList article>b { padding-top: 8px; font-size: 26px; }
.serviceList h2 { margin: 0 0 4px; font-size: 34px; }
.serviceList h3 { margin: 0 0 16px; color: var(--blue); font-size: 16px; }
.serviceList p { max-width: 790px; color: #485461; }

.four { grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.four article { min-height: 250px; border-left: 0; background: rgba(255,255,255,.9); }
.four article:nth-child(odd) { border-left: 1px solid var(--line); }
.four article:nth-child(1) { border-left: 4px solid var(--blue); }

.gallery { display: grid; grid-template-columns: 1fr .48fr 1fr; gap: 18px; margin-top: 46px; align-items: stretch; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--navy); }
.gallery img { width: 100%; height: 475px; object-fit: cover; }
.gallery figure:nth-child(2) img { filter: saturate(.78); }
.gallery figcaption { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: rgba(7,26,51,.9); color: #fff; font-size: 13px; }
.gallery figcaption b { letter-spacing: .09em; }
.gallery figure:first-child figcaption { border-left: 4px solid #9b5960; }
.gallery figure:last-child figcaption { border-left: 4px solid #4f8bc8; }

.flow { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; background: #fff; }
.flow>p,.flow>h2 { grid-column: 1/-1; }
.flow article { position: relative; min-height: 260px; padding: 35px 28px; border-top: 2px solid var(--navy); border-right: 1px solid var(--line); background: #fff; }
.flow article:last-child { border-right: 0; }
.flow article::before { content: ""; position: absolute; top: -5px; left: 28px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.flow article h3 { margin: 20px 0 12px; font-size: 19px; }
.flow article p { color: #4d5965; font-size: 14px; }

.conditions { max-width: 1100px; margin: auto; }
.conditions>h3 { margin-top: 48px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); font-size: 20px; }
.conditions ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.conditions li { position: relative; padding: 11px 12px 11px 28px; border-bottom: 1px solid var(--line); }
.conditions li::before { content: ""; position: absolute; top: 22px; left: 8px; width: 6px; height: 6px; background: var(--blue); }
.table { overflow-x: auto; border: 1px solid var(--line-dark); }
table { width: 100%; border-collapse: collapse; }
th,td { padding: 16px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
th:last-child,td:last-child { border-right: 0; }
tr:last-child td { border-bottom: 0; }
th { background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
td { color: #273544; font-variant-numeric: tabular-nums; }

.netis { position: relative; max-width: calc(var(--max) + 14vw); margin: 0 auto 120px; padding: 58px max(7vw,60px); border-top: 4px solid var(--blue); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.netis::after { content: "TECHNICAL DATA"; position: absolute; top: 18px; right: 24px; color: #aab4bf; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.netis>p:first-child { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.netis h2 { max-width: 930px; margin-top: 8px; color: var(--navy); }
.netis p { max-width: 930px; }

.contact { display: grid; grid-template-columns: minmax(0,40fr) minmax(0,60fr); gap: clamp(50px,8vw,110px); }
.contact>* { max-width: none; margin: 0; }
.contact aside { padding-top: 5px; }
.contact aside h2 { margin-top: 0; font-size: 34px; }
.phone { margin-top: 38px; padding: 28px; border-left: 4px solid var(--blue); background: var(--navy); color: #fff; }
.phone a { display: block; margin: 5px 0 4px; font-size: 28px; font-weight: 700; letter-spacing: .03em; }
.phone p { margin: 0; color: #c7d0da; font-size: 13px; }
form { display: grid; gap: 21px; padding: 38px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
label { color: #273442; font-size: 14px; font-weight: 700; }
label b { margin-left: 5px; padding: 3px 6px; background: var(--blue); color: #fff; font-size: 11px; }
input,select,textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cbd3dc; border-radius: 5px; outline: 0; background: #fafbfc; color: var(--ink); font: inherit; transition: border-color .2s ease,box-shadow .2s ease; }
input:focus,select:focus,textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,87,166,.09); }
.agree { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.agree input { width: auto; margin: 0; }
form button { min-height: 50px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font: 700 16px inherit; transition: background-color .2s ease,transform .2s ease; }
form button:hover { background: var(--blue-dark); transform: translateY(-2px); }

.cta { padding: 78px 24px; border-top: 1px solid #1b3856; background: var(--navy); color: #fff; text-align: center; }
.cta>* { max-width: 920px; margin-right: auto; margin-left: auto; }
.cta>p:first-child { color: #9cc7ee; font-size: 14px; font-weight: 700; }
.cta h2 { margin: 10px auto 12px; color: #fff; font-size: 36px; }
.btn.light { margin: 10px; border-color: #fff; background: #fff; color: var(--navy); }
.btn.light:hover { background: #e8eef4; }
.btn.outline { margin: 10px; border-color: rgba(255,255,255,.65); background: transparent; }
.btn.outline:hover { background: rgba(255,255,255,.08); }

footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding: 68px 7vw 28px; background: #061525; color: #bdcbd8; font-size: 14px; }
footer>div:not(.footbrand) { display: flex; flex-direction: column; gap: 5px; }
footer strong { margin-bottom: 10px; color: #fff; }
.footbrand b { display: block; color: #fff; }
.footbrand span { font-size: 11px; }
footer>small { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }

@media (prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width:1040px) {
  header nav { gap: 19px; }
  .consult { margin-left: 18px; padding-right: 15px; padding-left: 15px; }
  .heroCopy { width: 54vw; margin-left: 5vw; }
  .hero aside { right: 4vw; width: 38vw; }
  .flow { grid-template-columns: repeat(3,1fr); }
  .flow>p,.flow>h2 { grid-column: 1/-1; }
}
@media (max-width:900px) {
  body { font-size: 16px; }
  header { height: 68px; padding: 0 22px; }
  .brand small,header nav,.consult { display: none; }
  .menu { display: block; }
  header nav.open { position: absolute; top: 68px; right: 0; left: 0; display: flex; height: auto; flex-direction: column; gap: 0; padding: 12px 22px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 24px rgba(7,26,51,.08); }
  header nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 720px; align-items: start; background-position: center top; background-size: 100% 47%; }
  .hero::before { background: linear-gradient(180deg,rgba(7,26,51,.08) 0 40%,var(--navy) 50% 100%); }
  .heroCopy { width: auto; margin: 0; padding: 370px 24px 175px; }
  .hero h1 { font-size: clamp(35px,9vw,48px); }
  .hero aside { right: 24px; bottom: 24px; left: 24px; width: auto; padding: 19px 20px; }
  .pad { padding: 80px 24px; }
  .split,.feature,.contact { grid-template-columns: 1fr; gap: 46px; }
  .split>div:last-child { padding-top: 0; }
  .cards,.four { grid-template-columns: 1fr; }
  .cards article,.four article { min-height: 0; border-right: 0; border-left: 0; }
  .cards article:first-child,.four article:nth-child(1) { border-left: 4px solid var(--blue); }
  .feature img { width: calc(100% + 48px); height: 400px; margin-left: -24px; box-shadow: none; }
  .pagehero { min-height: 310px; padding: 58px 24px; }
  .pagehero>div { width: 100%; }
  .pagehero::after { right: -60px; width: 55%; }
  .info>dl { grid-template-columns: 1fr; }
  .info dt { padding-bottom: 7px; border-bottom: 0; }
  .info dd { padding-top: 7px; }
  .serviceList article { grid-template-columns: 68px 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
  .gallery figure:nth-child(2) img { height: 260px; }
  .gallery img { height: 360px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow article { min-height: 230px; }
  .netis { margin: 0 24px 80px; padding: 50px 30px; }
  form { padding: 28px 22px; }
  footer { grid-template-columns: 1fr; gap: 34px; padding: 56px 24px 26px; }
}
@media (max-width:560px) {
  .brand b { font-size: 25px; }
  .hero { min-height: 735px; background-size: 100% 40%; }
  .heroCopy { padding-top: 320px; }
  .heroCopy>p { font-size: 11px; }
  .hero h1 { font-size: 34px; }
  .heroCopy>span { font-size: 14px; }
  h2 { font-size: 29px; }
  .pagehero { min-height: 270px; }
  .pagehero h1 { font-size: 38px; }
  .split dl,.feature dl { grid-template-columns: 1fr; }
  .split dt,.feature dt { padding-bottom: 4px; border-bottom: 0; }
  .split dd,.feature dd { padding-top: 4px; }
  .serviceList article { grid-template-columns: 1fr; gap: 8px; padding: 42px 0; }
  .serviceList article>b { padding: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(2) { grid-column: auto; grid-row: auto; }
  .gallery img,.gallery figure:nth-child(2) img { height: 390px; }
  .flow { display: block; }
  .flow article { min-height: 0; border-right: 0; }
  th,td { min-width: 105px; padding: 13px 10px; font-size: 13px; }
  .netis { margin: 0 20px 72px; padding: 52px 22px 35px; }
  .netis::after { right: 18px; }
  .cta { padding: 64px 22px; text-align: left; }
  .cta h2 { font-size: 29px; }
  .cta .btn { display: flex; width: 100%; min-height: 50px; margin: 9px 0; }
}

/* cascade finalization for added technology pages */
.equal-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.equal-gallery figure { aspect-ratio: 4 / 5; }
.equal-gallery img,
.equal-gallery figure:nth-child(2) img { width: 100%; height: 100%; object-fit: cover; }
.equal-gallery figure:nth-child(2) { grid-column: auto; grid-row: auto; }
.sp-flow { grid-template-columns: repeat(3,1fr); background: #fff; }
.sp-flow article { border-bottom: 1px solid var(--line); }
@media (max-width:1040px) {
  .brand small,header nav,.consult { display: none; }
  .menu { display: block; }
  header nav.open { position: absolute; top: 76px; right: 0; left: 0; display: flex; height: auto; flex-direction: column; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 12px 24px rgba(7,26,51,.08); }
  header nav.open a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width:900px) {
  header nav.open { top: 68px; }
  .equal-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .equal-gallery figure { aspect-ratio: 3 / 4; }
  .sp-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width:560px) {
  .equal-gallery { grid-template-columns: 1fr; }
  .equal-gallery figure { aspect-ratio: 4 / 3; }
  .sp-flow { display: block; }
}

/* SP uses the same numbered horizontal process as GX, with six steps. */
.sp-flow { grid-template-columns: repeat(6,minmax(0,1fr)); }
.sp-flow article { margin: 0; max-width: none; padding: 35px clamp(14px,1.6vw,28px); border-bottom: 0; }
.sp-flow article::before { left: clamp(14px,1.6vw,28px); }
.sp-flow article h3 { text-wrap: balance; line-break: strict; }
@media (max-width:1040px) {
  .sp-flow { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .sp-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .sp-flow { display: block; }
  .sp-flow article { padding: 35px 28px; }
  .sp-flow article::before { left: 28px; }
}

/* Preserve deliberate headline lines; fit their type to the available width. */
.fitted-heading { max-width: 100%; }
.heading-line { display: block; width: max-content; white-space: nowrap; }
.home-page .hero h1 { font-size: clamp(28px,3.8vw,52px); }
.home-page p,.home-page .heroCopy>span,.cta p { line-break: strict; word-break: normal; overflow-wrap: anywhere; text-wrap: pretty; }
.home-page .repair-links strong { white-space: nowrap; font-size: clamp(16px,1.7vw,20px); }
@media (max-width:900px) {
  .home-page .hero h1 { font-size: clamp(24px,6.5vw,48px); }
}
.phrase { display: inline-block; max-width: 100%; }
.home-page .heroCopy>span { max-width: 100%; }
.home-page .split>*,.home-page .feature>* { min-width: 0; }
.sp-flow article h3 { font-size: clamp(16px,1.45vw,19px); }

/* Align each section's title and action to the shared content column. */
.home-page .services>.fitted-heading { max-width: var(--max); }
.home-page .service-action { max-width: var(--max); margin-inline: auto; }
.cta h2 { text-align: center; }
.cta .heading-line { margin-inline: auto; }
.form-honeypot { display: none !important; }
.email-contact { margin-top: 32px; }
.email-contact small,.email-contact a { display: block; }
.email-contact a { color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }
.form-notice { margin: 0; font-size: 13px; color: var(--muted); }
.form-status { margin: 0; color: #a32525; }
.thanks { text-align: center; }
