/*
Theme Name: Pogranproekt Site
Theme URI: https://pogranproekt.ru/
Author: ПОГРАНПРОЕКТ
Description: Рабочая тема сайта проектного института ПОГРАНПРОЕКТ.
Version: 1.0.0
Text Domain: pogranproekt
*/
:root {
  --bg: #ffffff;
  --paper: #f5f7f4;
  --ink: #202a24;
  --muted: #667269;
  --line: #d8ded8;
  --green: #176b4b;
  --green-deep: #0d3f30;
  --mint: #dfeee7;
  --amber: #b97a28;
  --shadow: 0 18px 44px rgba(24, 45, 35, 0.12);
  --radius: 8px;
  --max: 1180px;
  --font-main: "Segoe UI", "Golos Text", "Inter", "Manrope", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #314137;
  font-size: 14px;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.site-nav a.is-active {
  border-color: var(--green);
  color: var(--green-deep);
}

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

.phone-link {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.button-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 13px;
}

.button-ghost {
  background: #fff;
  color: var(--green-deep);
  border-color: #b9cbc1;
}

.button-ghost:hover {
  background: var(--mint);
  border-color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: 42px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 34px;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-row span {
  min-height: 58px;
  padding: 14px;
  background: var(--paper);
  color: #33433b;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  gap: 4px;
  align-content: center;
}

.proof-row strong {
  display: block;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.05;
}

.hero-media {
  display: grid;
  grid-template-columns: 1.3fr 0.82fr;
  gap: 12px;
  min-height: 455px;
}

.hero-media img,
.brawoliner-media img,
.project-feature img,
.project-list img,
.service-card img,
.trust-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-main {
  height: 100%;
  min-height: 455px;
}

.hero-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.hero-stack img {
  height: 143px;
}

.service-rail {
  position: sticky;
  top: 78px;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1px;
  padding: 0 24px;
  background: var(--green-deep);
  scrollbar-width: none;
}

.service-rail::-webkit-scrollbar {
  display: none;
}

.service-rail a {
  min-height: 52px;
  padding: 15px 22px;
  color: #ecf6f1;
  font-size: 14px;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.service-rail a:hover {
  background: var(--green);
}

.intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.intro h2,
.section-head h2,
.tender-band h2,
.brawoliner h2,
.request h2,
.contacts h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.section-head p,
.tender-band p,
.brawoliner p,
.request p,
.contacts p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.intro-grid div {
  min-height: 138px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.intro-grid strong {
  display: block;
  color: var(--amber);
  font-size: 30px;
  line-height: 1;
}

.intro-grid span {
  display: block;
  margin-top: 22px;
  color: #33433b;
  font-weight: 700;
}

.services,
.trust {
  background: linear-gradient(180deg, #fff 0, #fff 18%, var(--paper) 18%, var(--paper) 100%);
  max-width: none;
}

.services > *,
.trust > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(40, 60, 50, 0.06);
}

.service-card img {
  height: 190px;
  border-radius: 0;
}

.service-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-card h3,
.project-feature h3,
.project-list h3,
.trust-grid h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.service-card p,
.project-feature p,
.project-list p,
.trust-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 700;
}

.services-page-list .detail-grid article {
  overflow: hidden;
  padding: 0;
}

.services-page-list .detail-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.services-page-list .detail-grid span,
.services-page-list .detail-grid h3,
.services-page-list .detail-grid p,
.services-page-list .detail-grid a {
  margin-right: 22px;
  margin-left: 22px;
}

.services-page-list .detail-grid span {
  margin-top: 22px;
}

.services-page-list .detail-grid a {
  display: inline-block;
  margin-bottom: 22px;
}

.projects {
  padding-top: 96px;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-feature {
  min-height: 650px;
  background: var(--green-deep);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-feature img {
  height: 440px;
  border-radius: 0;
}

.project-feature div {
  padding: 28px;
}

.project-feature p {
  color: #d3e4dc;
}

.project-list {
  display: grid;
  gap: 16px;
}

.project-list article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 206px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-list img {
  height: 178px;
}

.tender-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  background: var(--green-deep);
  color: #fff;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
}

.tender-band p {
  color: #c7d9d2;
}

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

.tender-grid div {
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.tender-grid strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.tender-grid span {
  display: block;
  margin-top: 16px;
  color: #dcece5;
}

.brawoliner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.brawoliner-media {
  position: relative;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brawoliner-media > img:last-child {
  height: 410px;
}

.brawoliner-logo {
  position: absolute;
  left: 34px;
  top: 34px;
  width: 210px;
  height: auto;
  padding: 10px 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow);
}

.brawoliner-media .brawoliner-logo {
  width: 210px;
  max-width: calc(100% - 68px);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #33433b;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
}

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

.trust-grid article {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.team-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.team-navigation .button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 700px) {
  .team-navigation {
    grid-template-columns: 1fr;
  }
}

.trust-link {
  display: block;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trust-link:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 107, 75, 0.42);
  box-shadow: 0 14px 30px rgba(24, 45, 35, 0.1);
}

.team-proof-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}

.team-card-stack {
  display: grid;
  gap: 16px;
}

.team-card-stack article {
  min-height: 0;
}

.team-photo-card {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.team-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.trust-grid img {
  height: 230px;
  object-position: top center;
  background: #fff;
}

.trust-grid h3 {
  margin-top: 18px;
}

.request {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.estimate-box {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.estimate-box span,
.estimate-box small {
  display: block;
  color: var(--muted);
}

.estimate-box strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--green-deep);
  font-size: 34px;
  line-height: 1.1;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #314137;
  font-size: 13px;
  font-weight: 700;
}

.lead-form .form-message,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  background: #fff;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(23, 107, 75, 0.18);
  border-color: var(--green);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.quick-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding-top: 44px;
}

.quick-contact h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.quick-contact p {
  margin: 0;
  color: var(--muted);
}

.callback-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.callback-form label {
  display: grid;
  gap: 7px;
  color: #314137;
  font-size: 13px;
  font-weight: 700;
}

.callback-form input {
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  background: #fff;
}

.callback-form input:focus {
  outline: 2px solid rgba(23, 107, 75, 0.18);
  border-color: var(--green);
}

.callback-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

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

.contact-actions a,
.contact-actions span {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-deep);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 4vw, 42px);
  background: #17211b;
  color: #d7e4dd;
  font-size: 13px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 420px;
  padding-top: 96px;
  padding-bottom: 72px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
}

.page-hero p {
  max-width: 780px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 19px;
}

.page-hero-media {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.page-hero-media > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inline-logo {
  width: 220px;
  margin-bottom: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 42px;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 112px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sticky-note h2,
.workflow-band h2,
.proof-section h2 {
  margin-top: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.detail-grid,
.case-grid,
.proof-grid,
.recommendation-grid,
.recommendation-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid.three,
.proof-grid,
.recommendation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-business-grid {
  margin-top: 18px;
}

.focus-business-grid > article:only-child {
  grid-column: 1 / -1;
}

.detail-grid article,
.case-grid article,
.proof-grid article,
.recommendation-grid article,
.recommendation-board article,
.workflow article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-grid article,
.recommendation-grid article,
.recommendation-board article,
.workflow article {
  padding: 24px;
}

.detail-grid span,
.recommendation-board strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 700;
}

.detail-grid h3,
.case-grid h3,
.proof-grid h3,
.recommendation-grid h3,
.recommendation-board h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.detail-grid p,
.case-grid p,
.proof-grid p,
.recommendation-grid p,
.recommendation-board p,
.workflow p {
  margin: 0 0 16px;
  color: var(--muted);
}

.detail-grid a,
.case-grid a {
  color: var(--green-deep);
  font-weight: 700;
}

.workflow-band {
  background: var(--paper);
}

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

.workflow strong {
  display: block;
  color: var(--amber);
  font-size: 34px;
}

.workflow span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.chip-filter.is-active {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff;
}

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

.case-grid img,
.proof-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.case-grid h3,
.case-grid p,
.case-grid a,
.proof-grid h3,
.proof-grid p {
  padding-right: 18px;
  padding-left: 18px;
}

.case-grid h3,
.proof-grid h3 {
  padding-top: 18px;
}

.case-grid a {
  display: inline-block;
  padding-bottom: 20px;
}

.filter-hidden {
  display: none;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 960px;
  margin-top: 32px;
}

.kpi-strip span {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.kpi-strip strong {
  display: block;
  color: var(--green-deep);
  font-size: 32px;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--paper);
  color: var(--green-deep);
  font-size: 13px;
  text-transform: uppercase;
}

.recommendation-grid {
  margin-top: 24px;
}

.proof-section {
  background: var(--paper);
}

.contact-actions-page {
  justify-content: flex-start;
}

.request-compact {
  padding-top: 64px;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.nav-open .header-actions {
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .project-layout,
  .tender-band,
  .brawoliner,
  .request,
  .quick-contact,
  .contacts,
  .page-hero-media,
  .split-section {
    grid-template-columns: 1fr;
  }

  .sticky-note {
    position: static;
  }

  .case-grid,
  .proof-grid,
  .recommendation-grid,
  .workflow,
  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    gap: 36px;
  }

  .hero-media {
    grid-template-columns: 1fr 0.75fr;
    min-height: 420px;
  }

  .hero-main {
    min-height: 420px;
  }

  .hero-stack img {
    height: 204px;
  }

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

  .contacts,
  .contact-actions {
    justify-content: stretch;
  }
}

@media (max-width: 760px) {
  .page-hero h1 {
    overflow-wrap: anywhere;
  }

  .section-pad {
    padding: 56px 18px;
  }

  .page-hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .page-hero-media > img {
    height: 280px;
  }

  .detail-grid,
  .detail-grid.three,
  .case-grid,
  .proof-grid,
  .recommendation-grid,
  .recommendation-board,
  .workflow,
  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .chip-filter {
    flex: 0 0 auto;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

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

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .proof-row,
  .intro-grid,
  .service-grid,
  .section-head,
  .tender-grid,
  .trust-grid,
  .lead-form,
  .callback-form {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-main,
  .hero-stack img,
  .brawoliner-media > img:last-child {
    min-height: 0;
    height: 260px;
  }

  .hero-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .service-rail {
    top: 68px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0;
  }

  .service-rail a {
    white-space: nowrap;
  }

  .service-card {
    min-height: auto;
  }

  .project-feature {
    min-height: auto;
  }

  .project-feature img {
    height: 300px;
  }

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

  .project-list img {
    height: 220px;
  }

  .brawoliner-media .brawoliner-logo {
    width: 170px;
    max-width: calc(100% - 28px);
    left: 14px;
    top: 14px;
  }

  .contact-actions,
  .site-footer {
    flex-direction: column;
  }
}

/* Technical assignment attachments. */
.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lead-form .form-upload {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-upload-title {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.lead-form .file-drop {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 24px;
  place-content: center;
  border: 2px dashed #98b6a7;
  border-radius: 8px;
  background: #f7faf8;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.lead-form .file-drop:hover,
.lead-form .file-drop:focus-within,
.lead-form .file-drop.is-dragover {
  border-color: var(--green);
  background: #eef7f2;
  box-shadow: 0 0 0 4px rgba(23, 107, 75, 0.1);
}

.lead-form .file-drop.has-error {
  border-color: #b7554a;
  background: #fff8f7;
}

.lead-form .file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop-copy {
  color: #32473d;
  font-size: 15px;
  line-height: 1.4;
}

.file-drop-copy strong {
  color: var(--green-deep);
}

.file-drop-rules {
  color: #66766d;
  font-size: 12px;
  line-height: 1.5;
}

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

.file-list li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #415248;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.file-list .file-list-error {
  border-color: rgba(183, 85, 74, 0.42);
  color: #9f3e35;
}

@media (max-width: 760px) {
  .lead-form .file-drop {
    min-height: 132px;
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Modernization layer */
:root {
  --bg: #ffffff;
  --paper: #f4f8f6;
  --paper-strong: #edf4f0;
  --ink: #14221b;
  --muted: #5f6d65;
  --line: #dce5df;
  --line-strong: #c8d6ce;
  --green: #14724f;
  --green-deep: #082e23;
  --green-mid: #0f5d43;
  --mint: #e4f2eb;
  --amber: #bf8531;
  --steel: #667985;
  --shadow: 0 24px 70px rgba(8, 35, 25, 0.12);
  --shadow-soft: 0 12px 34px rgba(8, 35, 25, 0.08);
  --max: 1240px;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 18%, #f7faf8 48%, #ffffff 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 34, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 34, 27, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 52%);
}

.section-pad {
  padding-top: 96px;
  padding-bottom: 96px;
}

.site-header {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(200, 214, 206, 0.72);
  box-shadow: 0 12px 36px rgba(8, 35, 25, 0.07);
}

.brand {
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(200, 214, 206, 0.8);
  border-radius: 8px;
  background: #fff;
}

.brand strong {
  color: #0d241a;
  font-size: 14px;
  font-weight: 800;
}

.brand small {
  color: var(--steel);
  font-size: 11px;
}

.site-nav {
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  color: #2d3f35;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(228, 242, 235, 0.78);
  color: var(--green-deep);
  border-color: transparent;
}

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

.phone-link {
  padding: 8px 0;
  color: var(--green-deep);
}

.button {
  min-height: 48px;
  border-color: var(--green);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  box-shadow: 0 12px 26px rgba(20, 114, 79, 0.18);
  font-size: 14px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-deep) 100%);
  box-shadow: 0 16px 32px rgba(8, 46, 35, 0.22);
}

.button-ghost {
  background: #fff;
  color: var(--green-deep);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--mint);
  box-shadow: 0 10px 22px rgba(8, 35, 25, 0.08);
}

.hero {
  position: relative;
  grid-template-columns: minmax(500px, 0.98fr) minmax(470px, 1.02fr);
  gap: 44px;
  min-height: min(760px, calc(100vh - 116px));
  padding-top: 46px;
  padding-bottom: 44px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 46, 35, 0.16), transparent);
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 0.96;
  font-weight: 800;
}

.hero p {
  max-width: 650px;
  color: #52645a;
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  gap: 14px;
  margin-top: 32px;
}

.proof-row {
  gap: 10px;
  margin-top: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.proof-row span {
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(8, 35, 25, 0.06);
  color: #415248;
  font-size: 13px;
}

.proof-row strong {
  color: var(--green-deep);
  font-size: 18px;
}

.hero-media {
  position: relative;
  gap: 14px;
  min-height: 470px;
  padding: 10px;
  border: 1px solid rgba(200, 214, 206, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 240, 0.86)),
    linear-gradient(135deg, rgba(20, 114, 79, 0.16), rgba(191, 133, 49, 0.08));
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  --scan-x: 50%;
  --scan-y: 44%;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: -16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--amber));
}

.hero-media:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 82px rgba(8, 35, 25, 0.16);
}

.hero-media img,
.brawoliner-media img,
.project-feature img,
.project-list img,
.service-card img,
.trust-grid img,
.case-grid img,
.proof-grid img,
.page-hero-media > img {
  filter: saturate(0.96) contrast(1.02);
}

.hero-main {
  min-height: 450px;
}

.hero-stack {
  gap: 14px;
}

.hero-stack img {
  height: 141px;
}

.hero-blueprint {
  position: absolute;
  inset: 10px;
  z-index: 3;
  border-radius: 6px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.78;
  mix-blend-mode: multiply;
}

.hero-blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--scan-x) var(--scan-y), rgba(255, 255, 255, 0.92) 0 7%, rgba(232, 248, 240, 0.52) 16%, rgba(20, 114, 79, 0.12) 31%, transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(20, 114, 79, 0.04));
}

.hero-blueprint::after {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: -18%;
  z-index: 4;
  width: 22%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(191, 133, 49, 0.72), transparent);
  opacity: 0.88;
  transform: skewX(-10deg);
  filter: blur(0.2px);
  animation: blueprintSweep 5.8s ease-in-out infinite;
}

.hero-blueprint svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.blueprint-grid,
.blueprint-frame,
.blueprint-line,
.blueprint-dot {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.blueprint-grid {
  stroke: rgba(8, 46, 35, 0.18);
  stroke-width: 1;
}

.blueprint-frame {
  stroke: rgba(8, 46, 35, 0.34);
  stroke-width: 1.5;
}

.blueprint-line {
  stroke: rgba(8, 46, 35, 0.7);
  stroke-width: 2;
  stroke-dasharray: 12 9;
  animation: blueprintDash 8s linear infinite;
}

.blueprint-line-alt {
  stroke: rgba(191, 133, 49, 0.64);
  stroke-dasharray: 8 8;
  animation-duration: 10s;
  animation-direction: reverse;
}

.blueprint-dot {
  fill: #fff;
  stroke: rgba(20, 114, 79, 0.88);
  stroke-width: 3;
}

.scan-node {
  position: absolute;
  z-index: 5;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--green);
  box-shadow:
    0 0 0 1px rgba(20, 114, 79, 0.48),
    0 0 0 9px rgba(20, 114, 79, 0.12),
    0 0 24px rgba(20, 114, 79, 0.42);
  animation: scanPulse 2.7s ease-in-out infinite;
}

.scan-node-a {
  top: 27%;
  left: 32%;
}

.scan-node-b {
  top: 45%;
  right: 24%;
  animation-delay: 0.5s;
}

.scan-node-c {
  right: 12%;
  bottom: 19%;
  animation-delay: 1s;
}

@keyframes blueprintSweep {
  0% {
    left: -24%;
    opacity: 0;
  }

  12%,
  68% {
    opacity: 0.88;
  }

  82%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes blueprintDash {
  to {
    stroke-dashoffset: -84;
  }
}

@keyframes scanPulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.62;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.service-rail {
  top: 76px;
  justify-content: center;
  gap: 0;
  background: linear-gradient(90deg, var(--green-deep), #0c3d30);
  box-shadow: 0 18px 34px rgba(8, 35, 25, 0.18);
}

.service-rail a {
  position: relative;
  min-height: 54px;
  padding: 17px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: #f2faf6;
  transition: background 160ms ease, color 160ms ease;
}

.service-rail a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 11px;
  left: 18px;
  height: 2px;
  background: var(--amber);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.service-rail a:hover {
  background: rgba(255, 255, 255, 0.09);
}

.service-rail a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.intro {
  gap: 68px;
}

.intro h2,
.section-head h2,
.tender-band h2,
.brawoliner h2,
.request h2,
.contacts h2,
.quick-contact h2,
.sticky-note h2,
.workflow-band h2,
.proof-section h2 {
  color: var(--ink);
  font-weight: 800;
}

.tender-band h2 {
  color: #fff;
}

.intro p,
.section-head p,
.tender-band p,
.brawoliner p,
.request p,
.contacts p,
.quick-contact p {
  line-height: 1.65;
}

.intro-grid {
  gap: 14px;
}

.intro-grid div,
.sticky-note,
.estimate-box,
.contact-actions a,
.trust-grid article,
.detail-grid article,
.case-grid article,
.proof-grid article,
.recommendation-grid article,
.recommendation-board article,
.workflow article,
.kpi-strip span {
  border-color: rgba(220, 229, 223, 0.94);
  box-shadow: 0 10px 28px rgba(8, 35, 25, 0.055);
}

.intro-grid div {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.intro-grid div::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  background: var(--green);
}

.intro-grid div:hover,
.service-card:hover,
.project-list article:hover,
.trust-grid article:hover,
.case-grid article:hover,
.detail-grid article:hover,
.proof-grid article:hover,
.recommendation-grid article:hover,
.recommendation-board article:hover,
.workflow article:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 114, 79, 0.34);
  box-shadow: var(--shadow-soft);
}

.services,
.trust,
.workflow-band {
  background:
    linear-gradient(180deg, #fff 0, #fff 14%, var(--paper) 14%, var(--paper) 100%);
}

.section-head {
  margin-bottom: 42px;
}

.service-grid {
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 456px;
  border-color: rgba(220, 229, 223, 0.92);
  box-shadow: 0 12px 34px rgba(8, 35, 25, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.service-card img {
  height: 204px;
}

.service-card div {
  padding: 24px;
}

.service-card h3,
.project-feature h3,
.project-list h3,
.trust-grid h3,
.detail-grid h3,
.case-grid h3,
.proof-grid h3,
.recommendation-grid h3,
.recommendation-board h3 {
  color: var(--ink);
  font-weight: 800;
}

.service-card a,
.detail-grid a,
.case-grid a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
}

.service-card a::after,
.detail-grid a::after,
.case-grid a::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 160ms ease;
}

.service-card a:hover::after,
.detail-grid a:hover::after,
.case-grid a:hover::after {
  width: 28px;
}

.project-layout {
  gap: 24px;
}

.project-feature {
  background:
    linear-gradient(180deg, rgba(8, 46, 35, 0.04), rgba(8, 46, 35, 0.02)),
    var(--green-deep);
  box-shadow: var(--shadow);
}

.project-feature img {
  height: 456px;
}

.project-feature h3 {
  color: #fff;
}

.project-list article {
  border-color: rgba(220, 229, 223, 0.92);
  box-shadow: 0 10px 28px rgba(8, 35, 25, 0.055);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tender-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, var(--green-deep), #0f4435 72%, #12382f);
}

.tender-band::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  bottom: 0;
  left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.tender-grid div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.tender-grid strong {
  color: #fff;
}

.brawoliner-media {
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 240, 0.94));
  box-shadow: var(--shadow-soft);
}

.brawoliner-logo {
  border-radius: 8px;
}

.check-list li::before {
  top: 5px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--mint);
  background: var(--green);
}

.request,
.quick-contact {
  position: relative;
}

.estimate-box {
  background:
    linear-gradient(135deg, #ffffff, var(--paper));
}

.estimate-box strong {
  color: var(--green-deep);
  font-weight: 800;
}

.lead-form,
.callback-form {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(200, 214, 206, 0.9);
  box-shadow: var(--shadow);
}

.lead-form label,
.callback-form label {
  color: #263b31;
  font-size: 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.callback-form input {
  border-color: #cbd9d1;
  background: #fbfdfc;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.callback-form input:focus {
  outline: 0;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 114, 79, 0.14);
}

.page-hero {
  position: relative;
  min-height: 470px;
  padding-top: 104px;
  padding-bottom: 78px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 36px;
  left: 24px;
  max-width: var(--max);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, rgba(8, 46, 35, 0.2), transparent);
}

.page-hero h1 {
  max-width: 900px;
  font-weight: 800;
}

.page-hero p {
  color: #52645a;
  line-height: 1.6;
}

.page-hero-media > img {
  border: 1px solid rgba(200, 214, 206, 0.82);
  box-shadow: var(--shadow);
}

.sticky-note {
  background: rgba(255, 255, 255, 0.92);
}

.detail-grid span,
.recommendation-board strong {
  border-radius: 8px;
  background: var(--mint);
}

.filter-bar {
  gap: 8px;
}

.filter-bar__label {
  align-self: center;
  margin-left: 12px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-bar__label:first-of-type {
  margin-left: 4px;
}

.filter-empty {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.file-drop-warning {
  display: block;
  margin-top: 10px;
  color: #5a4733;
  font-size: 13px;
  line-height: 1.45;
}

.chip-filter {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c4036;
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.chip-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 114, 79, 0.38);
  color: var(--green-deep);
}

.chip-filter.is-active {
  border-color: var(--green-deep);
  background: var(--green-deep);
}

@media (max-width: 760px) {
  .filter-bar__label {
    margin-left: 8px;
  }
}

.table-wrap {
  border-color: rgba(200, 214, 206, 0.94);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.data-table {
  background: #fff;
}

.data-table th {
  background: #eef5f1;
  color: #253a30;
  font-size: 12px;
}

.data-table td {
  color: #31443a;
}

.data-table tbody tr {
  transition: background 140ms ease;
}

.data-table tbody tr:hover {
  background: #f7faf8;
}

.kpi-strip span {
  background: #fff;
}

.contact-actions a,
.contact-actions span {
  background: #fff;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 114, 79, 0.4);
  background: var(--mint);
  color: var(--green-deep);
}

.contact-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
  background:
    linear-gradient(135deg, #0b1712, #10291f);
  color: #dbe9e2;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .intro,
  .project-layout,
  .tender-band,
  .brawoliner,
  .request,
  .quick-contact,
  .split-section {
    gap: 34px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 460px;
  }

  .hero-main {
    min-height: 440px;
  }

  .hero-stack img {
    height: 214px;
  }

  .service-grid,
  .case-grid,
  .detail-grid.three,
  .proof-grid,
  .recommendation-grid,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body::before {
    background-size: 46px 46px;
  }

  .section-pad {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .site-header {
    min-height: 68px;
    box-shadow: 0 10px 28px rgba(8, 35, 25, 0.08);
  }

  .brand {
    min-width: 0;
  }

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

  .nav-toggle {
    border-color: var(--line-strong);
    background: #fff;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-header.nav-open .site-nav {
    gap: 4px;
    padding-top: 10px;
  }

  .site-header.nav-open .site-nav a {
    padding: 12px;
  }

  .hero {
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .hero::after,
  .page-hero::after {
    right: 18px;
    left: 18px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.98;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .proof-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .proof-row span {
    min-height: 84px;
    padding: 14px;
  }

  .hero-media {
    gap: 10px;
    padding: 8px;
  }

  .hero-media:hover {
    transform: none;
  }

  .hero-blueprint {
    inset: 8px;
    opacity: 0.58;
  }

  .hero-blueprint::after {
    width: 30%;
    animation-duration: 7s;
  }

  .scan-node {
    width: 10px;
    height: 10px;
    box-shadow:
      0 0 0 1px rgba(20, 114, 79, 0.4),
      0 0 0 7px rgba(20, 114, 79, 0.1);
  }

  .hero-media::before {
    top: auto;
    right: 26px;
    bottom: -12px;
    left: 26px;
    width: auto;
    height: 4px;
  }

  .hero-main,
  .hero-stack img,
  .brawoliner-media > img:last-child {
    height: 250px;
  }

  .hero-main {
    min-height: 0;
  }

  .service-rail {
    top: 68px;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .service-rail a {
    min-height: 50px;
    padding: 15px 18px;
  }

  .intro,
  .section-head,
  .project-layout,
  .tender-band,
  .brawoliner,
  .request,
  .quick-contact,
  .split-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-grid,
  .detail-grid,
  .detail-grid.three,
  .proof-grid,
  .recommendation-grid,
  .recommendation-board,
  .workflow,
  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card img {
    height: 190px;
  }

  .project-feature img,
  .page-hero-media > img {
    height: 290px;
  }

  .lead-form,
  .callback-form {
    padding: 18px;
  }

  .callback-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

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

  .hero-stack img {
    height: 210px;
  }

  .button,
  .contact-actions a,
  .contact-actions span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a,
  .site-nav a::after,
  .button,
  .service-rail a,
  .service-rail a::after,
  .intro-grid div,
  .service-card,
  .project-list article,
  .trust-grid article,
  .case-grid article,
  .detail-grid article,
  .proof-grid article,
  .recommendation-grid article,
  .recommendation-board article,
  .workflow article,
  .chip-filter,
  .contact-actions a,
  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .callback-form input {
    transition: none;
  }

  .hero-media {
    transform: none;
  }

  .hero-blueprint::after,
  .blueprint-line,
  .scan-node {
    animation: none;
  }
}

/* Signature identity layer */
.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 116px;
  left: -30px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--amber), transparent);
}

.hero-system {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 690px;
  margin-top: 16px;
  padding: 8px;
  border: 1px solid rgba(8, 46, 35, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 46, 35, 0.96), rgba(12, 61, 48, 0.94));
  color: #f4fbf7;
  box-shadow: 0 18px 44px rgba(8, 35, 25, 0.14);
}

.hero-system > span {
  display: grid;
  align-content: center;
  min-height: 50px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe3da;
  font-size: 13px;
  font-weight: 800;
}

.hero-system ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: route;
}

.hero-system li {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 50px;
  padding: 8px 10px 8px 28px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero-system li::before {
  counter-increment: route;
  content: counter(route);
  position: absolute;
  top: 15px;
  left: 7px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.hero-system li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  right: -9px;
  width: 17px;
  height: 1px;
  background: var(--amber);
}

.hero-dossier {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 7;
  width: min(330px, calc(100% - 52px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 46, 35, 0.86);
  color: #fff;
  box-shadow: 0 24px 54px rgba(8, 35, 25, 0.22);
  backdrop-filter: blur(14px);
}

.hero-dossier > span {
  display: block;
  color: #b9d8cc;
  font-size: 12px;
  font-weight: 800;
}

.hero-dossier > strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.15;
}

.hero-dossier dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.hero-dossier dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: baseline;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-dossier dt,
.hero-dossier dd {
  margin: 0;
}

.hero-dossier dt {
  color: #b9d8cc;
  font-size: 12px;
  font-weight: 800;
}

.hero-dossier dd {
  color: #fff;
  font-size: 13px;
}

.intro-grid {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green-deep), #0d3f30);
  box-shadow: var(--shadow-soft);
}

.intro-grid::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.intro-grid div {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.intro-grid div::before {
  right: auto;
  left: 22px;
  width: 54px;
  background: var(--amber);
}

.intro-grid strong {
  color: #fff;
}

.intro-grid span {
  color: #e4f2eb;
}

.service-grid {
  counter-reset: service-card;
}

.service-card {
  counter-increment: service-card;
}

.service-card::after {
  content: "0" counter(service-card);
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(8, 46, 35, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 35, 25, 0.18);
}

.service-card div {
  position: relative;
}

.service-card div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 68px;
  height: 3px;
  background: var(--amber);
}

.service-card h3 {
  padding-right: 36px;
}

@media (max-width: 1080px) {
  .hero-copy::before {
    left: -18px;
  }

  .hero-system {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .hero-copy::before {
    display: none;
  }

  .hero-system {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-system > span {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

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

  .hero-system li:not(:last-child)::after {
    display: none;
  }

  .hero-dossier {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    margin-top: 0;
    background: var(--green-deep);
  }

  .intro-grid {
    padding: 10px;
  }
}

@media (max-width: 430px) {
  .hero-system ol,
  .proof-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-system li {
    min-height: 50px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .proof-row span {
    min-height: 76px;
  }

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

  .hero-stack img {
    height: 170px;
  }

  .hero-dossier {
    padding: 14px;
  }

  .hero-dossier dl {
    gap: 6px;
  }

  .hero-dossier dl div {
    grid-template-columns: 62px 1fr;
  }
}

/* Form compliance and validation */
.lead-form .privacy-consent,
.callback-form .privacy-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3d5147;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.lead-form .privacy-consent input,
.callback-form .privacy-consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.lead-form .privacy-consent a,
.callback-form .privacy-consent a,
.site-footer a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a {
  color: #dbe9e2;
  font-size: 13px;
  font-weight: 700;
}

.button:disabled,
.button:disabled:hover {
  transform: none;
  border-color: #aebdb5;
  background: #b9c8c0;
  box-shadow: none;
  color: #eef6f2;
  cursor: not-allowed;
}

.lead-form input[aria-invalid="true"],
.lead-form select[aria-invalid="true"],
.lead-form textarea[aria-invalid="true"],
.callback-form input[aria-invalid="true"] {
  border-color: #b7554a;
  box-shadow: 0 0 0 4px rgba(183, 85, 74, 0.12);
}

.lead-form input[name="privacy"][aria-invalid="true"],
.callback-form input[name="privacy"][aria-invalid="true"] {
  outline: 2px solid rgba(183, 85, 74, 0.5);
  outline-offset: 2px;
}

.lead-form.has-errors .form-status,
.callback-form.has-errors .callback-status {
  color: #9f3e35;
}

.lead-form.is-sent .form-status,
.callback-form.is-sent .callback-status {
  color: var(--green);
}

.callback-form {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.callback-form .callback-status {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .callback-form {
    grid-template-columns: 1fr;
  }
}

/* Hero overlap hardening */
.hero-system {
  width: min(100%, 690px);
  overflow: visible;
}

.hero-system ol {
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  min-width: 0;
}

.hero-system li {
  min-width: 0;
  padding-right: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-system li:not(:last-child)::after {
  right: -8px;
}

@media (max-width: 1480px) and (min-width: 1081px) {
  .hero {
    grid-template-columns: minmax(470px, 0.92fr) minmax(470px, 1.08fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(42px, 4.2vw, 58px);
  }

  .hero-system {
    max-width: 640px;
  }

  .hero-system > span {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero-system ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .hero-system li {
    min-height: 44px;
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
  }

  .hero-system li::before {
    top: 14px;
    left: 8px;
  }

  .hero-system li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-system ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .hero-system li {
    min-height: 44px;
    padding-left: 30px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
  }

  .hero-system li::before {
    top: 14px;
    left: 8px;
  }

  .hero-system li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-system {
    width: 100%;
  }

  .hero-system ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-system li {
    min-height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
  }
}

/* Keep company photos unobstructed in the hero media block. */
.hero-dossier {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 6;
  grid-column: 1 / -1;
  width: auto;
  margin: 0;
  padding: 14px 16px;
}

.hero-dossier dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-dossier dl div {
  grid-template-columns: 58px 1fr;
  padding-top: 8px;
}

@media (max-width: 760px) {
  .hero-dossier dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Plan F content and accessibility sections */
:root {
  --muted: #56645c;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(185, 122, 40, 0.72);
  outline-offset: 3px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 0;
  color: #5b6b62;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: #9aa8a1;
  text-decoration: none;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(185, 122, 40, 0.34);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(185, 122, 40, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-marquee {
  max-width: none;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(200, 214, 206, 0.78);
  border-bottom: 1px solid rgba(200, 214, 206, 0.78);
  background: linear-gradient(90deg, #fff, rgba(228, 242, 235, 0.78), #fff);
}

.proof-marquee-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: proof-marquee 34s linear infinite;
}

.proof-marquee:hover .proof-marquee-track {
  animation-play-state: paused;
}

.proof-marquee-track > span,
.proof-client {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px 6px 8px;
  border: 1px solid rgba(20, 114, 79, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(8, 35, 25, 0.05);
}

.proof-client {
  gap: 10px;
}

.proof-client img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.proof-client span {
  color: inherit;
}

.proof-client:hover {
  border-color: rgba(20, 114, 79, 0.3);
  transform: translateY(-1px);
}

@keyframes proof-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.live-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.live-board-copy {
  display: grid;
  align-content: center;
}

.live-board h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 0.98;
}

.live-board p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.live-stage-tabs {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.live-stage-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border: 1px solid rgba(200, 214, 206, 0.9);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #314137;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.live-stage-tabs button::after {
  content: "";
  width: 18px;
  height: 18px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.42;
  transform: rotate(45deg);
}

.live-stage-tabs button:hover,
.live-stage-tabs button.is-active {
  border-color: rgba(20, 114, 79, 0.4);
  background: var(--mint);
  color: var(--green-deep);
  transform: translateX(4px);
}

.live-stage-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 430px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(20, 114, 79, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(8, 46, 35, 0.98), rgba(13, 63, 48, 0.94));
  color: #fff;
  box-shadow: var(--shadow);
}

.live-stage-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.live-stage-meter {
  position: absolute;
  top: 34px;
  right: 34px;
  left: 34px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.live-stage-meter span {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), #fff);
  transition: width 320ms ease;
}

.live-stage-status {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #e5c087;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-stage-panel h3,
.live-stage-panel p,
.live-stage-panel ul,
.live-stage-panel a {
  position: relative;
  z-index: 1;
}

.live-stage-panel h3 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.02;
}

.live-stage-panel p {
  max-width: 680px;
  margin: 16px 0 0;
  color: #d6e5de;
  font-size: 17px;
  line-height: 1.58;
}

.live-stage-panel ul {
  display: grid;
  gap: 9px;
  max-width: 620px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.live-stage-panel li {
  position: relative;
  padding-left: 23px;
  color: #fff;
  font-weight: 750;
}

.live-stage-panel.is-dense h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.live-stage-panel.is-dense p {
  margin-top: 12px;
  font-size: 15px;
}

.live-stage-panel.is-dense ul {
  gap: 7px;
  margin-top: 16px;
}

.live-stage-panel.is-dense li {
  font-size: 13px;
  line-height: 1.42;
}

.live-stage-panel li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.live-stage-panel a {
  width: max-content;
  margin-top: 26px;
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 5px;
}

.live-stage-panel.is-stage-changing h3,
.live-stage-panel.is-stage-changing p,
.live-stage-panel.is-stage-changing ul,
.live-stage-panel.is-stage-changing .live-stage-status {
  animation: stage-panel-in 280ms ease both;
}

@keyframes stage-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.workflow-band .workflow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .live-board {
    grid-template-columns: 1fr;
  }

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

  .team-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .proof-marquee {
    padding: 10px 0;
  }

  .proof-marquee-track {
    animation-duration: 42s;
  }

  .proof-marquee-track > span,
  .proof-client {
    min-height: 36px;
    padding: 5px 12px 5px 7px;
    font-size: 12px;
  }

  .proof-client img {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .live-stage-panel {
    min-height: 390px;
    padding: 26px;
  }

  .live-stage-meter {
    top: 24px;
    right: 24px;
    left: 24px;
  }

  .workflow-band .workflow {
    grid-template-columns: 1fr;
  }
}

.history-section {
  display: grid;
  grid-template-columns: 0.86fr 220px 1.34fr;
  gap: 24px;
  align-items: stretch;
  background: var(--paper);
}

.history-intro,
.history-panel,
.timeline article,
.news-grid article,
.case-detail article,
.next-action,
.article-body .detail-grid article {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(8, 35, 25, 0.07);
}

.history-intro {
  padding: 26px;
}

.history-intro h2,
.contact-panel h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.history-intro p,
.contact-panel p,
.next-action p {
  color: var(--muted);
  line-height: 1.65;
}

.history-facts {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.history-facts span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 214, 206, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #415248;
  font-weight: 800;
}

.history-facts strong {
  color: var(--green-deep);
  font-size: 26px;
  line-height: 1;
}

.history-team-photo {
  display: block;
  width: 100%;
  margin-top: 24px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  cursor: zoom-in;
}

.history-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.history-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-deep);
  font-weight: 800;
  text-decoration: none;
}

.history-links a::after {
  content: "→";
  color: var(--green);
}

.history-links a:hover,
.history-links a:focus-visible {
  border-color: var(--green);
  background: var(--mint);
}

.history-panel {
  display: grid;
  place-content: center;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(8, 46, 35, 0.96), rgba(13, 63, 48, 0.92)),
    var(--green-deep);
  color: #fff;
  text-align: center;
}

.history-panel strong {
  color: var(--amber);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.95;
}

.history-panel span {
  margin-top: 10px;
  color: #d9ebe4;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.timeline article {
  position: relative;
  min-height: 286px;
  padding: 20px;
}

.history-card-logo {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.timeline span,
.news-grid span,
.case-detail span,
.proof-grid article > span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline h3,
.news-grid h3,
.case-detail h3 {
  margin: 10px 0 0;
  color: var(--green-deep);
}

.timeline p,
.news-grid p,
.case-detail p {
  color: var(--muted);
  line-height: 1.6;
}

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

.news-grid article {
  display: grid;
  gap: 10px;
  min-height: 280px;
  padding: 20px;
}

.news-grid a,
.project-list a,
.proof-grid a,
.detail-grid a {
  align-self: end;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-proof {
  background: var(--paper);
}

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

.case-detail article {
  padding: 24px;
}

.next-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 24px 72px;
  padding: 28px;
}

.article-body {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 34px;
  align-items: start;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 28px;
  align-items: stretch;
}

.map-frame {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(8, 46, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(8, 35, 25, 0.12);
  text-decoration: none;
}

.map-fallback span {
  color: #52645a;
  font-size: 13px;
  font-weight: 700;
}

.map-fallback strong {
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.05fr;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer {
  display: block;
  padding: 34px 24px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
}

.site-footer p {
  margin: 8px 0 0;
  color: #c9dad2;
  font-size: 13px;
  line-height: 1.55;
}

.site-footer a {
  display: block;
  margin-top: 7px;
}

@media (max-width: 1080px) {
  .history-section,
  .contact-panel,
  .article-body {
    grid-template-columns: 1fr;
  }

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

  .case-detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .breadcrumbs {
    padding-right: 18px;
    padding-left: 18px;
  }

  .history-section,
  .contact-panel,
  .news-section,
  .social-proof {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .history-intro,
  .timeline article,
  .news-grid article,
  .case-detail article {
    padding: 18px;
  }

  .contact-panel {
    gap: 18px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }

  .next-action {
    margin-right: 18px;
    margin-left: 18px;
  }
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  object-fit: cover;
}

.news-grid article {
  overflow: hidden;
  align-content: start;
}

.article-media-strip {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 280px));
  gap: 14px;
}

.article-media-strip img {
  width: 100%;
  max-height: 170px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(8, 35, 25, 0.07);
}

.inline-logo {
  max-width: min(320px, 100%);
  height: auto;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .article-media-strip {
    grid-column: auto;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 760px) {
  .news-card-image {
    aspect-ratio: 16 / 9;
  }

  .article-media-strip img {
    max-height: 150px;
  }
}

.page-hero > div,
.hero-copy,
.hero-dossier dl div {
  min-width: 0;
}

.page-hero h1,
.hero h1,
.hero-dossier dt,
.hero-dossier dd {
  overflow-wrap: anywhere;
  word-break: normal;
}

.lead-form select,
.lead-form input,
.lead-form textarea,
.callback-form input {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-header.nav-open .site-nav a {
    padding: 12px;
  }

  .site-header.nav-open .header-actions {
    justify-content: flex-start;
  }
}

.hero-dossier dl div {
  grid-template-columns: minmax(68px, auto) 1fr;
}

.hero-dossier dt {
  overflow-wrap: normal;
  white-space: nowrap;
}

.page-hero h1,
.hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.pp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 28px;
  background: rgba(4, 18, 14, 0.88);
}

.pp-lightbox.is-open {
  display: grid;
}

.pp-lightbox img {
  align-self: center;
  justify-self: center;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.pp-lightbox figcaption {
  justify-self: center;
  max-width: min(100%, 960px);
  color: #fff;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.pp-lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.js-image-lightbox-trigger {
  cursor: zoom-in;
}

.js-image-lightbox-trigger:focus-visible {
  outline: 3px solid rgba(20, 114, 79, 0.42);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

/* Project cases supplied by the customer, 2026-08-03. */
.case-hero,
.case-detail,
.case-works,
.case-gallery-section,
.case-grid {
  font-family: "Roboto", Arial, sans-serif;
}

.case-hero h1,
.case-works h2,
.case-gallery-section h2,
.case-grid h3 {
  color: #1a1a1a;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

.case-hero .section-kicker,
.case-detail article > span,
.case-section-heading .section-kicker {
  color: #f80000;
}

.case-hero .section-kicker,
.case-section-heading .section-kicker {
  border-color: rgba(248, 0, 0, 0.34);
  background: rgba(248, 0, 0, 0.08);
}

.case-hero-image {
  display: block;
  align-self: stretch;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.page-hero-media > .case-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 620px;
  object-fit: contain;
}

.case-meta {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
}

.case-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.case-meta dt {
  color: #4f6259;
  font-size: 13px;
  font-weight: 700;
}

.case-meta dd {
  margin: 0;
  color: #1a1a1a;
  font-weight: 700;
}

.case-section-heading {
  max-width: 820px;
}

.case-section-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}

.case-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.case-works {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
  background: var(--paper);
}

.case-works ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: case-work;
  border-top: 1px solid var(--line-strong);
}

.case-works li {
  position: relative;
  min-height: 64px;
  padding: 18px 12px 18px 62px;
  border-bottom: 1px solid var(--line-strong);
  color: #25362f;
  line-height: 1.5;
  counter-increment: case-work;
}

.case-works li::before {
  content: counter(case-work, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 8px;
  color: #f80000;
  font-size: 13px;
  font-weight: 900;
}

.case-gallery-section {
  background: #fff;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.case-gallery figure {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.case-gallery a {
  display: grid;
  place-items: center;
  min-width: 0;
  background: #f5f7f6;
}

.case-gallery img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.case-gallery figcaption {
  padding: 14px 16px;
  color: #33483f;
  font-size: 14px;
  line-height: 1.45;
}

.case-area-badge {
  width: max-content;
  max-width: 100%;
  margin: 14px 16px 0;
  padding: 5px 9px;
  border: 1px solid rgba(8, 46, 35, 0.26);
  border-radius: 4px;
  color: var(--green-deep);
  background: rgba(8, 46, 35, 0.05);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .case-works {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 620px) {
  .page-hero-media > .case-hero-image img {
    min-height: 260px;
    max-height: 430px;
  }

  .case-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .case-gallery figure {
    grid-template-rows: minmax(230px, auto) auto;
  }
}

/* Customer corrections from "Для сайта.docx", page 1. */
.brand {
  width: auto;
  min-width: 220px;
  gap: 10px;
  text-decoration: none;
}

.brand .brand-mark {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 152px;
  justify-items: center;
  align-content: center;
  line-height: 1;
  text-align: center;
}

.brand-copy strong,
.home-page .brand-copy strong {
  color: #087b22;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.brand-copy small,
.home-page .brand-copy small {
  margin-top: 5px;
  color: #4f9b5d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.hero-stack {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.hero-stack img {
  height: 218px;
}

@media (max-width: 760px) {
  .brand {
    width: auto;
    min-width: 190px;
  }

  .brand .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    max-height: none;
  }

  .brand-copy {
    min-width: 136px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 9px;
  }
}

@media (max-width: 430px) {
  .brand {
    width: auto;
    min-width: 184px;
  }

  .hero-stack img {
    height: 170px;
  }
}

/* Approved brand styling for the home page only. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/roboto-cyrillic-variable.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/roboto-condensed-cyrillic-variable.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/roboto-condensed-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.home-page {
  --ink: #1a1a1a;
  --muted: #333333;
  --green: #007d00;
  --green-mid: #006600;
  --green-deep: #0a3a0a;
  --mint: #e8f5e8;
  --amber: #f80000;
  --font-main: "Roboto", Arial, sans-serif;
  color: var(--ink);
  font-family: var(--font-main);
}

.home-page::before {
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.025) 1px, transparent 1px);
}

.home-page :where(h1, h2, h3, h4, h5, h6),
.home-page .brand-copy,
.home-page .section-kicker,
.home-page .site-nav,
.home-page .button,
.home-page .proof-row,
.home-page .live-stage-status,
.home-page .live-stage-tabs button,
.home-page .workflow strong,
.home-page .workflow span,
.home-page .history-facts,
.home-page .history-panel,
.home-page .history-links,
.home-page .service-card a,
.home-page .project-layout a,
.home-page .news-grid a,
.home-page .tender-grid,
.home-page .trust-grid {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

.home-page :where(h1, h2, h3, h4, h5, h6),
.home-page .brand-copy strong,
.home-page .section-kicker,
.home-page .live-stage-status,
.home-page .live-stage-tabs button,
.home-page .history-panel strong {
  font-weight: 700;
}

.home-page .hero h1,
.home-page main h2,
.home-page main h3,
.home-page main h4,
.home-page main h5,
.home-page main h6 {
  font-weight: 700;
}

.home-page main :where(h1, h2, h3, h4, h5, h6) {
  color: #1a1a1a;
}

.home-page :is(.hero-dossier, .live-stage-panel, .project-feature, .tender-band, .history-panel, .site-footer) :where(h1, h2, h3, h4, h5, h6) {
  color: #ffffff;
}

.home-page .brand-copy strong {
  color: #1a1a1a;
}

.home-page .brand-copy small {
  color: #007d00;
  font-weight: 700;
}

.home-page .button {
  border-color: #007d00;
  background: linear-gradient(135deg, #007d00 0%, #006600 100%);
  box-shadow: 0 12px 26px rgba(0, 125, 0, 0.18);
}

.home-page .button:hover {
  border-color: #006600;
  background: linear-gradient(135deg, #006600 0%, #0a3a0a 100%);
  box-shadow: 0 16px 32px rgba(0, 90, 0, 0.22);
}

.home-page .button-ghost {
  border-color: #007d00;
  background: #ffffff;
  color: #0a3a0a;
  box-shadow: none;
}

.home-page .button-ghost:hover {
  background: #e8f5e8;
}

.home-page .section-kicker {
  border-color: rgba(248, 0, 0, 0.34);
  background: rgba(248, 0, 0, 0.08);
  color: #f80000;
}

.home-page :is(a, button, input, select, textarea):focus-visible,
.home-page .js-image-lightbox-trigger:focus-visible {
  outline-color: rgba(23, 107, 75, 0.62);
}

.brand:focus-visible {
  outline: 0;
  box-shadow: 0 3px 0 rgba(23, 107, 75, 0.72);
}

.home-page .hero-dossier {
  background: rgba(10, 58, 10, 0.92);
}

.home-page .live-stage-panel,
.home-page .history-panel {
  background: linear-gradient(145deg, #0a3a0a, #0f1f12);
}

.home-page .tender-band,
.home-page .site-footer {
  background: linear-gradient(135deg, #0a3a0a, #0f1f12);
}

.home-page .history-panel strong,
.home-page .timeline > article > span,
.home-page .news-grid article > span {
  color: #f80000;
}

/* Remove the remaining legacy green/gold accents from the reviewed home page. */
.home-page {
  --shadow: 0 24px 70px rgba(10, 58, 10, 0.12);
  --shadow-soft: 0 12px 34px rgba(10, 58, 10, 0.08);
}

.home-page .hero-media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 240, 0.86)),
    linear-gradient(135deg, rgba(0, 125, 0, 0.16), rgba(248, 0, 0, 0.08));
}

.home-page .hero-blueprint::before {
  background:
    radial-gradient(circle at var(--scan-x) var(--scan-y), rgba(255, 255, 255, 0.92) 0 7%, rgba(232, 245, 232, 0.52) 16%, rgba(0, 125, 0, 0.12) 31%, transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 125, 0, 0.04));
}

.home-page .hero-blueprint::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(248, 0, 0, 0.72), transparent);
}

.home-page .blueprint-grid {
  stroke: rgba(10, 58, 10, 0.18);
}

.home-page .blueprint-frame {
  stroke: rgba(10, 58, 10, 0.34);
}

.home-page .blueprint-line {
  stroke: rgba(10, 58, 10, 0.7);
}

.home-page .blueprint-line-alt {
  stroke: rgba(248, 0, 0, 0.64);
}

.home-page .blueprint-dot {
  stroke: rgba(0, 125, 0, 0.88);
}

.home-page .scan-node {
  box-shadow:
    0 0 0 1px rgba(0, 125, 0, 0.48),
    0 0 0 9px rgba(0, 125, 0, 0.12),
    0 0 24px rgba(0, 125, 0, 0.42);
}

.home-page .proof-client {
  border-color: rgba(0, 125, 0, 0.14);
}

.home-page .proof-client:hover {
  border-color: rgba(0, 125, 0, 0.3);
}

.home-page .live-stage-tabs button:hover,
.home-page .live-stage-tabs button.is-active {
  border-color: rgba(0, 125, 0, 0.4);
}

.home-page .live-stage-panel {
  border-color: rgba(0, 125, 0, 0.18);
}

.home-page .project-feature {
  background:
    linear-gradient(180deg, rgba(10, 58, 10, 0.04), rgba(10, 58, 10, 0.02)),
    #0a3a0a;
}

.home-page .map-fallback {
  border-color: rgba(10, 58, 10, 0.14);
}

@media (max-width: 760px) {
  .home-page .scan-node {
    box-shadow:
      0 0 0 1px rgba(0, 125, 0, 0.4),
      0 0 0 7px rgba(0, 125, 0, 0.1);
  }
}

/* Approved graphite treatment for the four dark home-page sections. */
.home-page .service-rail {
  background-image: linear-gradient(90deg, #1a1a1a 0%, #101010 100%);
}

.home-page .live-stage-panel {
  background-image: linear-gradient(145deg, #1a1a1a 0%, #101010 100%);
}

.home-page .tender-band,
.home-page .site-footer {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #101010 100%);
}

.home-page .live-stage-panel,
.home-page .tender-band,
.home-page .site-footer {
  position: relative;
}

.home-page .service-rail::before,
.home-page .live-stage-panel::before,
.home-page .tender-band::before,
.home-page .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 4px;
  background: linear-gradient(90deg, #007d00 0%, #007d00 70%, #f80000 70%, #f80000 100%);
  pointer-events: none;
}

.home-page .tender-band h2,
.home-page .live-stage-panel h3 {
  display: inline-block;
  margin-bottom: 2px;
}

.home-page .tender-band h2::after,
.home-page .live-stage-panel h3::after {
  content: "";
  display: block;
  width: 200px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, #007d00 0%, #007d00 70%, #f80000 70%, #f80000 100%);
}

.home-page .tender-grid > div {
  border-left: 3px solid #007d00;
}

/* Customer-approved usability and proof-logo improvements. */
.mobile-phone-link {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #007d00;
  border-radius: 8px;
  background: #ffffff;
  color: #007d00;
}

.mobile-phone-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-contact-hint {
  grid-column: 1 / -1;
  margin: -2px 0 2px;
  color: #4f5f57;
  font-size: 13px;
}

.home-page .proof-marquee {
  padding: 16px 0;
}

.home-page .proof-marquee-track {
  gap: 12px;
}

.home-page .proof-client {
  min-width: 210px;
  min-height: 64px;
  gap: 13px;
  padding: 8px 18px 8px 10px;
  border-radius: 8px;
  background: #ffffff;
}

.home-page .proof-client img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 6px;
}

.home-page .proof-client span {
  line-height: 1.25;
  white-space: normal;
}

.home-page .hero-dossier {
  padding: 16px 18px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    gap: 10px;
  }

  .mobile-phone-link {
    display: inline-flex;
    justify-self: end;
  }

  .nav-toggle {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .home-page .proof-client {
    min-width: 190px;
    min-height: 58px;
  }

  .home-page .proof-client img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 430px) {
  .page-hero h1 {
    overflow-wrap: anywhere;
  }
}

/* Customer-approved light treatment for the four home-page sections. */
.home-page .service-rail {
  position: sticky;
  background: rgba(249, 252, 250, 0.98);
  background-image: none;
  border-top: 1px solid #d8e5de;
  border-bottom: 1px solid #d8e5de;
  box-shadow: 0 10px 28px rgba(10, 58, 10, 0.07);
}

.home-page .service-rail::before,
.home-page .live-stage-panel::before,
.home-page .tender-band::before,
.home-page .site-footer::before {
  height: 2px;
  background: linear-gradient(90deg, #007d00 0 84%, #f80000 84% 100%);
}

.home-page .service-rail a {
  color: #17362b;
  border-left-color: #d8e5de;
}

.home-page .service-rail a:hover {
  background: #e6f2eb;
  color: #006b32;
}

.home-page .live-stage-panel {
  background: linear-gradient(145deg, #f2f7f4 0%, #e7f0eb 100%);
  background-image: none;
  color: #183229;
  border-color: #c7d9d0;
  box-shadow: 0 18px 48px rgba(10, 58, 10, 0.10);
}

.home-page .live-stage-panel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 125, 0, 0.10);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(0, 125, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 0, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.home-page .live-stage-panel h3,
.home-page .live-stage-panel p,
.home-page .live-stage-panel li,
.home-page .live-stage-panel a {
  color: #183229;
}

.home-page .live-stage-panel p {
  color: #4e655b;
}

.home-page .live-stage-panel .live-stage-status {
  color: #006b32;
  background: #ffffff;
  border-color: #b7d2c4;
}

.home-page .live-stage-panel .live-stage-meter {
  background: #d2e2da;
}

.home-page .live-stage-panel .live-stage-meter span {
  background: linear-gradient(90deg, #007d00, #36a860);
}

.home-page .live-stage-panel li::before {
  background: #f80000;
}

.home-page .live-stage-panel h3::after {
  width: 88px;
  background: #007d00;
}

.home-page .tender-band {
  background: #eef4f1;
  background-image: none;
  color: #183229;
  border-top: 1px solid #d6e3dc;
  border-bottom: 1px solid #d6e3dc;
}

.home-page .tender-band h2 {
  color: #183229;
}

.home-page .tender-band p {
  color: #52685e;
}

.home-page .tender-band h2::after {
  width: 88px;
  background: #007d00;
}

.home-page .tender-grid > div {
  background: #ffffff;
  border: 1px solid #cfddd6;
  border-left: 3px solid #007d00;
  box-shadow: 0 10px 26px rgba(10, 58, 10, 0.07);
  backdrop-filter: none;
}

.home-page .tender-grid strong {
  color: #006b32;
}

.home-page .tender-grid span {
  color: #40574d;
}

.home-page .tender-band::after {
  background: #cddbd4;
}

.home-page .site-footer {
  background: #f4f7f5;
  background-image: none;
  color: #183229;
  border-top: 1px solid #d5e1db;
}

.home-page .site-footer :where(h2, span) {
  color: #183229;
}

.home-page .site-footer .footer-grid > div:first-child > span {
  color: #183229;
}

.home-page .site-footer p {
  color: #52685e;
}

.home-page .site-footer a {
  color: #006b32;
}

@media (max-width: 760px) {
  .home-page .service-rail {
    position: relative;
    top: auto;
  }
}

/* Customer corrections from 04.08.2026. */
.brand {
  min-width: 264px;
  gap: 12px;
}

.brand .brand-mark {
  flex-basis: 62px;
  width: 62px;
  height: 62px;
}

.brand-copy {
  width: 182px;
  min-width: 182px;
}

.brand-copy strong {
  width: 100%;
  color: #007d34;
  font-size: 20px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

.brand-copy small {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
  color: #007d34;
  font-size: 10px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

.home-page .brand-copy strong,
.home-page .brand-copy small {
  color: #007d34;
}

.hero-lead {
  max-width: 700px;
  color: #354b41;
  font-size: 19px;
  font-weight: 650;
}

.hero-dossier > p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #e3f0ea;
  font-size: 15px;
  line-height: 1.45;
}

.home-page .live-stage-panel {
  box-sizing: border-box;
  height: 730px;
  min-height: 730px;
  align-content: start;
  padding-top: 72px;
  text-align: left;
}

.home-page .live-stage-panel .stage-request-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #007d00;
  border-radius: 8px;
  background: linear-gradient(135deg, #007d00, #006600);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 90, 0, 0.16);
}

.home-page .live-stage-panel .stage-request-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.home-page .section-kicker,
.case-hero .section-kicker,
.case-section-heading .section-kicker {
  border-color: rgba(0, 125, 0, 0.24);
  background: rgba(0, 125, 0, 0.08);
  color: #006b32;
}

.home-page .history-panel strong,
.home-page .timeline > article > span,
.home-page .news-grid article > span,
.case-detail article > span,
.case-works li::before,
.timeline span,
.news-grid span,
.proof-grid article > span,
.gratitude-grid article > span {
  color: #006b32;
}

.history-card-logo {
  width: 76px;
  height: 76px;
}

.project-service-browser {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1.58fr);
  gap: 22px;
  align-items: start;
}

.project-service-tabs {
  display: grid;
  gap: 8px;
}

.project-service-tabs button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid #d2dfd8;
  border-radius: 8px;
  background: #fff;
  color: #20392f;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.project-service-tabs button span {
  color: #62776d;
  font-size: 12px;
  font-weight: 850;
}

.project-service-tabs button:hover,
.project-service-tabs button.is-active {
  border-color: #80b79a;
  background: #e9f4ee;
  color: #005d2b;
}

.project-service-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-service-results article {
  display: grid;
  grid-template-rows: 210px auto auto 1fr;
  min-width: 0;
  padding: 0 0 18px;
  border: 1px solid #d2dfd8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.project-service-results article.filter-hidden {
  display: none;
}

.project-service-results img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-service-results h3,
.project-service-results p,
.project-service-results a {
  margin-right: 18px;
  margin-left: 18px;
}

.project-service-results h3 {
  margin-top: 16px;
  margin-bottom: 0;
}

.project-service-results p {
  margin-top: 9px;
  color: #53675d;
  line-height: 1.5;
}

.project-service-results a {
  align-self: end;
  color: #006b32;
  font-weight: 800;
}

.tender-chart {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid #d2dfd8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.tender-chart a,
.tender-chart img {
  display: block;
  width: 100%;
}

.company-documents-card .document-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.company-documents-card .document-links a {
  display: block;
  padding-top: 8px;
  border-top: 1px solid #d6e1db;
  color: #006b32;
  font-weight: 750;
}

.team-full-photo {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

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

.gratitude-grid article {
  display: grid;
  grid-template-rows: 320px auto auto 1fr;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d2dfd8;
  border-radius: 8px;
  background: #fff;
}

.gratitude-grid article > a {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: #f3f6f4;
}

.gratitude-grid img {
  width: 100%;
  height: 320px;
  object-fit: contain;
}

.gratitude-grid span {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 850;
}

.gratitude-grid h3 {
  margin: 7px 0 0;
  font-size: 18px;
  line-height: 1.25;
}

.gratitude-grid p {
  margin: 8px 0 0;
  color: #596c63;
}

@media (max-width: 1080px) {
  .brand {
    min-width: 232px;
  }

  .brand .brand-mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .brand-copy {
    width: 164px;
    min-width: 164px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

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

@media (max-width: 760px) {
  .project-service-browser {
    grid-template-columns: 1fr;
  }

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

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

  .home-page .live-stage-panel {
    height: auto;
    min-height: 0;
    padding: 66px 24px 28px;
  }

  .gratitude-grid article {
    grid-template-rows: minmax(360px, auto) auto auto 1fr;
  }

  .gratitude-grid img {
    height: auto;
    max-height: 560px;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: 208px;
  }

  .brand .brand-mark {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .brand-copy {
    width: 148px;
    min-width: 148px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 8px;
  }

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

/* Customer corrections from 05.08.2026. */
.brand {
  min-width: 210px;
}

.brand-copy {
  width: 136px;
  min-width: 136px;
}

.brand-copy strong,
.home-page .brand-copy strong {
  width: 100%;
  font-size: 20px;
  text-align: center;
}

.brand-copy small,
.home-page .brand-copy small {
  display: block;
  width: 100%;
  color: #1a1a1a;
  letter-spacing: 0.21em;
  text-align: center;
  white-space: nowrap;
}

.detail-grid article > span,
.recommendation-board article > strong {
  box-sizing: border-box;
  width: auto;
  min-width: 38px;
  max-width: 100%;
  height: auto;
  min-height: 38px;
  padding: 8px 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.team-join-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1080px) {
  .brand {
    min-width: 186px;
  }

  .brand-copy {
    width: 122px;
    min-width: 122px;
  }

  .brand-copy strong,
  .home-page .brand-copy strong {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: 165px;
    gap: 10px;
  }

  .brand-copy {
    width: 109px;
    min-width: 109px;
  }

  .brand-copy strong,
  .home-page .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small,
  .home-page .brand-copy small {
    font-size: 8px;
  }
}

@media (max-width: 760px) {
  .home-page .hero-media img {
    position: relative;
    z-index: 4;
  }

  .home-page .hero-blueprint {
    z-index: 3;
    opacity: 0.22;
  }
}

/* Compact mobile first screen. Desktop hero content remains unchanged. */
.hero-title-mobile,
.hero-lead-mobile,
.hero-project-label-mobile {
  display: none;
}

@media (max-width: 760px) {
  .home-page .hero {
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .home-page .hero-copy {
    display: contents;
  }

  .home-page .hero h1 {
    order: 1;
    max-width: none;
    margin: 0;
    font-size: 38px;
    line-height: 1.04;
  }

  .home-page .hero-lead {
    order: 2;
    max-width: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.48;
  }

  .home-page .hero-actions {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin: 0;
  }

  .home-page .hero-actions > .button:first-child {
    min-height: 48px;
  }

  .home-page .hero-project-link,
  .home-page .hero-project-link:hover {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--green-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .home-page .hero-project-link svg,
  .home-page .hero-about-link,
  .hero-title-desktop,
  .hero-lead-desktop,
  .hero-project-label-desktop {
    display: none;
  }

  .hero-title-mobile,
  .hero-lead-mobile,
  .hero-project-label-mobile {
    display: inline;
  }

  .home-page .hero-media {
    order: 4;
    min-height: 0;
    margin-top: 2px;
  }

  .home-page .hero .proof-row {
    order: 5;
    margin-top: 0;
  }
}

/* Public human-readable site map. */
.site-map-section {
  border-top: 1px solid var(--line);
}

.site-map-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 0;
}

.site-map-list li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.site-map-list a {
  color: var(--green-deep);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-map-list span {
  color: var(--muted);
  line-height: 1.5;
}

.site-map-list--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .site-map-list,
  .site-map-list--compact {
    grid-template-columns: 1fr;
  }
}
