:root {
  --blue: #35a8e0;
  --blue-dark: #126b99;
  --ink: #111820;
  --text: #3f464d;
  --muted: #6d747b;
  --line: #d8dee3;
  --paper: #ffffff;
  --soft: #f4f5f4;
  --warm: #e4bb32;
  --warm-dark: #a98213;
  --field: #303029;
  --shadow: 0 8px 22px rgba(17, 24, 32, 0.08);
  --heading-font: Montserrat, Arial, Helvetica, sans-serif;
  --body-font: Raleway, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  font-weight: 400;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 112px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(216, 222, 227, 0.92);
  box-shadow: 0 4px 16px rgba(17, 24, 32, 0.04);
  backdrop-filter: blur(12px);
}

.top-line {
  min-height: 34px;
  padding: 0 max(16px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--heading-font);
  font-size: 0.76rem;
  font-weight: 400;
}

.top-line a:hover,
.top-line a:focus {
  color: #fff;
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 0.98rem;
  font-weight: 500;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 500;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: var(--blue-dark);
  border-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.phone-link {
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 500;
  white-space: nowrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--blue);
  color: #071219;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

.button:hover,
.button:focus {
  background: #63bde8;
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.86rem;
}

.button-light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.button-light:hover,
.button-light:focus {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.menu-toggle span:not(.sr-only) {
  width: 21px;
  height: 2px;
  display: block;
  background: var(--ink);
  margin: 3px 0;
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 19, 0.88) 0%, rgba(10, 15, 19, 0.66) 47%, rgba(10, 15, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 15, 19, 0.08), rgba(10, 15, 19, 0.08));
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 104px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 3.55rem;
  line-height: 1.12;
  font-weight: 500;
}

.hero-lead {
  max-width: 730px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.quick-info {
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(216, 222, 227, 0.95);
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.08);
}

.quick-info > div {
  min-height: 148px;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.quick-info > div:last-child {
  border-right: 0;
}

.quick-info strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 500;
}

.quick-info span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 400;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-muted {
  width: 100%;
  background: var(--soft);
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
}

.section-heading {
  max-width: 700px;
}

.section-heading-wide {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading h2,
.review-summary h2,
.areas-section h2,
.contact-content h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 2.08rem;
  line-height: 1.2;
  font-weight: 500;
}

.intro-section {
  padding-top: 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 78px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.intro-copy p {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.service-number {
  display: block;
  margin-bottom: 30px;
  color: var(--warm-dark);
  font-family: var(--heading-font);
  font-size: 0.84rem;
  font-weight: 500;
}

.service-card h3,
.method-step h3,
.project-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.15rem;
  line-height: 1.24;
  font-weight: 500;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 400;
}

.contact-content h2 {
  color: #fff;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 66px;
  align-items: start;
}

.method-list {
  border-top: 1px solid var(--line);
}

.method-step {
  display: grid;
  grid-template-columns: 64px 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-step span {
  color: var(--blue-dark);
  font-family: var(--heading-font);
  font-weight: 500;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.work-section {
  background: var(--soft);
  color: var(--ink);
  padding: 92px max(16px, calc((100% - 1180px) / 2));
}

.work-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.work-section .section-heading h2 {
  color: var(--ink);
}

.work-showcase {
  border-top: 1px solid var(--line);
  background: #fff;
}

.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-tabs button {
  min-height: 54px;
  padding: 12px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: var(--heading-font);
  font-weight: 500;
  cursor: pointer;
}

.work-tabs button.is-active,
.work-tabs button:hover,
.work-tabs button:focus {
  background: var(--ink);
  color: #fff;
}

.work-case {
  display: none;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 38px;
  align-items: stretch;
  padding: 34px;
}

.work-case.is-active {
  display: grid;
}

.work-case-copy {
  padding: 18px 0;
}

.work-case-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.58rem;
  line-height: 1.2;
  font-weight: 500;
}

.work-case-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 400;
}

.work-case-copy ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.work-case-copy li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-weight: 400;
}

.work-case-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--warm);
}

.work-gallery {
  min-width: 0;
}

.work-image-button {
  position: relative;
  width: 100%;
  height: 590px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #e8ecef;
  cursor: zoom-in;
}

.work-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-image-button span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(17, 24, 32, 0.82);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 500;
}

.work-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.work-thumbs button {
  height: 82px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.66;
}

.work-thumbs button.is-active,
.work-thumbs button:hover,
.work-thumbs button:focus {
  border-color: var(--warm);
  opacity: 1;
}

.work-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  margin-top: 34px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.project-card div {
  padding: 18px 20px 22px;
  color: var(--ink);
}

.project-card p {
  margin: 0 0 5px;
  color: var(--blue-dark);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.project-card h3 {
  color: var(--ink);
}

.review-section {
  background: #fff;
  color: var(--ink);
  padding: 92px max(16px, calc((100% - 1180px) / 2));
}

.review-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 68px;
  align-items: center;
}

.review-summary h2 {
  color: var(--ink);
}

.rating-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.rating-block strong {
  color: var(--warm);
  font-family: var(--heading-font);
  font-size: 3.45rem;
  line-height: 1;
  font-weight: 500;
}

.rating-block p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 400;
}

.stars {
  display: block;
  color: var(--warm);
  font-size: 1.25rem;
}

.review-summary a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue-dark);
  font-family: var(--heading-font);
  font-weight: 500;
}

.review-carousel {
  position: relative;
  min-height: 355px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.review-slide {
  display: none;
}

.review-slide.is-active {
  display: block;
}

.review-slide p {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 400;
}

.review-slide footer {
  margin-top: 28px;
  color: var(--blue-dark);
  font-family: var(--heading-font);
  font-weight: 500;
}

.review-controls {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.review-controls button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--heading-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}

.review-controls button:hover,
.review-controls button:focus {
  color: var(--ink);
}

.review-dots {
  display: flex;
  gap: 8px;
}

.review-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: #ccd3d8;
}

.review-dots button.is-active {
  background: var(--blue-dark);
}

.areas-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 66px;
  align-items: start;
}

.areas-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.area-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
}

.area-tags li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 500;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.97), rgba(17, 24, 32, 0.93)),
    var(--ink);
  color: #fff;
  padding: 92px max(16px, calc((100% - 1180px) / 2));
}

.contact-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: 78px;
  align-items: start;
}

.contact-content h2 {
  max-width: 720px;
  color: #fff;
}

.contact-content p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.06rem;
  font-weight: 400;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-links a {
  width: fit-content;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.16rem;
  font-weight: 500;
}

.contact-links a:hover,
.contact-links a:focus {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--heading-font);
  font-size: 0.88rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 168, 224, 0.22);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
}

.privacy-note {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.55;
}

.privacy-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-note a:hover,
.privacy-note a:focus {
  color: var(--blue);
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.form-status.is-success {
  color: #bff0c7;
}

.form-status.is-error {
  color: #ffd0d0;
}

.site-footer {
  background: #1d1f20;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 58px;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(0, 0.65fr));
  gap: 46px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  padding: 5px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

.footer-brand p,
.site-footer address,
.footer-column ul,
.footer-company p,
.footer-rating {
  margin: 0;
}

.footer-company h2 {
  max-width: 430px;
  margin: 28px 0 14px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 1.62rem;
  line-height: 1.22;
  font-weight: 500;
}

.footer-company p {
  max-width: 430px;
}

.footer-map-link {
  display: inline-flex;
  margin-top: 24px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-map-link:hover,
.footer-map-link:focus {
  border-color: var(--blue);
  color: var(--blue);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-family: var(--heading-font);
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-column address {
  font-style: normal;
}

.footer-column a,
.footer-bottom a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--heading-font);
  font-weight: 500;
}

.footer-column a:hover,
.footer-column a:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
  color: #fff;
}

.footer-column ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-rating {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.privacy-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 86px max(16px, calc((100% - 1180px) / 2)) 62px;
}

.privacy-hero > div {
  width: min(820px, 100%);
}

.privacy-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 500;
}

.privacy-hero p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.privacy-hero span {
  display: inline-flex;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 90px;
  display: grid;
  gap: 34px;
}

.privacy-content article {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.privacy-content article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.32rem;
  line-height: 1.25;
  font-weight: 500;
}

.privacy-content p {
  margin: 0;
  color: var(--text);
}

.privacy-content p + p {
  margin-top: 14px;
}

.privacy-content a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text);
}

.privacy-content li + li {
  margin-top: 5px;
}

.mobile-cta {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 8, 11, 0.88);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  width: min(1120px, 100%);
  max-height: calc(100svh - 96px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-width: 72px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    position: fixed;
    inset: 110px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .button-small {
    display: none;
  }

  .quick-info,
  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info > div:nth-child(2) {
    border-right: 0;
  }

  .quick-info > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .intro-section,
  .method-section,
  .work-case,
  .review-inner,
  .areas-section,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  section[id] {
    scroll-margin-top: 104px;
  }

  .top-line {
    min-height: 32px;
    justify-content: center;
    font-size: 0.72rem;
  }

  .top-line span:nth-child(2),
  .top-line a {
    display: none;
  }

  .header-inner {
    min-height: 68px;
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .phone-link {
    display: none;
  }

  .main-nav {
    inset: 100px 0 auto 0;
  }

  .hero {
    min-height: 710px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 15, 19, 0.88) 0%, rgba(10, 15, 19, 0.76) 58%, rgba(10, 15, 19, 0.54) 100%),
      rgba(10, 15, 19, 0.12);
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 58px 0 74px;
  }

  .hero h1 {
    font-size: 2.58rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
  }

  .quick-info {
    width: min(100% - 24px, 1180px);
    margin-top: -34px;
    grid-template-columns: 1fr;
  }

  .quick-info > div,
  .quick-info > div:nth-child(2) {
    min-height: auto;
    padding: 19px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info > div:last-child {
    border-bottom: 0;
  }

  .section,
  .section-muted,
  .work-section,
  .review-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .intro-section {
    padding-top: 72px;
  }

  .section-heading h2,
  .review-summary h2,
  .areas-section h2,
  .contact-content h2 {
    font-size: 2rem;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .method-step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .method-step p {
    grid-column: 2;
    margin-top: 3px;
  }

  .work-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .work-tabs button {
    width: 100%;
    text-align: left;
  }

  .work-case {
    padding-top: 24px;
  }

  .work-case-copy {
    padding: 0;
  }

  .work-case-copy h3 {
    font-size: 1.42rem;
  }

  .work-image-button {
    height: 390px;
  }

  .work-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .work-thumbs button {
    height: 68px;
  }

  .project-grid {
    grid-auto-rows: 290px;
  }

  .review-carousel {
    min-height: 430px;
    padding: 26px;
  }

  .review-slide p {
    font-size: 1.28rem;
  }

  .review-controls {
    left: 26px;
    right: 26px;
    bottom: 22px;
  }

  .rating-block strong {
    font-size: 3.1rem;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-main {
    padding-top: 58px;
    padding-bottom: 42px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-company h2 {
    font-size: 1.36rem;
  }

  .footer-bottom {
    padding-bottom: 90px;
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-hero {
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .privacy-hero h1 {
    font-size: 2rem;
  }

  .privacy-hero p {
    font-size: 1rem;
  }

  .privacy-content {
    padding-top: 52px;
    padding-bottom: 64px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid var(--line);
  }

  .mobile-cta a {
    min-height: 62px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 500;
  }

  .mobile-cta a + a {
    background: var(--blue);
    color: #071219;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.26rem;
  }

  .privacy-hero h1 {
    font-size: 1.88rem;
  }

  .work-image-button {
    height: 320px;
  }

  .review-controls {
    align-items: flex-end;
  }

  .review-dots {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
