:root {
  color-scheme: light;
  --red: #cf2027;
  --red-dark: #a71920;
  --black: #101112;
  --deep: #070808;
  --anthracite: #242424;
  --gray: #686868;
  --line: #e4e4e4;
  --light: #f6f6f4;
  --white: #ffffff;
  --shadow: 0 26px 72px rgba(16, 17, 18, 0.14);
  --soft-shadow: 0 14px 38px rgba(16, 17, 18, 0.085);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  color: var(--black);
  background: #fbfbfa;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 30px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 258px;
  flex-shrink: 0;
}

.brand img {
  width: 252px;
  height: 82px;
  object-fit: contain;
  object-position: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--anthracite);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gray);
  font-size: 0.86rem;
  font-weight: 700;
}

.language-switch .active {
  color: var(--red);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 800;
  line-height: 1.15;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: none;
}

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

.btn-primary:hover {
  color: var(--white);
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--white);
}

.btn-light {
  color: var(--black);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black) url("../img/hero-construction-premium.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.10));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 96px 0 112px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #eeeeee;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.3vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 32px;
  color: #eeeeee;
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
}

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

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.68fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 48px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3.15vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.lead {
  color: var(--gray);
  font-size: 1.05rem;
}

.section-dark .section-head p,
.section-dark .lead {
  color: #d4d4d4;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.intro-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-stat {
  min-height: 134px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

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

.intro-stat strong {
  display: block;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.intro-stat span {
  display: block;
  margin-top: 10px;
  color: var(--gray);
  font-weight: 700;
}

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

.service-card,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.service-card {
  min-height: 256px;
  padding: 32px 30px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  color: var(--red);
  border: 1px solid rgba(211, 47, 47, 0.28);
  border-radius: 7px;
  background: rgba(211, 47, 47, 0.06);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.project-card h3,
.contact-card h3 {
  margin-bottom: 11px;
  font-size: 1.12rem;
  line-height: 1.24;
}

.service-card p,
.project-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--gray);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.logo-showcase {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    linear-gradient(135deg, #f8f8f6, #ffffff 60%),
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.035) 0 1px, transparent 1px 96px);
  box-shadow: var(--shadow);
}

.logo-showcase img {
  width: min(100%, 520px);
  max-height: 225px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(16, 17, 18, 0.14));
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--anthracite);
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 10px;
  background: var(--red);
}

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

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 28px 28px 30px;
}

.status {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 5px 9px;
  color: var(--red);
  border: 1px solid rgba(211, 47, 47, 0.34);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.operating-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #080909 0%, #151617 66%, #170e0f 100%);
}

.operating-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100%);
  background-size: 190px 100%, 100% 140px;
  opacity: 0.45;
}

.operating-section .container {
  position: relative;
  z-index: 1;
}

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

.operating-card {
  position: relative;
  min-height: 315px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.operating-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(207, 32, 39, 0));
}

.operating-card.featured {
  background: linear-gradient(180deg, rgba(207, 32, 39, 0.16), rgba(255, 255, 255, 0.055));
  border-color: rgba(207, 32, 39, 0.38);
}

.operating-card:hover {
  border-color: rgba(207, 32, 39, 0.42);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.24);
}

.operating-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: var(--white);
  border: 1px solid rgba(207, 32, 39, 0.42);
  border-radius: 5px;
  background: rgba(207, 32, 39, 0.12);
}

.operating-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operating-label {
  display: block;
  margin-bottom: 16px;
  color: #b9b9b9;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.operating-card h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1.2;
}

.operating-card p {
  margin-bottom: 0;
  color: #d4d4d4;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.contact-info-card {
  min-height: 100%;
  padding: 42px;
  color: var(--white);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(7, 8, 8, 0.98), rgba(28, 29, 30, 0.96)),
    radial-gradient(circle at top right, rgba(207, 32, 39, 0.2), transparent 34%);
  box-shadow: var(--shadow);
}

.contact-info-card h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.contact-info-card p {
  color: #d6d6d6;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin: 34px 0 26px;
}

.contact-method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
}

a.contact-method {
  transition: border-color 180ms ease, background 180ms ease;
}

a.contact-method:hover {
  color: var(--white);
  border-color: rgba(207, 32, 39, 0.52);
  background: rgba(207, 32, 39, 0.12);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 1px solid rgba(207, 32, 39, 0.5);
  border-radius: 5px;
  background: rgba(207, 32, 39, 0.18);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.contact-method strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-method span span {
  color: #d7d7d7;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-note {
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}

.contact-card {
  padding: 38px;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin: 24px 0 0;
}

.contact-list dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 6px 0 0;
  color: var(--anthracite);
  font-weight: 700;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--anthracite);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px 15px;
  color: var(--black);
  background: var(--white);
  font: inherit;
}

.form-field textarea {
  min-height: 158px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  color: #d4d4d4;
  background: var(--black);
  border-top: 1px solid rgba(207, 32, 39, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.28fr) repeat(3, minmax(160px, 0.72fr));
  gap: 42px;
  padding: 68px 0 62px;
}

.footer-brand {
  display: flex;
  align-items: center;
  color: var(--white);
}

.footer-brand img {
  width: 278px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.26));
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 18px 0;
  color: #ababab;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.footer-note {
  max-width: 420px;
  color: #ababab;
  font-size: 0.92rem;
}

.legal-hero {
  padding: 92px 0 58px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 17, 18, 0.96), rgba(29, 29, 29, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 160px);
}

.thanks-hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 17, 18, 0.94), rgba(29, 29, 29, 0.88)),
    url("../img/hero-construction-premium.webp") center / cover no-repeat;
}

.legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
  color: var(--anthracite);
}

.legal-content a {
  color: var(--red);
  font-weight: 750;
}

/* Premium interaction and visual layer */
.site-header {
  box-shadow: 0 14px 38px rgba(16, 17, 18, 0.055);
}

.nav-menu a,
.language-switch a,
.footer-links a {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-menu a {
  position: relative;
}

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

.nav-menu a:hover::after {
  right: 0;
}

.brand img {
  filter: drop-shadow(0 10px 18px rgba(16, 17, 18, 0.10));
}

.btn {
  box-shadow: none;
  letter-spacing: 0;
}

.btn-primary {
  border-color: var(--red);
  box-shadow: 0 12px 26px rgba(207, 32, 39, 0.18);
}

.btn:hover {
  transform: none;
}

.hero {
  min-height: 748px;
  isolation: isolate;
  background-position: center right;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.92) 0%, rgba(7, 8, 8, 0.78) 33%, rgba(7, 8, 8, 0.38) 68%, rgba(7, 8, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.24), rgba(7, 8, 8, 0.64));
}

.hero::after {
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(7, 8, 8, 0.72), rgba(7, 8, 8, 0.02) 45%),
    linear-gradient(105deg, transparent 0 58%, rgba(207, 32, 39, 0.16) 58% 59%, transparent 59% 100%);
}

.hero-content {
  z-index: 1;
  max-width: 760px;
}

.hero-content::before {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--red);
}

.hero .eyebrow::before,
.thanks-hero .eyebrow::before {
  display: none;
}

.hero h1 {
  max-width: 720px;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.hero-lead {
  color: #f0f0f0;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 570px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f5f5f5;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  backdrop-filter: none;
  white-space: normal;
}

.hero-assurance span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
}

.compact-head {
  align-items: start;
}

.value-section {
  color: var(--white);
  background:
    linear-gradient(135deg, #101112 0%, #1d1d1d 72%, #171010 100%);
}

.value-section .section-head p,
.value-section .lead {
  color: #d6d6d6;
}

.value-section h2,
.value-card h3 {
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.value-card {
  position: relative;
  min-height: 172px;
  padding: 28px 24px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  transition: background 220ms ease;
}

.value-card:last-child {
  border-right: 0;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red);
}

.value-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.065);
}

.value-icon {
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.value-card h3 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.service-card,
.project-card,
.contact-card,
.logo-showcase {
  box-shadow: var(--soft-shadow);
}

.service-card,
.project-card,
.contact-card {
  transition: box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(211, 47, 47, 0));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.project-card:hover,
.contact-card:hover {
  border-color: rgba(211, 47, 47, 0.35);
  box-shadow: 0 22px 58px rgba(16, 17, 18, 0.11);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.service-card:hover .service-icon {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.logo-showcase {
  position: relative;
  align-content: center;
  gap: 24px;
  overflow: hidden;
}

.logo-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(207, 32, 39, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(16, 17, 18, 0.04) 0 1px, transparent 1px 88px);
}

.logo-showcase img,
.showcase-note {
  position: relative;
  z-index: 1;
}

.showcase-note {
  width: 100%;
  padding: 18px;
  border-left: 3px solid var(--red);
  background: rgba(245, 245, 245, 0.82);
}

.showcase-note strong,
.showcase-note span {
  display: block;
}

.showcase-note strong {
  color: var(--black);
  font-size: 1.05rem;
}

.showcase-note span {
  margin-top: 4px;
  color: var(--gray);
  font-weight: 700;
}

.project-media {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1);
  transition: transform 420ms ease, filter 420ms ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.82));
}

.project-overlay span {
  display: inline-flex;
  max-width: 260px;
  padding-top: 12px;
  border-top: 2px solid var(--red);
  font-size: 0.86rem;
  font-weight: 850;
}

.project-card:hover .project-media img {
  transform: scale(1.035);
  filter: contrast(1.05);
}

.contact-card {
  background: linear-gradient(180deg, var(--white), #fbfbfb);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(211, 47, 47, 0.24);
  border-color: var(--red);
}

.site-footer {
  background:
    linear-gradient(135deg, #101112 0%, #1d1d1d 100%);
}

.execution-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

.execution-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(16, 17, 18, 0.025) 0 1px, transparent 1px 100%);
  background-size: 190px 100%, 100% 120px;
  opacity: 0.5;
}

.execution-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1fr);
  gap: 54px;
  align-items: stretch;
}

.execution-copy {
  display: grid;
  align-content: center;
  min-height: 315px;
  padding: 34px 0;
}

.execution-copy h2 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 3.2vw, 3.2rem);
}

.execution-copy p:not(.section-kicker) {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--gray);
  font-size: 1.06rem;
}

.execution-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 70px rgba(16, 17, 18, 0.085);
  backdrop-filter: blur(10px);
}

.metric-card {
  position: relative;
  min-height: 280px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 46px;
  height: 3px;
  background: var(--red);
}

.metric-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.metric-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--black);
  font-size: 1.15rem;
  line-height: 1.2;
}

.metric-card p {
  margin: 0;
  color: var(--gray);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: stretch;
}

.trust-summary {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 510px;
  padding: 46px 0;
}

.trust-summary h2 {
  margin-bottom: 22px;
  color: var(--white);
}

.trust-summary p {
  max-width: 500px;
  margin-bottom: 0;
  color: #d7d7d7;
}

.trust-line {
  width: 92px;
  height: 3px;
  margin-top: 34px;
  background: var(--red);
}

.value-section .value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.value-section .value-card {
  min-height: 232px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.value-section .value-card:last-child {
  grid-column: 1 / -1;
  min-height: 190px;
}

.value-section .value-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(207, 32, 39, 0));
}

.value-section .value-card h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.value-section .value-card p {
  margin-bottom: 0;
  color: #d1d1d1;
  font-size: 0.95rem;
  line-height: 1.58;
}

.about-section {
  background:
    linear-gradient(180deg, #f5f5f3, #ffffff 62%);
}

.about-visual {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 8, 0.02), rgba(7, 8, 8, 0.48)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 44%);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.98);
}

.visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  padding: 20px 22px;
  color: var(--white);
  border-left: 3px solid var(--red);
  background: rgba(7, 8, 8, 0.78);
  backdrop-filter: blur(10px);
}

.visual-caption span,
.visual-caption strong,
.visual-caption small {
  display: block;
}

.visual-caption span {
  margin-bottom: 7px;
  color: #d9d9d9;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-caption strong {
  font-size: 1.24rem;
  line-height: 1.2;
}

.visual-caption small {
  margin-top: 5px;
  color: #d8d8d8;
  font-size: 0.93rem;
  font-weight: 700;
}

.about-copy {
  padding: 10px 0;
}

.service-section {
  background:
    linear-gradient(180deg, #ffffff, #f7f7f5);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-focus-card {
  position: sticky;
  top: 122px;
  min-height: 420px;
  padding: 34px;
  color: var(--white);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(7, 8, 8, 0.96), rgba(30, 31, 31, 0.94)),
    url("../img/cesah-site-helmet-card.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
}

.service-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(145deg, rgba(7, 8, 8, 0.94), rgba(7, 8, 8, 0.72) 56%, rgba(207, 32, 39, 0.32)),
    linear-gradient(0deg, rgba(7, 8, 8, 0.54), transparent 42%);
}

.service-focus-card span {
  display: block;
  margin-bottom: 52px;
  color: #e0e0e0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-focus-card h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.08;
}

.service-focus-card p {
  margin-bottom: 0;
  color: #dddddd;
}

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

.service-layout .service-card {
  min-height: 236px;
  padding: 30px;
  border-color: rgba(16, 17, 18, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 249, 0.98));
}

.reveal {
  opacity: 0.88;
  transition: opacity 260ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

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

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 92px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .section-head,
  .intro-grid,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .value-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .value-card:last-child {
    border-bottom: 0;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 184px;
    height: 70px;
  }

  .nav {
    gap: 12px;
    min-height: 78px;
  }

  .nav-menu {
    top: 78px;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 1;
  }

  .language-switch {
    gap: 5px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 650px;
    background-position: 62% center;
  }

  .hero-content {
    padding: 74px 0 92px;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
    line-height: 1.06;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .section {
    padding: 68px 0;
  }

  .intro-panel,
  .service-grid,
  .project-grid,
  .operating-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .operating-card,
  .contact-info-card,
  .contact-card {
    padding: 28px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-assurance {
    gap: 8px;
  }

  .hero-assurance span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-align: center;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 1100px) {
  .execution-grid,
  .trust-layout,
  .service-layout {
    grid-template-columns: 1fr;
  }

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

  .trust-summary {
    min-height: auto;
    padding: 0;
  }

  .service-focus-card {
    position: relative;
    top: auto;
    min-height: 310px;
  }
}

@media (max-width: 760px) {
  .execution-copy {
    min-height: 0;
    padding: 0;
  }

  .execution-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .execution-board,
  .value-section .value-grid,
  .service-layout .service-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 0;
    padding: 26px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .metric-card span {
    margin-bottom: 18px;
  }

  .trust-layout {
    gap: 28px;
  }

  .value-section .value-card,
  .value-section .value-card:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 26px;
  }

  .about-visual,
  .about-visual img {
    min-height: 360px;
  }

  .visual-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
  }

  .service-focus-card {
    min-height: 340px;
    padding: 28px;
  }

  .service-focus-card span {
    margin-bottom: 38px;
  }
}
