@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  src: url("manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --ink: #14243c;
  --copy: #4a596d;
  --paper: #fff;
  --light: #f5f7fa;
  --line: #dce3eb;
  --line-input: #b7c2d0;
  --accent: #fc7027;
  --accent-hover: #f15c11;
  --accent-ink: #aa4010;
  --accent-wash: #fff2e8;
  --focus: #1d5aa8;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 800; }
h1, h2 { letter-spacing: -.052em; }
h3 { letter-spacing: -.031em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  text-decoration: none;
  line-height: 1.1;
}
.brand strong { display: block; font-size: 1.39rem; font-weight: 800; letter-spacing: -.064em; }
.brand small { display: block; margin-top: 4px; color: var(--copy); font-size: .73rem; font-weight: 700; }
.site-nav { display: flex; align-items: stretch; gap: 33px; align-self: stretch; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  position: relative;
  color: var(--copy);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after {
  content: "";
  position: absolute;
  height: 3px;
  inset: auto 0 0;
  background: var(--accent);
}
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { background: var(--paper); border-color: var(--line-input); color: var(--ink); }
.button-outline:hover { background: var(--light); border-color: var(--copy); }
.button:disabled { background: #e2e7ee; color: #58677b; cursor: default; }
.header-action { min-height: 42px; padding-inline: 16px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 19px; height: 2px; background: var(--accent); }

.hero {
  padding: 55px 0 58px;
  background-image: linear-gradient(90deg, #fff 20%, #ffffff00 73%), linear-gradient(#eaf0f6 1px, transparent 1px), linear-gradient(90deg, #eaf0f6 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  background-position: center, center top, center top;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 4.5vw, 66px);
  align-items: start;
}
.hero-content { padding-top: 8px; }
.hero h1 {
  margin: 17px 0 18px;
  font-size: clamp(2.6rem, 4.8vw, 4.35rem);
  line-height: 1.055;
}
.hero-intro { color: var(--copy); font-size: 1.09rem; max-width: 485px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 25px 0 30px; }
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--light);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.45;
  object-fit: cover;
  object-position: center 42%;
}
.hero-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 11px;
  border-radius: 5px;
  background: #12233be8;
  color: white;
  font-size: .74rem;
  font-weight: 700;
}
.calculator {
  min-width: 0;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #d6e0ea;
  background: var(--light);
  box-shadow: 0 14px 40px #1f355011, 0 2px 6px #1f35500c;
}
.calc-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.calc-heading h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.16; }
.calc-heading p { margin-top: 5px; font-size: .85rem; color: var(--copy); }
.calc-icon {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent-ink);
  background: #ffe6d7;
}
.calc-icon svg { width: 24px; height: 24px; }
.calc-fields, .request-fields { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 6px; font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line-input);
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 650;
}
.field select {
  appearance: none;
  padding-right: 28px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%234a596d' stroke-width='1.5'/%3E%3C/svg%3E") right 11px center / 11px no-repeat;
}
.field select:hover { border-color: var(--copy); cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #657185; font-weight: 500; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #b43329; }
.unit-field { position: relative; }
.unit-field input { padding-right: 40px; }
.unit-field span { position: absolute; right: 12px; top: 50%; translate: 0 -50%; color: var(--copy); pointer-events: none; }
.work-fieldset { min-width: 0; padding: 0; margin: 15px 0; border: 0; }
.work-fieldset legend { padding: 0; margin-bottom: 7px; font-size: .88rem; font-weight: 800; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 9px; }
.work-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid var(--line-input);
  border-radius: 7px;
  background: var(--paper);
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.work-option:hover { border-color: #ce7447; }
.work-option:has(input:checked) { border-color: #df8c62; background: var(--accent-wash); }
.work-option input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: #b54812; cursor: pointer; }
.estimate, .request-estimate {
  padding: 11px 15px 12px;
  border: 1px solid #f3c6aa;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-wash);
}
.estimate-label { color: var(--accent-ink); font-size: .79rem; font-weight: 800; }
.estimate-total {
  display: block;
  font-size: clamp(1.44rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.27;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.estimate-formula, .estimate-note { color: var(--copy); font-size: .79rem; }
.estimate-formula { margin-top: 3px; }
.estimate-note { margin-top: 8px; line-height: 1.45; }
.calc-action { width: 100%; margin-top: 13px; }
.field-error { color: #a92c24; font-size: .82rem; font-weight: 700; }
#estimate-error { margin: -5px 0 10px; }

.service-section { padding: 43px 0 54px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 13px; margin-bottom: 22px; }
.section-heading h2, .pricing h2 { margin-top: 5px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; }
.section-heading .button { min-height: 41px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.card-photo { display: block; background: var(--light); }
.card-photo img { width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; }
.sockets-photo img { object-position: 50% 44%; }
.service-card-content { display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 5px; padding: 15px 17px 17px; flex: 1; }
.service-card-content h3 { font-size: 1.13rem; }
.service-card-content h3 a { text-decoration: none; }
.service-card-content h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-card-content p { color: var(--copy); font-size: .86rem; }
.price { margin-top: 5px; color: var(--accent-ink); font-size: .9rem; font-weight: 800; }

.site-footer { background: var(--light); border-top: 1px solid var(--line); }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 17px; padding-block: 14px; }
.footer-brand strong { font-size: 1.16rem; }
.footer-inner p { color: var(--copy); font-size: .8rem; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { min-height: 42px; display: flex; align-items: center; font-size: .85rem; font-weight: 800; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.inner-page { padding-block: 57px 66px; }
.page-intro h1 { margin: 12px 0 14px; font-size: clamp(2.55rem, 5vw, 4.25rem); line-height: 1.04; }
.page-intro > p:not(.eyebrow) { max-width: 600px; color: var(--copy); font-size: 1.06rem; }
.page-intro .button { margin-top: 22px; }
.pricing { margin-top: 50px; }
.pricing h2 { margin-bottom: 20px; }
.price-table { width: 100%; border: 1px solid var(--line); border-spacing: 0; border-radius: var(--radius); overflow: hidden; }
.price-table :is(th, td) { padding: 15px 19px; text-align: left; }
.price-table thead th { background: var(--light); font-size: .86rem; }
.price-table tbody :is(th, td) { border-top: 1px solid var(--line); }
.price-table tbody th { width: 30%; }
.price-table tbody td { color: var(--copy); font-size: .95rem; }
.price-table tbody tr:target { background: var(--accent-wash); }
.service-name { display: flex; align-items: center; gap: 13px; text-align: left; font-weight: 800; }
.service-name img { flex: 0 0 84px; border-radius: 6px; object-fit: cover; }
.price-table .table-price { width: 20%; color: var(--accent-ink); white-space: nowrap; font-size: 1.03rem; font-weight: 800; }
.table-price small { display: block; color: var(--copy); font-size: .8rem; font-weight: 650; }
.table-note { margin-top: 12px; color: var(--copy); font-size: .86rem; }
.page-callout { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 35px; padding: 22px 24px; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); }
.page-callout h2 { font-size: 1.45rem; }
.page-callout p { color: var(--copy); font-size: .92rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 60px; }
.contact-details { margin-top: 25px; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--copy); font-size: .88rem; }
.contact-details dd { font-size: .92rem; font-weight: 800; overflow-wrap: anywhere; }
.request-panel { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--light); }
.request-panel h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.12; }
.request-intro { margin: 8px 0 20px; color: var(--copy); font-size: .9rem; }
.request-estimate { margin-bottom: 18px; }
.request-estimate p:not([class]), .request-estimate a { font-size: .87rem; }
.request-estimate a { font-weight: 800; text-underline-offset: 3px; }
.request-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.request-message { margin: 14px 0 16px; }
.success { margin-top: 13px; padding: 10px 13px; border: 1px solid #98c0ad; border-radius: 8px; background: #eaf6ef; color: #1e5b3e; font-weight: 800; font-size: .9rem; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .94fr); gap: 30px; }
  .calculator { padding: 20px; }
  .hero h1 { font-size: clamp(2.5rem, 4.65vw, 3.7rem); }
  .hero-photo img { aspect-ratio: 1.85; }
  .contact-layout { gap: 34px; }
}

@media (max-width: 850px) {
  .hero h1 { font-size: clamp(2.5rem, 7.2vw, 4rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; max-width: 630px; }
  .hero { padding: 38px 0 43px; }
  .hero-content { padding-top: 0; }
  .hero-photo img { aspect-ratio: 2.6; }
  .calculator { padding: 22px; }
  .estimate-total { font-size: 1.85rem; }
  .service-grid { gap: 11px; }
  .service-card-content { padding: 12px; }
  .contact-layout { grid-template-columns: 1fr; }
  .price-table :is(th, td) { padding: 13px; }
  .service-name img { flex-basis: 62px; width: 62px; height: 50px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: auto; grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 6px; padding-top: 11px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 1.22rem; }
  .brand small { font-size: .69rem; }
  .header-action { grid-column: 2; grid-row: 1; min-height: 38px; padding-inline: 10px; font-size: .78rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; gap: 25px; }
  .site-nav a { min-height: 42px; }
  .hero { padding: 28px 0 32px; }
  .hero h1 { margin: 12px 0; font-size: clamp(1.95rem, 8.8vw, 3.5rem); }
  .hero-intro { font-size: .99rem; }
  .hero-actions { margin: 17px 0 19px; gap: 8px; }
  .hero-actions .button { padding-inline: 11px; min-height: 44px; font-size: .79rem; }
  .hero-photo img { aspect-ratio: 2.5; }
  .hero-photo figcaption { right: 7px; bottom: 7px; }
  .calculator { padding: 15px; border-radius: 12px; }
  .calc-heading { gap: 9px; margin-bottom: 15px; }
  .calc-icon { flex-basis: 36px; height: 36px; }
  .calc-icon svg { width: 22px; height: 22px; }
  .calc-fields { gap: 8px; }
  .work-grid { gap: 6px; }
  .work-option { min-height: 44px; padding-inline: 6px; gap: 6px; }
  .service-section { padding: 30px 0 35px; }
  .section-heading .button { min-height: 41px; padding-inline: 10px; font-size: .79rem; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { display: grid; grid-template-columns: minmax(92px, .72fr) 1.28fr; }
  .card-photo img { height: 100%; min-height: 124px; aspect-ratio: auto; }
  .footer-inner { flex-wrap: wrap; gap: 7px 16px; }
  .footer-inner p { order: 2; flex: 0 0 100%; }
  .footer-inner nav { gap: 12px; }
  .inner-page { padding-block: 34px 42px; }
  .pricing { margin-top: 34px; }
  .price-table, .price-table :is(thead, tbody) { display: block; }
  .price-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 7px 8px;
    align-items: center;
    padding: 11px 12px;
  }
  .price-table thead tr { background: var(--light); }
  .price-table :is(th, td) { padding: 0; }
  .price-table thead th { font-size: .79rem; }
  .price-table thead th:nth-child(2) { position: absolute; clip-path: inset(50%); }
  .price-table thead th:last-child { grid-column: 2; justify-self: end; }
  .price-table tbody tr { border-top: 1px solid var(--line); }
  .price-table tbody :is(th, td) { border-top: 0; }
  .price-table tbody th { width: auto; font-size: .85rem; }
  .price-table tbody td { grid-column: 1 / -1; font-size: .83rem; }
  .price-table .table-price { grid-area: 1 / 2; width: auto; text-align: right; font-size: .82rem; }
  .table-price small { font-size: .72rem; }
  .service-name { gap: 7px; }
  .service-name img { flex-basis: 44px; width: 44px; height: 33px; }
  .page-callout { align-items: start; flex-direction: column; padding: 15px; }
  .request-panel { padding: 16px; }
  .request-fields { grid-template-columns: 1fr; }
}

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