/* РемПрофи НН · оформление публичной части */
:root {
  --red:#ff1735;
  --red-hover:#df0c29;
  --ink:#15171b;
  --muted:#787b83;
  --line:#e5e6e9;
  --paper:#f6f6f7;
  --dark:#1a2025;
  --bs-body-font-family:Arial,"Helvetica Neue",sans-serif;
  --bs-body-color:#15171b;
  --bs-body-bg:#fff;
  --bs-primary:#ff1735;
  --bs-primary-rgb:255,23,53;
  --bs-link-color:#ff1735;
  --bs-link-hover-color:#df0c29;
  --bs-border-color:#e5e6e9
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:32px
}

body {
  margin:0;
  background:white;
  font:16px/1.5 Arial,"Helvetica Neue",sans-serif;
  color:var(--ink)
}

a {
  color:inherit;
  text-decoration:none
}

a:hover {
  color:var(--red)
}

button,input,textarea,select {
  font:inherit
}

button {
  cursor:pointer
}

img {
  display:block;
  max-width:100%;
  height:auto
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-weight:750;
  letter-spacing:-.035em;
  line-height:1.12
}

h1 {
  font-size:clamp(40px,4.5vw,64px)
}

h2 {
  font-size:34px
}

h3 {
  font-size:20px
}

p {
  line-height:1.5
}

:focus-visible {
  outline:3px solid var(--red);
  outline-offset:5px
}

.container {
  width:100%;
  max-width:1320px;
  padding:0 48px;
  margin:0 auto
}

.red {
  color:var(--red)
}

.muted {
  color:var(--muted)
}

.lead {
  font-size:19px;
  font-weight:400;
  line-height:1.6;
  color:#666a73
}

.eyebrow {
  font-size:14px;
  line-height:1.4;
  color:var(--red);
  font-weight:500;
  letter-spacing:.01em;
  margin-bottom:10px
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:15px;
  font-size:14px;
  font-weight:600;
  white-space:nowrap
}

.text-link .bi {
  font-size:18px;
  color:var(--red)
}

.button,.btn-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  min-height:46px;
  padding:12px 25px;
  border:1px solid var(--red);
  border-radius:50px;
  background:var(--red);
  color:white;
  font-size:14px;
  line-height:1.35;
  font-weight:600;
  transition:background .2s,transform .2s,box-shadow .2s
}

.button:hover,.btn-primary:hover {
  background:var(--red-hover);
  border-color:var(--red-hover);
  color:white;
  transform:translateY(-2px);
  box-shadow:0 7px 18px #ff173522
}

.button .bi {
  font-size:18px;
  line-height:1
}

.button-dark {
  background:var(--ink);
  border-color:var(--ink)
}

.button-dark:hover {
  background:#34383e;
  border-color:#34383e
}

.circle-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex-shrink:0;
  border-radius:50%;
  color:white;
  background:var(--red);
  font-size:18px;
  transition:transform .2s,background .2s
}

a:hover .circle-arrow {
  transform:translateX(3px);
  background:var(--red-hover);
  color:white
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:1000;
  background:var(--red);
  color:white;
  padding:12px 20px
}

.skip-link:focus {
  top:0;
  color:white
}

.site-header {
  position:relative;
  z-index:50;
  background:white;
  border-bottom:1px solid #f0f0f1
}

.header-inner {
  min-height:98px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}

.brand {
  flex-shrink:0;
  width:270px;
  display:block
}

.brand img {
  width:100%;
  height:auto
}

.site-nav {
  display:flex;
  align-items:center;
  gap:29px
}

.site-nav>a {
  position:relative;
  color:#767983;
  font-size:13px;
  padding:14px 0;
  white-space:nowrap
}

.site-nav>a:hover,.site-nav>a.active {
  color:var(--ink)
}

.site-nav>a.active {
  font-weight:600
}

.site-nav>a.active:after {
  content:"";
  height:2px;
  background:var(--red);
  position:absolute;
  left:0;
  right:0;
  bottom:6px
}

.header-contact {
  text-align:right;
  flex-shrink:0
}

.phone-pill {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:30px;
  padding:11px 20px;
  background:var(--red);
  color:white;
  font-size:14px;
  font-weight:600;
  white-space:nowrap
}

.phone-pill:hover {
  background:var(--red-hover);
  color:white
}

.header-contact>span {
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:11px;
  line-height:1.2
}

.menu-toggle {
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  padding:10px
}

.menu-toggle span {
  display:block;
  height:2px;
  margin:4px 0;
  background:var(--ink);
  transition:transform .2s,opacity .2s
}

.home-hero {
  position:relative;
  min-height:520px;
  isolation:isolate;
  overflow:hidden;
  background:#f8f8f8
}

.hero-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
  z-index:-2
}

.home-hero:after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#fff 0%,#fffffffb 21%,#ffffffdd 33%,#ffffff80 46%,#ffffff00 64%)
}

.hero-inner {
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center
}

.hero-copy {
  padding:47px 0 52px;
  max-width:730px
}

.hero-eyebrow {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:.06em;
  color:#666a73;
  margin-bottom:28px
}

.hero-eyebrow>span {
  width:6px;
  height:6px;
  background:var(--red);
  border-radius:50%
}

.hero-copy h1 {
  font-size:58px;
  letter-spacing:-.045em;
  line-height:1.04
}

.hero-subtitle {
  font-size:29px;
  line-height:1.22;
  letter-spacing:-.025em;
  margin-top:10px;
  color:#202126
}

.hero-accent {
  font-size:56px;
  font-weight:750;
  line-height:1.15;
  letter-spacing:-.04em;
  color:var(--red)
}

.hero-actions {
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:28px
}

.hero-note {
  position:absolute;
  top:65px;
  right:48px;
  transform:rotate(-10deg);
  font:italic 25px/1.25 Georgia,serif;
  color:white;
  text-align:center;
  text-shadow:0 2px 10px #0008
}

.hero-note span {
  padding-left:40px
}

.hero-note svg {
  width:170px;
  height:24px;
  display:block;
  margin:4px 0 0 40px;
  color:var(--red)
}

.advantages {
  background:linear-gradient(#fff,#f7f7f8)
}

.advantage-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding-top:30px;
  padding-bottom:30px
}

.advantage-grid>div {
  text-align:center;
  position:relative;
  padding:0 18px
}

.advantage-grid>div+div {
  border-left:1px solid #dcdee2
}

.advantage-number {
  display:block;
  color:var(--red);
  font-size:11px;
  letter-spacing:.03em;
  margin-bottom:7px
}

.advantage-grid h2 {
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.025em
}

.advantage-grid p {
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin-top:13px
}

.services-section {
  padding-top:43px;
  padding-bottom:48px
}

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:25px;
  margin-bottom:25px
}

.section-heading .eyebrow {
  margin-bottom:6px
}

.section-heading h2 {
  font-size:34px
}

.section-all {
  margin-bottom:6px
}

.section-caption {
  color:var(--muted);
  font-size:14px;
  white-space:nowrap
}

.mobile-break {
  display:none
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px
}

.service-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid #ededf0;
  border-radius:6px;
  overflow:hidden;
  background:white;
  box-shadow:0 4px 14px #171a2110;
  transition:transform .22s,box-shadow .22s,border-color .22s
}

.service-card:hover {
  color:var(--ink);
  transform:translateY(-5px);
  box-shadow:0 14px 30px #171a211a;
  border-color:#ffc4cd
}

.card-photo {
  aspect-ratio:1.74;
  overflow:hidden
}

.card-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s
}

.service-card:hover .card-photo img {
  transform:scale(1.045)
}

.card-body {
  padding:19px 19px 20px;
  display:flex;
  flex-direction:column;
  flex:1
}

.card-body h3 {
  font-size:18px;
  line-height:1.12;
  letter-spacing:-.025em
}

.card-body p {
  font-size:14px;
  line-height:1.4;
  color:var(--muted);
  margin:11px 0 18px
}

.card-body .circle-arrow {
  margin-top:auto;
  width:33px;
  height:33px;
  font-size:16px
}

.trades-section {
  padding:29px 0 32px;
  background:var(--paper)
}

.trades-section h2 {
  font-size:27px;
  margin-bottom:24px
}

.trade-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr))
}

.trade-card {
  display:flex;
  gap:18px;
  padding:0 20px;
  min-width:0
}

.trade-card:first-child {
  padding-left:0
}

.trade-card:last-child {
  padding-right:0
}

.trade-card+.trade-card {
  border-left:1px solid #dcdde1
}

.trade-card>.bi {
  font-size:43px;
  color:var(--red);
  line-height:1;
  flex-shrink:0
}

.trade-card h3 {
  font-size:17px;
  letter-spacing:-.02em;
  line-height:1.15;
  max-width:175px
}

.trade-card p {
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
  margin-top:9px
}

.trade-card:hover h3 {
  color:var(--red)
}

.special-services {
  display:grid;
  grid-template-columns:1fr 1fr;
  background:var(--dark)
}

.special-card {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:510px;
  background:var(--dark);
  color:white
}

.special-card+.special-card {
  border-left:1px solid #ffffff26
}

.special-content {
  position:relative;
  z-index:2;
  max-width:660px;
  margin-left:auto;
  padding:31px 48px 200px
}

.tractor-card .special-content {
  margin-left:0;
  margin-right:auto
}

.special-kicker {
  display:block;
  margin-bottom:9px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:#bec0c4
}

.special-content h2 {
  font-size:26px;
  line-height:1.12;
  letter-spacing:-.025em
}

.special-content>p {
  font-size:16px;
  line-height:1.4;
  margin:13px 0 14px;
  color:#e0e2e5
}

.check-list {
  list-style:none;
  padding:0;
  margin:0 0 20px
}

.check-list li {
  position:relative;
  padding-left:27px;
  margin:7px 0;
  font-size:14px;
  line-height:1.3;
  color:#ebebed
}

.check-list li:before {
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--red);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:700
}

.special-content .button {
  min-height:41px;
  padding:10px 23px
}

.special-card>img {
  position:absolute;
  z-index:-2;
  bottom:0;
  width:100%;
  height:62%;
  object-fit:cover;
  object-position:center 55%
}

.special-card:after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(180deg,#1a2025 0%,#1a2025 44%,#1a2025ed 56%,#1a202560 72%,transparent 91%)
}

.tractor-card>img {
  height:54%;
  object-position:center 60%
}

.site-footer {
  background:#161c21;
  color:white
}

.footer-inner {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
  padding-top:33px;
  padding-bottom:28px
}

.footer-logo {
  display:block;
  width:210px;
  margin-bottom:9px;
  padding:6px;
  background:#fff;
  border-radius:4px
}

.footer-inner p {
  font-size:12px;
  line-height:1.6;
  color:#a2a6ad
}

.footer-links {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  font-size:12px;
  color:#aeb1b7
}

.footer-links a:hover {
  color:white
}

.footer-phone {
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  justify-content:center;
  gap:5px
}

.footer-phone>a {
  font-size:18px;
  font-weight:600;
  white-space:nowrap
}

.footer-phone>a>.bi {
  margin-right:9px
}

.footer-phone>span {
  font-size:11px;
  color:#aeb1b7
}

.footer-phone .footer-email {
  font-size:12px;
  font-weight:400;
  color:#aeb1b7;
  margin-top:8px
}

.footer-bottom {
  border-top:1px solid #ffffff12;
  padding-top:15px;
  padding-bottom:17px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#898e96;
  font-size:11px
}

.to-top {
  position:fixed;
  right:22px;
  bottom:24px;
  z-index:40;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  background:#fffffff2;
  color:var(--ink);
  border-radius:50%;
  box-shadow:0 4px 14px #0001;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.2s
}

.to-top.visible {
  opacity:1;
  visibility:visible;
  transform:none
}

.breadcrumb-wrap {
  padding-top:26px
}

.breadcrumb {
  margin:0;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  line-height:1.6
}

.breadcrumb a {
  color:#777b84
}

.breadcrumb a:hover {
  color:var(--red)
}

.breadcrumb .active {
  color:#a1a4aa
}

.breadcrumb-item+.breadcrumb-item:before {
  content:"/";
  color:#b7bac0;
  padding:0 11px
}

main>nav[aria-label="breadcrumb"] {
  max-width:1320px;
  margin:auto;
  padding:26px 48px 0
}

.page-intro {
  padding-top:45px;
  padding-bottom:20px
}

.page-intro h1 {
  margin-bottom:25px;
  line-height:1.06
}

.page-intro .eyebrow {
  margin-bottom:18px
}

.page-intro .lead {
  max-width:660px
}

.internal-section {
  padding-top:55px;
  padding-bottom:60px
}

.detail-hero {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:65px;
  align-items:center;
  padding-top:35px;
  padding-bottom:55px
}

.detail-copy h1 {
  font-size:58px;
  line-height:1.05;
  margin-bottom:24px
}

.detail-copy .lead {
  font-size:18px;
  margin-bottom:28px
}

.detail-copy .eyebrow {
  margin-bottom:18px
}

.detail-photo {
  position:relative;
  min-height:425px;
  height:100%;
  overflow:hidden;
  border-radius:6px
}

.detail-photo>img {
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  object-fit:cover
}

.detail-photo:after {
  content:"";
  position:absolute;
  inset:50% 0 0;
  background:linear-gradient(transparent,#0008)
}

.photo-label {
  position:absolute;
  bottom:23px;
  left:25px;
  right:20px;
  font-size:12px;
  color:white;
  z-index:1
}

.small-note {
  font-size:12px;
  color:var(--muted);
  margin-top:20px
}

.small-note .bi {
  color:var(--red);
  margin-right:5px
}

.scope-layout {
  display:grid;
  grid-template-columns:1fr 1.8fr;
  gap:70px;
  border-top:1px solid var(--line)
}

.scope-layout>div:first-child .muted {
  max-width:260px;
  font-size:14px;
  margin-top:20px
}

.scope-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:30px
}

.scope-item {
  display:flex;
  align-items:center;
  gap:15px;
  padding:21px 0;
  border-bottom:1px solid var(--line)
}

.scope-item>span {
  font-size:11px;
  color:var(--red);
  align-self:flex-start;
  margin-top:4px
}

.scope-item h3 {
  font-size:16px;
  line-height:1.4;
  letter-spacing:-.01em;
  font-weight:600
}

.scope-item>.bi {
  margin-left:auto;
  color:var(--red);
  font-size:20px
}

.process-section {
  background:var(--paper);
  padding:52px 0 55px
}

.process-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin-top:32px
}

.process-item>span {
  display:block;
  color:var(--red);
  font-size:36px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.06em;
  margin-bottom:20px
}

.process-item {
  border-top:1px solid #dadce1;
  padding-top:23px
}

.process-item h3 {
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.025em;
  margin-bottom:12px
}

.process-item p {
  font-size:14px;
  line-height:1.6;
  color:var(--muted)
}

.faq-layout {
  display:grid;
  grid-template-columns:1fr 1.8fr;
  gap:70px
}

.faq-list details {
  border-bottom:1px solid var(--line)
}

.faq-list summary {
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:23px 0
}

.faq-list summary::-webkit-details-marker {
  display:none
}

.faq-list summary>.bi {
  color:var(--red);
  transition:transform .2s
}

.faq-list details[open] summary>.bi {
  transform:rotate(45deg)
}

.faq-list details>p {
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
  max-width:600px;
  padding:0 28px 24px 0
}

.cta-section {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  padding:37px 48px 38px;
  background:#f7f7f8;
  border-left:3px solid var(--red);
  margin-top:12px;
  margin-bottom:55px;
  max-width:1224px
}

.cta-copy h2 {
  font-size:30px;
  margin-bottom:12px
}

.cta-copy p {
  font-size:14px;
  color:var(--muted);
  max-width:590px
}

.cta-section>.button {
  flex-shrink:0
}

.related-section {
  padding-top:0
}

.related-section .card-body h3 {
  font-size:17px
}

.special-link-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px
}

.special-link {
  position:relative;
  overflow:hidden;
  border-radius:6px;
  display:flex;
  align-items:stretch;
  background:var(--dark);
  color:white;
  min-height:230px
}

.special-link img {
  width:42%;
  object-fit:cover
}

.special-link>div {
  padding:28px
}

.special-link h2 {
  font-size:25px
}

.special-link p:not(.eyebrow) {
  color:#bfc2c7;
  font-size:14px;
  margin:13px 0 17px
}

.special-link:hover {
  color:white
}

.special-link .circle-arrow {
  width:30px;
  height:30px;
  font-size:14px
}

.special-link .eyebrow {
  font-size:11px;
  color:#ff6d80
}

.about-hero h1 {
  font-size:53px
}

.about-hero .detail-photo img {
  object-position:68% center
}

.about-statement {
  padding-top:35px;
  padding-bottom:65px
}

.about-statement h2 {
  font-size:39px;
  line-height:1.2;
  margin:18px 0 25px
}

.about-statement>.lead {
  max-width:760px
}

.prototype-note {
  display:inline-flex;
  align-items:flex-start;
  gap:9px;
  background:var(--paper);
  padding:13px 16px;
  color:#7c8089;
  font-size:12px;
  line-height:1.6;
  max-width:690px;
  margin-top:24px;
  border-radius:4px
}

.prototype-note .bi {
  color:var(--red);
  margin-top:2px
}

.works-section {
  padding-top:20px
}

.filter-bar {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:30px
}

.filter-button {
  border:1px solid var(--line);
  background:white;
  border-radius:30px;
  font-size:13px;
  padding:10px 20px;
  color:#6a6f78;
  transition:.2s
}

.filter-button:hover {
  border-color:var(--red);
  color:var(--red)
}

.filter-button.active {
  background:var(--red);
  border-color:var(--red);
  color:white
}

.work-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px 28px
}

.work-card[hidden] {
  display:none
}

.work-image {
  border:0;
  padding:0;
  background:var(--paper);
  display:block;
  width:100%;
  aspect-ratio:1.6;
  position:relative;
  overflow:hidden;
  border-radius:6px
}

.work-image>img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s
}

.work-image:hover>img {
  transform:scale(1.04)
}

.work-zoom {
  position:absolute;
  bottom:18px;
  right:18px;
  width:38px;
  height:38px;
  background:white;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--ink)
}

.work-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding-top:19px
}

.work-caption .eyebrow {
  font-size:12px;
  margin-bottom:6px
}

.work-caption h2 {
  font-size:21px;
  margin-bottom:5px
}

.work-caption .muted {
  font-size:11px
}

.gallery-dialog {
  padding:0;
  border:0;
  border-radius:7px;
  background:#15171b;
  color:white;
  max-width:min(1100px,92vw);
  max-height:92vh;
  overflow:auto
}

.gallery-dialog::backdrop {
  background:#10151de8;
  backdrop-filter:blur(5px)
}

.gallery-dialog>img {
  width:100%;
  max-height:78vh;
  object-fit:contain
}

.gallery-dialog>p {
  font-size:14px;
  padding:18px 22px
}

.gallery-close {
  position:absolute;
  right:12px;
  top:12px;
  border:0;
  border-radius:50%;
  background:white;
  color:var(--ink);
  width:40px;
  height:40px
}

body.gallery-open {
  overflow:hidden
}

.contacts-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  padding-top:30px;
  padding-bottom:60px
}

.contact-panel h2 {
  font-size:26px;
  margin-bottom:14px
}

.contact-row {
  display:flex;
  align-items:center;
  gap:22px;
  padding:23px 0;
  border-bottom:1px solid var(--line)
}

.contact-row>.bi:first-child {
  font-size:25px;
  color:var(--red)
}

.contact-row>.bi:last-child:not(:first-child) {
  font-size:17px;
  margin-left:auto;
  color:#b1b4ba
}

.contact-row>span {
  display:flex;
  flex-direction:column;
  gap:5px
}

.contact-row small {
  font-size:12px;
  color:var(--muted)
}

.contact-row strong {
  font-size:18px;
  font-weight:600
}

.address-panel {
  padding:33px 40px;
  background:var(--paper);
  border-radius:6px;
  position:relative;
  overflow:hidden
}

.address-panel:after {
  content:"58";
  position:absolute;
  right:-22px;
  bottom:-95px;
  font-size:270px;
  font-weight:750;
  letter-spacing:-.09em;
  color:#eaebee;
  z-index:0;
  pointer-events:none
}

.address-panel>* {
  position:relative;
  z-index:1
}

.address-symbol {
  font-size:36px;
  color:var(--red);
  margin:20px 0
}

.address-panel h2 {
  font-size:44px;
  line-height:1.05
}

.address-panel p {
  font-size:14px;
  color:var(--muted);
  margin:17px 0 24px
}

.address-panel .button {
  font-size:13px
}

.error-page {
  padding-top:80px;
  padding-bottom:110px
}

.error-page>.button {
  margin-top:30px
}

#content {
  max-width:1320px;
  padding:38px 48px 70px;
  margin:auto
}

#content>h1 {
  font-size:44px;
  margin-bottom:24px
}

.page-body {
  font-size:16px;
  color:#555b65;
  line-height:1.75
}

.page-body h2,.page-body h3 {
  color:var(--ink);
  margin:30px 0 16px
}

.page-body p {
  margin-bottom:20px
}

.page-body a {
  text-decoration:underline;
  text-underline-offset:3px
}

.page-body img {
  height:auto
}

.page-body table {
  width:100%;
  border-collapse:collapse
}

.page-body td,.page-body th {
  padding:12px;
  border:1px solid var(--line)
}

.table-scroll {
  overflow-x:auto
}

.form-control,.form-select {
  border-color:var(--line);
  border-radius:5px;
  background:#fafafa
}

.form-control:focus,.form-select:focus {
  border-color:#ff7487;
  box-shadow:0 0 0 3px #ff173515;
  background:white
}

.form-check-input:checked {
  background-color:var(--red);
  border-color:var(--red)
}

.form-check-label {
  font-size:12px;
  color:var(--muted)
}

.form-check-label a {
  color:var(--red);
  text-decoration:underline
}

.list-group-item.active {
  background:var(--red);
  border-color:var(--red)
}

.alert {
  border-radius:5px
}

@media(max-width:1199px) {
  .container {
    padding-left:32px;
    padding-right:32px
  }
  .header-inner {
    gap:20px;
    min-height:90px
  }
  .brand {
    width:225px
  }
  .site-nav {
    gap:22px
  }
  .site-nav>a {
    font-size:12px
  }
  .phone-pill {
    font-size:12px;
    padding:10px 15px
  }
  .header-contact>span {
    font-size:10px
  }
  .home-hero,.hero-inner {
    min-height:470px
  }
  .hero-copy h1 {
    font-size:51px
  }
  .hero-subtitle {
    font-size:25px
  }
  .hero-accent {
    font-size:49px
  }
  .hero-note {
    right:35px;
    top:52px;
    font-size:22px
  }
  .service-grid {
    gap:18px
  }
  .card-body {
    padding:17px
  }
  .card-body h3 {
    font-size:16px
  }
  .card-body p {
    font-size:13px
  }
  .section-heading h2 {
    font-size:29px
  }
  .trade-card {
    gap:13px;
    padding:0 15px
  }
  .trade-card>.bi {
    font-size:36px
  }
  .trade-card h3 {
    font-size:16px
  }
  .trade-card p {
    font-size:12px
  }
  .special-content {
    padding:30px 32px 170px
  }
  .special-content h2 {
    font-size:24px
  }
  .special-content>p {
    font-size:15px
  }
  .check-list li {
    font-size:13px
  }
  .special-card {
    min-height:490px
  }
  .cta-section {
    max-width:calc(100% - 64px)
  }
  .detail-hero {
    gap:40px
  }
  .detail-copy h1,.about-hero h1 {
    font-size:48px
  }
  .detail-photo {
    min-height:390px
  }
  .scope-layout,.faq-layout {
    gap:40px
  }
  .contacts-layout {
    gap:35px
  }
}

@media(max-width:991px) {
  .header-inner {
    min-height:82px;
    gap:20px
  }
  .brand {
    width:240px;
    margin-right:auto
  }
  .menu-toggle {
    display:block;
    flex-shrink:0
  }
  .header-contact {
    margin-left:auto
  }
  .phone-pill {
    font-size:13px
  }
  .site-nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:white;
    padding:16px 32px 25px;
    border-bottom:1px solid var(--line);
    box-shadow:0 10px 20px #0000000a
  }
  .site-nav.is-open {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0
  }
  .site-nav>a {
    align-self:flex-start;
    font-size:16px;
    padding:12px 0
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform:translateY(6px) rotate(45deg)
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity:0
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform:translateY(-6px) rotate(-45deg)
  }
  .home-hero,.hero-inner {
    min-height:440px
  }
  .hero-copy h1 {
    font-size:47px
  }
  .hero-subtitle {
    font-size:23px
  }
  .hero-accent {
    font-size:46px
  }
  .hero-note {
    top:35px;
    font-size:19px;
    right:23px
  }
  .hero-actions {
    margin-top:26px;
    gap:23px
  }
  .advantage-grid h2 {
    font-size:16px
  }
  .advantage-grid p {
    font-size:12px
  }
  .service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px
  }
  .card-body h3 {
    font-size:19px
  }
  .card-body p {
    font-size:14px
  }
  .card-body {
    min-height:165px
  }
  .trade-grid {
    grid-template-columns:1fr 1fr;
    gap:25px
  }
  .trade-card,.trade-card:first-child {
    padding:0 18px 0 0
  }
  .trade-card:nth-child(odd) {
    border:0
  }
  .trade-card:nth-child(even) {
    padding-left:22px
  }
  .trade-card>.bi {
    font-size:42px;
    min-width:46px
  }
  .trade-card h3 {
    font-size:18px;
    max-width:none
  }
  .trade-card p {
    font-size:14px
  }
  .special-card {
    min-height:540px
  }
  .special-content {
    padding:30px 25px 180px
  }
  .special-content h2 {
    font-size:22px
  }
  .special-content>p {
    font-size:14px
  }
  .footer-inner {
    gap:25px
  }
  .footer-logo {
    width:170px
  }
  .footer-phone>a {
    font-size:14px
  }
  .footer-phone>a>.bi {
    margin-right:3px
  }
  .detail-copy h1,.about-hero h1 {
    font-size:40px
  }
  .detail-copy .lead {
    font-size:16px
  }
  .detail-hero {
    gap:30px
  }
  .detail-photo {
    min-height:350px
  }
  .scope-layout {
    grid-template-columns:1fr;
    gap:25px
  }
  .scope-layout h2 br {
    display:none
  }
  .scope-layout>div:first-child .muted {
    max-width:550px
  }
  .process-grid {
    grid-template-columns:1fr 1fr
  }
  .faq-layout {
    grid-template-columns:1fr;
    gap:20px
  }
  .cta-section {
    padding:30px;
    align-items:flex-start
  }
  .cta-copy h2 {
    font-size:25px
  }
  .cta-copy p {
    max-width:400px
  }
  .cta-section>.button {
    font-size:12px;
    gap:13px;
    padding:12px 18px
  }
  .special-link-grid {
    grid-template-columns:1fr
  }
  .contact-row {
    gap:15px
  }
  .contact-row strong {
    font-size:15px
  }
  .address-panel {
    padding:28px
  }
  .address-panel h2 {
    font-size:38px
  }
  #content {
    padding-left:32px;
    padding-right:32px
  }
}

@media(max-width:639px) {
  .container {
    padding-left:22px;
    padding-right:22px
  }
  .header-inner {
    min-height:76px;
    gap:15px
  }
  .brand {
    width:212px
  }
  .header-contact {
    display:none
  }
  .menu-toggle {
    width:39px;
    height:39px;
    padding:8px
  }
  .site-nav {
    padding:12px 22px 23px
  }
  .home-hero {
    min-height:650px;
    display:flex;
    align-items:flex-start
  }
  .hero-inner {
    min-height:650px;
    align-items:flex-start
  }
  .hero-copy {
    padding:36px 0 290px;
    width:100%;
    max-width:none
  }
  .hero-eyebrow {
    margin-bottom:20px;
    font-size:10px
  }
  .hero-copy h1 {
    font-size:clamp(32px,7.9vw,48px);
    line-height:1.05
  }
  .hero-subtitle {
    font-size:clamp(18px,4.35vw,25px);
    line-height:1.3;
    margin-top:9px
  }
  .hero-accent {
    font-size:clamp(33px,8.1vw,48px);
    line-height:1.18
  }
  .hero-actions {
    gap:22px;
    margin-top:23px
  }
  .hero-actions .button {
    font-size:12px;
    min-height:43px;
    padding:11px 18px;
    gap:17px
  }
  .hero-actions .text-link {
    font-size:12px;
    gap:9px
  }
  .hero-image {
    inset:auto 0 0;
    height:340px;
    object-position:65% 70%;
    object-fit:cover
  }
  .home-hero:after {
    background:linear-gradient(180deg,#fff 0%,#fff 43%,#ffffffed 48%,#ffffff4d 57%,#ffffff00 70%)
  }
  .hero-note {
    top:auto;
    bottom:182px;
    right:22px;
    font-size:16px
  }
  .hero-note svg {
    width:115px;
    margin-left:24px;
    height:17px
  }
  .hero-note span {
    padding-left:22px
  }
  .advantage-grid {
    grid-template-columns:1fr 1fr;
    padding-top:26px;
    padding-bottom:26px;
    gap:25px 0
  }
  .advantage-grid>div {
    padding:0 10px
  }
  .advantage-grid>div:nth-child(3) {
    border-left:0
  }
  .advantage-grid h2 {
    font-size:16px
  }
  .advantage-grid p {
    font-size:12px;
    margin-top:9px
  }
  .advantage-number {
    font-size:10px
  }
  .services-section {
    padding-top:33px;
    padding-bottom:35px
  }
  .section-heading {
    gap:15px;
    margin-bottom:20px;
    align-items:flex-start
  }
  .section-heading h2 {
    font-size:27px
  }
  .section-heading .eyebrow {
    font-size:12px;
    margin-bottom:8px
  }
  .section-all {
    display:none
  }
  .mobile-break {
    display:block
  }
  .service-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .card-photo {
    aspect-ratio:1.8
  }
  .card-body {
    padding:21px;
    position:relative;
    min-height:151px
  }
  .card-body h3 {
    font-size:20px;
    padding-right:32px
  }
  .card-body p {
    font-size:14px;
    margin-bottom:0;
    padding-right:41px;
    max-width:420px
  }
  .card-body .circle-arrow {
    position:absolute;
    right:20px;
    bottom:22px;
    width:34px;
    height:34px
  }
  .trades-section {
    padding:28px 0 30px
  }
  .trades-section h2 {
    font-size:25px;
    line-height:1.15;
    margin-bottom:26px;
    max-width:350px
  }
  .trade-grid {
    grid-template-columns:1fr;
    gap:23px
  }
  .trade-card,.trade-card:first-child,.trade-card:nth-child(even) {
    padding:0;
    border:0;
    gap:22px
  }
  .trade-card+.trade-card {
    border:0
  }
  .trade-card>.bi {
    font-size:38px;
    min-width:42px
  }
  .trade-card h3 {
    font-size:17px
  }
  .trade-card p {
    font-size:13px;
    margin-top:6px;
    max-width:350px
  }
  .special-services {
    grid-template-columns:1fr
  }
  .special-card {
    min-height:510px
  }
  .special-card+.special-card {
    border-left:0;
    border-top:1px solid #ffffff26
  }
  .special-content {
    padding:29px 22px 190px
  }
  .special-content h2 {
    font-size:25px
  }
  .special-content>p {
    font-size:15px
  }
  .check-list li {
    font-size:13px;
    line-height:1.4
  }
  .special-card>img {
    height:57%
  }
  .special-card:after {
    background:linear-gradient(180deg,#1a2025 0%,#1a2025 43%,#1a2025e8 56%,#1a20253d 74%,transparent 95%)
  }
  .special-kicker {
    font-size:9px
  }
  .footer-inner {
    grid-template-columns:1fr;
    gap:24px;
    padding-top:30px;
    padding-bottom:25px
  }
  .footer-logo {
    width:215px
  }
  .footer-inner p {
    font-size:12px
  }
  .footer-links {
    gap:10px;
    font-size:13px
  }
  .footer-phone {
    align-items:flex-start;
    gap:7px
  }
  .footer-phone>a {
    font-size:20px
  }
  .footer-phone>span {
    font-size:12px
  }
  .footer-bottom {
    flex-direction:column;
    gap:8px;
    font-size:10px;
    padding-top:17px;
    padding-bottom:20px
  }
  .breadcrumb-wrap {
    padding-top:20px
  }
  .breadcrumb {
    font-size:10px;
    flex-wrap:wrap
  }
  .breadcrumb-item+.breadcrumb-item:before {
    padding:0 7px
  }
  .page-intro {
    padding-top:31px;
    padding-bottom:10px
  }
  .page-intro h1 {
    font-size:43px;
    margin-bottom:20px
  }
  .page-intro .eyebrow {
    font-size:12px;
    margin-bottom:14px
  }
  .lead {
    font-size:16px;
    line-height:1.6
  }
  .internal-section {
    padding-top:35px;
    padding-bottom:38px
  }
  .detail-hero {
    grid-template-columns:1fr;
    gap:27px;
    padding-top:28px;
    padding-bottom:36px
  }
  .detail-copy h1,.about-hero h1 {
    font-size:43px;
    margin-bottom:20px
  }
  .detail-copy .lead {
    font-size:16px;
    margin-bottom:23px
  }
  .detail-copy .eyebrow {
    font-size:12px;
    margin-bottom:13px
  }
  .detail-photo {
    min-height:300px
  }
  .photo-label {
    font-size:10px;
    left:20px;
    bottom:18px
  }
  .scope-layout {
    gap:18px
  }
  h2 {
    font-size:28px
  }
  .scope-grid {
    grid-template-columns:1fr
  }
  .scope-item {
    padding:17px 0
  }
  .scope-item h3 {
    font-size:15px
  }
  .scope-layout>div:first-child .muted {
    font-size:13px;
    margin-top:15px
  }
  .process-section {
    padding:35px 0 38px
  }
  .process-section h2 {
    font-size:28px;
    max-width:330px
  }
  .process-grid {
    gap:25px 20px;
    margin-top:26px
  }
  .process-item {
    padding-top:18px
  }
  .process-item>span {
    font-size:30px;
    margin-bottom:14px
  }
  .process-item h3 {
    font-size:17px
  }
  .process-item p {
    font-size:12px
  }
  .faq-layout {
    gap:10px
  }
  .faq-list summary {
    font-size:14px;
    padding:21px 0
  }
  .faq-list details>p {
    font-size:13px
  }
  .cta-section {
    max-width:calc(100% - 44px);
    flex-direction:column;
    gap:23px;
    padding:26px 23px;
    margin-top:0;
    margin-bottom:36px
  }
  .cta-copy h2 {
    font-size:27px
  }
  .cta-copy p {
    font-size:13px
  }
  .cta-section>.button {
    font-size:13px
  }
  .related-section {
    padding-top:0
  }
  .special-link {
    min-height:230px
  }
  .special-link img {
    width:37%
  }
  .special-link>div {
    padding:22px 18px
  }
  .special-link h2 {
    font-size:22px
  }
  .special-link .eyebrow {
    font-size:10px
  }
  .special-link p:not(.eyebrow) {
    font-size:12px;
    margin:10px 0 15px
  }
  .about-statement {
    padding-top:5px
  }
  .about-statement h2 {
    font-size:29px
  }
  .about-statement h2 br {
    display:none
  }
  .prototype-note {
    font-size:11px;
    padding:12px
  }
  .works-section {
    padding-top:22px
  }
  .filter-bar {
    gap:8px;
    margin-bottom:24px
  }
  .filter-button {
    font-size:11px;
    padding:9px 15px
  }
  .work-grid {
    grid-template-columns:1fr;
    gap:28px
  }
  .work-caption h2 {
    font-size:19px
  }
  .work-caption .eyebrow {
    font-size:11px
  }
  .contacts-layout {
    grid-template-columns:1fr;
    gap:30px;
    padding-top:25px;
    padding-bottom:35px
  }
  .contact-row {
    padding:20px 0;
    gap:18px
  }
  .contact-row strong {
    font-size:17px
  }
  .address-panel {
    padding:28px
  }
  .address-panel h2 {
    font-size:44px
  }
  .address-panel:after {
    font-size:260px
  }
  main>nav[aria-label="breadcrumb"] {
    padding:20px 22px 0
  }
  #content {
    padding:28px 22px 40px
  }
  #content>h1 {
    font-size:35px
  }
  .page-body {
    font-size:15px
  }
  .to-top {
    right:15px;
    bottom:16px;
    width:38px;
    height:38px
  }
  .error-page {
    padding-top:60px;
    padding-bottom:75px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}

/* Small screens and long service names */
h1 {
  overflow-wrap:break-word
}

.contact-row>span {
  min-width:0
}

.contact-row strong {
  overflow-wrap:anywhere
}

.site-nav>.admin-link {
  font-size:11px;
  color:var(--red)
}

@media(max-width:639px) {
  .brand {
    width:min(212px,calc(100vw - 120px))
  }
  .page-intro h1 {
    font-size:clamp(34px,10.5vw,43px)
  }
  .detail-copy h1,.about-hero h1 {
    font-size:clamp(32px,8.9vw,43px)
  }
  .section-caption {
    display:none
  }
  .hero-actions {
    gap:15px
  }
}

.detail-copy,.detail-photo,.scope-grid,.scope-item,.special-link>div {
  min-width:0
}

@media(max-width:639px) {
  .special-link {
    flex-direction:column
  }
  .special-link img {
    width:100%;
    height:175px
  }
  .related-section .section-heading .text-link {
    display:none
  }
  .service-electrical .detail-copy h1,.service-diagnostics .detail-copy h1 {
    font-size:clamp(28px,7.8vw,40px)
  }
}

.special-photo-strip {
  position:absolute;
  z-index:-2;
  bottom:0;
  left:0;
  right:0;
  height:40%;
  display:list-ite;/*grid;*/
  grid-template-columns:1fr 1fr;
  gap:3px
}

.special-photo-strip img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}

@media(max-width:639px) {
  .special-photo-strip {
    height:38%
  }
}
