:root {
  --navy: #0d1b2a;
  --navy-2: #081522;
  --navy-3: #11263a;
  --steel: #4f5d75;
  --steel-2: #8795a8;
  --white: #ffffff;
  --offwhite: #edf3f8;
  --orange: #f77f00;
  --orange-2: #ff9f2f;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(13, 27, 42, 0.74);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Open Sans", "Lato", Arial, sans-serif;
  opacity: 0;
  transition: opacity 280ms ease;
}

body.is-loaded {
  opacity: 1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

.site-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(6, 16, 27, 0.86), rgba(6, 16, 27, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2vw, 28px);
  left: 0;
  padding: 14px clamp(18px, 3vw, 46px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 260ms ease, box-shadow 260ms ease, padding 260ms ease;
  z-index: 50;
}

.site-header.is-solid {
  background: rgba(8, 21, 34, 0.96);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.34);
  padding-bottom: 10px;
  padding-top: 10px;
}

.brand {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: clamp(176px, 13vw, 230px);
}

.brand img {
  height: auto;
  width: clamp(166px, 12.5vw, 218px);
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: clamp(14px, 1.5vw, 28px);
  justify-content: center;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.76);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 180ms ease;
  white-space: nowrap;
}

.nav-menu a::after {
  background: var(--orange);
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  display: none;
  height: 42px;
  justify-content: center;
  width: 44px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  background: var(--white);
  content: "";
  display: block;
  height: 2px;
  width: 18px;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 44px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.arrow-link {
  align-items: center;
  color: var(--orange);
  display: inline-flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-main {
  overflow: hidden;
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(6, 16, 27, 0.90) 0%, rgba(6, 16, 27, 0.66) 42%, rgba(6, 16, 27, 0.16) 100%),
    var(--hero-image) center/cover no-repeat;
  display: grid;
  min-height: 100vh;
  padding: 140px clamp(18px, 5vw, 82px) 0;
  position: relative;
}

.hero::before,
.page-hero::before,
.industrial-band::before,
.blueprint::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  padding-bottom: 54px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--orange);
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 7.4rem);
  font-weight: 900;
  line-height: 0.94;
  max-width: 980px;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.3rem);
  font-weight: 900;
  line-height: 1;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.12;
}

p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.72;
  margin: 0;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.7vw, 1.34rem);
  margin: 24px 0 32px;
  max-width: 690px;
}

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

.scroll-indicator {
  align-items: center;
  bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.18em;
  position: absolute;
  right: clamp(18px, 5vw, 82px);
  text-transform: uppercase;
  z-index: 2;
}

.scroll-indicator::before {
  animation: scrollPulse 1500ms ease-in-out infinite;
  background: var(--orange);
  content: "";
  display: block;
  height: 38px;
  width: 2px;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.55); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

.stat-strip {
  background: rgba(8, 21, 34, 0.92);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: calc(clamp(18px, 5vw, 82px) * -1);
  position: relative;
  z-index: 2;
}

.stat {
  border-right: 1px solid var(--line);
  padding: 24px clamp(16px, 3vw, 34px);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--white);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 8px;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(18px, 5vw, 82px);
  position: relative;
}

.section--tight {
  padding-bottom: clamp(50px, 6vw, 88px);
  padding-top: clamp(50px, 6vw, 88px);
}

.section--light {
  background: linear-gradient(135deg, #f7fafc 0%, #e6edf4 100%);
  color: var(--navy);
}

.section--light p {
  color: rgba(13, 27, 42, 0.74);
}

.section--light .eyebrow {
  color: var(--orange);
}

.section-header {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  margin: 0 auto 42px;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.section-header p {
  max-width: 580px;
}

.split {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 5vw, 74px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin: 0 auto;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.media-frame {
  border: 1px solid rgba(13, 27, 42, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.media-frame.dark {
  border-color: var(--line);
}

.media-frame img {
  filter: contrast(1.06) saturate(0.94);
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
  width: 100%;
}

.media-frame:hover img,
.image-card:hover img,
.service-card:hover img,
.project-card:hover img {
  transform: scale(1.055);
}

.content-panel {
  align-self: center;
}

.content-panel h2 {
  margin-bottom: 26px;
}

.content-panel p + p {
  margin-top: 16px;
}

.check-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0 34px;
}

.check-item {
  align-items: center;
  color: rgba(13, 27, 42, 0.82);
  display: flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 10px;
  text-transform: uppercase;
}

.check-item::before {
  background: var(--orange);
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.blueprint {
  background:
    radial-gradient(circle at 20% 20%, rgba(247, 127, 0, 0.08), transparent 28%),
    linear-gradient(145deg, var(--navy-2), var(--navy));
  position: relative;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.feature-card,
.tech-card,
.metric-card,
.blog-card,
.timeline-card,
.contact-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
  padding: clamp(22px, 2.4vw, 34px);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.feature-card:hover,
.tech-card:hover,
.metric-card:hover,
.blog-card:hover,
.timeline-card:hover,
.contact-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(247, 127, 0, 0.58);
  transform: translateY(-6px);
}

.icon-box {
  align-items: center;
  border: 1px solid rgba(247, 127, 0, 0.56);
  border-radius: 7px;
  color: var(--orange);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 24px;
  width: 48px;
}

.icon-box svg {
  height: 25px;
  width: 25px;
}

.feature-card h3,
.tech-card h3,
.blog-card h3,
.timeline-card h3,
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.feature-card p,
.tech-card p,
.blog-card p,
.timeline-card p,
.contact-card p {
  font-size: 0.92rem;
}

.services-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.service-card {
  aspect-ratio: 1.22 / 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    linear-gradient(135deg, rgba(13, 27, 42, 0.98), rgba(17, 38, 58, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 270px;
  overflow: hidden;
  position: relative;
}

.service-card img {
  filter: contrast(1.06) saturate(0.94);
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.service-card::after,
.project-card::after,
.image-card::after {
  background: linear-gradient(180deg, rgba(8, 21, 34, 0.05), rgba(8, 21, 34, 0.93));
  content: "";
  inset: 0;
  position: absolute;
}

.service-card-content {
  bottom: 0;
  left: 0;
  padding: 24px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.service-card h3 {
  font-size: clamp(1.04rem, 1.7vw, 1.45rem);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.86rem;
  margin-bottom: 16px;
  max-width: 330px;
}

.technical-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  margin: 0 auto;
  max-width: 1320px;
}

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

.technical-list .tech-card {
  min-height: 180px;
}

.structure-visual {
  align-items: center;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--section-image, linear-gradient(135deg, rgba(13, 27, 42, 0.92), rgba(17, 38, 58, 0.64)));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  min-height: 520px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.structure-visual::after {
  background: linear-gradient(135deg, rgba(8, 21, 34, 0.82), rgba(8, 21, 34, 0.28));
  content: "";
  inset: 0;
  position: absolute;
}

.structure-visual svg {
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.4));
  max-width: 100%;
  position: relative;
  z-index: 1;
}

.comparison {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 1320px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.comparison table {
  border-collapse: collapse;
  width: 100%;
}

.comparison th,
.comparison td {
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  text-align: left;
}

.comparison th {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison td {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.comparison td:nth-child(2) {
  color: var(--white);
  font-weight: 800;
}

.comparison td:nth-child(2)::before {
  color: var(--orange);
  content: "✓ ";
}

.industries-grid,
.project-grid,
.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.project-grid.masonry {
  grid-auto-flow: dense;
}

.image-card,
.project-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(13, 27, 42, 0.98), rgba(17, 38, 58, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 270px;
  overflow: hidden;
  position: relative;
}

.image-card.large,
.project-card.large {
  grid-column: span 2;
  min-height: 370px;
}

.image-card img,
.project-card img {
  filter: contrast(1.06) saturate(0.94);
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.card-overlay {
  bottom: 0;
  left: 0;
  padding: 24px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.card-overlay .meta {
  color: var(--orange);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-overlay h3 {
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}

.project-card .card-overlay h3 {
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.18;
}

.process {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.process-step {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  position: relative;
}

.process-step::before {
  background: var(--orange);
  border-radius: 50%;
  content: "";
  display: block;
  height: 12px;
  margin-bottom: 18px;
  width: 12px;
}

.process-step span {
  color: rgba(255, 255, 255, 0.54);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.process-step strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.industrial-band {
  background:
    linear-gradient(90deg, rgba(8, 21, 34, 0.96), rgba(8, 21, 34, 0.72)),
    var(--section-image, linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(17, 38, 58, 0.72)));
  position: relative;
}

.metric-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px auto 0;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.metric-card strong {
  color: var(--orange);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.gallery-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px auto 0;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.gallery-strip .image-card {
  min-height: 230px;
}

.photo-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
  position: relative;
  z-index: 1;
}

.photo-gallery figure {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.photo-gallery figure.large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery img {
  filter: contrast(1.06) saturate(0.94);
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  width: 100%;
}

.photo-gallery figure:hover img {
  transform: scale(1.04);
}

.photo-gallery figcaption {
  background: linear-gradient(180deg, rgba(8, 21, 34, 0), rgba(8, 21, 34, 0.92));
  bottom: 0;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  left: 0;
  letter-spacing: 0.04em;
  padding: 42px 18px 16px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.testimonial-slider {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.testimonial strong {
  color: var(--orange);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-top: 22px;
  text-transform: uppercase;
}

.cta-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 21, 34, 0.96), rgba(8, 21, 34, 0.58)),
    var(--section-image, linear-gradient(135deg, rgba(13, 27, 42, 0.96), rgba(17, 38, 58, 0.62)));
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 360px;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 82px);
}

.cta-band p {
  margin-top: 18px;
  max-width: 680px;
}

.page-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(8, 21, 34, 0.86), rgba(8, 21, 34, 0.56), rgba(8, 21, 34, 0.18)),
    var(--hero-image) center/cover no-repeat;
  display: grid;
  min-height: 540px;
  padding: 146px clamp(18px, 5vw, 82px) 76px;
  position: relative;
}

.page-hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  margin-top: 22px;
  max-width: 680px;
}

.crumbs {
  color: rgba(255, 255, 255, 0.62);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.timeline-card strong {
  color: var(--orange);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.alternating {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 1320px;
}

.service-row {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
}

.service-row:nth-child(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.service-row:nth-child(even) .service-row-media {
  order: 2;
}

.service-row-media {
  min-height: 320px;
  overflow: hidden;
}

.service-row-media img {
  filter: contrast(1.06) saturate(0.94);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-row-content {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
}

.service-row-content p {
  margin: 18px 0 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -12px auto 36px;
  max-width: 1320px;
}

.filter-bar button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0 16px;
  text-transform: uppercase;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.case-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin: 0 auto;
  max-width: 1320px;
}

.case-sidebar {
  align-self: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 104px;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-list span {
  color: var(--orange);
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.detail-list strong {
  display: block;
}

.story-block {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  padding: clamp(26px, 4vw, 46px);
}

.story-block h2,
.story-block h3 {
  margin-bottom: 18px;
}

.achievement-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.achievement-list li,
.spec-list li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  list-style: none;
  padding-left: 24px;
  position: relative;
}

.achievement-list li::before,
.spec-list li::before {
  color: var(--orange);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}

.contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1320px;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  overflow-wrap: anywhere;
}

.form-panel {
  background: var(--offwhite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  padding: clamp(28px, 5vw, 54px);
}

.form-panel h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid input,
.form-grid textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(13, 27, 42, 0.24);
  color: var(--navy);
  min-height: 48px;
  outline: none;
  width: 100%;
}

.form-grid textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--orange);
}

.form-status {
  color: var(--navy);
  font-weight: 800;
  min-height: 24px;
}

.map-panel {
  background:
    linear-gradient(rgba(8, 21, 34, 0.88), rgba(8, 21, 34, 0.88)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 310px;
  overflow: hidden;
  position: relative;
}

.map-panel::before {
  background: var(--orange);
  border-radius: 50% 50% 50% 0;
  content: "";
  height: 44px;
  left: 62%;
  position: absolute;
  top: 43%;
  transform: rotate(-45deg);
  width: 44px;
}

.map-panel::after {
  background: var(--white);
  border-radius: 50%;
  content: "";
  height: 14px;
  left: calc(62% + 15px);
  position: absolute;
  top: calc(43% + 15px);
  width: 14px;
}

.map-label {
  bottom: 34px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  left: 34px;
  max-width: 480px;
  position: absolute;
  text-transform: uppercase;
}

.site-footer {
  background: #06101b;
  border-top: 1px solid var(--line);
  padding: 68px clamp(18px, 5vw, 82px) 26px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  margin: 0 auto;
  max-width: 1320px;
}

.footer-logo {
  height: auto;
  margin-bottom: 18px;
  width: min(250px, 100%);
}

.footer-col h3 {
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--orange);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
  margin: 46px auto 0;
  max-width: 1320px;
  padding-top: 24px;
}

.floating-actions {
  bottom: 22px;
  display: grid;
  gap: 10px;
  position: fixed;
  right: 22px;
  z-index: 40;
}

.float-btn {
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  display: flex;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  text-transform: uppercase;
}

.float-btn.whatsapp {
  background: #1fa855;
}

.float-btn.quote {
  background: var(--orange);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.logo-reference {
  background: var(--white);
  border-radius: var(--radius);
  margin-top: 18px;
  padding: 14px;
  width: min(100%, 320px);
}

.logo-reference img {
  width: 100%;
}

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

  .header-actions {
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-menu {
    align-items: stretch;
    background: rgba(8, 21, 34, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    position: absolute;
    right: 18px;
    top: 96px;
    width: min(360px, calc(100vw - 36px));
  }

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

  .nav-menu a {
    padding: 13px 8px;
  }

  .nav-menu a::after {
    bottom: 6px;
  }

  .card-grid,
  .services-grid,
  .industries-grid,
  .project-grid,
  .blog-grid,
  .testimonial-slider,
  .gallery-strip,
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

@media (max-width: 840px) {
  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 160px;
  }

  .brand img {
    height: auto;
    width: 150px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(8, 21, 34, 0.52) 0%, rgba(8, 21, 34, 0.66) 48%, rgba(8, 21, 34, 0.94) 100%),
      var(--hero-image) 78% center/cover no-repeat;
    min-height: 820px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.35rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.65rem);
  }

  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: -18px;
  }

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .section-header,
  .split,
  .split.reverse,
  .technical-layout,
  .contact-layout,
  .case-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .media-frame {
    min-height: 320px;
  }

  .check-grid,
  .technical-list,
  .achievement-list {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .services-grid,
  .industries-grid,
  .project-grid,
  .blog-grid,
  .testimonial-slider,
  .gallery-strip,
  .photo-gallery,
  .metric-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .image-card.large,
  .project-card.large,
  .photo-gallery figure.large {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .comparison {
    overflow-x: auto;
  }

  .comparison table {
    min-width: 720px;
  }

  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-row-media {
    order: 0;
  }

  .case-sidebar {
    position: static;
  }

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

  .floating-actions {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 760px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stat-strip,
  .process {
    grid-template-columns: 1fr;
  }

  .scroll-indicator {
    display: none;
  }

  h1 {
    font-size: clamp(1.95rem, 10vw, 2.8rem);
  }
}
