:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #e9edf1;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --text: #111419;
  --muted: #626a75;
  --line: rgba(15, 24, 38, 0.12);
  --line-strong: rgba(15, 24, 38, 0.22);
  --blue: #075ee8;
  --blue-2: #0949b7;
  --red: #ef332f;
  --header-text: #ffffff;
  --shadow: 0 20px 60px rgba(21, 31, 45, 0.09);
  --radius: 8px;
  --container: 1440px;
  color-scheme: light;
}

[data-theme='dark'] {
  --bg: #0b0e13;
  --surface: #121720;
  --surface-2: #1a202a;
  --surface-glass: rgba(13, 17, 23, 0.8);
  --text: #f4f7fb;
  --muted: #9da7b5;
  --line: rgba(231, 239, 248, 0.12);
  --line-strong: rgba(231, 239, 248, 0.24);
  --blue: #2d7df0;
  --blue-2: #77aaf7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 16px;
  background: var(--surface);
  color: var(--text);
}

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

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--header-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-glass);
  box-shadow: 0 10px 40px rgba(12, 20, 32, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 30px;
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 174px;
  height: 50px;
}

.brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header:not(.scrolled):not(.menu-active) .brand-light,
[data-theme='dark'] .site-header.scrolled .brand-light,
[data-theme='dark'] .site-header.menu-active .brand-light,
[data-theme='dark'] .footer-brand .brand-light {
  display: none;
}

.site-header:not(.scrolled):not(.menu-active) .brand-dark,
[data-theme='dark'] .site-header.scrolled .brand-dark,
[data-theme='dark'] .site-header.menu-active .brand-dark,
[data-theme='dark'] .footer-brand .brand-dark {
  display: block;
}

.site-header.scrolled .brand-dark,
.site-header.menu-active .brand-dark,
.footer-brand .brand-dark,
[data-theme='dark'] .site-header.scrolled .brand-light,
[data-theme='dark'] .site-header.menu-active .brand-light,
[data-theme='dark'] .footer-brand .brand-light {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 20px);
  margin-left: auto;
  font-size: 13px;
}

.desktop-nav a,
.footer-top nav a {
  position: relative;
}

.desktop-nav a::after,
.footer-top nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after,
.footer-top nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.header-phone {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
}

.menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0a6af0 0%, #0547b8 100%);
  box-shadow: 0 12px 30px rgba(4, 85, 206, 0.27);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(4, 85, 206, 0.38);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button-ghost svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.button-white {
  color: #0b1524;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(760px, 100svh);
  overflow: hidden;
  color: #fff;
  background: #0b1420;
}

.hero-video,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.92) 0%, rgba(5, 13, 24, 0.7) 42%, rgba(5, 13, 24, 0.18) 73%, rgba(5, 13, 24, 0.43) 100%),
    linear-gradient(0deg, rgba(4, 10, 18, 0.6) 0%, transparent 38%, rgba(4, 10, 18, 0.35) 100%);
}

.hero-grid {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: end;
  gap: 100px;
  padding-top: 130px;
  padding-bottom: 120px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  position: relative;
  width: 38px;
  height: 2px;
  background: currentColor;
}

.eyebrow span::after {
  content: '';
  position: absolute;
  top: 0;
  right: -11px;
  width: 7px;
  height: 2px;
  background: var(--red);
}

.eyebrow-no-red span::after {
  display: none;
}

.eyebrow-light {
  color: #8ebdff;
}

.hero h1,
.section-heading h2,
.focus-copy h2,
.approach-intro h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(52px, 5.7vw, 96px);
}

.hero h1 em {
  color: #91bcff;
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

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

.hero-aside {
  align-self: end;
  min-width: 0;
  max-width: 460px;
  margin-left: auto;
}

.hero-marker {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-marker p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.hero-metrics {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 17, 30, 0.64);
  backdrop-filter: blur(12px);
}

.hero-metrics-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-metric {
  display: grid;
  grid-template-columns: minmax(125px, 0.85fr) minmax(0, 1.6fr);
  flex: 0 0 100%;
  min-height: 116px;
}

.hero-metric-value,
.hero-metric-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 22px 22px 34px;
  text-align: center;
}

.hero-metric-value {
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  text-align: center;
}

.hero-metric strong {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.05;
}

.hero-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.35;
}

.hero-metrics-nav {
  position: absolute;
  right: 20px;
  bottom: 15px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.hero-metrics-nav button {
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-metrics-nav button.active {
  background: #91bcff;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.scroll-cue i::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  width: 1px;
  height: 12px;
  background: #fff;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { transform: translate(-50%, -3px); opacity: 0.3; }
  50% { transform: translate(-50%, 4px); opacity: 1; }
}

.section {
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.section-heading h2,
.approach-intro h2 {
  font-size: clamp(42px, 4.2vw, 72px);
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.services {
  background:
    linear-gradient(90deg, transparent 49.95%, var(--line) 50%, transparent 50.05%) center/25% 100%,
    var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(20, 106, 234, 0.35);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

.service-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 652px;
  padding: 0;
  color: #fff;
  background: #0a1524;
}

.service-featured::after {
  display: none;
}

.service-image {
  position: absolute;
  inset: 0;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 10, 20, 0.96) 3%, rgba(5, 15, 27, 0.42) 62%, rgba(3, 10, 20, 0.08));
}

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

.service-featured-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px;
}

.service-featured .service-number {
  color: #9ec5ff;
}

.service-number {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 32px 0 45px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
}

.service-icon svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-featured .service-icon {
  position: absolute;
  right: 36px;
  bottom: 33px;
  margin: 0;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.service-card h3 {
  max-width: 270px;
  margin: 0;
  font-size: clamp(20px, 1.5vw, 25px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-card p {
  max-width: 280px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.service-featured h3 {
  font-size: clamp(34px, 3vw, 48px);
}

.service-featured p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.text-link span {
  color: #86b6ff;
}

.service-wide {
  grid-column: span 2;
}

.service-wide p {
  max-width: 440px;
}

.focus-section {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  color: #fff;
  background: #08111e;
}

.focus-media,
.focus-media-overlay {
  position: absolute;
  inset: 0;
}

.focus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.focus-media-overlay {
  background:
    linear-gradient(90deg, rgba(4, 11, 21, 0.96) 0%, rgba(4, 11, 21, 0.82) 42%, rgba(4, 11, 21, 0.28) 72%, rgba(4, 11, 21, 0.58) 100%),
    linear-gradient(0deg, rgba(4, 11, 21, 0.6), transparent 50%);
}

.focus-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(360px, 470px);
  align-items: center;
  justify-content: space-between;
  min-height: 920px;
  gap: 80px;
  padding-block: 110px;
}

.focus-copy h2,
.contact-copy h2 {
  font-size: clamp(48px, 5vw, 82px);
}

.focus-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.focus-list {
  margin: 35px 0 42px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.focus-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px;
}

.focus-list span {
  color: #7eaff7;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.system-card {
  position: relative;
  min-height: 590px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 18, 31, 0.65);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(17px);
}

.system-directions {
  padding: 110px 0;
  background: var(--surface-2);
}

.production-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(23, 102, 224, 0.08), transparent 28%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.production-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--production-delay), transform 0.7s ease var(--production-delay), border-color 0.28s ease, box-shadow 0.28s ease;
}

.production-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.production-card:hover,
.production-card:focus-within {
  border-color: rgba(23, 102, 224, 0.34);
  box-shadow: 0 30px 78px rgba(9, 27, 50, 0.14);
  transform: translateY(-6px);
}

.production-image {
  height: clamp(230px, 20vw, 330px);
  overflow: hidden;
  background: #f6f8fb;
}

.production-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.production-card:hover .production-image img,
.production-card:focus-within .production-image img {
  transform: scale(1.065);
}

.production-copy {
  padding: 28px;
}

.production-copy span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--blue);
  border: 1px solid rgba(23, 102, 224, 0.18);
  border-radius: 999px;
  background: rgba(23, 102, 224, 0.06);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-copy h3 {
  margin: 0;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.production-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.production-copy small {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.direction-block {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(400px, 0.78fr);
  width: min(calc(100% - 64px), var(--container));
  min-height: 660px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.direction-block + .direction-block {
  margin-top: 28px;
}

.direction-block.direction-reverse {
  grid-template-columns: minmax(400px, 0.78fr) minmax(0, 1.22fr);
}

.direction-block.direction-dark {
  color: #f4f7fb;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 106, 212, 0.16), transparent 32%),
    linear-gradient(145deg, #101722 0%, #080d14 100%);
  box-shadow: 0 28px 80px rgba(3, 9, 18, 0.25);
}

.direction-dark .direction-copy::before {
  background: rgba(255, 255, 255, 0.14);
}

.direction-dark .direction-number {
  color: rgba(255, 255, 255, 0.42);
}

.direction-dark .eyebrow {
  color: #83b4ff;
}

.direction-dark .direction-lead {
  color: rgba(255, 255, 255, 0.67);
}

.direction-dark .direction-copy ul {
  border-color: rgba(255, 255, 255, 0.14);
}

.direction-dark .direction-copy li {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
}

.direction-dark .direction-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.direction-dark .direction-link:hover {
  border-color: var(--blue);
}

.direction-reverse .direction-visual {
  grid-column: 2;
}

.direction-reverse .direction-copy {
  grid-column: 1;
  grid-row: 1;
}

.direction-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #fff;
  cursor: default;
}

.direction-visual-trigger {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.direction-visual-trigger:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -6px;
}

.direction-visual::after {
  display: none;
}

.direction-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.direction-visual:hover img {
  transform: scale(1.07);
}

.direction-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px);
}

.direction-copy::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--line);
}

.direction-reverse .direction-copy::before {
  right: 0;
  left: auto;
}

.direction-number {
  position: absolute;
  top: 32px;
  right: 36px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.direction-copy .eyebrow {
  margin-bottom: 22px;
}

.direction-copy h2 {
  margin: 0;
  font-size: clamp(34px, 2.9vw, 48px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

.direction-lead {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.direction-copy ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.direction-copy li {
  position: relative;
  padding: 13px 0 13px 22px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.direction-copy li::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.direction-link {
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 19px;
  text-align: center;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.direction-link:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
}

.system-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.system-node {
  position: absolute;
  right: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: 38px 1fr;
  width: auto;
  color: #fff;
  text-align: left;
  cursor: pointer;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.system-node:hover,
.system-node:focus-visible {
  border-color: rgba(159, 197, 255, 0.55);
  background: rgba(159, 197, 255, 0.12);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
  transform: translateX(-4px);
  outline: none;
}

.system-node span {
  grid-row: span 2;
  color: #75aaf8;
  font-size: 11px;
}

.system-node strong {
  font-size: 17px;
  font-weight: 550;
}

.system-node small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.node-chiller { top: 80px; }
.node-pump { top: 239px; }
.node-fan { top: 398px; }

.system-line {
  position: absolute;
  left: 49px;
  width: 2px;
  height: 54px;
  background: var(--blue);
}

.system-line::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.line-a { top: 180px; }
.line-b { top: 339px; }

.steps {
  overflow: hidden;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  min-width: 0;
}

.step-top {
  position: relative;
  height: 64px;
  border-top: 1px solid var(--line-strong);
}

.step-top::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--bg);
}

.step:last-child .step-top::before,
.step.step-complete .step-top::before {
  background: #1f9d55;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 10px rgba(31, 157, 85, 0.12);
}

.step-top span {
  position: absolute;
  top: 17px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.step h3 {
  margin: 0 20px 14px 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  min-height: 90px;
  margin: 0 24px 22px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.step small {
  display: block;
  margin-right: 24px;
  padding-top: 15px;
  color: var(--text);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.approach {
  background: var(--surface-2);
}

.approach-intro {
  margin-bottom: 65px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.approach-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.approach-card {
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.approach-card:hover {
  z-index: 2;
  border-color: rgba(20, 105, 214, 0.38);
  box-shadow: 0 24px 55px rgba(9, 27, 50, 0.12);
  transform: translateY(-7px);
}

.approach-card svg {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-card-icon {
  position: absolute;
  top: 70px;
  left: 30px;
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-card:hover svg,
.approach-card:hover .approach-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.approach-card-main {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 672px;
  padding: 45px;
  overflow: hidden;
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(5, 38, 82, 0.85), rgba(4, 16, 33, 0.98)),
    url('optimized/hero.webp') center/cover;
}

.approach-number {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.approach-card-main .approach-number {
  color: #8ebdff;
}

.approach-card svg {
  position: absolute;
  top: 74px;
  left: 32px;
  width: 60px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-card-main svg {
  top: 50%;
  left: 50%;
  width: 180px;
  color: #7eb1ff;
  stroke: currentColor;
  opacity: 0.68;
  transform: translate(-50%, -60%);
}

.approach-card h3 {
  position: absolute;
  right: 30px;
  bottom: 94px;
  left: 30px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.approach-card p {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.approach-card-main h3 {
  right: 44px;
  bottom: 153px;
  left: 44px;
  font-size: clamp(34px, 3vw, 50px);
}

.approach-card-main p {
  right: 44px;
  bottom: 45px;
  left: 44px;
  max-width: 570px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 22%, rgba(36, 116, 232, 0.22), transparent 30%),
    linear-gradient(135deg, #07111e 0%, #0a1727 65%, #06101c 100%);
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.85fr);
  gap: 110px;
}

.contact-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
  max-width: 600px;
  margin-top: 45px;
}

.contact-direct a,
.contact-direct div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-direct span,
.contact-direct strong {
  display: block;
}

.contact-direct span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct strong {
  font-size: 14px;
  font-weight: 500;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-self: center;
  padding: 38px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.form-title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-title span {
  font-size: 22px;
  font-weight: 500;
}

.form-title small,
.form-note {
  color: var(--muted);
  font-size: 11px;
}

.contact-form label {
  display: block;
}

.contact-form label > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form label > span small {
  font-weight: 400;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  outline: none;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  height: 52px;
  padding: 0 15px;
}

.contact-form input[type='file'] {
  height: auto;
  min-height: 52px;
  padding: 9px;
  cursor: pointer;
}

.contact-form input[type='file']::file-selector-button {
  min-height: 32px;
  margin-right: 12px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--surface-2);
  font: inherit;
  cursor: pointer;
}

.file-hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.file-field.file-invalid input {
  border-color: var(--red);
}

.contact-form textarea {
  min-height: 110px;
  padding: 14px 15px;
  resize: vertical;
}

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

.contact-form input.invalid {
  border-color: var(--red);
}

.privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.contact-form .privacy-consent > span,
.feedback-form .privacy-consent > span {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.privacy-consent input[type='checkbox'] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

.privacy-consent input[type='checkbox'].invalid {
  outline: 1px solid var(--red);
  outline-offset: 2px;
}

.privacy-consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-wide {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: 100%;
  margin-top: 2px;
  border: 0;
}

.form-note {
  margin: -6px 0 0;
  text-align: center;
}

.form-success {
  display: none;
  padding: 15px;
  color: var(--text);
  border-left: 3px solid var(--blue);
  background: var(--surface-2);
}

.form-success.visible {
  display: block;
}

.form-success strong,
.form-success span {
  display: block;
}

.form-success strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.form-success span {
  color: var(--muted);
  font-size: 12px;
}

.map-section {
  padding: 110px 0 0;
  overflow: hidden;
  background: var(--bg);
}

.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 48px;
}

.map-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.button-map {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
}

.map-frame {
  width: 100%;
  height: 520px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.18);
}

.feedback-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.feedback-modal.open {
  visibility: visible;
  opacity: 1;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 8, 15, 0.76);
  backdrop-filter: blur(9px);
  cursor: pointer;
}

.feedback-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100dvh - 44px);
  padding: 42px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.feedback-modal.open .feedback-dialog {
  transform: translateY(0) scale(1);
}

.feedback-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  font-size: 27px;
  font-weight: 300;
  cursor: pointer;
}

.feedback-dialog h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.feedback-intro {
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feedback-form {
  display: grid;
  gap: 17px;
}

.feedback-form label:not(.privacy-consent) > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feedback-form input[type='text'],
.feedback-form input[type='tel'] {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  outline: none;
  background: var(--bg);
}

.feedback-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 102, 224, 0.12);
}

.feedback-form input.invalid {
  border-color: var(--red);
}

.feedback-form .button {
  width: 100%;
  border: 0;
}

.form-trap {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-success.error {
  color: #9e2430;
  border-color: rgba(200, 45, 59, 0.35);
  background: rgba(200, 45, 59, 0.08);
}

.share-modal {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.share-modal.open {
  visibility: visible;
  opacity: 1;
}

.share-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 8, 15, 0.82);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.share-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(94vw, 860px);
  max-height: calc(100dvh - 32px);
  flex-direction: column;
  gap: 10px;
  align-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.share-modal.open .share-dialog {
  transform: translateY(0) scale(1);
}

.share-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(8, 13, 20, 0.78);
  backdrop-filter: blur(10px);
  font-size: 27px;
  font-weight: 300;
  cursor: pointer;
}

.share-preview-frame {
  display: block;
  width: 100%;
  max-width: 860px;
  padding: 0;
  overflow: hidden;
  background: #050607;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.42);
}

.share-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 26px;
  box-shadow: none;
  transform: scale(1.012);
}

.share-dialog-content {
  display: grid;
  gap: 9px;
  width: min(100%, 860px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.share-kicker {
  grid-column: 1 / -1;
  margin: 0 0 -8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.share-dialog-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.share-dialog-content h2 span {
  color: var(--red);
}

.share-dialog-content > p:not(.share-kicker, .share-status) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.share-card-info {
  display: grid;
  gap: 5px;
  padding: 12px 16px;
  color: #111419;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.share-card-info strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-card-info span {
  color: rgba(17, 20, 25, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.share-card-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 2px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.share-native {
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.share-channels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.share-channels a,
.share-channels button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  color: #111419;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.share-channels a:hover,
.share-channels button:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
}

.share-status {
  min-height: 19px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  text-align: center;
}

.site-footer {
  padding: 70px 0 24px;
  background: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(170px, 1fr) auto auto minmax(220px, 260px);
  align-items: start;
  gap: 52px;
  padding-bottom: 60px;
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.footer-brand {
  width: 172px;
  height: 48px;
}

.footer-requisites {
  display: grid;
  gap: 7px;
  max-width: 280px;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.45;
}

.footer-requisites strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.footer-requisites span {
  display: block;
}

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-top nav,
.footer-contacts {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  min-width: 220px;
  min-height: 58px;
  gap: 11px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-contact-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-link span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.footer-contact-link span b {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
}

.footer-contact-link span small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.footer-contact-link i {
  color: var(--blue);
  font-size: 15px;
  font-style: normal;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
  outline: none;
}

.footer-contact-link:hover span small,
.footer-contact-link:focus-visible span small,
.footer-contact-link:hover i,
.footer-contact-link:focus-visible i {
  color: #fff;
}

.footer-actions {
  display: grid;
  gap: 10px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 0 17px;
  gap: 9px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.share-button:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.reference-download {
  text-align: center;
}

.share-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.footer-author {
  color: var(--muted);
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer-author:hover,
.footer-author:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

.privacy-footnote {
  display: grid;
  grid-template-columns: 220px minmax(0, 700px);
  gap: 40px;
  padding: 24px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
}

.privacy-footnote strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-footnote p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1240px) {
  .desktop-nav {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 700px) 1fr;
    gap: 55px;
  }

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

  .service-featured {
    grid-column: span 2;
  }

  .service-wide {
    grid-column: span 1;
  }

  .focus-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  }

  .direction-block,
  .direction-block.direction-reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 60px;
  }

  .contact-grid {
    gap: 65px;
  }

  .footer-top {
    gap: 35px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle span {
    position: absolute;
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .menu-toggle span:first-child { transform: translateY(-3px); }
  .menu-toggle span:last-child { transform: translateY(3px); }
  .menu-active .menu-toggle span:first-child { transform: rotate(45deg); }
  .menu-active .menu-toggle span:last-child { transform: rotate(-45deg); }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 86px);
    padding: 45px 20px;
    overflow-y: auto;
    color: var(--text);
    background: var(--surface);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .menu-active .mobile-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(25px, 5vw, 38px);
    letter-spacing: -0.03em;
  }

  .mobile-nav .mobile-phone {
    margin-top: auto;
    color: var(--blue);
    border: 0;
    font-size: 18px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 35px;
  }

  .hero-aside {
    max-width: 520px;
    margin: 0;
  }

  .hero-marker {
    display: none;
  }

  .hero-metrics {
    margin: 0;
  }

  .section,
  .contact-section {
    padding: 100px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 50px;
  }

  .section-heading > p {
    max-width: 620px;
  }

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

  .service-featured {
    min-height: 580px;
  }

  .focus-content {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .system-card {
    display: none;
  }

  .system-directions {
    padding: 80px 0;
  }

  .direction-block,
  .direction-block.direction-reverse {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), var(--container));
    min-height: 0;
  }

  .direction-reverse .direction-visual,
  .direction-reverse .direction-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .direction-visual {
    min-height: 480px;
  }

  .direction-copy::before,
  .direction-reverse .direction-copy::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

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

  .approach-card-main {
    min-height: 570px;
  }

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

  .contact-form {
    max-width: 680px;
  }

  .map-frame {
    height: 440px;
  }

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

  .footer-actions {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    height: 72px;
  }

  .brand {
    width: 126px;
    height: 37px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-nav {
    height: calc(100dvh - 72px);
  }

  .hero {
    min-height: 760px;
    background: #081524 url('optimized/hero.webp') 62% center / cover no-repeat;
  }

  .hero-video {
    display: none;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(4, 10, 18, 0.9) 0%, rgba(4, 10, 18, 0.5) 100%);
  }

  .hero-content {
    padding-top: 116px;
    padding-bottom: 90px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .hero-aside {
    display: block;
    width: 100%;
    max-width: none;
  }

  .section,
  .contact-section {
    padding: 76px 0;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .section-heading h2,
  .approach-intro h2,
  .focus-copy h2,
  .contact-copy h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

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

  .service-card,
  .service-wide {
    grid-column: auto;
    min-height: 290px;
    padding: 25px;
  }

  .service-featured {
    min-height: 520px;
    padding: 0;
  }

  .service-featured-copy {
    padding: 26px;
  }

  .service-featured .service-icon {
    display: none;
  }

  .service-icon {
    margin: 28px 0 36px;
  }

  .focus-section,
  .focus-content {
    min-height: 850px;
  }

  .focus-content {
    padding-block: 85px;
  }

  .focus-media img {
    object-position: 68% center;
  }

  .focus-media-overlay {
    background: linear-gradient(90deg, rgba(4, 11, 21, 0.92), rgba(4, 11, 21, 0.54));
  }

  .focus-copy > p:not(.eyebrow),
  .contact-copy > p:not(.eyebrow) {
    margin-top: 24px;
    font-size: 15px;
  }

  .focus-list li {
    grid-template-columns: 34px 1fr;
    font-size: 13px;
  }

  .system-directions {
    padding: 60px 0;
  }

  .direction-block,
  .direction-block.direction-reverse {
    width: min(calc(100% - 28px), var(--container));
  }

  .direction-block + .direction-block {
    margin-top: 16px;
  }

  .direction-visual {
    min-height: 270px;
  }

  .direction-copy {
    padding: 38px 24px 32px;
  }

  .direction-number {
    top: 20px;
    right: 22px;
  }

  .direction-copy h2 {
    font-size: 34px;
  }

  .direction-lead {
    margin-top: 22px;
    font-size: 14px;
  }

  .direction-copy ul {
    margin-top: 25px;
  }

  .direction-copy li {
    font-size: 12px;
  }

  .direction-link {
    width: 100%;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 28px;
    border-left: 1px solid var(--line-strong);
  }

  .step {
    position: relative;
    padding-bottom: 45px;
  }

  .step-top {
    height: 36px;
    border: 0;
  }

  .step-top::before {
    top: 2px;
    left: -32px;
  }

  .step-top span {
    top: 0;
  }

  .step p {
    min-height: 0;
  }

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

  .approach-card,
  .approach-card-main {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .approach-card-main {
    min-height: 500px;
    padding: 28px;
  }

  .approach-card-main svg {
    width: 130px;
  }

  .approach-card-main h3,
  .approach-card-main p {
    right: 28px;
    left: 28px;
  }

  .contact-direct {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-form label,
  .form-title,
  .form-wide {
    grid-column: 1;
  }

  .form-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .map-section {
    padding-top: 76px;
  }

  .map-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 36px;
  }

  .map-heading .button {
    width: 100%;
  }

  .map-frame {
    height: 400px;
  }

  .feedback-dialog {
    padding: 32px 22px 24px;
  }

  .share-modal {
    align-items: center;
    padding: 12px;
  }

  .share-dialog {
    width: min(100%, 720px);
    max-height: calc(100dvh - 24px);
    gap: 8px;
    border-radius: 0;
    background: transparent;
  }

  .share-preview-frame {
    min-height: 0;
    padding: 0;
  }

  .share-dialog-content {
    gap: 8px;
    padding: 0;
    border-radius: 0;
  }

  .share-dialog-content h2 {
    padding-right: 34px;
  }

  .share-card-info {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .share-card-info span,
  .share-card-info div {
    font-size: 11px;
  }

  .share-native {
    min-width: 0;
  }

  .share-close {
    top: 8px;
    right: 8px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(7, 13, 20, 0.72);
  }

  .share-channels {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .share-channels a,
  .share-channels button {
    min-height: 41px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 11px;
  }

  .share-channels .share-native {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .share-button {
    width: 100%;
    min-height: 50px;
    margin: 0;
  }

  .footer-actions {
    grid-column: auto;
    align-items: stretch;
    gap: 10px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .privacy-footnote {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Final layout additions */
.button-outline {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}

.button-outline:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.brand {
  width: 190px;
  height: 52px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-phone svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-content {
  grid-template-columns: minmax(0, 900px);
}

.experience-section {
  padding: 34px 0 110px;
  background: var(--bg);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.experience-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #eef2f6;
}

.experience-visual picture {
  display: none;
}

.experience-visual picture,
.experience-visual img {
  width: 100%;
  height: 100%;
}

.experience-visual img {
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.experience-visual:hover img,
.experience-visual:focus-within img {
  transform: scale(1.035);
}

.experience-visual-cta {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(10, 16, 22, 0.62);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  backdrop-filter: blur(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.experience-visual:hover .experience-visual-cta,
.experience-visual:focus-within .experience-visual-cta {
  opacity: 1;
  transform: translateY(0);
}

.experience-visual-cta:hover,
.experience-visual-cta:focus-visible {
  background: rgba(25, 166, 88, 0.9);
  border-color: rgba(25, 166, 88, 0.95);
}

@media (hover: none), (max-width: 760px) {
  .experience-visual-cta {
    opacity: 1;
    transform: translateY(0);
  }
}

.experience-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 78px);
}

.experience-content h2,
.context-panel h2,
.documents-intro h2,
.responsibility-grid h2,
.service-action-dialog h2 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.experience-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 45px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.experience-metrics div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.3s ease, background 0.3s ease, transform 0.45s ease var(--metric-delay), opacity 0.45s ease var(--metric-delay);
}

.experience-metrics div::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #73b4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.experience-metrics.metrics-active div {
  opacity: 1;
  transform: translateY(0);
}

.experience-metrics div:hover {
  background: var(--surface-2);
}

.experience-metrics div:hover::after {
  transform: scaleX(1);
}

.experience-metrics strong {
  color: var(--text);
  font-size: clamp(25px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1;
}

.experience-metrics span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.responsibility-band {
  padding: 78px 0;
  color: #fff;
  background: #09131f;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr) minmax(230px, 0.45fr);
  align-items: stretch;
  gap: clamp(34px, 5vw, 76px);
}

.responsibility-heading,
.responsibility-summary,
.responsibility-action {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
}

.responsibility-heading h2 {
  max-width: 760px;
  text-wrap: balance;
}

.responsibility-summary {
  position: relative;
  overflow: hidden;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.responsibility-summary::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(159, 197, 255, 0), rgba(159, 197, 255, 0.8), rgba(159, 197, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.responsibility-summary:hover {
  border-color: rgba(159, 197, 255, 0.32);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 0 1px rgba(159, 197, 255, 0.08);
  transform: translateY(-4px);
}

.responsibility-summary:hover::after {
  transform: scaleX(1);
}

.responsibility-summary > span {
  color: #9fc5ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.responsibility-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.responsibility-action {
  align-items: flex-start;
  gap: 30px;
}

@media (min-width: 1181px) {
  .responsibility-action {
    align-items: center;
    justify-content: center;
    gap: 22px;
    text-align: center;
    transform: none;
  }

  .responsibility-action small {
    max-width: 300px;
  }
}

.responsibility-action small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
}

.responsibility-action .responsibility-button {
  color: #fff;
  border-color: rgba(159, 197, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 102, 224, 0.92), rgba(8, 52, 118, 0.92));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.responsibility-action .responsibility-button:hover,
.responsibility-action .responsibility-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #1766e0, #0b4ea6);
}

.focus-cta {
  border-radius: 999px;
}

.services-visual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-visual-card,
.service-featured.service-visual-card {
  display: flex;
  grid-column: auto;
  grid-row: auto;
  flex-direction: column;
  min-height: 410px;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  isolation: isolate;
}

.service-visual-card::after {
  display: none;
}

.service-featured.service-visual-card {
  grid-column: span 2;
  color: #fff;
  background: #0a1524;
}

.service-card-trigger {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.service-card-trigger:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -4px;
}

.service-visual {
  position: relative;
  z-index: 0;
  flex: 0 0 190px;
  height: 190px;
  overflow: hidden;
  background: #e8edf2;
  transition: flex-basis 0.45s cubic-bezier(0.22, 1, 0.36, 1), height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-featured .service-visual {
  flex-basis: 230px;
  height: 230px;
}

.service-visual picture,
.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.service-visual img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-visual-card:hover .service-visual {
  flex-basis: 255px;
  height: 255px;
}

.service-visual-card:hover .service-visual img {
  transform: scale(1.08);
}

.service-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.service-featured .service-card-copy {
  background: #0a1524;
}

.service-card-meta {
  display: flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 18px;
}

.service-tag {
  display: inline-flex;
  padding: 6px 9px;
  color: #b8d4ff;
  border: 1px solid rgba(142, 189, 255, 0.34);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-visual-card h3,
.service-featured.service-visual-card h3 {
  max-width: none;
  font-size: clamp(23px, 2vw, 32px);
}

.service-visual-card p,
.service-featured.service-visual-card p {
  max-width: none;
  color: var(--muted);
  font-size: 13px;
}

.service-featured.service-visual-card p {
  color: rgba(255, 255, 255, 0.66);
}

.service-card-overlay {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 92px 24px 24px;
  color: #fff;
  background: linear-gradient(0deg, rgba(8, 20, 34, 0.58) 8%, rgba(23, 56, 88, 0.28) 64%, rgba(23, 56, 88, 0.04));
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.3s ease, transform 0.35s ease;
  pointer-events: none;
}

.service-card-overlay strong {
  display: block;
  max-width: 310px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(20px, 1.45vw, 26px);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.service-card-overlay p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.55;
}

.service-card-overlay span {
  color: #c8ddff;
  font-size: 12px;
  font-weight: 650;
}

.service-visual-card:hover .service-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-visual-card:hover .service-card-copy {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
}

.client-context {
  padding-top: 0;
}

.client-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.context-panel {
  min-height: 560px;
  padding: clamp(38px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.context-panel-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background: #09131f;
}

.context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
}

.context-tags span {
  padding: 12px 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13px;
}

.pain-list {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.pain-list li {
  position: relative;
  padding: 17px 0 17px 27px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateX(18px);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.45s ease var(--pain-delay), opacity 0.45s ease var(--pain-delay);
}

.pain-list li::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--red);
}

.context-panel.visible .pain-list li {
  opacity: 1;
  transform: translateX(0);
}

.pain-list li:hover {
  padding-right: 12px;
  padding-left: 36px;
  border-color: rgba(115, 180, 255, 0.38);
  background: rgba(255, 255, 255, 0.035);
}

.pain-list strong,
.pain-list span {
  display: block;
}

.pain-list strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.pain-list span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.pain-action {
  margin-top: 28px;
  padding: 12px 0;
  color: #9fc5ff;
  border: 0;
  border-bottom: 1px solid rgba(159, 197, 255, 0.35);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pain-action:hover,
.pain-action:focus-visible {
  color: #fff;
  border-color: #fff;
}

.portfolio-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(23, 102, 224, 0.045), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f6f8fb 100%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reference-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reference-case-card {
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.reference-case-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reference-case-card h3 {
  min-height: 58px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.reference-case-card > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.reference-case-card > div span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-case-card > div strong,
.reference-case-card > div p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.reference-case-card .portfolio-result p {
  color: var(--muted);
  font-weight: 400;
}

.portfolio-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(12, 31, 55, 0.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(11, 24, 42, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  border-color: rgba(23, 102, 224, 0.2);
  box-shadow: 0 28px 72px rgba(11, 24, 42, 0.11);
  transform: translateY(-4px);
}

.portfolio-image {
  height: clamp(320px, 30vw, 430px);
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 14px;
  background: #f7f9fb;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

.portfolio-copy {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.05vw, 32px);
}

.portfolio-copy h3 {
  margin: 0;
  color: #0b1828;
  font-size: clamp(21px, 1.55vw, 28px);
  font-weight: 560;
  letter-spacing: -0.028em;
  line-height: 1.12;
}

.portfolio-location {
  width: max-content;
  max-width: 100%;
  margin: -4px 0 2px;
  padding: 7px 11px;
  color: #174d96;
  border: 1px solid rgba(23, 102, 224, 0.14);
  border-radius: 999px;
  background: rgba(23, 102, 224, 0.055);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.portfolio-copy > div {
  padding: 13px 0 0;
  border-top: 1px solid rgba(12, 31, 55, 0.085);
}

.portfolio-copy > div:last-child {
  margin-top: auto;
}

.portfolio-copy span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-copy p,
.portfolio-copy strong {
  margin: 0;
  color: #122033;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.58;
}

.portfolio-copy strong {
  font-size: 16px;
  font-weight: 700;
}

.portfolio-result {
  padding: 16px 17px !important;
  border: 1px solid rgba(23, 102, 224, 0.11) !important;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 102, 224, 0.045), rgba(255, 255, 255, 0.92));
}

.portfolio-result p {
  color: rgba(18, 32, 51, 0.76);
  font-weight: 450;
}

.portfolio-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 45px;
}

.documents-section {
  padding: 105px 0;
  color: #fff;
  background: #09131f;
}

.documents-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 100px;
}

.documents-intro > p:not(.eyebrow) {
  max-width: 580px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.documents-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.documents-list div {
  min-height: 175px;
  padding: 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease var(--document-delay), transform 0.45s ease var(--document-delay), background 0.3s ease;
}

.documents-list.visible div {
  opacity: 1;
  transform: translateY(0);
}

.documents-list div:hover {
  background: rgba(255, 255, 255, 0.05);
}

.documents-list strong,
.documents-list span {
  display: block;
}

.documents-list strong {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
}

.documents-list span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.55;
}

.send-materials {
  margin: 35px 0 40px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.send-materials > strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.send-materials > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.send-materials span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 11px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-copy.visible .send-materials span {
  animation: material-arrive 0.45s both;
}

.contact-copy.visible .send-materials span:nth-child(2n) {
  animation-delay: 90ms;
}

.contact-copy.visible .send-materials span:nth-child(3n) {
  animation-delay: 160ms;
}

.send-materials span:hover {
  color: #fff;
  border-color: rgba(159, 197, 255, 0.72);
  background: rgba(159, 197, 255, 0.1);
  transform: translateY(-2px);
}

@keyframes material-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-action-modal {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.service-action-modal.open {
  visibility: visible;
  opacity: 1;
}

.service-action-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 8, 15, 0.8);
  backdrop-filter: blur(9px);
}

.service-action-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.service-action-modal.open .service-action-dialog {
  transform: translateY(0) scale(1);
}

.service-action-dialog > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-action-detail {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(23, 102, 224, 0.055);
}

.service-action-close {
  position: absolute;
  z-index: 6;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  font-size: 27px;
  cursor: pointer;
  touch-action: manipulation;
}

.service-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-action-form {
  margin-top: 24px;
}

.service-action-form .button {
  width: 100%;
  justify-content: center;
}

.service-action-project-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-legal > div,
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
}

.footer-legal strong,
.footer-legal span,
.footer-legal a {
  font-size: 11px;
  line-height: 1.5;
}

.footer-legal span,
.footer-legal a {
  color: var(--muted);
}

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

.mobile-contact-bar {
  display: none;
}

.legal-body {
  background: var(--bg);
}

.legal-header {
  position: sticky;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header.legal-header:not(.scrolled):not(.menu-active) .brand-light,
.legal-header .brand-light {
  display: block;
}

.site-header.legal-header:not(.scrolled):not(.menu-active) .brand-dark,
.legal-header .brand-dark {
  display: none;
}

[data-theme='dark'] .legal-header .brand-light {
  display: none;
}

[data-theme='dark'] .legal-header .brand-dark {
  display: block;
}

.legal-page {
  min-height: 70vh;
  padding: 90px 0 120px;
}

.legal-page-inner {
  max-width: 900px;
}

.legal-back {
  color: var(--blue);
  font-size: 13px;
}

.legal-page h1 {
  margin: 32px 0 60px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.legal-content h2 {
  margin: 50px 0 18px;
  font-size: 28px;
  font-weight: 500;
}

.legal-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-requisites div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.legal-requisites dt {
  color: var(--muted);
}

.legal-requisites dd {
  margin: 0;
  color: var(--text);
}

.legal-footer {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.legal-footer .container {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 16px;
    font-size: 12px;
  }

  .brand {
    width: 170px;
  }

  .experience-grid,
  .documents-grid {
    grid-template-columns: 1fr;
  }

  .experience-visual {
    min-height: 440px;
  }

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

  .responsibility-action {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
  }

  .responsibility-grid .button {
    width: max-content;
  }

  .services-visual-grid,
  .portfolio-grid,
  .reference-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .header-phone {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .experience-section {
    padding: 18px 0 76px;
  }

  .experience-visual {
    min-height: 270px;
  }

  .experience-content {
    padding: 34px 20px;
  }

  .experience-metrics {
    margin-top: 30px;
  }

  .experience-metrics div {
    min-height: 108px;
    padding: 16px;
  }

  .responsibility-grid,
  .client-context-grid,
  .services-visual-grid,
  .portfolio-grid,
  .reference-cases-grid,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .responsibility-grid {
    gap: 30px;
  }

  .responsibility-summary {
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
    gap: 18px;
  }

  .responsibility-action {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .responsibility-grid .button,
  .portfolio-cta .button {
    width: 100%;
  }

  .service-featured.service-visual-card {
    grid-column: auto;
  }

  .service-visual-card,
  .service-featured.service-visual-card {
    min-height: 390px;
  }

  .service-card-overlay {
    display: none;
  }

  .context-panel {
    min-height: 0;
    padding: 38px 24px;
  }

  .portfolio-cta {
    flex-direction: column;
  }

  .documents-grid {
    gap: 50px;
  }

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

  .footer-contact-link,
  .footer-social-link {
    width: 100%;
    min-width: 0;
  }

  .service-action-modal {
    align-items: end;
    padding: 12px;
  }

  .service-action-dialog {
    padding: 40px 22px 24px;
  }

  .service-action-buttons {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    gap: 25px;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 1900;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 1.35fr;
    min-height: 66px;
    padding: 5px max(6px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(7, 14, 23, 0.96);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 6px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-contact-bar a:last-child {
    border-right: 0;
    background: var(--blue);
  }

  .mobile-contact-bar svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .legal-header .header-phone {
    display: none;
  }

  .legal-page {
    padding: 55px 0 80px;
  }

  .legal-requisites div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* v1.3.69 release override: keep portfolio modal thumbnails inside mobile viewport */
.portfolio-modal-thumbs {
  justify-content: flex-start !important;
  padding-inline: 14px !important;
  scroll-padding-inline: 14px !important;
}

.portfolio-modal-thumbs button:first-child {
  margin-left: 0 !important;
}

@media (max-width: 760px) {
  .portfolio-modal-thumbs {
    justify-content: flex-start !important;
    padding-inline: 16px !important;
    scroll-padding-inline: 16px !important;
  }
}

/* v1.3.70 release override: prevent footer action column overflow on tablets */
@media (max-width: 1180px) and (min-width: 761px) {
  .site-footer .footer-actions {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: start !important;
    width: min(360px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 24px auto 0 !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* v1.3.71 portfolio fullscreen gallery */
.gallery-lightbox {
  z-index: 2700 !important;
  padding: clamp(14px, 2.2vw, 34px) !important;
}

.gallery-lightbox-backdrop {
  background: rgba(2, 7, 14, 0.9) !important;
  backdrop-filter: blur(14px) !important;
}

.gallery-lightbox-dialog {
  width: min(1280px, 96vw) !important;
  grid-template-columns: 54px minmax(0, 1fr) 54px !important;
  gap: clamp(10px, 1.4vw, 18px) !important;
}

.gallery-lightbox-dialog img {
  width: 100% !important;
  max-height: 84vh !important;
  object-fit: contain !important;
  border-radius: 22px !important;
  background: #050b14 !important;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.gallery-lightbox-dialog p {
  grid-column: 2 !important;
  justify-self: center;
  max-width: min(760px, 82vw);
  text-align: center;
}

.portfolio-modal-media > img {
  cursor: zoom-in;
}

.portfolio-modal-media.is-zoomed > img {
  transform: none !important;
}

@media (max-width: 760px) {
  .gallery-lightbox {
    padding: 14px !important;
  }

  .gallery-lightbox-dialog {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
  }

  .gallery-lightbox-dialog img {
    grid-column: 1 / -1 !important;
    max-height: 72vh !important;
    border-radius: 18px !important;
  }

  .gallery-lightbox-dialog p {
    grid-column: 1 / -1 !important;
    max-width: 100%;
    margin-top: 8px !important;
  }

  .gallery-lightbox-arrow {
    width: 100% !important;
    height: 46px !important;
    border-radius: 999px !important;
  }
}

/* v1.3.72 keep fullscreen gallery above portfolio modal on mobile */
.gallery-lightbox {
  z-index: 12000 !important;
}

.gallery-lightbox-dialog,
.gallery-lightbox-close,
.gallery-lightbox-arrow {
  z-index: 12001 !important;
}

/* v1.7.3: keep the fullscreen portfolio gallery controls above the dark backdrop. */
.gallery-lightbox-backdrop {
  z-index: 0 !important;
}

.gallery-lightbox-dialog {
  position: relative !important;
  z-index: 12002 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.gallery-lightbox-close {
  position: fixed !important;
  top: max(12px, env(safe-area-inset-top)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  z-index: 12005 !important;
}

.gallery-lightbox-arrow {
  position: relative !important;
  z-index: 12004 !important;
}

/* v1.3.75 final winning overrides: tablet footer, buttons and ASTRA mark */
.brand,
.brand:hover,
.brand:focus-visible {
  text-decoration: none !important;
}

.brand::before,
.brand::after,
.brand:hover::before,
.brand:hover::after {
  display: none !important;
  content: none !important;
}

.responsibility-heading {
  justify-content: center !important;
  gap: 20px !important;
  transform: translateY(-10px) !important;
}

.responsibility-summary {
  justify-content: center !important;
  gap: 18px !important;
}

.portfolio-cta .button,
.button-outline {
  color: var(--blue) !important;
  border-color: rgba(23, 102, 224, 0.34) !important;
  background: rgba(23, 102, 224, 0.06) !important;
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-open-button {
  color: #fff !important;
  border-color: rgba(23, 102, 224, 0.36) !important;
  background: linear-gradient(135deg, #1766e0, #0b4ea6) !important;
  box-shadow: 0 12px 26px rgba(23, 102, 224, 0.2) !important;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  background: linear-gradient(135deg, #1d73f4, #083f9f) !important;
}

.clients-intro {
  margin: 14px 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 24px 54px rgba(95, 157, 255, 0.42)) !important;
  mix-blend-mode: normal !important;
}

.footer-actions .share-button {
  border-color: rgba(23, 102, 224, 0.26) !important;
}

@media (max-width: 1180px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(420px, calc(100vw - 64px)) !important;
    max-width: 420px !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .responsibility-heading {
    transform: none !important;
  }

  .site-footer .footer-actions {
    width: min(390px, calc(100vw - 44px)) !important;
  }
}

/* v1.3.75 final winning overrides: tablet footer, buttons and ASTRA mark */
.brand,
.brand:hover,
.brand:focus-visible {
  text-decoration: none !important;
}

.brand::before,
.brand::after,
.brand:hover::before,
.brand:hover::after {
  display: none !important;
  content: none !important;
}

.responsibility-heading {
  justify-content: center !important;
  gap: 20px !important;
  transform: translateY(-10px) !important;
}

.responsibility-summary {
  justify-content: center !important;
  gap: 18px !important;
}

.portfolio-cta .button,
.button-outline {
  color: var(--blue) !important;
  border-color: rgba(23, 102, 224, 0.34) !important;
  background: rgba(23, 102, 224, 0.06) !important;
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-open-button {
  color: #fff !important;
  border-color: rgba(23, 102, 224, 0.36) !important;
  background: linear-gradient(135deg, #1766e0, #0b4ea6) !important;
  box-shadow: 0 12px 26px rgba(23, 102, 224, 0.2) !important;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  background: linear-gradient(135deg, #1d73f4, #083f9f) !important;
}

.clients-intro {
  margin: 14px 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 24px 54px rgba(95, 157, 255, 0.42)) !important;
  mix-blend-mode: normal !important;
}

.footer-actions .share-button {
  border-color: rgba(23, 102, 224, 0.26) !important;
}

@media (max-width: 1180px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(420px, calc(100vw - 64px)) !important;
    max-width: 420px !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .responsibility-heading {
    transform: none !important;
  }

  .site-footer .footer-actions {
    width: min(390px, calc(100vw - 44px)) !important;
  }
}

/* v1.3.75 final winning overrides: admin menu, tablet footer, buttons and ASTRA mark */
.brand,
.brand:hover,
.brand:focus-visible {
  text-decoration: none !important;
}

.brand::before,
.brand::after,
.brand:hover::before,
.brand:hover::after {
  display: none !important;
  content: none !important;
}

.responsibility-heading {
  justify-content: center !important;
  gap: 20px !important;
  transform: translateY(-10px) !important;
}

.responsibility-summary {
  justify-content: center !important;
  gap: 18px !important;
}

.portfolio-cta .button,
.button-outline {
  color: var(--blue) !important;
  border-color: rgba(23, 102, 224, 0.34) !important;
  background: rgba(23, 102, 224, 0.06) !important;
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-open-button {
  color: #fff !important;
  border-color: rgba(23, 102, 224, 0.36) !important;
  background: linear-gradient(135deg, #1766e0, #0b4ea6) !important;
  box-shadow: 0 12px 26px rgba(23, 102, 224, 0.2) !important;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  background: linear-gradient(135deg, #1d73f4, #083f9f) !important;
}

.clients-intro {
  margin: 14px 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 24px 54px rgba(95, 157, 255, 0.42)) !important;
  mix-blend-mode: normal !important;
}

.footer-actions .share-button {
  border-color: rgba(23, 102, 224, 0.26) !important;
}

@media (max-width: 1180px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(420px, calc(100vw - 64px)) !important;
    max-width: 420px !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .responsibility-heading {
    transform: none !important;
  }

  .site-footer .footer-actions {
    width: min(390px, calc(100vw - 44px)) !important;
  }
}

/* v1.3.75 admin/menu saving and tablet visual polish */
.brand,
.brand:hover,
.brand:focus-visible {
  text-decoration: none !important;
}

.brand::before,
.brand::after,
.brand:hover::before,
.brand:hover::after {
  display: none !important;
  content: none !important;
}

.responsibility-heading {
  justify-content: center;
  gap: 20px;
  transform: translateY(-10px);
}

.responsibility-summary {
  justify-content: center;
  gap: 18px;
}

.responsibility-action .responsibility-button,
.portfolio-cta .button,
.portfolio-open-button,
.partner-dialog-copy .partner-site-button,
.footer-actions .share-button,
.share-channels button {
  border-color: rgba(23, 102, 224, 0.34) !important;
}

.portfolio-cta .button,
.button-outline {
  color: var(--blue) !important;
  background: rgba(23, 102, 224, 0.06) !important;
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-open-button {
  color: #fff !important;
  background: linear-gradient(135deg, #1766e0, #0b4ea6) !important;
  box-shadow: 0 12px 26px rgba(23, 102, 224, 0.2) !important;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  background: linear-gradient(135deg, #1d73f4, #083f9f) !important;
}

.clients-intro {
  margin: 14px 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 24px 54px rgba(95, 157, 255, 0.42)) !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 1180px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(420px, calc(100vw - 64px)) !important;
    max-width: 420px !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .responsibility-heading {
    transform: none;
  }

  .site-footer .footer-actions {
    width: min(390px, calc(100vw - 44px)) !important;
  }
}

/* v1.3.70 release override: prevent footer action column overflow on tablets */
@media (max-width: 1180px) and (min-width: 761px) {
  .site-footer .footer-actions {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: start !important;
    width: min(360px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 24px auto 0 !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* v1.3.68 release check polish: portfolio modal thumbs */
.portfolio-modal-thumbs {
  padding-inline: 10px;
  scroll-padding-inline: 10px;
}

.portfolio-modal-thumbs button:first-child {
  margin-left: 0;
}

@media (max-width: 760px) {
  .portfolio-modal-thumbs {
    padding-inline: 14px;
  }

  .portfolio-modal-thumbs button:first-child {
    margin-left: 0;
  }
}

/* Launch interaction refinements */
button,
.button,
.header-phone,
.share-button,
.footer-contact-link,
.footer-social-link,
.service-card-trigger,
.context-tags button,
.portfolio-arrow,
.portfolio-dots button {
  touch-action: manipulation;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-trap {
  display: none !important;
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.header-phone {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  gap: 0;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.92;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: none;
}

.header-phone svg {
  width: 19px;
  height: 19px;
}

.context-tags button {
  padding: 12px 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.context-tags button:hover,
.context-tags button:focus-visible,
.context-tags button.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-1px);
}

.context-response {
  margin-top: 22px;
  padding: 22px;
  border-left: 3px solid var(--blue);
  background: var(--surface-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.context-response.active {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(10, 35, 70, 0.09);
}

.context-response strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 16px;
}

.context-response p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.context-response-action {
  margin-top: 15px;
  padding: 0;
  color: var(--blue);
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.portfolio-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.portfolio-viewport::-webkit-scrollbar {
  display: none;
}

.portfolio-track {
  display: flex;
  gap: 24px;
}

.portfolio-slide {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
  scroll-snap-align: start;
}

.portfolio-card,
.reference-case-card.portfolio-slide {
  height: auto;
}

.reference-case-card.portfolio-card {
  padding: 0;
}

.reference-case-card .reference-case-number {
  margin-bottom: 16px;
}

.project-gallery {
  position: relative;
  isolation: isolate;
}

.project-gallery-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  cursor: zoom-in;
  transform: scale(1.025);
  transition: opacity 0.4s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-gallery-image.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.project-gallery-image:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.project-gallery-controls {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px;
  color: #122033;
  border: 1px solid rgba(12, 31, 55, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.project-gallery-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #122033;
  border: 1px solid rgba(12, 31, 55, 0.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 20, 32, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-gallery-controls button:hover,
.project-gallery-controls button:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  transform: scale(1.05);
}

.project-gallery-controls span {
  margin: 0;
  color: rgba(18, 32, 51, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.project-gallery-controls b {
  color: #122033;
  font-weight: 700;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.portfolio-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #174d96;
  border: 1px solid rgba(23, 102, 224, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 20, 32, 0.075);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.portfolio-arrow:hover,
.portfolio-arrow:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.portfolio-arrow:disabled {
  cursor: default;
  opacity: 0.32;
}

.portfolio-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
}

.portfolio-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.portfolio-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--blue);
}

.gallery-lightbox {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.gallery-lightbox.open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 8, 15, 0.86);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 980px) 48px;
  align-items: center;
  gap: 14px;
  width: min(100%, 1120px);
}

.gallery-lightbox-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 28px;
  background: #07111f;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.gallery-lightbox-close {
  position: absolute;
  top: -58px;
  right: 0;
  font-size: 28px;
  line-height: 1;
}

.gallery-lightbox-arrow:hover,
.gallery-lightbox-arrow:focus-visible,
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  border-color: rgba(159, 197, 255, 0.7);
  background: rgba(159, 197, 255, 0.16);
  transform: translateY(-2px);
  outline: none;
}

.gallery-lightbox-dialog p {
  grid-column: 2;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.route-modal {
  position: fixed;
  inset: 0;
  z-index: 2350;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.route-modal.open {
  visibility: visible;
  opacity: 1;
}

.route-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(4, 9, 16, 0.72);
  backdrop-filter: blur(10px);
}

.route-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(12, 31, 55, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.route-modal.open .route-dialog {
  transform: translateY(0) scale(1);
}

.route-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #0d1b2a;
  border: 1px solid rgba(12, 31, 55, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(10, 24, 43, 0.14);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.route-dialog h2 {
  margin: 8px 0 10px;
  color: #081524;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1;
}

.route-dialog p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.route-options {
  display: grid;
  gap: 10px;
}

.route-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  color: #081524;
  text-decoration: none;
  border: 1px solid rgba(12, 31, 55, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.route-options a::after {
  content: "↗";
  color: var(--blue);
}

.route-options a:hover,
.route-options a:focus-visible {
  border-color: rgba(23, 102, 224, 0.45);
  background: rgba(240, 246, 255, 0.94);
  transform: translateY(-1px);
  outline: none;
}

.footer-socials {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.footer-social-link {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  min-width: 220px;
  min-height: 58px;
  gap: 11px;
  padding: 11px 13px;
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.footer-social-link span b {
  color: inherit;
  font-size: 13px;
  font-weight: 650;
}

.footer-social-link span small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.footer-social-link i {
  color: var(--blue);
  font-size: 15px;
  font-style: normal;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #fff !important;
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-2px);
  outline: none;
}

.footer-social-link:hover span small,
.footer-social-link:focus-visible span small,
.footer-social-link:hover i,
.footer-social-link:focus-visible i {
  color: #fff;
}

.header-phone {
  color: #fff;
  border-color: rgba(34, 197, 94, 0.95);
  background: linear-gradient(135deg, #20b15a, #0f8a43);
  box-shadow: 0 12px 30px rgba(15, 138, 67, 0.26);
}

.header-phone:hover,
.header-phone:focus-visible {
  color: #fff;
  border-color: #27d56b;
  background: linear-gradient(135deg, #27c86a, #0b7d3b);
  box-shadow: 0 16px 34px rgba(15, 138, 67, 0.36);
}

.feedback-close,
.service-action-close,
.share-close,
.partner-close,
.gallery-lightbox-close,
.portfolio-modal-close {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 1;
}

.feedback-close::before,
.service-action-close::before,
.share-close::before,
.partner-close::before,
.gallery-lightbox-close::before,
.portfolio-modal-close::before {
  content: '×';
  display: block;
  color: currentColor;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.steps-list {
  position: relative;
}

.step {
  position: relative;
  padding: 14px 14px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.step::after {
  content: none;
}

.step.visible::after {
  opacity: 0;
}

.step.visible .step-top::before {
  animation: none;
}

.step:hover,
.step:focus-within {
  border-color: rgba(23, 102, 224, 0.24);
  background: rgba(23, 102, 224, 0.055);
  box-shadow: 0 16px 38px rgba(9, 27, 50, 0.08);
  transform: translateY(-3px);
}

.step:hover .step-top span,
.step:focus-within .step-top span {
  color: var(--muted);
  opacity: 1;
}

.experience-metrics strong {
  font-variant-numeric: tabular-nums;
}

.experience-metrics.metrics-active div::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(23, 102, 224, 0.07), transparent);
  transform: translateX(-120%);
  animation: astraMetricSweep 1.3s ease var(--metric-delay) 1;
}

@keyframes astraMetricSweep {
  to { transform: translateX(120%); }
}

.responsibility-band {
  position: relative;
  overflow: hidden;
}

.responsibility-band::before {
  content: '';
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 44%;
  background: radial-gradient(circle, rgba(23, 102, 224, 0.34), transparent 64%);
  opacity: 0.8;
  animation: astraResponsibilityGlow 7s ease-in-out infinite alternate;
}

.responsibility-grid {
  position: relative;
  z-index: 1;
}

.responsibility-grid.visible .responsibility-summary {
  animation: astraResponsibilityCard 0.8s ease 0.15s both;
}

.responsibility-grid.visible .responsibility-action .button {
  animation: astraResponsibilityButton 1.8s ease 0.45s both;
}

@keyframes astraResponsibilityGlow {
  to { transform: translateX(52vw) scale(1.08); opacity: 0.48; }
}

@keyframes astraResponsibilityCard {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes astraResponsibilityButton {
  0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  45% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12); }
  100% { box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18); }
}

.focus-list li {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.45s ease var(--focus-delay), transform 0.45s ease var(--focus-delay), border-color 0.3s ease, background 0.3s ease;
}

.focus-copy.visible .focus-list li {
  opacity: 1;
  transform: translateX(0);
}

.focus-list li:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(159, 197, 255, 0.3);
}

.direction-copy li {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.42s ease var(--direction-delay), transform 0.42s ease var(--direction-delay), background 0.25s ease, border-color 0.25s ease;
}

.direction-lead {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.45s ease 0.08s, transform 0.45s ease 0.08s;
}

.direction-block.visible .direction-lead {
  opacity: 1;
  transform: translateX(0);
}

.direction-block.visible .direction-copy li {
  opacity: 1;
  transform: translateX(0);
}

.direction-copy li:hover {
  border-color: rgba(23, 102, 224, 0.35);
  background: rgba(23, 102, 224, 0.055);
}

.direction-dark .direction-copy li:hover {
  border-color: rgba(159, 197, 255, 0.38);
  background: rgba(255, 255, 255, 0.055);
}

.approach-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 16vw, 210px);
  height: clamp(150px, 16vw, 210px);
  object-fit: contain;
  opacity: 0.78;
  filter: brightness(0) invert(1) drop-shadow(0 20px 45px rgba(95, 157, 255, 0.28));
  transform: translate(-50%, -60%) scale(1);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, filter 0.35s ease;
}

.approach-card-main:hover .approach-mark {
  opacity: 0.95;
  filter: brightness(0) invert(1) drop-shadow(0 28px 65px rgba(95, 157, 255, 0.42));
  transform: translate(-50%, -60%) scale(1.08);
}

.geography-section {
  background: var(--surface-2);
}

.geography-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.geography-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.geography-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.geography-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.geography-stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
}

.geography-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.geography-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(159, 197, 255, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 55% 52%, rgba(23, 102, 224, 0.26), transparent 28%),
    radial-gradient(circle at 30% 20%, rgba(159, 197, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #06101e, #0b2038 52%, #06101e);
  box-shadow: 0 34px 90px rgba(9, 27, 50, 0.22);
}

.geography-map::before,
.geography-map::after {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(159, 197, 255, 0.14);
  border-radius: 50%;
}

.geography-map::after {
  inset: 24%;
  border-style: dashed;
  animation: geography-orbit 18s linear infinite;
}

.geography-orbit {
  position: absolute;
  inset: 0;
}

.geography-point {
  position: absolute;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(23, 102, 224, 0.16), 0 14px 38px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.geography-point::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
}

.geography-point span {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 16, 30, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  font-size: 11px;
  line-height: 1.2;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.geography-point:hover,
.geography-point:focus-visible,
.geography-point.active {
  background: var(--red);
  box-shadow: 0 0 0 11px rgba(200, 45, 59, 0.16), 0 18px 48px rgba(0, 0, 0, 0.32);
  transform: scale(1.35);
  outline: none;
}

.geography-point:hover span,
.geography-point:focus-visible span,
.geography-point.active span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.geography-point.is-main {
  width: 22px;
  height: 22px;
  background: #22c55e;
  box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.18), 0 18px 48px rgba(0, 0, 0, 0.32);
}

.geography-point.is-main:hover,
.geography-point.is-main:focus-visible,
.geography-point.is-main.active {
  background: #27d56b;
  box-shadow: 0 0 0 14px rgba(34, 197, 94, 0.2), 0 22px 56px rgba(0, 0, 0, 0.34);
}

.point-1 { top: 18%; left: 27%; }
.point-2 { top: 32%; left: 43%; }
.point-3 { top: 22%; left: 66%; }
.point-4 { top: 48%; left: 30%; }
.point-5 { top: 55%; left: 56%; }
.point-6 { top: 68%; left: 41%; }
.point-7 { top: 42%; left: 74%; }
.point-8 { top: 72%; left: 69%; }
.point-9 { top: 29%; left: 82%; }

.geography-current {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  padding: 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.geography-current span {
  display: block;
  margin-bottom: 8px;
  color: #9fc5ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.geography-current strong {
  display: block;
  max-width: 520px;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.geography-current p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

@keyframes geography-orbit {
  to { transform: rotate(360deg); }
}

.partners-section {
  background: var(--bg);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  position: relative;
  min-height: 330px;
  padding: clamp(24px, 2vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(23, 102, 224, 0.055), transparent 46%),
    var(--surface);
  box-shadow: 0 18px 45px rgba(12, 20, 32, 0.06);
  transition: transform 0.35s ease var(--partner-delay), opacity 0.35s ease var(--partner-delay), border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-card::after {
  content: none;
}

.partner-card.visible {
  animation: astraPartnerFloat 0.55s ease var(--partner-delay) both;
}

.partner-card:hover {
  border-color: rgba(23, 102, 224, 0.35);
  box-shadow: 0 28px 70px rgba(12, 20, 32, 0.12);
  transform: translateY(-7px);
}

.partner-logo {
  display: grid;
  place-items: center;
  width: min(100%, 168px);
  height: 78px;
  margin-bottom: 30px;
  padding: 16px 18px;
  border: 1px solid rgba(12, 31, 55, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 14px 34px rgba(12, 20, 32, 0.06);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo img {
  transform: scale(1.12);
}

.partner-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.partner-card h3 {
  max-width: 330px;
  margin: 18px 0 14px;
  font-size: clamp(21px, 1.55vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.partner-card small {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes astraPartnerFloat {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.footer-social-link.telegram,
.footer-social-link.whatsapp {
  min-height: 64px;
  border-color: rgba(23, 102, 224, 0.18);
  background: linear-gradient(135deg, rgba(23, 102, 224, 0.08), rgba(255, 255, 255, 0.02));
}

.footer-social-link.telegram svg,
.footer-social-link.whatsapp svg {
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-social-link.telegram {
  color: #2a8cff;
}

.footer-social-link.whatsapp {
  color: #20b15a;
}

.footer-social-link.telegram:hover,
.footer-social-link.telegram:focus-visible {
  border-color: #2a8cff;
  background: linear-gradient(135deg, #1c7fe8, #0b4e95);
}

.footer-social-link.whatsapp:hover,
.footer-social-link.whatsapp:focus-visible {
  border-color: #20b15a;
  background: linear-gradient(135deg, #20b15a, #0f7f3e);
}

.contact-direct a[href*='t.me'],
.contact-direct a[href*='wa.me'] {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-direct a[href*='t.me']:hover,
.contact-direct a[href*='wa.me']:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 197, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.steps-early {
  background: var(--surface-2);
}

@media (max-width: 1240px) {
  .header-phone {
    display: inline-grid;
  }
}

@media (max-width: 1100px) {
  .production-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-slide {
    flex-basis: calc((100% - 22px) / 2);
  }

  .approach-mark {
    top: 44%;
    opacity: 0.36;
    filter: brightness(0) invert(1) drop-shadow(0 18px 42px rgba(95, 157, 255, 0.28));
  }

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

@media (min-width: 1101px) and (max-width: 1380px) {
  .portfolio-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  .hero-video {
    display: none;
  }

  .hero {
    background: #081524 url('optimized/hero.webp') 62% center/cover no-repeat;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    width: 145px;
    height: 42px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-phone {
    display: none;
  }

  .legal-header .header-phone {
    display: none;
  }

  .service-card-overlay {
    position: relative;
    display: block;
    z-index: 1;
    padding: 18px 24px 22px;
    background: #13283f;
    opacity: 1;
    transform: none;
  }

  .service-card-overlay p {
    margin-bottom: 10px;
  }

  .service-visual-card:hover .service-visual {
    flex-basis: 190px;
    height: 190px;
  }

  .service-featured.service-visual-card:hover .service-visual {
    flex-basis: 230px;
    height: 230px;
  }

  .portfolio-slide {
    flex-basis: 100%;
  }

  .portfolio-card {
    border-radius: 18px;
  }

  .portfolio-image {
    height: clamp(230px, 62vw, 340px);
    border-radius: 12px;
  }

  .portfolio-copy {
    min-height: auto;
  }

  .approach-mark {
    width: 128px;
    height: 128px;
    opacity: 0.28;
    transform: translate(-50%, -62%) scale(1);
  }

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

  .production-copy {
    padding: 24px;
  }

  .portfolio-controls {
    gap: 12px;
  }

  .geography-stats {
    grid-template-columns: 1fr;
  }

  .geography-map {
    min-height: 480px;
  }

  .geography-point span {
    max-width: 180px;
    white-space: normal;
  }

  .geography-current {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 20px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-dialog {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-lightbox-dialog img {
    grid-column: 1 / -1;
    max-height: 68vh;
    border-radius: 18px;
  }

  .gallery-lightbox-dialog p {
    grid-column: 1 / -1;
    order: 3;
  }

  .gallery-lightbox-arrow {
    order: 2;
    width: 100%;
    border-radius: 999px;
  }

  .gallery-lightbox-close {
    top: -54px;
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video {
    display: none;
  }

  .hero {
    background: #081524 url('optimized/hero.webp') 62% center/cover no-repeat;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Multi-page engineering content */
.astra-inner-body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

.site-header.astra-inner-header,
.site-header.astra-inner-header.scrolled,
.site-header.astra-inner-header.menu-active {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 31, 0.97);
  box-shadow: 0 10px 34px rgba(4, 10, 18, 0.16);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .site-header.astra-inner-header,
[data-theme="dark"] .site-header.astra-inner-header.scrolled,
[data-theme="dark"] .site-header.astra-inner-header.menu-active {
  border-bottom-color: rgba(255, 255, 255, 0.11);
  background: rgba(7, 17, 31, 0.97);
}

.site-header.astra-inner-header .brand-light {
  display: none;
}

.site-header.astra-inner-header .brand-dark {
  display: block;
}

.astra-inner-header .header-inner {
  min-height: 76px;
}

.astra-primary-nav > ul,
.astra-primary-nav .astra-menu-list {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.7vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.astra-inner-header .desktop-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.astra-inner-header .desktop-nav a:hover,
.astra-inner-header .desktop-nav a:focus-visible,
.astra-inner-header .desktop-nav .current-menu-item > a {
  color: #fff;
}

.astra-inner-header .header-phone,
.astra-inner-header .menu-toggle {
  color: #fff;
}

.astra-inner-header .menu-toggle span {
  background: #fff;
}

.astra-primary-nav li {
  position: relative;
  margin: 0;
}

.astra-primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  width: 260px;
  margin: 0;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  list-style: none;
  border: 1px solid rgba(17, 20, 25, 0.1);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(8, 20, 36, 0.14);
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.astra-primary-nav li:hover > .sub-menu,
.astra-primary-nav li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.astra-primary-nav .sub-menu a {
  display: block;
  padding: 10px 9px;
}

.astra-mobile-nav > ul,
.astra-mobile-nav .astra-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.astra-mobile-nav .sub-menu {
  margin: 4px 0 8px 14px;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(17, 20, 25, 0.16);
}

.astra-content-page {
  min-height: 68vh;
}

.astra-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 150px) 0 clamp(64px, 8vw, 112px);
  color: #f4f8fc;
  background:
    linear-gradient(115deg, rgba(5, 10, 15, 0.98) 0%, rgba(8, 18, 28, 0.94) 58%, rgba(8, 43, 82, 0.84) 100%),
    #07111f;
}

.astra-page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.65;
  background:
    linear-gradient(120deg, transparent 0 56%, rgba(86, 170, 255, 0.16) 56.2% 56.6%, transparent 56.8%),
    linear-gradient(74deg, transparent 0 70%, rgba(255, 255, 255, 0.1) 70.2% 70.5%, transparent 70.7%);
}

.astra-page-hero .container {
  position: relative;
  z-index: 2;
}

.astra-page-hero .eyebrow {
  margin: 30px 0 20px;
  color: rgba(223, 237, 249, 0.68);
}

.astra-page-hero .eyebrow span {
  background: #66adff;
}

.astra-page-hero h1 {
  max-width: 1000px;
  margin: 0;
  color: #fff;
  font-size: 80px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.astra-archive-hero h1 {
  max-width: 820px;
}

.astra-page-lead {
  max-width: 790px;
  margin: 28px 0 0;
  color: rgba(232, 241, 250, 0.72);
  font-size: 21px;
  line-height: 1.55;
}

.astra-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(231, 240, 249, 0.68);
  font-size: 13px;
  text-decoration: none;
}

.astra-breadcrumb::before {
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
}

.astra-breadcrumb:hover,
.astra-breadcrumb:focus-visible {
  color: #fff;
}

.astra-prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(76px, 10vw, 140px);
}

.astra-prose {
  min-width: 0;
  font-size: 17px;
  line-height: 1.75;
}

.astra-prose > :first-child {
  margin-top: 0;
}

.astra-prose h2 {
  max-width: 790px;
  margin: 64px 0 22px;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
}

.astra-prose h3 {
  margin: 42px 0 16px;
  font-size: 30px;
  letter-spacing: 0;
}

.astra-prose p,
.astra-prose ul,
.astra-prose ol {
  max-width: 850px;
}

.astra-prose li + li {
  margin-top: 9px;
}

.astra-prose img {
  max-width: 100%;
  height: auto;
}

.astra-prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.astra-prose th,
.astra-prose td {
  min-width: 170px;
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid rgba(17, 20, 25, 0.12);
}

.astra-contact-rail {
  position: sticky;
  top: 110px;
  padding: 30px;
  color: #fff;
  background: #0a1726;
}

.astra-contact-rail strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.astra-contact-rail p {
  margin: 16px 0 24px;
  color: rgba(234, 242, 249, 0.68);
  line-height: 1.55;
}

.astra-contact-rail .button {
  width: 100%;
}

.astra-contact-rail .astra-text-link {
  display: inline-flex;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
}

.astra-technical-summary {
  margin-bottom: 52px;
  padding: clamp(26px, 4vw, 44px);
  border-left: 3px solid var(--blue);
  background: var(--surface);
}

.astra-technical-summary h2 {
  margin-top: 0;
}

.astra-specifications dl {
  margin: 0;
  border-top: 1px solid rgba(17, 20, 25, 0.14);
}

.astra-specifications dl > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 20, 25, 0.14);
}

.astra-specifications dt {
  color: var(--muted);
}

.astra-specifications dd {
  margin: 0;
  font-weight: 600;
}

.astra-document-download {
  margin-top: 64px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(17, 20, 25, 0.14);
}

.astra-document-download h2 {
  margin-top: 0;
}

.astra-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: clamp(58px, 7vw, 100px);
  padding-bottom: clamp(80px, 10vw, 140px);
  background: rgba(17, 20, 25, 0.1);
}

.astra-content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  background: var(--surface);
}

.astra-content-card-media {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(8, 22, 37, 0.96), rgba(13, 86, 153, 0.78)),
    #0a1726;
  text-decoration: none;
}

.astra-content-card-media > span {
  font-size: 60px;
  font-weight: 300;
}

.astra-content-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.astra-content-card:hover .astra-content-card-media img {
  transform: scale(1.025);
}

.astra-content-card-copy {
  display: flex;
  min-height: 300px;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
}

.astra-content-card-copy > p {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-content-card-copy h2 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.astra-content-card-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.astra-content-card-copy > div {
  color: var(--muted);
  line-height: 1.58;
}

.astra-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.astra-text-link span {
  transition: transform 180ms ease;
}

.astra-text-link:hover span {
  transform: translateX(4px);
}

.astra-archive-grid .navigation {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--bg);
}

.astra-empty-state {
  grid-column: 1 / -1;
  padding: clamp(48px, 8vw, 110px);
  text-align: center;
  background: var(--surface);
}

.astra-empty-state h2 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0;
}

.astra-single-hero-media {
  position: absolute;
  inset: 0;
}

.astra-single-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 8, 13, 0.98), rgba(4, 8, 13, 0.7) 70%, rgba(4, 8, 13, 0.52));
}

.astra-single-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.astra-search-results {
  padding-top: 64px;
  padding-bottom: 100px;
}

.astra-page-hero .search-form {
  display: flex;
  max-width: 720px;
  margin-top: 32px;
}

.astra-page-hero .search-field {
  min-width: 0;
  flex: 1;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.astra-page-hero .search-submit {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: var(--blue);
}

.astra-search-results article {
  padding: 34px 0;
  border-bottom: 1px solid rgba(17, 20, 25, 0.12);
}

.astra-search-results article > p:first-child {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-search-results h2 {
  margin: 10px 0;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.astra-search-results h2 a {
  color: inherit;
  text-decoration: none;
}

.astra-sitemap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.astra-sitemap section {
  padding-top: 12px;
  border-top: 2px solid var(--text);
}

.astra-sitemap section h2 {
  margin-top: 14px;
}

.astra-sitemap ul {
  padding-left: 20px;
}

.astra-sitemap a {
  color: inherit;
}

.astra-inner-footer {
  padding: clamp(58px, 8vw, 100px) 0 22px;
  color: rgba(241, 247, 252, 0.76);
  background: #07111f;
}

.astra-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(36px, 6vw, 90px);
}

.astra-footer-grid .brand {
  margin-bottom: 28px;
}

.astra-footer-grid p {
  max-width: 380px;
  line-height: 1.6;
}

.astra-footer-grid nav,
.astra-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.astra-footer-grid strong {
  margin-bottom: 8px;
  color: #fff;
}

.astra-footer-grid nav a,
.astra-footer-contact > a:not(.button) {
  color: rgba(241, 247, 252, 0.68);
  text-decoration: none;
}

.astra-footer-grid nav a:hover,
.astra-footer-contact > a:not(.button):hover {
  color: #fff;
}

.astra-footer-contact .button {
  margin-top: 16px;
}

.astra-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  justify-content: space-between;
  margin-top: clamp(50px, 8vw, 90px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.astra-footer-bottom a {
  color: rgba(241, 247, 252, 0.72);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .astra-primary-nav {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .astra-page-hero {
    padding-top: 74px;
    padding-bottom: 68px;
  }

  .astra-page-hero h1 {
    font-size: 58px;
  }

  .astra-prose-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .astra-contact-rail {
    position: static;
  }

  .astra-sitemap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .astra-inner-header .header-inner {
    min-height: 68px;
  }

  .astra-page-hero {
    padding-top: 56px;
    padding-bottom: 55px;
  }

  .astra-page-hero .eyebrow {
    margin-top: 23px;
    margin-bottom: 15px;
  }

  .astra-page-hero h1 {
    font-size: 36px;
  }

  .astra-page-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .astra-prose-layout {
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .astra-prose {
    font-size: 16px;
  }

  .astra-prose h2 {
    margin-top: 46px;
    font-size: 28px;
  }

  .astra-specifications dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .astra-archive-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .astra-content-card-copy {
    min-height: 270px;
  }

  .astra-empty-state {
    padding: 46px 18px;
  }

  .astra-empty-state h2 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

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

  .astra-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .astra-page-hero h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astra-content-card-media img,
  .astra-primary-nav .sub-menu,
  .astra-text-link span {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 300px;
  }
}

.production-card {
  position: relative;
}

.production-card-trigger,
.partner-card-trigger {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.production-copy em {
  display: inline-flex;
  width: max-content;
  margin-top: 18px;
  padding: 10px 14px;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.production-card:hover .production-copy em,
.production-card:focus-within .production-copy em {
  opacity: 1;
  transform: translateY(0);
}

.partner-card {
  position: relative;
}

.partner-card small {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.partner-card:hover small,
.partner-card:focus-within small {
  opacity: 1;
  transform: translateY(0);
}

.partner-modal {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.partner-modal.open {
  visibility: visible;
  opacity: 1;
}

.partner-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 8, 15, 0.78);
  backdrop-filter: blur(9px);
  cursor: pointer;
}

.partner-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  width: min(100%, 840px);
  max-height: calc(100dvh - 44px);
  padding: 40px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.partner-modal.open .partner-dialog {
  transform: translateY(0) scale(1);
}

.partner-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-size: 27px;
  font-weight: 300;
  cursor: pointer;
}

.partner-dialog-logo {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-2);
}

.partner-dialog-logo img {
  max-width: 180px;
  max-height: 150px;
  object-fit: contain;
}

.partner-dialog-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.partner-dialog-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.partner-dialog-detail,
.partner-dialog-contact {
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(12, 31, 55, 0.08);
  border-radius: 14px;
  background: rgba(244, 246, 248, 0.78);
}

.geography-point {
  z-index: 2;
}

.geography-point:hover,
.geography-point:focus-visible,
.geography-point.active {
  z-index: 6;
}

.pain-subtitle {
  display: block;
  max-width: 620px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.7;
}

.context-panel-dark h2 + .pain-subtitle {
  clear: both;
}

.context-panel-dark .pain-list {
  margin-top: 0;
}

.context-panel-dark .pain-list li {
  overflow-wrap: anywhere;
  transition: padding 0.25s ease, border-color 0.3s ease, background 0.3s ease, transform 0.45s ease var(--pain-delay), opacity 0.45s ease var(--pain-delay);
}

@media (max-width: 760px) {
  .pain-subtitle {
    margin: 16px 0 24px;
  }

  .context-panel-dark .pain-list li:hover {
    padding-left: 27px;
    padding-right: 0;
  }
}

.header-phone {
  display: inline-flex;
}

@media (max-width: 760px) {
  .site-header .header-phone,
  .site-header .header-actions .header-phone {
    display: none !important;
  }

  .site-header .header-phone {
    display: none !important;
  }

  .mobile-nav .mobile-phone {
    display: none;
  }

  .partner-dialog {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

.site-header .header-actions {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
}

.site-header .header-actions .header-phone {
  position: relative;
  z-index: 7;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(40, 188, 105, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, #20b95d, #118a43);
  box-shadow: 0 14px 34px rgba(17, 138, 67, 0.24);
  text-decoration: none;
}

.site-header .header-actions .header-phone svg {
  display: block;
  width: 21px;
  height: 21px;
  transform: none;
}

.site-header .header-actions .header-phone svg path {
  fill: currentColor;
}

.site-header .header-actions .header-phone:hover,
.site-header .header-actions .header-phone:focus-visible {
  color: #fff;
  border-color: #28cc72;
  background: linear-gradient(135deg, #27cb70, #11904a);
  transform: translateY(-1px);
}

.site-header .header-actions .menu-toggle {
  flex: 0 0 42px;
  z-index: 6;
}

.services-visual-grid {
  align-items: stretch;
}

.services-visual-grid .service-visual {
  background: #fff;
}

.services-visual-grid .service-visual img {
  object-fit: contain;
}

.services-visual-grid .service-visual-card {
  min-width: 0;
}

@media (max-width: 760px) {
  .site-header .header-actions {
    gap: 10px;
  }

  .site-header .header-actions .header-phone {
    display: none !important;
  }

  .site-header .header-actions .header-phone svg {
    width: 19px;
    height: 19px;
  }

  .services-visual-grid .service-visual,
  .service-visual-card:hover .service-visual {
    flex-basis: 205px;
    height: 205px;
  }

  .service-visual-card:hover .service-card-copy {
    opacity: 1;
    transform: none;
  }

  .service-visual-card:hover .service-card-overlay {
    opacity: 0;
    transform: translateY(28px);
  }

  .service-card-overlay {
    background: rgba(19, 40, 63, 0.86);
  }

  .service-card-overlay strong {
    font-size: 19px;
  }

  .service-action-close {
    z-index: 6;
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    touch-action: manipulation;
  }
}

/* v1.3.29 compact portfolio collage */
.portfolio-showcase {
  margin-top: clamp(30px, 4.4vw, 54px);
}

.portfolio-showcase .portfolio-track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.25vw, 18px);
}

.portfolio-showcase .portfolio-slide {
  flex: initial;
  grid-column: span 3;
  min-width: 0;
  min-height: clamp(296px, 24vw, 374px);
  scroll-snap-align: none;
}

.portfolio-showcase .portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 48px rgba(10, 24, 43, 0.075);
  cursor: pointer;
}

.portfolio-showcase .portfolio-card:hover {
  border-color: rgba(23, 102, 224, 0.18);
  box-shadow: 0 30px 74px rgba(10, 24, 43, 0.12);
}

.portfolio-showcase .portfolio-card:focus-visible {
  outline: 2px solid rgba(23, 102, 224, 0.42);
  outline-offset: 4px;
}

.portfolio-showcase .portfolio-slide:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.portfolio-showcase .portfolio-slide:nth-child(2),
.portfolio-showcase .portfolio-slide:nth-child(7) {
  grid-column: span 4;
}

.portfolio-showcase .portfolio-slide:nth-child(4n) {
  grid-column: span 5;
}

.portfolio-showcase .portfolio-featured-card {
  display: flex;
  grid-template-columns: none;
  align-items: initial;
}

.portfolio-featured-card .portfolio-image {
  height: clamp(240px, 23vw, 360px);
  min-height: 0;
  margin: 10px 10px 0;
  border-radius: 14px;
}

.portfolio-featured-card .portfolio-copy {
  min-height: 0;
  padding: 18px;
}

.portfolio-showcase .portfolio-image {
  height: clamp(150px, 14vw, 210px);
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f9fc;
}

.portfolio-showcase .portfolio-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  gap: 9px;
  padding: 16px 18px 18px;
}

.portfolio-showcase .portfolio-copy h3 {
  margin: 0;
  color: #081524;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.12;
}

.portfolio-showcase .portfolio-copy > div {
  padding-top: 9px;
  border-top: 1px solid rgba(12, 31, 55, 0.08);
}

.portfolio-showcase .portfolio-result {
  display: none;
}

.portfolio-showcase .portfolio-copy p,
.portfolio-showcase .portfolio-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  margin-top: auto;
  padding: 0 15px;
  color: #081524;
  border: 1px solid rgba(12, 31, 55, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible,
.portfolio-card:hover .portfolio-open-button {
  color: #fff;
  border-color: rgba(239, 51, 47, 0.82);
  background: rgba(239, 51, 47, 0.92);
  transform: translateY(-1px);
}

.portfolio-showcase .reference-case-number {
  margin: 0 0 2px;
}

.portfolio-showcase .project-gallery-controls {
  right: 14px;
  bottom: 14px;
  left: auto;
  gap: 10px;
  justify-content: center;
  width: auto;
  min-width: 132px;
  padding: 6px;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(10, 24, 43, 0.12);
}

.portfolio-showcase .project-gallery-controls button {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.portfolio-showcase .project-gallery-controls span {
  min-width: 36px;
  text-align: center;
}

.portfolio-controls {
  display: none !important;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.portfolio-modal.open {
  opacity: 1;
  visibility: visible;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 9, 16, 0.74);
  backdrop-filter: blur(13px);
}

.portfolio-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  width: min(1120px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.24s ease;
}

.portfolio-modal.open .portfolio-modal-dialog {
  transform: translateY(0) scale(1);
}

.portfolio-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 44px;
  height: 44px;
  color: #0d1b2a;
  border: 1px solid rgba(12, 31, 55, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(10, 24, 43, 0.14);
  cursor: pointer;
}

.portfolio-modal-media {
  position: relative;
  min-height: 100%;
  padding: 12px;
  background:
    radial-gradient(circle at 24% 18%, rgba(23, 102, 224, 0.12), transparent 34%),
    linear-gradient(145deg, #eef3f9, #ffffff);
}

.portfolio-modal-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.portfolio-modal-thumbs {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.portfolio-modal-thumbs[hidden] {
  display: none;
}

.portfolio-modal-thumbs button {
  flex: 0 0 64px;
  width: 64px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(12, 31, 55, 0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-modal-thumbs button.active,
.portfolio-modal-thumbs button:hover,
.portfolio-modal-thumbs button:focus-visible {
  border-color: rgba(239, 51, 47, 0.78);
  opacity: 1;
  transform: translateY(-1px);
}

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

.portfolio-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(34px, 5vw, 58px);
}

.portfolio-modal-copy h2 {
  max-width: 11em;
  margin: 0;
  color: #081524;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.partner-dialog-copy .partner-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  color: #081524;
  border: 1px solid rgba(12, 31, 55, 0.16);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.partner-dialog-copy .partner-site-button:hover,
.partner-dialog-copy .partner-site-button:focus-visible {
  color: #fff;
  border-color: rgba(239, 51, 47, 0.82);
  background: rgba(239, 51, 47, 0.92);
  transform: translateY(-1px);
}

.partner-dialog-tag {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 7px 12px;
  color: var(--blue);
  border: 1px solid rgba(23, 102, 224, 0.14);
  border-radius: 999px;
  background: rgba(23, 102, 224, 0.06);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-close,
.share-close,
.portfolio-modal-close {
  align-items: center;
  justify-items: center;
  line-height: 1;
}

.partner-close::before,
.share-close::before,
.portfolio-modal-close::before {
  transform: none;
}

.share-modal {
  padding: clamp(10px, 2vw, 20px);
}

.share-backdrop {
  background: rgba(2, 5, 9, 0.86);
  backdrop-filter: blur(12px);
}

.share-dialog {
  width: min(94vw, 900px);
  max-height: none;
  gap: 10px;
}

.share-preview-frame {
  max-width: 900px;
  border-radius: 28px;
  background: transparent;
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.46);
}

.share-preview-frame img {
  border-radius: inherit;
  transform: none;
}

.share-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(5, 9, 14, 0.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.share-dialog-content {
  width: min(100%, 900px);
}

.share-card-info {
  display: none;
}

.share-channels {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.share-channels a,
.share-channels button {
  min-height: 46px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(10, 15, 22, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.share-channels a:hover,
.share-channels button:hover,
.share-channels a:focus-visible,
.share-channels button:focus-visible {
  color: #fff;
  border-color: rgba(239, 51, 47, 0.62);
  background: rgba(239, 51, 47, 0.92);
}

.share-status {
  min-height: 0;
}

.share-status:empty {
  display: none;
}

@media (max-width: 1100px) {
  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card {
    grid-column: span 6;
    grid-row: auto;
  }

  .portfolio-showcase .portfolio-featured-card {
    display: flex;
  }

  .portfolio-featured-card .portfolio-image {
    min-height: 0;
    height: 300px;
    margin: 10px 10px 0;
  }

  .portfolio-showcase .portfolio-slide:nth-child(1),
  .portfolio-showcase .portfolio-slide:nth-child(2),
  .portfolio-showcase .portfolio-slide:nth-child(7),
  .portfolio-showcase .portfolio-slide:nth-child(4n) {
    grid-column: span 6;
    grid-row: auto;
  }

  .portfolio-modal-dialog {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow-y: auto;
  }

  .portfolio-modal-media > img {
    height: clamp(300px, 52vw, 460px);
    min-height: 0;
  }

  .portfolio-modal-copy {
    padding: 30px;
  }
}

@media (max-width: 760px) {
  .site-header .header-actions .header-phone {
    display: none !important;
  }

  .mobile-contact-bar {
    z-index: 1950;
    pointer-events: auto;
  }

  .mobile-contact-bar a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .portfolio-showcase .portfolio-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card {
    grid-column: span 1;
    min-height: 0;
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) {
    grid-column: 1 / -1;
  }

  .portfolio-showcase .portfolio-slide:nth-child(2),
  .portfolio-showcase .portfolio-slide:nth-child(7),
  .portfolio-showcase .portfolio-slide:nth-child(4n) {
    grid-column: span 1;
  }

  .portfolio-showcase .portfolio-card {
    border-radius: 16px;
  }

  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-image {
    min-height: 0;
    height: clamp(136px, 34vw, 190px);
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(230px, 62vw, 340px);
  }

  .portfolio-showcase .portfolio-copy {
    gap: 7px;
    padding: 12px;
  }

  .portfolio-showcase .portfolio-copy h3 {
    font-size: 16px;
  }

  .portfolio-showcase .portfolio-location {
    font-size: 11px;
  }

  .portfolio-showcase .portfolio-copy > div {
    display: none;
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-copy > div:first-of-type {
    display: block;
  }

  .portfolio-open-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .portfolio-showcase .project-gallery-controls {
    right: 10px;
    bottom: 10px;
    min-width: 120px;
  }

  .portfolio-modal {
    padding: 10px;
  }

  .portfolio-modal-dialog {
    width: calc(100vw - 20px);
    border-radius: 20px;
  }

  .portfolio-modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .portfolio-modal-media {
    padding: 8px;
  }

  .portfolio-modal-media > img {
    height: clamp(250px, 68vw, 420px);
    border-radius: 14px;
  }

  .portfolio-modal-thumbs {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .portfolio-modal-copy {
    gap: 18px;
    padding: 24px 20px 22px;
  }

  .portfolio-modal-copy h2 {
    max-width: none;
    font-size: clamp(30px, 10vw, 42px);
  }

  .share-modal {
    padding: 10px;
  }

  .share-dialog {
    width: calc(100vw - 20px);
    gap: 8px;
  }

  .share-preview-frame {
    border-radius: 18px;
  }

  .share-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .share-channels {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .share-channels a,
  .share-channels button {
    min-height: 42px;
    padding: 8px 9px;
    border-radius: 12px;
    font-size: 11px;
  }

  .share-channels .share-native {
    grid-column: 1 / -1;
  }
}

/* v1.3.33 compact, even portfolio gallery */
.portfolio-showcase {
  margin-top: clamp(24px, 3.2vw, 42px);
}

.portfolio-section.section {
  padding: clamp(72px, 6.5vw, 96px) 0;
}

.portfolio-section .section-heading {
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(28px, 3.6vw, 42px);
}

.portfolio-section .section-heading h2 {
  font-size: clamp(34px, 3.4vw, 56px);
}

.portfolio-showcase .portfolio-track {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 13px);
  align-items: stretch;
}

.portfolio-showcase .portfolio-slide,
.portfolio-showcase .portfolio-featured-card,
.portfolio-showcase .portfolio-slide:nth-child(1),
.portfolio-showcase .portfolio-slide:nth-child(2),
.portfolio-showcase .portfolio-slide:nth-child(7),
.portfolio-showcase .portfolio-slide:nth-child(4n) {
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 0;
}

.portfolio-showcase .portfolio-card,
.portfolio-showcase .portfolio-featured-card {
  display: flex;
  min-height: 0;
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 12px 34px rgba(10, 24, 43, 0.07);
}

.portfolio-showcase .reference-case-card {
  min-height: 0;
  padding: 0;
}

.portfolio-showcase .portfolio-card:hover {
  box-shadow: 0 18px 44px rgba(10, 24, 43, 0.11);
  transform: translateY(-3px);
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
  height: clamp(92px, 7.7vw, 122px);
  min-height: 0;
  margin: 7px 7px 0;
  border-radius: 11px;
}

.portfolio-showcase .project-gallery-controls {
  display: none;
}

.portfolio-showcase .portfolio-copy,
.portfolio-featured-card .portfolio-copy {
  gap: 5px;
  padding: 9px 10px 11px;
}

.portfolio-showcase .reference-case-number {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  margin: 0;
  padding: 5px 7px;
  color: #fff;
  border-radius: 999px;
  background: rgba(6, 14, 24, 0.58);
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.portfolio-showcase .portfolio-copy h3 {
  min-height: 2.35em;
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.16;
}

.portfolio-showcase .portfolio-location {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(8, 21, 36, 0.56);
  font-size: 11px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.portfolio-showcase .portfolio-copy > div {
  display: none;
}

.portfolio-showcase .portfolio-copy p,
.portfolio-showcase .portfolio-copy strong {
  -webkit-line-clamp: 1;
}

.portfolio-open-button {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 2;
  min-height: 28px;
  padding: 0 11px;
  font-size: 10px;
}

.portfolio-cta {
  margin-top: clamp(22px, 2.4vw, 30px);
}

.portfolio-cta .button {
  min-height: 46px;
  padding-right: 18px;
  padding-left: 18px;
}

@media (max-width: 1180px) {
  .portfolio-showcase .portfolio-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(106px, 13vw, 142px);
  }
}

@media (max-width: 760px) {
  .portfolio-section.section {
    padding: 54px 0 60px;
  }

  .portfolio-section .section-heading {
    gap: 18px;
    margin-bottom: 20px;
  }

  .portfolio-section .section-heading h2 {
    font-size: clamp(29px, 9vw, 36px);
  }

  .portfolio-showcase {
    margin-top: 18px;
  }

  .portfolio-showcase .portfolio-track {
    grid-auto-columns: minmax(146px, 40vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 9px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card,
  .portfolio-showcase .portfolio-slide:nth-child(1),
  .portfolio-showcase .portfolio-slide:nth-child(2),
  .portfolio-showcase .portfolio-slide:nth-child(7),
  .portfolio-showcase .portfolio-slide:nth-child(4n) {
    grid-column: auto !important;
    grid-row: auto !important;
    scroll-snap-align: start;
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(88px, 24vw, 118px);
    margin: 6px 6px 0;
    border-radius: 10px;
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    padding: 9px 10px 11px;
  }

  .portfolio-showcase .portfolio-copy h3 {
    min-height: 2.45em;
    font-size: 13px;
  }

  .portfolio-showcase .portfolio-location {
    font-size: 10px;
  }

  .portfolio-open-button {
    min-height: 26px;
    padding: 0 10px;
    font-size: 9px;
  }

  .portfolio-cta {
    margin-top: 16px;
  }

  .portfolio-cta .button {
    min-height: 42px;
  }
}

/* v1.3.34 final release fixes */
.map-frame iframe {
  pointer-events: none;
}

.partner-dialog-copy .partner-site-button {
  margin-top: 22px;
}

.partner-card-trigger,
.portfolio-open-button,
.share-button {
  touch-action: manipulation;
}

.share-dialog-content {
  padding: 0;
  background: transparent;
}

.share-dialog {
  overflow: visible;
}

@media (max-width: 760px) {
  .responsibility-band::before,
  .responsibility-summary::after {
    display: none !important;
  }

  .responsibility-summary {
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .service-visual-card,
  .service-featured.service-visual-card {
    min-height: 0 !important;
  }

  .service-visual,
  .service-featured .service-visual,
  .services-visual-grid .service-visual,
  .service-visual-card:hover .service-visual,
  .service-featured.service-visual-card:hover .service-visual {
    flex-basis: 184px !important;
    height: 184px !important;
  }

  .service-visual-card:hover .service-visual img {
    transform: scale(1.035);
  }

  .service-card-copy,
  .service-featured .service-card-copy,
  .service-visual-card:hover .service-card-copy {
    position: relative;
    display: flex !important;
    min-height: 148px;
    padding: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .service-card-copy h3 {
    margin-bottom: 8px;
    font-size: 21px !important;
  }

  .service-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 12px !important;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .service-card-overlay,
  .service-visual-card:hover .service-card-overlay {
    display: none !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .portfolio-showcase .portfolio-card,
  .portfolio-showcase .portfolio-featured-card {
    overflow: hidden;
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    display: flex;
    min-height: 132px;
    padding: 10px 10px 12px !important;
  }

  .portfolio-showcase .portfolio-copy h3 {
    min-height: auto;
  }

  .portfolio-open-button {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    min-height: 32px;
    margin-top: auto;
    justify-content: center;
    border-radius: 999px;
  }

  .portfolio-modal-dialog,
  .partner-dialog {
    max-height: calc(100dvh - 20px);
  }

  .partner-dialog {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 20px 22px;
  }

  .partner-dialog-logo {
    min-height: 150px;
    padding: 22px;
  }

  .partner-dialog-copy .partner-site-button {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
  }

  .share-modal {
    align-items: center;
    padding: 10px;
  }

  .share-dialog {
    width: min(100%, 420px);
    max-height: calc(100dvh - 20px);
    overflow: visible;
  }

  .share-preview-frame {
    width: 100%;
    max-height: 54dvh;
  }

  .share-preview-frame img {
    width: 100%;
    max-height: 54dvh;
    object-fit: contain;
  }

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

  .share-channels a,
  .share-channels button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}

/* v1.3.35 mobile release fixes */
.portfolio-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: rgba(22, 29, 36, 0.74);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.portfolio-modal-description {
  margin: 0;
  color: rgba(13, 27, 42, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.portfolio-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  color: #111820;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.portfolio-modal-nav:hover {
  background: #ffffff;
  border-color: rgba(239, 51, 47, 0.4);
  transform: translateY(-50%) scale(1.04);
}

.portfolio-modal-nav[hidden] {
  display: none;
}

.portfolio-modal-prev {
  left: 22px;
}

.portfolio-modal-next {
  right: 22px;
}

.map-frame {
  position: relative;
  overflow: hidden;
}

.map-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: #ef332f;
  box-shadow: 0 16px 34px rgba(239, 51, 47, 0.32), 0 4px 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  transform: translate(-50%, -95%) rotate(-45deg);
}

.map-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffffff;
  pointer-events: none;
  transform: translate(-50%, -180%);
}

@media (max-width: 760px) {
  .portfolio-section .section-heading {
    gap: 14px;
  }

  .portfolio-section .section-heading h2 {
    font-size: clamp(36px, 13vw, 56px);
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    min-height: 148px;
    gap: 10px;
    padding: 14px 14px 16px !important;
  }

  .portfolio-showcase .portfolio-copy h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  .portfolio-description {
    font-size: 12px;
    line-height: 1.48;
    -webkit-line-clamp: 3;
  }

  .portfolio-cta.reveal {
    visibility: visible !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-cta.reveal .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    pointer-events: auto;
  }

  .portfolio-modal {
    padding: 10px;
  }

  .portfolio-modal-dialog {
    display: grid;
    width: min(100%, 430px);
    max-height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    overflow: auto;
    border-radius: 28px;
  }

  .portfolio-modal-close {
    top: 12px;
    right: 12px;
    z-index: 6;
  }

  .portfolio-modal-media {
    min-height: 0;
    padding: 8px;
  }

  .portfolio-modal-media > img {
    width: 100%;
    height: clamp(238px, 62vw, 360px);
    min-height: 0;
    object-fit: cover;
    border-radius: 22px;
  }

  .portfolio-modal-nav {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
  }

  .portfolio-modal-prev {
    left: 16px;
  }

  .portfolio-modal-next {
    right: 16px;
  }

  .portfolio-modal-thumbs {
    position: static;
    display: flex;
    width: auto;
    margin: 10px 2px 0;
    padding: 0;
    gap: 7px;
    justify-content: center;
    background: transparent;
    box-shadow: none;
  }

  .portfolio-modal-thumbs[hidden] {
    display: none;
  }

  .portfolio-modal-thumbs button {
    flex: 0 0 38px;
    width: 38px;
    height: 30px;
  }

  .portfolio-modal-copy {
    padding: 18px 18px 20px;
    gap: 14px;
  }

  .portfolio-modal-copy h2 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.02;
  }

  .portfolio-modal-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .partner-card,
  .partner-dialog,
  .partner-card-trigger,
  .partner-site-button,
  .share-button,
  .share-channels a,
  .share-channels button {
    pointer-events: auto;
    touch-action: manipulation;
  }

  .map-frame::before {
    width: 26px;
    height: 26px;
  }
}

/* v1.3.36 final release adjustments */
.portfolio-modal-dialog {
  height: min(760px, calc(100dvh - 32px));
}

.portfolio-modal-media {
  height: 100%;
}

.portfolio-modal-media > img {
  aspect-ratio: 16 / 10;
  background: #eef3f9;
}

.footer-requisites {
  max-width: 420px;
}

.footer-requisites span,
.footer-legal span {
  overflow-wrap: anywhere;
}

/* v1.3.41 final release: portfolio cards show city only; details live in modal. */
.portfolio-showcase .portfolio-copy,
.portfolio-featured-card .portfolio-copy {
  min-height: 74px;
  justify-content: flex-end;
}

.portfolio-showcase .portfolio-location {
  max-width: calc(100% - 128px);
  color: rgba(8, 21, 36, 0.68);
  font-size: clamp(12px, 0.92vw, 14px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.portfolio-showcase .portfolio-description {
  display: none !important;
}

.footer-legal {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .portfolio-modal-dialog {
    height: auto;
    min-height: 0;
  }

  .portfolio-modal-media {
    height: auto;
  }

  .portfolio-modal-media > img {
    aspect-ratio: 16 / 10;
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    min-height: 68px;
  }

  .portfolio-showcase .portfolio-location {
    max-width: 100%;
    padding-right: 0;
    font-size: 12px;
  }
}

/* v1.3.43 release: stable mobile taps, footer legal row, larger desktop portfolio cards. */
[data-portfolio-open],
[data-portfolio-trigger],
[data-partner-open],
.partner-card,
[data-share-open],
#share-button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
}

.footer-legal nav {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  white-space: nowrap;
}

.footer-legal nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(10px, 0.82vw, 12px);
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .portfolio-showcase .portfolio-track {
    gap: clamp(12px, 1.2vw, 18px);
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card {
    min-height: clamp(238px, 18vw, 292px);
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(148px, 12.8vw, 190px);
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    min-height: 78px;
  }

  .portfolio-showcase .portfolio-location {
    max-width: calc(100% - 118px);
    font-size: clamp(10px, 0.72vw, 12px);
    line-height: 1.22;
    -webkit-line-clamp: 2;
  }

  .portfolio-open-button {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 760px) {
  .footer-legal {
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .footer-legal::-webkit-scrollbar {
    display: none;
  }

  .footer-legal nav {
    width: max-content;
    min-width: max-content;
    justify-content: flex-start;
    gap: 16px;
    padding-inline: 2px;
  }

  .portfolio-showcase .portfolio-location {
    font-size: 10.5px;
    line-height: 1.22;
  }
}

/* v1.3.48 mobile launch fixes */
@media (max-width: 760px) {
  .service-visual-card,
  .service-featured.service-visual-card {
    background: #fff;
  }

  .service-visual-card .service-card-trigger,
  .partner-card-trigger,
  [data-share-open],
  [data-portfolio-open],
  [data-partner-open] {
    position: relative;
    z-index: 8;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(239, 51, 47, 0.14);
  }

  .service-visual-card .service-card-trigger {
    position: absolute;
    inset: 0;
  }

  .service-card-overlay,
  .service-visual-card:hover .service-card-overlay {
    display: none;
  }

  .service-visual-card:hover .service-card-copy {
    opacity: 1;
    transform: none;
  }

  .service-visual,
  .services-visual-grid .service-visual {
    background: #fff;
  }

  .service-visual img,
  .services-visual-grid .service-visual img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fff;
  }

  .direction-visual {
    min-height: 250px;
    background: #fff;
  }

  .direction-visual img {
    display: block !important;
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fff;
  }

  .portfolio-showcase .portfolio-track {
    grid-auto-columns: minmax(250px, 78vw);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .portfolio-showcase .portfolio-card,
  .portfolio-showcase .portfolio-featured-card {
    min-height: 306px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(172px, 50vw, 218px);
    margin: 8px 8px 0;
    border-radius: 15px;
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    min-height: 92px;
    padding: 14px;
  }

  .portfolio-open-button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
  }

  .partner-card-trigger,
  .portfolio-open-button,
  .share-button,
  [data-share-open],
  [data-portfolio-open],
  [data-partner-open] {
    touch-action: manipulation;
    pointer-events: auto;
  }

  .share-modal,
  .partner-modal,
  .portfolio-modal,
  .service-action-modal {
    z-index: 10050;
  }

  .feedback-modal:not(.open),
  .service-action-modal:not(.open),
  .share-modal:not(.open),
  .partner-modal:not(.open),
  .portfolio-modal:not(.open),
  .gallery-lightbox:not(.open) {
    pointer-events: none !important;
  }

  .share-dialog,
  .partner-dialog,
  .portfolio-modal-dialog,
  .service-action-dialog {
    max-width: calc(100vw - 18px);
  }

  .feedback-dialog,
  .service-action-dialog {
    max-height: calc(100dvh - 18px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .contact-form {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .feedback-modal.open .feedback-form .button[type='submit'],
  .contact-form .button[type='submit'],
  .service-action-modal.open .service-action-form .button[type='submit'] {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 60;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 16px 34px rgba(23, 102, 224, 0.22), 0 8px 18px rgba(4, 11, 20, 0.12);
    transform: translateZ(0);
  }

  .feedback-modal.open .feedback-form .button[type='submit']:disabled,
  .contact-form .button[type='submit']:disabled,
  .service-action-modal.open .service-action-form .button[type='submit']:disabled {
    opacity: 0.78 !important;
  }

  .share-dialog {
    max-height: calc(100dvh - 18px);
    overflow: visible;
    padding: 8px;
  }

  .share-close,
  .partner-close,
  .portfolio-modal-close,
  .service-action-close {
    z-index: 10070;
    display: grid;
    place-items: center;
    touch-action: manipulation;
    pointer-events: auto;
  }

  .partner-card,
  .portfolio-showcase .portfolio-card,
  .portfolio-showcase .portfolio-featured-card {
    pointer-events: auto;
  }
}

/* v1.3.50 final structure, partners and touch stability */
#main {
  display: flex;
  flex-direction: column;
}

#main > * {
  order: 50;
}

#main > #top { order: 1; }
#main > #system-directions { order: 2; }
#main > #services { order: 3; }
#main > #steps { order: 4; }
#main > .experience-section { order: 5; }
#main > .responsibility-band { order: 6; }
#main > #focus { order: 7; }
#main > #clients { order: 8; }
#main > #production { order: 9; }
#main > #portfolio { order: 10; }
#main > .documents-section { order: 11; }
#main > #approach { order: 12; }
#main > #partners { order: 13; }
#main > #geography { order: 14; }
#main > #contacts { order: 15; }
#main > #route { order: 16; }

/* v1.3.61 final overrides: footer buttons, map CTA, tablet nav, partner close, portfolio previews */
.button-map {
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border-color: rgba(23, 102, 224, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, #1766e0 0%, #083f9f 100%);
  box-shadow: 0 16px 34px rgba(23, 102, 224, 0.22);
}

.button-map:hover,
.button-map:focus-visible {
  color: #fff;
  border-color: #1766e0;
  background: linear-gradient(135deg, #1d73f4 0%, #083f9f 100%);
  box-shadow: 0 20px 42px rgba(23, 102, 224, 0.32);
}

.footer-contact-link,
.footer-social-link,
.footer-actions .share-button {
  border-radius: 16px;
}

.footer-actions .share-button {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding: 0 16px;
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(12, 20, 32, 0.04);
  text-align: left;
}

.footer-actions .share-button:hover,
.footer-actions .share-button:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(23, 102, 224, 0.2);
  outline: none;
}

.partner-close {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.partner-close::before {
  content: '×';
  display: block;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: none;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #fff;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: contain;
  background: #fff;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.025);
}

.legal-site-footer .footer-legal {
  display: flex;
  justify-content: flex-start;
}

.legal-site-footer .footer-legal nav {
  width: 100%;
  justify-content: flex-start;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .header-inner {
    gap: 14px;
  }

  .desktop-nav {
    gap: clamp(7px, 0.72vw, 12px);
    font-size: 11px;
  }

  .desktop-nav a {
    white-space: nowrap;
  }

  .brand {
    width: clamp(145px, 13.5vw, 170px);
  }

  .header-actions {
    gap: 8px;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .site-header .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .desktop-nav {
    gap: 7px;
    font-size: 10.5px;
  }
}

/* v1.3.62 absolute final: portfolio previews fill the card again */
.footer-actions {
  width: min(100%, 260px);
}

.footer-actions .share-button {
  width: 100%;
  max-width: 260px;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: cover;
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: 260px;
  }
}

/* v1.3.62 final: filled portfolio previews and compact footer action width */
.footer-actions {
  width: min(100%, 260px);
}

.footer-actions .share-button {
  width: 100%;
  max-width: 260px;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: cover;
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: 260px;
  }
}

/* v1.3.62 portfolio fill previews and compact footer actions */
.footer-actions {
  width: min(100%, 260px);
}

.footer-actions .share-button {
  width: 100%;
  max-width: 260px;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: cover;
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: 260px;
  }
}

/* v1.3.61 footer, map, tablet menu and portfolio preview polish */
.button-map {
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border-color: rgba(23, 102, 224, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, #1766e0 0%, #083f9f 100%);
  box-shadow: 0 16px 34px rgba(23, 102, 224, 0.22);
}

.button-map:hover,
.button-map:focus-visible {
  color: #fff;
  border-color: #1766e0;
  background: linear-gradient(135deg, #1d73f4 0%, #083f9f 100%);
  box-shadow: 0 20px 42px rgba(23, 102, 224, 0.32);
}

.footer-contact-link,
.footer-social-link,
.footer-actions .share-button {
  border-radius: 16px;
}

.footer-actions .share-button {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding: 0 16px;
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(12, 20, 32, 0.04);
  text-align: left;
}

.footer-actions .share-button:hover,
.footer-actions .share-button:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(23, 102, 224, 0.2);
  outline: none;
}

.partner-close {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.partner-close::before {
  content: '×';
  display: block;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: none;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #fff;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: contain;
  background: #fff;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.025);
}

.legal-site-footer .footer-legal {
  display: flex;
  justify-content: flex-start;
}

.legal-site-footer .footer-legal nav {
  width: 100%;
  justify-content: flex-start;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .header-inner {
    gap: 14px;
  }

  .desktop-nav {
    gap: clamp(7px, 0.72vw, 12px);
    font-size: 11px;
  }

  .desktop-nav a {
    white-space: nowrap;
  }

  .brand {
    width: clamp(145px, 13.5vw, 170px);
  }

  .header-actions {
    gap: 8px;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .site-header .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .desktop-nav {
    gap: 7px;
    font-size: 10.5px;
  }
}

.hero {
  background: #0b1420 url('optimized/hero.webp') center / cover no-repeat;
}

.hero-video.video-fallback {
  display: none;
}

.footer-actions {
  align-content: start;
}

.footer-requisites-link {
  border-color: rgba(23, 102, 224, 0.28);
  background: rgba(23, 102, 224, 0.055);
}

.footer-requisites-link:hover,
.footer-requisites-link:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.partners-section {
  background:
    radial-gradient(circle at 8% 2%, rgba(23, 102, 224, 0.055), transparent 32%),
    linear-gradient(180deg, var(--bg), #fff 58%, var(--bg));
}

.partner-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  color: #111419;
  border-color: rgba(12, 31, 55, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.92)),
    var(--surface);
  box-shadow: 0 20px 56px rgba(10, 25, 44, 0.075);
}

.partner-card:hover,
.partner-card:focus-within {
  border-color: rgba(23, 102, 224, 0.3);
  box-shadow: 0 32px 82px rgba(10, 25, 44, 0.13);
}

.partner-logo {
  width: min(100%, 196px);
  height: 92px;
  margin-bottom: 28px;
  background: #fff;
}

.partner-card h3 {
  color: #111419;
}

.partner-card p {
  color: #46515f;
}

.partner-card small {
  position: static;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
}

.partner-dialog {
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  color: #111419;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.98)),
    #fff;
}

.partner-dialog-logo {
  min-height: 260px;
  background: #fff;
}

.partner-dialog-logo img {
  max-width: 210px;
  max-height: 160px;
}

.partner-dialog-copy p {
  color: #46515f;
}

.partner-dialog-detail,
.partner-dialog-contact {
  margin-top: 18px;
  color: #344050;
  background: #f6f8fb;
}

.partner-dialog-copy .partner-site-button {
  margin-top: 24px;
  border-radius: 999px;
}

.partner-close {
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  padding: 0;
}

.partner-close::before {
  transform: none;
}

@media (max-width: 760px) {
  .partner-dialog {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100dvh - 18px);
    padding: 48px 18px 22px;
    border-radius: 18px;
  }

  .partner-dialog-logo {
    min-height: 160px;
    padding: 20px;
  }

  .partner-dialog-logo img {
    max-width: 190px;
    max-height: 118px;
  }

  .partner-close {
    top: 10px;
    right: 10px;
  }
}

/* v1.3.55 final mobile polish */
.footer-actions {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.footer-actions .share-button {
  min-width: 0;
}

.share-close {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

.share-close::before {
  transform: none;
}

.partner-dialog {
  overflow: hidden;
}

.partner-dialog-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.partner-dialog-copy .partner-site-button {
  margin-top: clamp(26px, 3vw, 36px);
}

.service-action-dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.service-action-form .button[type='submit'] {
  margin-top: 4px;
}

@media (max-width: 1180px) {
  .footer-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-actions {
    grid-template-columns: 1fr;
  }

  .service-action-modal {
    padding: 10px;
    align-items: center;
  }

  .service-action-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 34px 18px 18px;
    border-radius: 20px;
  }

  .service-action-dialog h2 {
    padding-right: 42px;
    font-size: clamp(24px, 7.2vw, 34px);
    line-height: 1.05;
  }

  .service-action-dialog > p:not(.eyebrow) {
    margin-top: 12px;
    line-height: 1.52;
  }

  .service-action-detail {
    max-height: 120px;
    overflow-y: auto;
    padding: 12px;
  }

  .service-action-form {
    margin-top: 16px;
  }

  .service-action-form.contact-form {
    padding: 18px 0 0;
  }

  .service-action-form .privacy-consent {
    margin-top: 4px;
  }

  .service-action-modal.open .service-action-form .button[type='submit'] {
    position: static;
    bottom: auto;
    margin-top: 10px;
    box-shadow: 0 16px 34px rgba(23, 102, 224, 0.2);
  }

  .service-action-project-link {
    width: 100%;
    margin-top: 10px;
    min-height: 42px;
    align-items: center;
  }

  .portfolio-showcase .portfolio-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-rows: none;
    gap: 12px;
    overflow-x: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card,
  .portfolio-showcase .portfolio-slide:nth-child(1),
  .portfolio-showcase .portfolio-slide:nth-child(2),
  .portfolio-showcase .portfolio-slide:nth-child(7),
  .portfolio-showcase .portfolio-slide:nth-child(4n) {
    grid-column: span 1 !important;
    scroll-snap-align: none;
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) {
    grid-column: 1 / -1 !important;
  }

  .portfolio-showcase .portfolio-card,
  .portfolio-showcase .portfolio-featured-card {
    min-height: 178px;
    border-radius: 18px;
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(128px, 34vw, 168px);
    margin: 7px 7px 0;
    border-radius: 13px;
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(210px, 56vw, 280px);
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    gap: 8px;
    padding: 11px 12px 13px;
  }

  .portfolio-showcase .portfolio-location {
    min-height: 2.4em;
    font-size: 11px;
    line-height: 1.2;
    -webkit-line-clamp: 2;
  }

  .portfolio-open-button {
    position: static;
    width: 100%;
    min-height: 38px;
    margin-top: auto;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 10px;
  }

  .portfolio-modal {
    align-items: center;
    padding: 10px;
  }

  .portfolio-modal-dialog {
    display: flex;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
  }

  .portfolio-modal-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .portfolio-modal-media {
    flex: 0 0 auto;
    min-height: 0;
    padding: 8px;
  }

  .portfolio-modal-media > img {
    height: min(54dvh, 390px);
    min-height: 230px;
    object-fit: cover;
    border-radius: 16px;
  }

  .portfolio-modal-thumbs {
    position: static;
    margin: 8px 8px 0;
    padding: 6px;
    border-radius: 14px;
  }

  .portfolio-modal-copy {
    flex: 1 1 auto;
    gap: 12px;
    overflow-y: auto;
    padding: 18px 18px 20px;
  }

  .portfolio-modal-copy h2 {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.05;
  }

  .portfolio-modal-description {
    font-size: 14px;
    line-height: 1.55;
  }

  .share-modal {
    align-items: center;
    padding: 10px;
  }

  .share-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    overflow: visible;
    padding: 0;
  }

  .share-preview-frame {
    border-radius: 18px;
  }

  .share-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }

  .partner-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .partner-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .portfolio-showcase .portfolio-track {
    grid-template-columns: 1fr;
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card,
  .portfolio-showcase .portfolio-slide:nth-child(1) {
    grid-column: 1 / -1 !important;
  }

  .share-channels {
    grid-template-columns: 1fr;
  }
}

/* v1.3.57 footer, partners and compact mobile portfolio polish */
.footer-actions {
  display: grid;
  width: min(100%, 380px);
  grid-template-columns: 1fr !important;
  gap: 10px;
  justify-items: stretch;
  align-content: start;
}

.footer-actions .share-button {
  width: 100%;
}

.partner-dialog-copy {
  gap: 0;
}

.partner-dialog-copy p {
  line-height: 1.62;
}

.partner-dialog-detail,
.partner-dialog-contact {
  margin-top: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #344050 !important;
}

.partner-dialog-copy .partner-site-button {
  margin-top: clamp(28px, 3.2vw, 40px);
}

.portfolio-modal-media > img {
  object-fit: contain;
  background: #f4f7fb;
}

.portfolio-modal-thumbs button {
  background: #f4f7fb;
}

.portfolio-modal-thumbs img {
  object-fit: contain;
  background: #f4f7fb;
}

@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: none;
  }

  .portfolio-showcase .portfolio-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .portfolio-showcase .portfolio-slide,
  .portfolio-showcase .portfolio-featured-card,
  .portfolio-showcase .portfolio-slide:nth-child(1),
  .portfolio-showcase .portfolio-slide:nth-child(2),
  .portfolio-showcase .portfolio-slide:nth-child(7),
  .portfolio-showcase .portfolio-slide:nth-child(4n) {
    grid-column: span 1 !important;
  }

  .portfolio-showcase .portfolio-card,
  .portfolio-showcase .portfolio-featured-card {
    min-height: 150px;
    border-radius: 16px;
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(96px, 27vw, 126px);
    margin: 6px 6px 0;
    border-radius: 12px;
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    gap: 7px;
    padding: 9px 10px 10px;
  }

  .portfolio-showcase .portfolio-location {
    min-height: auto;
    font-size: 10px;
    line-height: 1.2;
    -webkit-line-clamp: 1;
  }

  .portfolio-open-button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 9px;
  }

  .portfolio-modal-media > img {
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  .portfolio-showcase .portfolio-track {
    gap: 8px;
  }

  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(88px, 25vw, 112px);
  }
}

/* v1.3.59 final block order and responsibility alignment */
#main > #system-directions { order: 2; }
#main > #services { order: 3; }
#main > #production { order: 4; }
#main > #portfolio { order: 5; }
#main > #steps { order: 6; }
#main > .experience-section { order: 7; }
#main > .responsibility-band { order: 8; }
#main > #focus { order: 9; }
#main > #clients { order: 10; }
#main > .documents-section { order: 11; }
#main > #approach { order: 12; }
#main > #partners { order: 13; }
#main > #geography { order: 14; }
#main > #contacts { order: 15; }
#main > #route { order: 16; }

.responsibility-summary {
  justify-content: center;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.responsibility-summary p {
  max-width: 420px;
}

@media (min-width: 1181px) {
  .responsibility-summary {
    min-height: 210px;
  }
}

/* v1.3.60 final responsibility placement and menu order */
#main > #system-directions { order: 2; }
#main > #services { order: 3; }
#main > #production { order: 4; }
#main > #portfolio { order: 5; }
#main > #steps { order: 6; }
#main > .experience-section { order: 7; }
#main > #focus { order: 8; }
#main > #clients { order: 9; }
#main > .documents-section { order: 10; }
#main > #approach { order: 11; }
#main > .responsibility-band { order: 12; }
#main > #partners { order: 13; }
#main > #geography { order: 14; }
#main > #contacts { order: 15; }
#main > #route { order: 16; }

/* v1.3.61 final overrides: footer buttons, map CTA, tablet nav, partner close, portfolio previews */
.button-map {
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border-color: rgba(23, 102, 224, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, #1766e0 0%, #083f9f 100%);
  box-shadow: 0 16px 34px rgba(23, 102, 224, 0.22);
}

.button-map:hover,
.button-map:focus-visible {
  color: #fff;
  border-color: #1766e0;
  background: linear-gradient(135deg, #1d73f4 0%, #083f9f 100%);
  box-shadow: 0 20px 42px rgba(23, 102, 224, 0.32);
}

.footer-contact-link,
.footer-social-link,
.footer-actions .share-button {
  border-radius: 16px;
}

.footer-actions .share-button {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding: 0 16px;
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(12, 20, 32, 0.04);
  text-align: left;
}

.footer-actions .share-button:hover,
.footer-actions .share-button:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(23, 102, 224, 0.2);
  outline: none;
}

.partner-close {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.partner-close::before {
  content: '×';
  display: block;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: none;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #fff;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: contain;
  background: #fff;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.025);
}

.legal-site-footer .footer-legal {
  display: flex;
  justify-content: flex-start;
}

.legal-site-footer .footer-legal nav {
  width: 100%;
  justify-content: flex-start;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .header-inner {
    gap: 14px;
  }

  .desktop-nav {
    gap: clamp(7px, 0.72vw, 12px);
    font-size: 11px;
  }

  .desktop-nav a {
    white-space: nowrap;
  }

  .brand {
    width: clamp(145px, 13.5vw, 170px);
  }

  .header-actions {
    gap: 8px;
  }
}

@media (min-width: 981px) and (max-width: 1120px) {
  .site-header .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .desktop-nav {
    gap: 7px;
    font-size: 10.5px;
  }
}

/* v1.3.62 absolute final: portfolio previews fill the card again */
.footer-actions {
  width: min(100%, 260px);
}

.footer-actions .share-button {
  width: 100%;
  max-width: 260px;
}

.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  object-fit: cover;
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-card:hover .portfolio-image img {
  transform: scale(1.045);
}

@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: 260px;
  }
}

/* v1.3.63 portfolio zoom, geography timing polish and footer action sizing */
.footer-actions {
  width: min(100%, 220px);
  max-width: 220px;
}

.footer-actions .share-button {
  width: 100%;
  max-width: 220px;
  min-height: 58px;
  padding: 11px 13px;
}

.portfolio-location,
.portfolio-showcase .portfolio-location {
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 4px;
  padding: 0;
  overflow: visible;
  color: rgba(8, 21, 36, 0.64);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: normal;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.portfolio-modal-media > img {
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.portfolio-modal-media.is-zoomed {
  overflow: auto;
}

.portfolio-modal-media.is-zoomed > img {
  cursor: zoom-out;
  transform: scale(1.45);
  filter: contrast(1.02) saturate(1.04);
}

.approach-card-main .approach-mark,
.approach-mark {
  top: 40%;
  opacity: 0.92;
  filter: brightness(0) invert(1) drop-shadow(0 28px 65px rgba(95, 157, 255, 0.42));
  transform: translate(-50%, -72%) scale(1);
  animation: astraApproachPulse 6.4s ease-in-out infinite;
}

.approach-card-main:hover .approach-mark,
.approach-card-main:focus-within .approach-mark {
  opacity: 1;
  transform: translate(-50%, -72%) scale(1.12);
}

.approach-card-main:active .approach-mark {
  opacity: 1;
  transform: translate(-50%, -72%) scale(1.22);
}

@keyframes astraApproachPulse {
  0%, 100% {
    opacity: 0.82;
    filter: brightness(0) invert(1) drop-shadow(0 22px 52px rgba(95, 157, 255, 0.32));
  }

  50% {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 34px 78px rgba(95, 157, 255, 0.5));
  }
}

.geography-current {
  z-index: 8;
}

@media (max-width: 1100px) {
  .approach-card-main .approach-mark,
  .approach-mark {
    top: 36%;
    opacity: 0.9;
    transform: translate(-50%, -74%) scale(1);
  }

  .portfolio-location,
  .portfolio-showcase .portfolio-location {
    font-size: 11px;
    line-height: 1.25;
  }
}

@media (max-width: 760px) {
  .footer-actions {
    width: min(100%, 220px);
    max-width: 220px;
  }

  .footer-actions .share-button {
    max-width: 220px;
  }

  .approach-card-main .approach-mark,
  .approach-mark {
    top: 32%;
    width: 136px;
    height: 136px;
    opacity: 0.88;
    transform: translate(-50%, -76%) scale(1);
  }

  .portfolio-location,
  .portfolio-showcase .portfolio-location {
    font-size: 10px;
    line-height: 1.25;
  }

  .portfolio-modal-media.is-zoomed > img {
    transform: scale(1.28);
  }

  .geography-map {
    min-height: 520px;
  }

  .geography-current {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  .geography-current strong {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.08;
  }

  .geography-current p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .geography-point span {
    display: none;
  }
}

/* v1.3.64 mobile footer actions align with messenger buttons */
@media (max-width: 760px) {
  .footer-actions {
    width: 100%;
    max-width: none;
  }

  .footer-actions .share-button {
    max-width: none;
  }
}

/* v1.3.66 portfolio previews fill the card area */
.portfolio-showcase .portfolio-image,
.portfolio-featured-card .portfolio-image {
  height: clamp(210px, 15vw, 250px);
  margin: 8px 8px 0;
  background: #f7f9fb;
}

.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
  height: clamp(240px, 19vw, 300px);
}

.portfolio-showcase .portfolio-image img,
.portfolio-featured-card .portfolio-image img,
.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f7f9fb;
}

@media (max-width: 1100px) {
  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image {
    height: clamp(190px, 24vw, 260px);
  }

  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(220px, 30vw, 300px);
  }
}

@media (max-width: 760px) {
  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(132px, 39vw, 182px);
    margin: 6px 6px 0;
  }
}

@media (max-width: 420px) {
  .portfolio-showcase .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image {
    height: clamp(136px, 42vw, 176px);
  }
}

/* v1.3.67 final polish: portfolio rhythm, approach mark and geography readability */
.portfolio-showcase .portfolio-slide:nth-child(1),
.portfolio-showcase .portfolio-featured-card {
  grid-row: auto !important;
}

.portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image,
.portfolio-featured-card .portfolio-image,
.portfolio-showcase .portfolio-image {
  height: clamp(180px, 14vw, 232px);
}

.portfolio-showcase .portfolio-copy,
.portfolio-featured-card .portfolio-copy {
  gap: 8px;
  padding: 10px 12px 13px;
}

.portfolio-showcase .portfolio-location {
  margin: 0 0 6px;
}

.portfolio-open-button {
  margin-top: 2px;
}

#approach .approach-card-main {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(145deg, #1f3554, #0d1c31 72%);
}

#approach .approach-card-main::before,
#approach .approach-card-main::after,
#approach .approach-card-main:hover::before,
#approach .approach-card-main:hover::after {
  opacity: 0;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  top: 35%;
  opacity: 0.96;
  filter: brightness(0) invert(1) drop-shadow(0 26px 58px rgba(95, 157, 255, 0.38));
  transform: translate(-50%, -76%) scale(1);
  animation: astraApproachAutoScale 7.6s ease-in-out infinite;
}

#approach .approach-card-main:hover .approach-mark,
#approach .approach-card-main:focus-within .approach-mark,
#approach .approach-card-main:active .approach-mark {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 28px 62px rgba(95, 157, 255, 0.44));
}

@keyframes astraApproachAutoScale {
  0%, 100% {
    transform: translate(-50%, -76%) scale(1);
  }

  46%, 58% {
    transform: translate(-50%, -76%) scale(1.13);
  }
}

.geography-current {
  right: 22px;
  bottom: 22px;
  max-width: min(520px, calc(100% - 44px));
}

.geography-point.point-6 {
  top: 61%;
  left: 39%;
}

.geography-point.point-8 {
  top: 58%;
  left: 70%;
}

.geography-point span {
  max-width: 128px;
  white-space: normal;
}

.geography-point.point-8 span,
.geography-point.point-9 span {
  right: 0;
  left: auto;
  transform: translate(0, 8px);
}

.geography-point.point-8:hover span,
.geography-point.point-8:focus-visible span,
.geography-point.point-8.active span,
.geography-point.point-9:hover span,
.geography-point.point-9:focus-visible span,
.geography-point.point-9.active span {
  transform: translate(0, 0);
}

@media (max-width: 1100px) {
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-image {
    height: clamp(168px, 22vw, 230px);
  }

  #approach .approach-card-main .approach-mark,
  #approach .approach-mark {
    top: 31%;
  }
}

@media (max-width: 760px) {
  .portfolio-showcase .portfolio-slide:nth-child(1) .portfolio-image,
  .portfolio-featured-card .portfolio-image,
  .portfolio-showcase .portfolio-image {
    height: clamp(132px, 38vw, 172px);
  }

  .portfolio-showcase .portfolio-copy,
  .portfolio-featured-card .portfolio-copy {
    gap: 6px;
    padding: 8px 10px 10px;
  }

  .portfolio-showcase .portfolio-location {
    margin-bottom: 4px;
  }

  #approach .approach-card-main .approach-mark,
  #approach .approach-mark {
    top: 29%;
    opacity: 0.98;
    filter: brightness(0) invert(1) drop-shadow(0 20px 46px rgba(95, 157, 255, 0.36));
  }
}

/* v1.3.69 release override: keep portfolio modal thumbnails inside mobile viewport */
.portfolio-modal-thumbs {
  justify-content: flex-start !important;
  padding-inline: 14px !important;
  scroll-padding-inline: 14px !important;
}

.portfolio-modal-thumbs button:first-child {
  margin-left: 0 !important;
}

@media (max-width: 760px) {
  .portfolio-modal-thumbs {
    justify-content: flex-start !important;
    padding-inline: 16px !important;
    scroll-padding-inline: 16px !important;
  }
}
/* v1.3.70 release override: prevent footer action column overflow on tablets */
@media (max-width: 1180px) and (min-width: 761px) {
  .site-footer .footer-actions {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    align-self: start !important;
    width: min(360px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 24px auto 0 !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* v1.3.71 portfolio fullscreen gallery */
.gallery-lightbox {
  z-index: 2700 !important;
  padding: clamp(14px, 2.2vw, 34px) !important;
}

.gallery-lightbox-backdrop {
  background: rgba(2, 7, 14, 0.9) !important;
  backdrop-filter: blur(14px) !important;
}

.gallery-lightbox-dialog {
  width: min(1280px, 96vw) !important;
  grid-template-columns: 54px minmax(0, 1fr) 54px !important;
  gap: clamp(10px, 1.4vw, 18px) !important;
}

.gallery-lightbox-dialog img {
  width: 100% !important;
  max-height: 84vh !important;
  object-fit: contain !important;
  border-radius: 22px !important;
  background: #050b14 !important;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.gallery-lightbox-dialog p {
  grid-column: 2 !important;
  justify-self: center;
  max-width: min(760px, 82vw);
  text-align: center;
}

.portfolio-modal-media > img {
  cursor: zoom-in;
}

.portfolio-modal-media.is-zoomed > img {
  transform: none !important;
}

@media (max-width: 760px) {
  .gallery-lightbox {
    padding: 14px !important;
  }

  .gallery-lightbox-dialog {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
  }

  .gallery-lightbox-dialog img {
    grid-column: 1 / -1 !important;
    max-height: 72vh !important;
    border-radius: 18px !important;
  }

  .gallery-lightbox-dialog p {
    grid-column: 1 / -1 !important;
    max-width: 100%;
    margin-top: 8px !important;
  }

  .gallery-lightbox-arrow {
    width: 100% !important;
    height: 46px !important;
    border-radius: 999px !important;
  }
}
/* v1.3.72 keep fullscreen gallery above portfolio modal on mobile */
.gallery-lightbox {
  z-index: 12000 !important;
}

.gallery-lightbox-dialog,
.gallery-lightbox-close,
.gallery-lightbox-arrow {
  z-index: 12001 !important;
}
/* v1.3.75 final winning overrides: tablet footer, buttons and ASTRA mark */
.brand,
.brand:hover,
.brand:focus-visible {
  text-decoration: none !important;
}

.brand::before,
.brand::after,
.brand:hover::before,
.brand:hover::after {
  display: none !important;
  content: none !important;
}

.responsibility-heading {
  justify-content: center !important;
  gap: 20px !important;
  transform: translateY(-10px) !important;
}

.responsibility-summary {
  justify-content: center !important;
  gap: 18px !important;
}

.portfolio-cta .button,
.button-outline {
  color: var(--blue) !important;
  border-color: rgba(23, 102, 224, 0.34) !important;
  background: rgba(23, 102, 224, 0.06) !important;
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-open-button {
  color: #fff !important;
  border-color: rgba(23, 102, 224, 0.36) !important;
  background: linear-gradient(135deg, #1766e0, #0b4ea6) !important;
  box-shadow: 0 12px 26px rgba(23, 102, 224, 0.2) !important;
}

.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  background: linear-gradient(135deg, #1d73f4, #083f9f) !important;
}

.clients-intro {
  margin: 14px 0 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

#approach .approach-card-main .approach-mark,
#approach .approach-mark {
  opacity: 1 !important;
  filter: brightness(0) invert(1) drop-shadow(0 24px 54px rgba(95, 157, 255, 0.42)) !important;
  mix-blend-mode: normal !important;
}

.footer-actions .share-button {
  border-color: rgba(23, 102, 224, 0.26) !important;
}

@media (max-width: 1180px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(420px, calc(100vw - 64px)) !important;
    max-width: 420px !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 760px) {
  .responsibility-heading {
    transform: none !important;
  }

  .site-footer .footer-actions {
    width: min(390px, calc(100vw - 44px)) !important;
  }
}
/* v1.3.76 final footer integration and portfolio button states */
.portfolio-cta .button:active,
.button-outline:active,
.portfolio-open-button:active {
  color: #fff !important;
  border-color: #0b4ea6 !important;
  background: #0b4ea6 !important;
  box-shadow: 0 10px 24px rgba(23, 102, 224, 0.22) !important;
  transform: translateY(0) scale(0.985) !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(176px, 0.8fr) minmax(132px, 0.48fr) minmax(300px, 1fr) !important;
    gap: clamp(18px, 3vw, 30px) !important;
    align-items: start !important;
  }

  .site-footer .footer-brand-block {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  .site-footer .footer-top > nav {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }

  .site-footer .footer-contacts {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  .site-footer .footer-actions {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    transform: none !important;
  }
}
/* v1.3.78 final neutral portfolio buttons and compact footer actions */
.portfolio-cta .button,
.button-outline {
  color: var(--text) !important;
  border-color: rgba(12, 31, 55, 0.16) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 30px rgba(10, 25, 44, 0.055) !important;
}

.portfolio-open-button {
  color: #172235 !important;
  border-color: rgba(12, 31, 55, 0.16) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 24px rgba(10, 25, 44, 0.1) !important;
  backdrop-filter: blur(10px);
}

.portfolio-cta .button:hover,
.portfolio-cta .button:focus-visible,
.button-outline:hover,
.button-outline:focus-visible,
.portfolio-open-button:hover,
.portfolio-open-button:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  box-shadow: 0 16px 36px rgba(23, 102, 224, 0.22) !important;
}

.portfolio-cta .button:active,
.button-outline:active,
.portfolio-open-button:active {
  color: #fff !important;
  border-color: #0b4ea6 !important;
  background: #0b4ea6 !important;
  box-shadow: 0 10px 24px rgba(23, 102, 224, 0.22) !important;
  transform: translateY(0) scale(0.985) !important;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(172px, 0.72fr) minmax(126px, 0.4fr) minmax(340px, 1fr) !important;
    gap: clamp(16px, 2.5vw, 26px) !important;
  }

  .site-footer .footer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 10px !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    min-height: 44px !important;
    padding: 0 11px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .site-footer .footer-actions .share-button svg {
    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
  }

  .site-footer .footer-actions .share-button span {
    white-space: normal !important;
  }
}

@media (max-width: 760px) {
  .site-footer .footer-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-inline: auto !important;
  }

  .site-footer .footer-actions .share-button,
  .site-footer .footer-actions a,
  .site-footer .footer-actions button {
    width: 100% !important;
    max-width: none !important;
    min-height: 46px !important;
    padding: 0 10px !important;
    border-radius: 14px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .site-footer .footer-actions .share-button span {
    white-space: normal !important;
  }

  .site-footer .footer-actions > :last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }
}

/* v1.3.79 mobile comfort cards and clickable experience visual */
.experience-visual {
  cursor: pointer;
}

.experience-visual:focus-visible {
  outline: 2px solid rgba(23, 102, 224, 0.55);
  outline-offset: 4px;
}

.experience-visual-cta {
  display: none !important;
}

@media (max-width: 760px) {
  .system-directions .direction-copy {
    padding: 32px 30px 30px 22px !important;
  }

  .system-directions .direction-copy .eyebrow {
    margin-bottom: 14px !important;
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }

  .system-directions .direction-copy h2 {
    max-width: calc(100% - 34px) !important;
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.06 !important;
    overflow-wrap: anywhere;
  }

  .system-directions .direction-lead {
    max-width: 100% !important;
    margin-top: 18px !important;
    padding-right: 4px !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
  }

  .system-directions .direction-copy ul {
    margin-top: 20px !important;
    padding-right: 2px !important;
  }

  .system-directions .direction-copy li {
    padding-right: 4px !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }
}

/* v1.3.80 footer share placement and final punctuation polish */
button.footer-social-link {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-share-link {
  min-height: 64px;
  color: var(--blue);
  border-color: rgba(23, 102, 224, 0.18) !important;
}

.footer-share-link svg {
  padding: 5px;
  border-radius: 14px;
  background: rgba(23, 102, 224, 0.08);
}

.footer-share-link:hover,
.footer-share-link:focus-visible {
  color: #fff !important;
  border-color: var(--blue) !important;
  background: linear-gradient(135deg, var(--blue), #0b4e95) !important;
}

.footer-share-link:hover svg,
.footer-share-link:focus-visible svg {
  background: rgba(255, 255, 255, 0.16);
}

/* v1.3.81 map interaction fix */
.map-frame iframe {
  pointer-events: auto !important;
}

.geography-map::before,
.geography-map::after,
.geography-current {
  pointer-events: none !important;
}

.geography-point {
  pointer-events: auto !important;
}

/* v1.3.82 comfort title, portfolio typography and task text separation */
.pain-list .pain-text-separator {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.portfolio-showcase .portfolio-copy h3 {
  font-size: clamp(13px, 0.9vw, 16px) !important;
  line-height: 1.17 !important;
}

@media (max-width: 760px) {
  .portfolio-showcase .portfolio-copy h3 {
    min-height: 0 !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
  }
}

.portfolio-modal-copy h2 {
  font-size: clamp(25px, 3.2vw, 38px) !important;
  line-height: 1.08 !important;
}

@media (max-width: 760px) {
  .portfolio-modal-copy h2 {
    font-size: clamp(22px, 7vw, 30px) !important;
    line-height: 1.1 !important;
  }
}

/* v1.3.87 final mobile QA polish: keep legal footer links inside narrow screens */
@media (max-width: 520px) {
  .site-footer .footer-legal,
  .legal-site-footer .footer-legal {
    overflow: visible !important;
    padding-inline: 14px !important;
  }

  .site-footer .footer-legal nav,
  .legal-site-footer .footer-legal nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .site-footer .footer-legal nav a,
  .legal-site-footer .footer-legal nav a {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
  }
}

/* v1.3.88: compact mobile modals and intentional map interaction */
.map-frame {
  position: relative;
}

.map-frame iframe {
  pointer-events: none !important;
  touch-action: none;
}

.map-frame.map-active iframe {
  pointer-events: auto !important;
  touch-action: pan-x pan-y pinch-zoom;
}

.map-activate {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 11, 20, 0.04), rgba(4, 11, 20, 0.2));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.map-activate span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(4, 11, 20, 0.68);
  box-shadow: 0 18px 46px rgba(4, 11, 20, 0.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.map-frame.map-active .map-activate {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .map-activate:hover span,
  .map-activate:focus-visible span {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(23, 102, 224, 0.78);
  }
}

@media (max-width: 760px) {
  .feedback-modal,
  .service-action-modal,
  .share-modal,
  .partner-modal,
  .portfolio-modal {
    align-items: center !important;
    justify-items: center !important;
    padding: 14px !important;
  }

  .feedback-dialog,
  .service-action-dialog,
  .share-dialog,
  .partner-dialog,
  .portfolio-modal-dialog {
    width: min(92vw, 430px) !important;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100dvh - 34px) !important;
    margin-inline: auto !important;
    border-radius: 20px !important;
  }

  .partner-dialog {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px 18px 20px !important;
    transform: translateY(0) scale(0.985) !important;
  }

  .partner-modal.open .partner-dialog {
    transform: translateY(0) scale(1) !important;
  }

  .partner-dialog-logo {
    min-height: 132px !important;
    padding: 18px !important;
  }

  .partner-dialog-logo img {
    max-height: 94px !important;
  }

  .partner-close,
  .feedback-close,
  .service-action-close,
  .share-close,
  .portfolio-modal-close {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .feedback-dialog,
  .service-action-dialog {
    padding: 22px 18px !important;
  }

  .share-dialog {
    padding: 0 !important;
  }

  .portfolio-modal-dialog {
    overflow: hidden !important;
  }

  .portfolio-modal-media > img {
    height: min(48dvh, 320px) !important;
    min-height: 210px !important;
  }

  .portfolio-modal-copy {
    padding: 16px 16px 18px !important;
  }

  .map-activate span {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .feedback-dialog,
  .service-action-dialog,
  .share-dialog,
  .partner-dialog,
  .portfolio-modal-dialog {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* v1.3.90: mobile-first form windows. Use a sheet instead of a small nested modal. */
@media (max-width: 760px) {
  .feedback-modal.open,
  .service-action-modal.open {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: stretch !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .feedback-backdrop,
  .service-action-backdrop {
    background: rgba(3, 8, 15, 0.56) !important;
    backdrop-filter: blur(5px) !important;
  }

  .feedback-dialog,
  .service-action-dialog {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - 8px) !important;
    max-height: calc(100dvh - 8px) !important;
    margin: 0 !important;
    padding: 24px 18px calc(22px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    box-shadow: 0 -22px 70px rgba(4, 11, 20, 0.28) !important;
    transform: translateY(100%) !important;
    transition: transform 0.28s ease !important;
    scroll-padding: 96px 0 150px !important;
  }

  .feedback-modal.open .feedback-dialog,
  .service-action-modal.open .service-action-dialog {
    transform: translateY(0) !important;
  }

  .feedback-close,
  .service-action-close {
    position: fixed !important;
    top: calc(14px + env(safe-area-inset-top)) !important;
    right: 14px !important;
    z-index: 10080 !important;
    width: 44px !important;
    height: 44px !important;
    color: var(--text) !important;
    border: 1px solid rgba(11, 23, 40, 0.16) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 34px rgba(4, 11, 20, 0.14) !important;
    backdrop-filter: blur(10px) !important;
  }

  .feedback-dialog .eyebrow,
  .service-action-dialog .eyebrow {
    margin-right: 56px !important;
  }

  .feedback-dialog h2,
  .service-action-dialog h2 {
    padding-right: 52px !important;
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.08 !important;
  }

  .feedback-intro,
  .service-action-summary,
  .service-action-dialog > p:not(.eyebrow) {
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .service-action-detail {
    max-height: none !important;
    overflow: visible !important;
    margin-top: 12px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .feedback-form,
  .service-action-form {
    gap: 14px !important;
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  .feedback-form input[type='text'],
  .feedback-form input[type='tel'],
  .contact-form input,
  .contact-form textarea {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  .feedback-modal.open .feedback-form .button[type='submit'],
  .service-action-modal.open .service-action-form .button[type='submit'] {
    position: sticky !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    z-index: 80 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 54px !important;
    margin-top: 6px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 42px rgba(23, 102, 224, 0.28), 0 10px 22px rgba(4, 11, 20, 0.16) !important;
  }

  .service-action-project-link {
    min-height: 46px !important;
    border-radius: 999px !important;
  }
}

/* v1.4.0: iPhone 8 / SE compatibility and narrow-screen modal hardening */
@media (max-width: 760px) {
  .feedback-modal.open,
  .service-action-modal.open,
  .share-modal.open,
  .partner-modal.open,
  .portfolio-modal.open,
  .gallery-lightbox.open,
  .route-modal.open {
    overflow: hidden !important;
    touch-action: manipulation !important;
  }

  .share-dialog,
  .partner-dialog,
  .portfolio-modal-dialog,
  .gallery-lightbox-dialog,
  .route-dialog {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .feedback-dialog,
  .service-action-dialog {
    height: calc(100vh - 8px) !important;
    max-height: calc(100vh - 8px) !important;
  }

  .share-close,
  .partner-close,
  .portfolio-modal-close,
  .gallery-lightbox-close,
  .route-close,
  .feedback-close,
  .service-action-close {
    min-width: 44px !important;
    min-height: 44px !important;
    z-index: 10120 !important;
    touch-action: manipulation !important;
  }

  .portfolio-modal-media > img,
  .gallery-lightbox-image {
    max-height: 48vh !important;
    object-fit: contain !important;
  }

  .share-channels a,
  .share-channels button,
  .portfolio-open-button,
  .partner-card-trigger,
  [data-open-feedback],
  [data-service-open] {
    touch-action: manipulation !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 760px) {
    .share-dialog,
    .partner-dialog,
    .portfolio-modal-dialog,
    .gallery-lightbox-dialog,
    .route-dialog {
      max-height: calc(100dvh - 24px) !important;
    }

    .feedback-dialog,
    .service-action-dialog {
      height: calc(100dvh - 8px) !important;
      max-height: calc(100dvh - 8px) !important;
    }

    .portfolio-modal-media > img,
    .gallery-lightbox-image {
      max-height: 48dvh !important;
    }
  }
}

@media (max-width: 375px) {
  .share-modal.open,
  .partner-modal.open,
  .portfolio-modal.open,
  .gallery-lightbox.open,
  .route-modal.open {
    padding: 8px !important;
  }

  .share-dialog,
  .partner-dialog,
  .portfolio-modal-dialog,
  .gallery-lightbox-dialog,
  .route-dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    border-radius: 16px !important;
  }

  .partner-dialog,
  .portfolio-modal-copy,
  .share-dialog-content {
    padding-inline: 14px !important;
  }

  .portfolio-modal-copy h2,
  .partner-dialog-copy h2 {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.12 !important;
  }
}

.astra-custom-block {
  background: var(--surface);
}

.astra-custom-block-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(72px, 9vw, 132px);
  padding-bottom: clamp(72px, 9vw, 132px);
}

.astra-custom-block-copy {
  display: grid;
  gap: 18px;
}

.astra-custom-block-copy h2 {
  margin: 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.04;
}

.astra-custom-block-summary,
.astra-custom-block-detail {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.astra-custom-block-detail p {
  margin: 0 0 12px;
}

.astra-custom-block-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.astra-custom-block-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .astra-custom-block-inner {
    grid-template-columns: 1fr;
  }
}

/* Hero concept: abstract parametric field, prepared for approval before release. */
.hero--signal {
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 30px), 920px);
  color: #fff;
  background: linear-gradient(118deg, #06080c 0%, #0a0d12 46%, #11151b 100%);
}

.hero--signal::after {
  content: '';
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(111, 184, 255, 0.3) 52%, var(--red) 52.2%, rgba(255, 255, 255, 0.08));
}

.hero-scene,
.hero--signal .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scene {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.98;
}

.hero-field-fallback {
  position: absolute;
  inset: -12% -8% -12% 33%;
  opacity: 0.42;
  background-image: repeating-linear-gradient(
    164deg,
    transparent 0,
    transparent 27px,
    rgba(142, 196, 248, 0.14) 28px,
    transparent 29px
  );
  clip-path: polygon(18% 4%, 100% 0, 100% 96%, 8% 82%);
  transform: skewY(-4deg);
  transition: opacity 0.4s ease;
}

.hero-field-ready .hero-field-fallback {
  opacity: 0.09;
}

.hero-scene-symbol {
  position: absolute;
  top: 50%;
  left: 79%;
  width: clamp(260px, 31vw, 520px);
  height: auto;
  opacity: 0.075;
  filter: invert(1);
  transform: translate(-50%, -50%) scale(1.08);
}

.hero-axis {
  position: absolute;
  top: 12%;
  bottom: 10%;
  left: 78.4%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(214, 236, 255, 0.38) 18%, rgba(214, 236, 255, 0.12) 82%, transparent);
}

.hero-axis::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -38vw;
  width: 62vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 236, 255, 0.2) 56%, rgba(214, 236, 255, 0.5), transparent);
}

.hero-axis::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(224, 241, 255, 0.78);
  background: #0c1117;
  transform: translateY(-50%) rotate(45deg);
}

.hero-axis span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  width: 9px;
  opacity: 0.6;
  background: repeating-linear-gradient(180deg, rgba(199, 228, 255, 0.52) 0 1px, transparent 1px 36px);
}

.hero-axis span::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 3px;
  width: 3px;
  height: 32px;
  background: var(--red);
}

.hero--signal .hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.99) 0%, rgba(5, 7, 11, 0.94) 31%, rgba(5, 8, 12, 0.76) 47%, rgba(6, 9, 13, 0.13) 72%, rgba(6, 9, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(3, 5, 8, 0.7) 0%, transparent 28%, rgba(3, 5, 8, 0.28) 100%);
}

.hero--signal .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 790px) 1fr;
  align-items: center;
  gap: clamp(44px, 7vw, 120px);
  padding-top: clamp(132px, 16vh, 176px);
  padding-bottom: clamp(76px, 10vh, 116px);
}

.hero--signal .hero-copy {
  width: min(100%, 790px);
}

.hero--signal .eyebrow {
  margin-bottom: 24px;
  color: #9dc9f5;
  color: color-mix(in srgb, var(--blue), white 58%);
  letter-spacing: 0.12em;
}

.hero--signal .eyebrow span {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, #fff, #70b5fa);
}

.hero--signal h1 {
  max-width: 790px;
  font-size: clamp(52px, 5.35vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero--signal h1 em {
  color: #a9d2ff;
  color: color-mix(in srgb, var(--blue), white 64%);
}

.hero--signal .hero-lead {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(242, 247, 252, 0.72);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.hero--signal .hero-actions {
  margin-top: 38px;
  gap: 10px;
}

.hero--signal .button {
  min-height: 54px;
  border-radius: 2px;
}

.hero--signal .button-primary {
  background: var(--blue);
  box-shadow: 0 16px 44px rgba(0, 94, 218, 0.28);
}

.hero--signal .button-primary:hover,
.hero--signal .button-primary:focus-visible {
  background: var(--blue-2);
  box-shadow: 0 20px 48px rgba(0, 94, 218, 0.38);
}

.hero--signal .button-ghost {
  border-color: rgba(227, 239, 250, 0.32);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
}

.hero--signal .button-ghost:hover,
.hero--signal .button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.09);
}

.hero-scope {
  display: flex;
  width: min(100%, 650px);
  margin-top: 46px;
  padding-top: 17px;
  gap: 0;
  color: rgba(226, 237, 247, 0.56);
  border-top: 1px solid rgba(218, 234, 249, 0.16);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-scope span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero-scope span + span::before {
  content: '';
  width: 3px;
  height: 3px;
  margin: 0 18px;
  background: var(--red);
  transform: rotate(45deg);
}

@media (max-width: 1180px) {
  .hero--signal .hero-content {
    grid-template-columns: minmax(0, 710px) 1fr;
  }

  .hero--signal h1 {
    max-width: 710px;
    font-size: clamp(50px, 5.9vw, 72px);
  }

  .hero-scene-symbol {
    left: 82%;
  }
}

@media (max-height: 780px) and (min-width: 641px) {
  .hero--signal .hero-content {
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .hero--signal .eyebrow {
    margin-bottom: 18px;
  }

  .hero--signal h1 {
    font-size: clamp(48px, 4.9vw, 68px);
  }

  .hero--signal .hero-lead {
    margin-top: 22px;
  }

  .hero--signal .hero-actions,
  .hero-scope {
    margin-top: 29px;
  }
}

@media (max-width: 980px) {
  .hero--signal .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--signal .hero-copy {
    width: min(74vw, 710px);
  }

  .hero--signal .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.99) 0%, rgba(5, 7, 11, 0.91) 42%, rgba(5, 8, 12, 0.44) 72%, rgba(6, 9, 13, 0.32) 100%),
      linear-gradient(0deg, rgba(3, 5, 8, 0.72), transparent 38%);
  }

  .hero-axis {
    left: 82%;
  }
}

@media (max-width: 640px) {
  .hero--signal {
    min-height: max(560px, calc(100svh - 22px));
    background: #080b0f;
  }

  .hero--signal .hero-content {
    align-items: center;
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .hero--signal .hero-copy {
    width: 100%;
  }

  .hero--signal .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 7, 11, 0.88) 62%, rgba(5, 8, 12, 0.5) 100%),
      linear-gradient(0deg, rgba(3, 5, 8, 0.82), transparent 45%);
  }

  .hero--signal .eyebrow {
    max-width: 92%;
    margin-bottom: 17px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero--signal .eyebrow span {
    width: 26px;
  }

  .hero--signal h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.8vw, 42px);
    line-height: 1.01;
  }

  .hero--signal .hero-lead {
    max-width: 92%;
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.48;
  }

  .hero--signal .hero-actions {
    margin-top: 25px;
    gap: 8px;
  }

  .hero--signal .button {
    min-height: 49px;
  }

  .hero-scope {
    width: 100%;
    margin-top: 25px;
    padding-top: 13px;
    overflow: hidden;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .hero-scope span + span::before {
    margin: 0 9px;
  }

  .hero-scene-symbol {
    top: 31%;
    left: 80%;
    width: 260px;
    opacity: 0.055;
  }

  .hero-axis {
    top: 10%;
    right: 15%;
    bottom: 12%;
    left: auto;
    opacity: 0.72;
  }

  .hero-axis::before {
    left: -68vw;
    width: 90vw;
  }
}

@media (max-width: 390px), (max-height: 660px) {
  .hero--signal {
    min-height: max(548px, calc(100svh - 20px));
  }

  .hero--signal .hero-content {
    padding-top: 84px;
    padding-bottom: 28px;
  }

  .hero--signal h1 {
    font-size: clamp(32px, 9.3vw, 37px);
  }

  .hero--signal .eyebrow {
    max-width: 100%;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero--signal .eyebrow span {
    width: 20px;
  }

  .hero-scope {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-field-canvas {
    opacity: 0.8;
  }

  .hero-field-fallback,
  .hero-scene-symbol {
    transition: none;
  }
}

/* Selected hero direction: abstract refractive field, no logo or graphic labels. */
.hero--abstract {
  --hero-copy-x: 0px;
  --hero-copy-y: 0px;
  --hero-copy-soft-x: 0px;
  --hero-copy-soft-y: 0px;
  --hero-copy-strong-x: 0px;
  --hero-copy-strong-y: 0px;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 30px), 920px);
  color: #fff;
  background: #05080b;
}

.hero-abstract-scene,
.hero--abstract .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-abstract-scene {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-abstract-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.hero-abstract-spotlight {
  --hero-spot-x: 68vw;
  --hero-spot-y: 48vh;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle,
    rgba(232, 250, 255, 0.25) 0%,
    rgba(112, 204, 255, 0.17) 19%,
    rgba(40, 145, 216, 0.075) 42%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--hero-spot-x) - 50%), calc(var(--hero-spot-y) - 50%), 0);
  transition: opacity 220ms ease;
  will-change: transform, opacity;
}

.hero--abstract.is-pointer-active .hero-abstract-spotlight {
  opacity: 0.9;
}

.hero-abstract-image,
.hero-abstract-edges {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.018);
}

.hero-abstract-image {
  position: relative;
  z-index: 0;
  filter: saturate(0.92) contrast(1.04);
}

.hero-abstract-edges {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.22;
  filter: url('#hero-abstract-edge-glow');
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 34%, rgba(0, 0, 0, 0.14) 47%, #000 64%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 34%, rgba(0, 0, 0, 0.14) 47%, #000 64%, #000 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: hero-abstract-edge-breathe 3.6s ease-in-out -1.2s infinite alternate;
  transition: filter 220ms ease;
  will-change: opacity, filter;
}

.hero-abstract-sparks {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  mix-blend-mode: screen;
  transform: scale(1.018);
  pointer-events: none;
}

.hero-edge-spark {
  color: #dff6ff;
  fill: currentColor;
  opacity: 0.82;
  filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 8px currentColor);
  animation: hero-edge-spark 1.55s ease-in-out infinite alternate;
  will-change: opacity;
}

.hero-edge-spark:nth-child(2n) {
  animation-delay: -0.62s;
}

.hero-edge-spark:nth-child(3n) {
  animation-duration: 2.05s;
}

.hero-edge-spark--warm {
  color: #ff8b67;
}

.hero-edge-sparks--normal,
.hero-edge-sparks--secret {
  transition: opacity 240ms ease;
}

.hero-edge-sparks--secret {
  opacity: 0;
}

.hero--abstract.is-edge-charged .hero-abstract-edges {
  filter: url('#hero-abstract-edge-glow') brightness(1.55) drop-shadow(0 0 10px rgba(91, 194, 255, 0.72));
  animation-duration: 0.8s;
}

.hero--abstract.is-edge-charged .hero-edge-spark {
  animation-duration: 0.7s;
  animation-delay: 0s;
}

.hero--abstract.is-edge-charged .hero-edge-sparks--normal {
  opacity: 0.42;
}

.hero--abstract.is-edge-charged .hero-edge-sparks--secret {
  opacity: 1;
}

@keyframes hero-abstract-edge-breathe {
  from { opacity: 0.24; }
  to { opacity: 0.58; }
}

@keyframes hero-edge-spark {
  from { opacity: 0.42; }
  to { opacity: 1; }
}

.hero--abstract .hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.99) 0%, rgba(3, 6, 9, 0.95) 32%, rgba(3, 6, 9, 0.76) 49%, rgba(3, 6, 9, 0.2) 72%, rgba(3, 6, 9, 0.3) 100%),
    linear-gradient(0deg, rgba(2, 4, 7, 0.76) 0%, transparent 32%, rgba(2, 4, 7, 0.22) 100%);
}

.hero--abstract::after {
  content: '';
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(74, 177, 236, 0.48) 72%, rgba(238, 83, 42, 0.66));
}

.hero--abstract .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 790px) 1fr;
  align-items: center;
  gap: clamp(44px, 7vw, 120px);
  padding-top: clamp(132px, 16vh, 176px);
  padding-bottom: clamp(76px, 10vh, 116px);
}

.hero--abstract .hero-copy {
  position: relative;
  width: min(100%, 790px);
}

.hero--abstract .eyebrow,
.hero--abstract h1,
.hero--abstract .hero-lead {
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--abstract .eyebrow {
  transform: translate3d(var(--hero-copy-soft-x), var(--hero-copy-soft-y), 0);
}

.hero--abstract h1 {
  transform: translate3d(var(--hero-copy-x), var(--hero-copy-y), 0);
}

.hero--abstract .hero-lead {
  transform: translate3d(var(--hero-copy-strong-x), var(--hero-copy-strong-y), 0);
}

.hero--abstract .eyebrow {
  margin-bottom: 24px;
  color: #a7d6f5;
  letter-spacing: 0.12em;
}

.hero--abstract .eyebrow span {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, #fff, #55bcea);
}

.hero--abstract h1 {
  max-width: 790px;
  font-size: clamp(52px, 5.35vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero--abstract h1 em {
  color: #b5d8ff;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.hero--abstract.is-edge-charged h1 em {
  color: #dff4ff;
  text-shadow: 0 0 24px rgba(90, 191, 255, 0.35);
}

.hero--abstract .hero-lead {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(242, 247, 252, 0.72);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.hero--abstract .hero-actions {
  margin-top: 38px;
  gap: 10px;
}

.hero--abstract .button {
  min-height: 54px;
  border-radius: 2px;
}

.hero--abstract .button-primary {
  background: var(--blue);
  box-shadow: 0 16px 44px rgba(0, 94, 218, 0.28);
}

.hero--abstract .button-primary:hover,
.hero--abstract .button-primary:focus-visible {
  background: var(--blue-2);
  box-shadow: 0 20px 48px rgba(0, 94, 218, 0.38);
}

.hero--abstract .button-ghost {
  border-color: rgba(227, 239, 250, 0.32);
  background: rgba(5, 9, 13, 0.34);
  backdrop-filter: blur(8px);
}

.hero--abstract .button-ghost:hover,
.hero--abstract .button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.09);
}

@media (max-width: 1180px) {
  .hero--abstract .hero-content {
    grid-template-columns: minmax(0, 710px) 1fr;
  }

  .hero--abstract h1 {
    max-width: 710px;
    font-size: clamp(50px, 5.9vw, 72px);
  }
}

@media (max-height: 780px) and (min-width: 641px) {
  .hero--abstract .hero-content {
    padding-top: 108px;
    padding-bottom: 40px;
  }

  .hero--abstract .eyebrow {
    margin-bottom: 18px;
  }

  .hero--abstract h1 {
    font-size: clamp(48px, 4.9vw, 68px);
  }

  .hero--abstract .hero-lead {
    margin-top: 22px;
  }

  .hero--abstract .hero-actions {
    margin-top: 29px;
  }
}

@media (max-width: 980px) {
  .hero--abstract .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--abstract .hero-copy {
    width: min(74vw, 710px);
  }

  .hero--abstract .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 6, 9, 0.98) 0%, rgba(3, 6, 9, 0.91) 43%, rgba(3, 6, 9, 0.54) 72%, rgba(3, 6, 9, 0.28) 100%),
      linear-gradient(0deg, rgba(2, 4, 7, 0.74), transparent 42%);
  }
}

@media (max-width: 640px) {
  .hero--abstract {
    min-height: max(560px, calc(100svh - 22px));
    background: #05080b;
  }

  .hero-abstract-image {
    object-position: 58% center;
    filter: saturate(0.9) contrast(1.03) brightness(0.88);
  }

  .hero-abstract-spotlight {
    display: none;
  }

  .hero-abstract-edges,
  .hero-abstract-sparks {
    display: none;
  }

  .hero--abstract .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 6, 9, 0.96) 0%, rgba(3, 6, 9, 0.82) 62%, rgba(3, 6, 9, 0.54) 100%),
      linear-gradient(0deg, rgba(2, 4, 7, 0.88) 0%, rgba(2, 4, 7, 0.26) 56%, rgba(2, 4, 7, 0.3) 100%);
  }

  .hero--abstract .hero-content {
    align-items: center;
    padding-top: 104px;
    padding-bottom: 52px;
  }

  .hero--abstract .hero-copy {
    width: 100%;
  }

  .hero--abstract .eyebrow {
    max-width: 100%;
    margin-bottom: 17px;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero--abstract .eyebrow span {
    width: 20px;
  }

  .hero--abstract h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.8vw, 42px);
    line-height: 1.01;
  }

  .hero--abstract .hero-lead {
    max-width: 92%;
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.48;
  }

  .hero--abstract .hero-actions {
    margin-top: 25px;
    gap: 8px;
  }

  .hero--abstract .button {
    min-height: 49px;
  }
}

@media (max-width: 390px), (max-height: 660px) {
  .hero--abstract {
    min-height: max(548px, calc(100svh - 20px));
  }

  .hero--abstract .hero-content {
    padding-top: 84px;
    padding-bottom: 28px;
  }

  .hero--abstract h1 {
    font-size: clamp(32px, 9.3vw, 37px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-abstract-image {
    animation: none;
    transform: scale(1.015);
  }

  .hero-abstract-spotlight {
    display: none;
  }

  .hero-abstract-edges,
  .hero-abstract-sparks {
    display: none;
  }

  .hero--abstract .eyebrow,
  .hero--abstract h1,
  .hero--abstract .hero-lead,
  .hero--abstract h1 em {
    transition: none;
    transform: none;
  }
}

/* Multipage service system 1.6.0 */
.astra-service-page {
  background: #f4f6f8;
}

.astra-service-hero {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #07111f;
}

.astra-service-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.astra-service-hero-media::before,
.astra-service-hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.astra-service-hero-media::before {
  background:
    linear-gradient(90deg, rgba(4, 9, 15, 0.98) 0%, rgba(4, 10, 17, 0.88) 42%, rgba(4, 10, 17, 0.24) 76%, rgba(4, 10, 17, 0.42) 100%),
    linear-gradient(0deg, rgba(4, 9, 15, 0.86), transparent 54%);
}

.astra-service-hero-media::after {
  opacity: 0.34;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(84, 166, 255, 0.62) 74.1% 74.25%, transparent 74.35%),
    linear-gradient(0deg, transparent 0 22%, rgba(255, 255, 255, 0.32) 22.1% 22.22%, transparent 22.32%);
}

.astra-service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.015);
  transition: transform 1400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.astra-service-hero:hover .astra-service-hero-media img {
  transform: scale(1.035);
}

.astra-service-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 128px;
  padding-bottom: 86px;
}

.astra-service-hero .astra-breadcrumb {
  margin-bottom: 34px;
}

.astra-service-hero .eyebrow {
  margin: 0 0 20px;
  color: rgba(231, 241, 250, 0.72);
}

.astra-service-hero .eyebrow span {
  background: #66adff;
}

.astra-service-index {
  position: absolute;
  right: 0;
  bottom: 50px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 210px;
  font-weight: 300;
  line-height: 0.8;
  pointer-events: none;
}

.astra-service-hero h1 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: 78px;
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.astra-service-hero .astra-page-lead {
  max-width: 760px;
  color: rgba(239, 245, 251, 0.76);
}

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

.astra-service-hero .button-secondary,
.astra-service-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.astra-service-hero .button-secondary:hover,
.astra-service-hero .button-secondary:focus-visible,
.astra-service-cta .button-secondary:hover,
.astra-service-cta .button-secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.astra-service-facts {
  color: rgba(240, 246, 252, 0.72);
  background: #0a1726;
}

.astra-service-facts .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
  padding-bottom: 0;
}

.astra-service-facts .container > div {
  min-width: 0;
  padding: 28px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.astra-service-facts .container > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.astra-service-facts span,
.astra-service-facts strong {
  display: block;
}

.astra-service-facts span {
  margin-bottom: 8px;
  color: #66adff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-service-facts strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.astra-service-nav {
  position: sticky;
  z-index: 20;
  top: 78px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(15, 24, 38, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.astra-service-nav .container {
  display: flex;
  min-width: max-content;
  gap: 34px;
}

.astra-service-nav a {
  position: relative;
  padding: 18px 0;
  color: #5b6570;
  font-size: 13px;
  font-weight: 600;
}

.astra-service-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: #075ee8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.astra-service-nav a:hover,
.astra-service-nav a:focus-visible {
  color: #111419;
}

.astra-service-nav a:hover::after,
.astra-service-nav a:focus-visible::after {
  transform: scaleX(1);
}

.astra-service-section {
  scroll-margin-top: 138px;
  padding: 108px 0;
}

.astra-section-heading > p,
.astra-kicker {
  margin: 0 0 18px;
  color: #075ee8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-section-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

.astra-section-heading-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.astra-section-heading-row > p {
  padding-top: 8px;
}

.astra-service-brief {
  background: #fff;
}

.astra-service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 90px;
  align-items: start;
}

.astra-service-intro .astra-section-heading h2 {
  font-size: 48px;
}

.astra-service-editor-content {
  padding-top: 2px;
  color: #59636e;
  font-size: 17px;
}

.astra-service-editor-content h2 {
  margin: 0 0 22px;
  color: #111419;
  font-size: 26px;
  font-weight: 500;
}

.astra-service-editor-content p {
  margin-top: 0;
}

.astra-service-scope {
  background: #eef2f5;
}

.astra-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 58px 0 0;
  padding: 1px;
  gap: 1px;
  list-style: none;
  counter-reset: scope;
  background: rgba(15, 24, 38, 0.12);
}

.astra-scope-grid li {
  position: relative;
  min-height: 210px;
  padding: 78px 30px 30px;
  counter-increment: scope;
  background: #fff;
}

.astra-scope-grid li::before {
  position: absolute;
  top: 26px;
  left: 30px;
  content: counter(scope, decimal-leading-zero);
  color: #075ee8;
  font-size: 12px;
  font-weight: 700;
}

.astra-scope-grid li::after {
  position: absolute;
  top: 32px;
  right: 30px;
  width: 34px;
  height: 1px;
  content: "";
  background: #ef332f;
}

.astra-scope-grid span {
  display: block;
  max-width: 300px;
  font-size: 20px;
  line-height: 1.35;
}

.astra-service-technical {
  color: #f3f7fb;
  background: #07111f;
}

.astra-technical-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr);
  gap: 86px;
  align-items: end;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.astra-service-technical .astra-section-heading > p {
  color: #66adff;
}

.astra-technical-header > p {
  margin: 0;
  color: rgba(232, 241, 249, 0.66);
  font-size: 17px;
  line-height: 1.7;
}

.astra-service-specs {
  margin: 0;
}

.astra-service-specs > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 44px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.astra-service-specs dt {
  color: rgba(222, 233, 243, 0.52);
}

.astra-service-specs dd {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.astra-service-exchange {
  background: #fff;
}

.astra-exchange-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(15, 24, 38, 0.14);
}

.astra-exchange-grid > div {
  padding: 58px;
  background: #fff;
}

.astra-exchange-grid > div:last-child {
  background: #f1f4f7;
}

.astra-exchange-grid h2 {
  margin: 0 0 34px;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
}

.astra-exchange-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.astra-exchange-grid li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-top: 1px solid rgba(15, 24, 38, 0.12);
  line-height: 1.55;
}

.astra-exchange-grid li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 8px;
  height: 8px;
  content: "";
  border: 2px solid #075ee8;
}

.astra-service-stages {
  background: #eef2f5;
}

.astra-service-stages > .container > ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(15, 24, 38, 0.2);
}

.astra-service-stages li {
  position: relative;
  min-width: 0;
  padding: 38px 26px 0 0;
}

.astra-service-stages li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  border: 2px solid #eef2f5;
  border-radius: 50%;
  background: #075ee8;
  box-shadow: 0 0 0 1px #075ee8;
}

.astra-service-stages h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.astra-service-stages p {
  margin: 0;
  color: #66707b;
  font-size: 14px;
  line-height: 1.58;
}

.astra-service-evidence {
  background: #fff;
}

.astra-evidence-grid,
.astra-related-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  padding: 1px;
  background: rgba(15, 24, 38, 0.14);
}

.astra-evidence-grid > a,
.astra-related-service-grid > a {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  transition: color 180ms ease, background-color 180ms ease;
}

.astra-evidence-grid span,
.astra-related-service-grid span {
  margin-bottom: 32px;
  color: #075ee8;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-evidence-grid strong,
.astra-related-service-grid strong {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: break-word;
}

.astra-evidence-grid small,
.astra-related-service-grid small {
  margin-top: auto;
  padding-top: 28px;
  color: #66707b;
}

.astra-evidence-grid > a:hover,
.astra-evidence-grid > a:focus-visible,
.astra-related-service-grid > a:hover,
.astra-related-service-grid > a:focus-visible {
  color: #fff;
  background: #075ee8;
}

.astra-evidence-grid > a:hover span,
.astra-evidence-grid > a:hover small,
.astra-related-service-grid > a:hover span,
.astra-related-service-grid > a:hover small,
.astra-evidence-grid > a:focus-visible span,
.astra-evidence-grid > a:focus-visible small,
.astra-related-service-grid > a:focus-visible span,
.astra-related-service-grid > a:focus-visible small {
  color: rgba(255, 255, 255, 0.78);
}

.astra-service-faq {
  background: #eef2f5;
}

.astra-faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}

.astra-faq-list {
  border-top: 1px solid rgba(15, 24, 38, 0.18);
}

.astra-faq-list details {
  border-bottom: 1px solid rgba(15, 24, 38, 0.18);
}

.astra-faq-list summary {
  position: relative;
  padding: 28px 52px 28px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.astra-faq-list summary::-webkit-details-marker {
  display: none;
}

.astra-faq-list summary::after {
  position: absolute;
  top: 26px;
  right: 0;
  content: "+";
  color: #075ee8;
  font-size: 25px;
  font-weight: 300;
}

.astra-faq-list details[open] summary::after {
  content: "−";
}

.astra-faq-list details p {
  max-width: 760px;
  margin: -4px 0 28px;
  color: #5f6974;
  line-height: 1.68;
}

.astra-related-services {
  background: #fff;
}

.astra-related-service-grid > a {
  min-height: 270px;
}

.astra-service-cta {
  padding: 104px 0;
  color: #fff;
  background: #07111f;
}

.astra-service-cta .container {
  display: grid;
  grid-template-columns: minmax(120px, 0.2fr) minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
}

.astra-service-cta p {
  margin: 0;
  color: #66adff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.astra-service-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

.astra-service-cta .container > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.astra-service-cta .button {
  min-width: 190px;
}

.post-type-archive-astra_service .astra-content-card-media img {
  background: #e9eef3;
}

@media (max-width: 1180px) {
  .astra-service-hero {
    min-height: 620px;
  }

  .astra-service-hero h1 {
    max-width: 760px;
    font-size: 64px;
  }

  .astra-service-index {
    font-size: 160px;
  }

  .astra-service-facts .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-service-facts .container > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .astra-service-facts .container > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .astra-section-heading h2 {
    font-size: 44px;
  }

  .astra-service-intro,
  .astra-technical-header,
  .astra-faq-layout {
    gap: 58px;
  }

  .astra-service-stages > .container > ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 0;
  }

  .astra-service-stages li:nth-child(4) {
    grid-column: 1;
  }

  .astra-service-cta .container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .astra-service-cta p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .astra-service-hero {
    min-height: 590px;
  }

  .astra-service-hero-media::before {
    background: linear-gradient(90deg, rgba(4, 9, 15, 0.96), rgba(4, 10, 17, 0.76));
  }

  .astra-service-hero-copy {
    padding-top: 110px;
    padding-bottom: 68px;
  }

  .astra-service-hero h1 {
    max-width: 660px;
    font-size: 50px;
  }

  .astra-service-index {
    display: none;
  }

  .astra-service-nav {
    top: 68px;
  }

  .astra-service-section {
    padding: 80px 0;
  }

  .astra-section-heading-row,
  .astra-service-intro,
  .astra-technical-header,
  .astra-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .astra-section-heading-row > p {
    padding-top: 0;
  }

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

  .astra-exchange-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .astra-service-stages > .container > ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-service-stages li:nth-child(4) {
    grid-column: auto;
  }

  .astra-evidence-grid,
  .astra-related-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-service-cta .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .astra-service-cta .container > div {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .astra-service-hero {
    min-height: 570px;
  }

  .astra-service-hero-media img {
    object-position: 60% center;
    transform: none;
  }

  .astra-service-hero-copy {
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .astra-service-hero .astra-breadcrumb {
    margin-bottom: 24px;
  }

  .astra-service-hero h1 {
    font-size: 38px;
    line-height: 1.03;
  }

  .astra-service-hero .astra-page-lead {
    font-size: 16px;
  }

  .astra-service-hero-actions {
    margin-top: 28px;
  }

  .astra-service-hero-actions .button {
    width: 100%;
  }

  .astra-service-facts .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .astra-service-facts .container > div {
    padding: 22px 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .astra-service-facts .container > div:first-child {
    border-top: 0;
  }

  .astra-service-facts .container > div:last-child {
    border-right: 0;
  }

  .astra-service-nav .container {
    gap: 24px;
  }

  .astra-service-nav a {
    padding: 15px 0;
    font-size: 12px;
  }

  .astra-service-section {
    scroll-margin-top: 118px;
    padding: 64px 0;
  }

  .astra-section-heading h2,
  .astra-service-intro .astra-section-heading h2 {
    font-size: 32px;
  }

  .astra-service-editor-content {
    font-size: 16px;
  }

  .astra-scope-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 38px;
  }

  .astra-scope-grid li {
    min-height: 160px;
  }

  .astra-technical-header {
    padding-bottom: 38px;
  }

  .astra-service-specs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 20px 0;
  }

  .astra-service-specs dd {
    font-size: 16px;
  }

  .astra-exchange-grid > div {
    padding: 36px 24px;
  }

  .astra-exchange-grid h2 {
    font-size: 30px;
  }

  .astra-service-stages > .container > ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 40px;
    border-top: 0;
    border-left: 1px solid rgba(15, 24, 38, 0.2);
  }

  .astra-service-stages li {
    padding: 0 0 34px 28px;
  }

  .astra-service-stages li::before {
    top: 5px;
    left: -5px;
  }

  .astra-evidence-grid,
  .astra-related-service-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 38px;
  }

  .astra-evidence-grid > a,
  .astra-related-service-grid > a {
    min-height: 210px;
  }

  .astra-faq-list summary {
    font-size: 17px;
  }

  .astra-service-cta {
    padding: 72px 0;
  }

  .astra-service-cta h2 {
    font-size: 34px;
  }

  .astra-service-cta .container > div,
  .astra-service-cta .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .astra-service-hero h1 {
    font-size: 32px;
  }

  .astra-service-hero .eyebrow {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astra-service-hero-media img,
  .astra-service-nav a::after,
  .astra-evidence-grid > a,
  .astra-related-service-grid > a {
    transition: none;
  }
}

/* Production pages */
.astra-product-page,
.astra-project-page {
  background: #f4f6f5;
  color: #17201f;
}

.astra-product-hero,
.astra-project-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #111716;
  color: #fff;
}

.astra-product-hero-media,
.astra-project-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.astra-product-hero-media::before,
.astra-project-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 15, 14, .94) 0%, rgba(10, 15, 14, .77) 40%, rgba(10, 15, 14, .22) 74%, rgba(10, 15, 14, .48) 100%),
    linear-gradient(0deg, rgba(10, 15, 14, .86) 0%, transparent 52%);
}

.astra-product-hero-media::after,
.astra-project-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  opacity: .4;
}

.astra-product-hero-media img,
.astra-project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.84) contrast(1.06);
  transform: scale(1.01);
  transition: filter .7s ease;
}

.astra-product-hero:hover .astra-product-hero-media img,
.astra-project-hero:hover .astra-project-hero-media img {
  filter: saturate(1) contrast(1.08);
}

.astra-product-hero-copy,
.astra-project-hero-copy {
  position: relative;
  padding-top: 156px;
  padding-bottom: 78px;
}

.astra-product-hero-copy::before {
  content: "ASTRA / PRODUCTION";
  position: absolute;
  right: 0;
  bottom: 80px;
  color: rgba(255, 255, 255, .2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  writing-mode: vertical-rl;
}

.astra-product-hero .astra-breadcrumb,
.astra-project-hero .astra-breadcrumb {
  color: rgba(255, 255, 255, .72);
}

.astra-product-hero .eyebrow,
.astra-project-hero .eyebrow {
  color: #d9e1df;
}

.astra-product-hero .eyebrow span,
.astra-project-hero .eyebrow span {
  background: #d4382d;
}

.astra-product-hero h1,
.astra-project-hero h1 {
  max-width: 980px;
  margin: 20px 0 22px;
  color: #fff;
  font-size: clamp(48px, 6.2vw, 94px);
  line-height: .98;
}

.astra-product-hero .astra-page-lead,
.astra-project-hero .astra-page-lead {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 21px;
  line-height: 1.55;
}

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

.astra-product-hero .button-secondary,
.astra-product-cta .button-secondary,
.astra-project-cta .button-secondary {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.astra-product-hero .button-secondary:hover,
.astra-product-hero .button-secondary:focus-visible,
.astra-product-cta .button-secondary:hover,
.astra-product-cta .button-secondary:focus-visible,
.astra-project-cta .button-secondary:hover,
.astra-project-cta .button-secondary:focus-visible {
  border-color: #fff;
  color: #111716;
  background: #fff;
}

.astra-product-facts,
.astra-project-facts {
  border-bottom: 1px solid #cfd6d3;
  background: #fff;
}

.astra-product-facts .container,
.astra-project-facts .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.astra-product-facts .container > div,
.astra-project-facts .container > div {
  min-height: 116px;
  padding: 27px 24px;
  border-left: 1px solid #dfe4e2;
}

.astra-product-facts .container > div:last-child,
.astra-project-facts .container > div:last-child {
  border-right: 1px solid #dfe4e2;
}

.astra-product-facts span,
.astra-product-facts strong,
.astra-project-facts span,
.astra-project-facts strong {
  display: block;
}

.astra-product-facts span,
.astra-project-facts span {
  margin-bottom: 8px;
  color: #6b7774;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.astra-product-facts strong,
.astra-project-facts strong {
  color: #17201f;
  font-size: 16px;
  line-height: 1.35;
}

.astra-product-nav,
.astra-project-nav {
  position: sticky;
  top: 72px;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 32, 31, .16);
  background: rgba(244, 246, 245, .94);
  backdrop-filter: blur(14px);
}

.astra-product-nav .container,
.astra-project-nav .container {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.astra-product-nav .container::-webkit-scrollbar,
.astra-project-nav .container::-webkit-scrollbar {
  display: none;
}

.astra-product-nav a,
.astra-project-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 19px 0 18px;
  color: #394441;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.astra-product-nav a::after,
.astra-project-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #d4382d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.astra-product-nav a:hover::after,
.astra-product-nav a:focus-visible::after,
.astra-project-nav a:hover::after,
.astra-project-nav a:focus-visible::after {
  transform: scaleX(1);
}

.astra-product-section,
.astra-project-section {
  padding: 112px 0;
  scroll-margin-top: 136px;
}

.astra-product-section .astra-section-heading > p,
.astra-project-section .astra-section-heading > p {
  color: #d4382d;
}

.astra-product-passport {
  background: #f4f6f5;
}

.astra-product-passport > .container > .astra-section-heading {
  max-width: 1000px;
  margin-bottom: 56px;
}

.astra-product-passport > .container > .astra-section-heading h2,
.astra-project-result .astra-section-heading h2 {
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.08;
}

.astra-product-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 7vw;
  align-items: start;
}

.astra-product-editor-content {
  padding-top: 0;
  border-top: 4px solid #17201f;
}

.astra-product-editor-content h2 {
  margin-top: 30px;
}

.astra-product-applications {
  padding: 30px 0 0;
  border-top: 4px solid #d4382d;
}

.astra-product-applications ul,
.astra-product-exchange ul {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.astra-product-applications li,
.astra-product-exchange li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid #cfd6d3;
  color: #3f4b48;
  line-height: 1.5;
}

.astra-product-applications li::before,
.astra-product-exchange li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 1px;
  width: 9px;
  height: 9px;
  background: #2d7570;
}

.astra-product-engineering {
  color: #fff;
  background: #151c1b;
}

.astra-product-engineering-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 8vw;
  align-items: end;
  margin-bottom: 64px;
}

.astra-product-engineering .astra-section-heading h2 {
  color: #fff;
}

.astra-product-engineering-head > p {
  margin: 0;
  color: #aebbb7;
  font-size: 18px;
  line-height: 1.7;
}

.astra-product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.astra-product-specs > div {
  min-height: 156px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.astra-product-specs dt {
  margin-bottom: 16px;
  color: #78aaa6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.astra-product-specs dd {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.astra-product-configuration {
  background: #fff;
}

.astra-product-configuration ol,
.astra-product-stages ol {
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}

.astra-product-configuration ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfd6d3;
  border-left: 1px solid #cfd6d3;
}

.astra-product-configuration li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  min-height: 190px;
  padding: 32px;
  border-right: 1px solid #cfd6d3;
  border-bottom: 1px solid #cfd6d3;
}

.astra-product-configuration li > span {
  color: #d4382d;
  font-size: 13px;
  font-weight: 800;
}

.astra-product-configuration h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.astra-product-configuration li p {
  margin: 0;
  color: #64716d;
  line-height: 1.6;
}

.astra-product-stages {
  background: #dce4e1;
}

.astra-product-stages ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: product-stage;
  border-top: 1px solid #aebbb7;
  border-left: 1px solid #aebbb7;
}

.astra-product-stages li {
  position: relative;
  min-height: 226px;
  padding: 62px 30px 30px;
  border-right: 1px solid #aebbb7;
  border-bottom: 1px solid #aebbb7;
  counter-increment: product-stage;
}

.astra-product-stages li::before {
  content: counter(product-stage, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 30px;
  color: #2d7570;
  font-size: 12px;
  font-weight: 800;
}

.astra-product-stages h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.astra-product-stages p {
  margin: 0;
  color: #4c5956;
  line-height: 1.6;
}

.astra-product-quality {
  color: #fff;
  background: #2b3331;
}

.astra-product-quality-grid {
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
  gap: 8vw;
}

.astra-product-quality .astra-section-heading h2 {
  color: #fff;
}

.astra-product-quality ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: quality;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.astra-product-quality li {
  position: relative;
  padding: 22px 10px 22px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #dce4e1;
  line-height: 1.55;
  counter-increment: quality;
}

.astra-product-quality li::before {
  content: counter(quality, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #ec6a5f;
  font-weight: 800;
}

.astra-product-exchange {
  background: #fff;
}

.astra-product-exchange > .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8vw;
}

.astra-product-exchange h2 {
  margin: 8px 0 18px;
  font-size: 38px;
}

.astra-product-evidence,
.astra-product-related,
.astra-project-related {
  background: #eef1f0;
}

.astra-product-evidence-grid,
.astra-product-related-grid,
.astra-project-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 50px;
  border-top: 1px solid #cbd2d0;
  border-left: 1px solid #cbd2d0;
}

.astra-product-evidence-grid > a,
.astra-product-related-grid > a,
.astra-project-related-grid > a {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid #cbd2d0;
  border-bottom: 1px solid #cbd2d0;
  color: #17201f;
  text-decoration: none;
  transition: color .22s ease, background .22s ease;
}

.astra-product-evidence-grid > a:hover,
.astra-product-related-grid > a:hover,
.astra-project-related-grid > a:hover {
  color: #fff;
  background: #2d7570;
}

.astra-product-evidence-grid span,
.astra-product-related-grid span,
.astra-project-related-grid span {
  color: #d4382d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.astra-product-evidence-grid > a:hover span,
.astra-product-related-grid > a:hover span,
.astra-project-related-grid > a:hover span {
  color: #fff;
}

.astra-product-evidence-grid strong,
.astra-product-related-grid strong,
.astra-project-related-grid strong {
  margin: 24px 0;
  font-size: 20px;
  line-height: 1.35;
}

.astra-product-evidence-grid small,
.astra-product-related-grid small,
.astra-project-related-grid small {
  margin-top: auto;
  font-weight: 800;
}

.astra-product-faq {
  background: #fff;
}

.astra-product-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  gap: 8vw;
}

.astra-product-faq-list {
  border-top: 1px solid #cbd2d0;
}

.astra-product-faq-list details {
  border-bottom: 1px solid #cbd2d0;
}

.astra-product-faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

.astra-product-faq-list summary::-webkit-details-marker {
  display: none;
}

.astra-product-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  color: #d4382d;
  font-size: 30px;
  font-weight: 400;
}

.astra-product-faq-list details[open] summary::after {
  content: "−";
}

.astra-product-faq-list details p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: #5b6764;
  line-height: 1.7;
}

.astra-product-cta,
.astra-project-cta {
  padding: 100px 0;
  color: #fff;
  background: #151c1b;
}

.astra-product-cta .container,
.astra-project-cta .container {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.astra-product-cta p,
.astra-project-cta p {
  margin: 0;
  color: #ec6a5f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.astra-product-cta h2,
.astra-project-cta h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.12;
}

.astra-product-cta .container > div,
.astra-project-cta .container > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Portfolio object pages */
.astra-project-hero-no-image {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    #151c1b;
  background-size: 64px 64px;
}

.astra-project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.astra-project-hero-meta span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.astra-project-result {
  background: #fff;
}

.astra-project-result-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: 8vw;
}

.astra-project-summary {
  padding-left: 24px;
  border-left: 4px solid #2d7570;
  color: #33403d;
  font-size: 20px;
  line-height: 1.65;
}

.astra-project-contracts {
  background: #dce4e1;
}

.astra-project-contract-list {
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #aebbb7;
}

.astra-project-contract-list > li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  border-right: 1px solid #aebbb7;
  border-bottom: 1px solid #aebbb7;
  border-left: 1px solid #aebbb7;
  background: rgba(255, 255, 255, .34);
}

.astra-project-contract-index {
  padding: 32px;
  border-right: 1px solid #aebbb7;
  color: #d4382d;
  font-size: 15px;
  font-weight: 800;
}

.astra-project-contract-copy {
  padding: 32px 38px;
}

.astra-project-contract-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}

.astra-project-contract-head h3 {
  margin: 0;
  font-size: 25px;
}

.astra-project-contract-head > p {
  flex: 0 0 auto;
  margin: 0;
  color: #2d7570;
  font-size: 13px;
  font-weight: 800;
}

.astra-project-contract-copy > p {
  margin: 10px 0 0;
  color: #52605c;
  line-height: 1.65;
}

.astra-project-specs {
  color: #fff;
  background: #151c1b;
}

.astra-project-specs .astra-section-heading h2 {
  color: #fff;
}

.astra-project-specs dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 50px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.astra-project-specs dl > div {
  min-height: 140px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.astra-project-specs dt {
  margin-bottom: 14px;
  color: #78aaa6;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.astra-project-specs dd {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.astra-project-gallery-section {
  background: #fff;
}

.astra-project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin-top: 52px;
}

.astra-project-gallery-grid > a {
  grid-column: span 4;
  min-height: 300px;
  overflow: hidden;
  background: #dce4e1;
}

.astra-project-gallery-grid > a:first-child {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 612px;
}

.astra-project-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.astra-project-gallery-grid a:hover img {
  transform: scale(1.025);
}

@media (max-width: 1100px) {
  .astra-product-hero h1,
  .astra-project-hero h1 {
    font-size: 64px;
  }

  .astra-product-facts .container,
  .astra-project-facts .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-product-facts .container > div:nth-child(2),
  .astra-project-facts .container > div:nth-child(2) {
    border-right: 1px solid #dfe4e2;
  }

  .astra-product-specs,
  .astra-product-stages ol,
  .astra-project-specs dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-product-cta .container,
  .astra-project-cta .container {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .astra-product-cta .container > div,
  .astra-project-cta .container > div {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .astra-product-hero,
  .astra-project-hero {
    min-height: 660px;
  }

  .astra-product-hero-media::before,
  .astra-project-hero-media::before {
    background:
      linear-gradient(0deg, rgba(10, 15, 14, .96) 0%, rgba(10, 15, 14, .62) 68%, rgba(10, 15, 14, .36) 100%);
  }

  .astra-product-hero-copy,
  .astra-project-hero-copy {
    padding-top: 150px;
    padding-bottom: 58px;
  }

  .astra-product-hero-copy::before {
    display: none;
  }

  .astra-product-section,
  .astra-project-section {
    padding: 84px 0;
  }

  .astra-product-intro-grid,
  .astra-product-engineering-head,
  .astra-product-quality-grid,
  .astra-product-faq-layout,
  .astra-project-result-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .astra-product-configuration ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .astra-product-exchange > .container {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .astra-product-evidence-grid,
  .astra-product-related-grid,
  .astra-project-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astra-project-gallery-grid > a,
  .astra-project-gallery-grid > a:first-child {
    grid-column: span 6;
    grid-row: auto;
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .astra-product-hero,
  .astra-project-hero {
    min-height: 620px;
  }

  .astra-product-hero-copy,
  .astra-project-hero-copy {
    padding-top: 128px;
    padding-bottom: 44px;
  }

  .astra-product-hero h1,
  .astra-project-hero h1 {
    margin-top: 14px;
    font-size: 39px;
    line-height: 1.03;
  }

  .astra-product-hero .astra-page-lead,
  .astra-project-hero .astra-page-lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .astra-product-hero-actions,
  .astra-product-hero-actions .button {
    width: 100%;
  }

  .astra-product-facts .container,
  .astra-project-facts .container {
    grid-template-columns: 1fr;
  }

  .astra-product-facts .container > div,
  .astra-project-facts .container > div {
    min-height: 0;
    padding: 20px 4px;
    border-right: 0 !important;
    border-bottom: 1px solid #dfe4e2;
    border-left: 0;
  }

  .astra-product-nav,
  .astra-project-nav {
    top: 62px;
  }

  .astra-product-nav .container,
  .astra-project-nav .container {
    gap: 22px;
  }

  .astra-product-section,
  .astra-project-section {
    padding: 68px 0;
  }

  .astra-product-passport > .container > .astra-section-heading {
    margin-bottom: 38px;
  }

  .astra-product-passport > .container > .astra-section-heading h2,
  .astra-project-result .astra-section-heading h2 {
    font-size: 32px;
  }

  .astra-product-specs,
  .astra-product-stages ol,
  .astra-product-evidence-grid,
  .astra-product-related-grid,
  .astra-project-specs dl,
  .astra-project-related-grid {
    grid-template-columns: 1fr;
  }

  .astra-product-specs > div {
    min-height: 0;
    padding: 24px;
  }

  .astra-product-configuration li {
    grid-template-columns: 42px 1fr;
    min-width: 0;
    min-height: 0;
    padding: 26px 20px;
  }

  .astra-product-configuration li > div {
    min-width: 0;
  }

  .astra-product-configuration h3 {
    overflow-wrap: anywhere;
  }

  .astra-product-stages li {
    min-height: 0;
  }

  .astra-product-exchange h2 {
    font-size: 31px;
  }

  .astra-product-cta,
  .astra-project-cta {
    padding: 72px 0;
  }

  .astra-product-cta .container,
  .astra-project-cta .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .astra-product-cta h2,
  .astra-project-cta h2 {
    font-size: 32px;
  }

  .astra-product-cta .container > div,
  .astra-project-cta .container > div {
    grid-column: 1;
    width: 100%;
  }

  .astra-product-cta .button,
  .astra-project-cta .button {
    width: 100%;
  }

  .astra-project-contract-list > li {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .astra-project-contract-index {
    padding: 24px 14px;
  }

  .astra-project-contract-copy {
    padding: 24px 18px;
  }

  .astra-project-contract-head {
    display: block;
  }

  .astra-project-contract-head > p {
    margin-top: 10px;
  }

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

  .astra-project-gallery-grid > a,
  .astra-project-gallery-grid > a:first-child {
    grid-column: auto;
    min-height: 260px;
  }
}

@media (max-width: 380px) {
  .astra-product-hero h1,
  .astra-project-hero h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astra-product-hero-media img,
  .astra-project-hero-media img,
  .astra-product-nav a::after,
  .astra-project-nav a::after,
  .astra-product-evidence-grid > a,
  .astra-product-related-grid > a,
  .astra-project-related-grid > a,
  .astra-project-gallery-grid img {
    transition: none;
  }
}
