:root {
  --ink: #182027;
  --muted: #66717c;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #dfe4e7;
  --steel: #2f4a5a;
  --copper: #b86b32;
  --green: #2f6f61;
  --blue: #1e6b96;
  --shadow: 0 16px 45px rgba(20, 30, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #101820;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader.hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-mark {
  position: absolute;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

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

.loader-spinner {
  width: 96px;
  height: 96px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--copper);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

img.image-fallback {
  object-fit: contain;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(47, 74, 90, 0.16), rgba(47, 111, 97, 0.18)),
    #eef3f1;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #101820;
  color: #dce7ed;
  font-size: 14px;
}

.topbar .container,
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar .container {
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar a {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .container {
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-emblem {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(48, 95, 88, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 244, 0.9));
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.06);
}

.brand-emblem img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.05;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2c3740;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--copper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--copper);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.btn.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 400px;
  display: grid;
  align-items: center;
  padding: 42px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 20, 27, 0.88), rgba(12, 20, 27, 0.55), rgba(12, 20, 27, 0.2)),
    url("/assets/images/hero-zavarivanje-cevovoda.jpg") center / cover;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #c9e8df;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 52px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.hero p {
  max-width: 620px;
  margin: 14px 0 20px;
  color: #eff5f4;
  font-size: clamp(17px, 1.35vw, 19px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric {
  position: relative;
  min-height: 102px;
  padding: 20px 24px;
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.metric::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(47, 111, 97, 0.08) 42%, rgba(197, 112, 45, 0.12) 50%, rgba(47, 111, 97, 0.08) 58%, transparent 100%);
  transform: translateX(-100%);
  pointer-events: none;
}

.metric strong {
  display: block;
  color: var(--steel);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.metric.is-loading strong,
.metric.is-loading span {
  width: max-content;
  color: transparent;
  border-radius: 999px;
  background: linear-gradient(90deg, #eef3f1 0%, #f8fbfa 42%, #e6eeeb 100%);
  background-size: 220% 100%;
  animation: metric-skeleton 1.05s ease-in-out infinite;
}

.metric.is-loading strong {
  min-width: 92px;
}

.metric.is-loading span {
  min-width: 158px;
}

.metric.is-loading::after {
  opacity: 1;
  animation: metric-sweep 1.05s ease-in-out infinite;
}

.metric.is-counting {
  background: #fbfcfb;
  transform: translateY(-2px);
}

.metric.is-counting strong {
  color: var(--accent);
}

@keyframes metric-skeleton {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@keyframes metric-sweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.services {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 30, 38, 0.06);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card-link:hover,
.card-link:focus-visible {
  border-color: rgba(197, 112, 45, 0.45);
  box-shadow: 0 18px 34px rgba(20, 30, 38, 0.12);
  transform: translateY(-3px);
}

.card-body {
  padding: 24px;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.05), rgba(16, 24, 32, 0.35)),
    url("/assets/images/industrijski-kompleks-reference.jpg") center / cover;
  box-shadow: var(--shadow);
}

.feature-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 260px;
  padding: 20px;
  color: #ffffff;
  background: rgba(16, 24, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.feature-badge strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.feature-item {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-item strong {
  display: block;
  margin-bottom: 6px;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.service-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card p {
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.band {
  padding: 72px 0;
  color: #ffffff;
  background: #18313a;
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.work-slider {
  position: relative;
}

.slider-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.slider-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.08);
}

.slider-button:hover {
  color: #ffffff;
  background: var(--steel);
  border-color: var(--steel);
}

.work-track {
  display: grid;
  grid-auto-columns: minmax(280px, 420px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.work-slide {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #101820;
  scroll-snap-align: start;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.12);
}

.work-slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-slide:hover img {
  transform: scale(1.04);
}

.work-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0), rgba(16, 24, 32, 0.9));
}

.work-caption strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.work-caption span {
  display: block;
  margin-top: 8px;
  color: #e3ebee;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #79d0b9;
  font-weight: 900;
}

.page-hero {
  min-height: 400px;
  display: grid;
  align-items: center;
  padding: 42px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 20, 27, 0.88), rgba(12, 20, 27, 0.45)),
    var(--page-image, url("/assets/images/industrijska-oprema-radionica.jpg")) center / cover;
}

.page-hero p {
  max-width: 720px;
  color: #edf3f2;
  font-size: 19px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.prose {
  color: #303b43;
  font-size: 18px;
}

.prose h2,
.prose h3 {
  margin-top: 34px;
  color: var(--ink);
}

.side-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-panel {
  overflow: hidden;
  width: min(100%, 360px);
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(47, 74, 90, 0.18);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.1);
}

.global-share-section {
  padding: 34px 0 42px;
  background: #eef3f1;
  border-top: 1px solid var(--line);
}

.global-share-section .share-panel {
  width: 100%;
  max-width: none;
  padding: 24px 28px;
  border-top: 4px solid var(--copper);
}

.global-share-section .share-panel-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(240px, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.global-share-section .share-panel h3,
.global-share-section .share-panel p,
.global-share-section .share {
  margin: 0;
}

.global-share-section .share {
  justify-content: flex-end;
}

.share-panel::before {
  display: none;
}

.share-panel-inner {
  padding: 0;
}

.share-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 10px;
}

.share-panel h3::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  content: "↗";
  background: var(--steel);
  border-radius: 50%;
}

.share-panel p {
  margin: 0;
  color: #42505a;
  font-size: 15px;
}

.section-head .share-panel {
  position: static;
  justify-self: end;
}

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.share a,
.share button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f6;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.share button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.22);
}

.share svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.share [data-share="facebook"] {
  background: #1877f2;
}

.share [data-share="instagram"] {
  background: radial-gradient(circle at 30% 105%, #feda75 0 22%, #fa7e1e 36%, #d62976 58%, #962fbf 77%, #4f5bd5 100%);
}

.share [data-share="whatsapp"] {
  background: #128c7e;
}

.share [data-share="viber"] {
  background: #7360f2;
}

.share [data-share="email"] {
  background: var(--copper);
}

.share .copy-link {
  width: auto;
  min-width: 120px;
  padding: 0 15px;
  grid-auto-flow: column;
  gap: 8px;
  border-radius: 999px;
  color: #ffffff;
  background: #17252d;
  font-size: 14px;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  display: block;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-location {
  display: grid;
  min-height: 360px;
  margin-top: 28px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.7fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-location-copy {
  display: flex;
  padding: clamp(28px, 4vw, 52px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-location-copy h2 {
  margin-bottom: 12px;
}

.contact-location-copy p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-map,
.contact-map iframe {
  width: 100%;
  min-height: 360px;
}

.contact-map iframe {
  display: block;
  border: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery img,
.mini-gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery img {
  height: 230px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.gallery img:hover,
.mini-gallery img:hover,
.work-slide:hover img {
  filter: saturate(1.05);
}

.gallery img:nth-child(2) {
  height: 474px;
  grid-row: span 2;
}

.gallery img:nth-child(7),
.gallery img:nth-child(14),
.gallery img:nth-child(21) {
  height: 474px;
  grid-row: span 2;
}

.project-categories {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-categories .card {
  display: grid;
  min-height: 100%;
}

.project-categories .card img {
  height: 190px;
}

.reference-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-bottom: 22px;
}

.reference-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 30, 38, 0.05);
}

.reference-feature {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: 8px;
  color: #ffffff;
  background: #101820;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.18);
}

.reference-feature.feature-large {
  grid-row: span 3;
  min-height: 520px;
}

.reference-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.reference-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 16, 22, 0.04), rgba(10, 16, 22, 0.86));
}

.reference-feature div {
  position: relative;
  z-index: 1;
  padding: 26px;
}

.reference-feature span,
.reference-row span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-feature span {
  color: #f2b06d;
}

.reference-feature h3,
.reference-row h3 {
  font-size: 22px;
}

.reference-feature h3 {
  max-width: 760px;
  color: #ffffff;
}

.reference-feature p {
  max-width: 620px;
  margin: 12px 0 0;
  color: #e6edf0;
}

.reference-feature ul,
.reference-row ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #44515a;
}

.reference-feature ul {
  max-width: 760px;
  color: #e6edf0;
}

.reference-list {
  display: grid;
  gap: 12px;
}

.reference-visuals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.reference-visuals figure {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #101820;
}

.reference-visuals img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.reference-visuals figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 16px 14px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0), rgba(16, 24, 32, 0.9));
}

.reference-visuals figure:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.reference-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 24px;
}

.reference-row ul {
  margin-top: 0;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mini-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-gallery img {
  height: 150px;
  border-radius: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mini-gallery figcaption {
  padding: 10px 12px 12px;
  color: #41505a;
  font-size: 14px;
  font-weight: 700;
}

.mini-gallery img:hover,
.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.16);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 13, 18, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1180px, 100%);
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: #ffffff;
  text-align: center;
  font-weight: 800;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 26px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.site-footer {
  padding: 54px 0 26px;
  color: #d7e0e5;
  background: #101820;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #d7e0e5;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aab7bf;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .brand-emblem {
    width: 54px;
    height: 54px;
  }

  .brand-emblem img {
    width: 44px;
    height: 44px;
  }

  .metrics,
  .feature-split,
  .grid.services,
  .project-categories,
  .reference-showcase,
  .reference-row,
  .grid.two,
  .section-head,
  .band-grid,
  .content-layout,
  .contact-location,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 320px;
  }

  .metrics {
    margin-top: 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 340px;
  }

  .hero,
  .page-hero {
    min-height: 380px;
  }

  .side-panel {
    position: static;
  }

  .section-head .share-panel {
    justify-self: stretch;
  }

  .global-share-section .share-panel-inner {
    grid-template-columns: 1fr;
  }

  .global-share-section .share {
    justify-content: flex-start;
  }

  .reference-feature.feature-large {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .topbar .container {
    align-items: flex-start;
    padding: 8px 0;
    flex-direction: column;
    gap: 4px;
  }

  .hero,
  .page-hero,
  .section {
    padding: 44px 0;
  }

  .hero,
  .page-hero {
    min-height: 380px;
  }

  .metric {
    min-height: auto;
  }

  .brand {
    gap: 10px;
  }

  .brand-emblem {
    width: 48px;
    height: 48px;
  }

  .brand-emblem img {
    width: 39px;
    height: 39px;
  }

  .brand-text {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .global-share-section {
    padding: 28px 0 34px;
  }

  .global-share-section .share-panel {
    padding: 20px;
  }

  .global-share-section .share-panel-inner {
    gap: 12px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .reference-visuals {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:nth-child(2),
  .gallery img:nth-child(7),
  .gallery img:nth-child(14),
  .gallery img:nth-child(21) {
    height: 240px;
    grid-row: auto;
  }

  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .mini-gallery img {
    height: 220px;
  }

  .slider-actions {
    justify-content: flex-start;
  }

  .work-track {
    grid-auto-columns: minmax(250px, 86vw);
  }

  .work-slide,
  .work-slide img {
    min-height: 300px;
  }

  .work-caption {
    padding: 20px;
  }
}
