* {
  box-sizing: border-box;
}

:root {
  --bg: #050403;
  --bg-2: #0b0906;
  --bg-3: #171108;
  --panel: #15120e;
  --text: #f6efe5;
  --muted: rgba(246, 239, 229, 0.72);
  --gold: #c49a3c;
  --gold-2: #d4a84b;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(196, 154, 60, 0.11), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(196, 154, 60, 0.07), transparent 26%),
    #050403;
  overflow-x: hidden;
}

body.menu-open,
body.lb-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(5, 4, 3, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background: rgba(5, 4, 3, 0.97);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(196, 154, 60, 0.18);
}

.header-inner {
  width: min(1240px, calc(100% - 72px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.82;
}

.brand-logo-box {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 18px;
  border: 1px solid rgba(196, 154, 60, 0.34);
  background:
    radial-gradient(circle at 40% 18%, rgba(196, 154, 60, 0.11), transparent 55%),
    rgba(255, 255, 255, 0.025);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo-box .brand-logo {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.brand-title {
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 7px;
  color: rgba(246, 239, 229, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: rgba(246, 239, 229, 0.7);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  position: relative;
  z-index: 3001;
  transition: background 0.2s, border-color 0.2s;
}

.menu-toggle:hover {
  background: rgba(196, 154, 60, 0.08);
  border-color: rgba(196, 154, 60, 0.28);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 31px;
  height: 3px;
  border-radius: 20px;
  background: #f6efe5;
  transform: translateX(-50%);
  transition: 0.26s ease;
}

.menu-toggle span:nth-child(1) {
  top: 24px;
}

.menu-toggle span:nth-child(2) {
  top: 34px;
}

.menu-toggle span:nth-child(3) {
  top: 44px;
}

body.menu-open .menu-toggle span:nth-child(1) {
  top: 34px;
  transform: translateX(-50%) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  top: 34px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 3000;
  width: 100vw;
  height: 100vh;
  padding: 130px 30px 44px;
  background:
    radial-gradient(circle at 15% 0%, rgba(196, 154, 60, 0.16), transparent 34%),
    linear-gradient(135deg, #050403 0%, #080706 48%, #151008 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0;
  color: #f6efe5;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(1.18rem, 6vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, padding-left 0.25s;
}

.mobile-menu a:hover {
  color: var(--gold-2);
  padding-left: 8px;
}

.mobile-menu a span {
  min-width: 42px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.mobile-menu-foot {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(196, 154, 60, 0.28);
  color: rgba(246, 239, 229, 0.68);
  font-size: 1rem;
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.78) 0%, rgba(5, 4, 3, 0.28) 48%, rgba(5, 4, 3, 0.58) 100%),
    var(--hero-image, url("images/Hero-1.jpg")) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 260px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(5, 4, 3, 0.12) 42%,
    rgba(5, 4, 3, 0.42) 72%,
    #050403 100%
  );
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 154, 60, 0.58), transparent);
  box-shadow: 0 0 26px rgba(196, 154, 60, 0.42);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 120px 0;
}

.hero-eyebrow {
  animation: heroUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-title {
  animation: heroUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero-text {
  animation: heroUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.hero .hero-actions {
  animation: heroUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow,
.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
}

.hero-title {
  margin: 0 0 30px;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.48);
}

.hero-title .hero-accent,
.section-title span {
  color: var(--gold);
}

.hero-text {
  max-width: 760px;
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.75;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

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

.btn {
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #080705;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(196, 154, 60, 0.32);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.section {
  position: relative;
  padding: 92px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 154, 60, 0.22), transparent);
  pointer-events: none;
}

.section-tight {
  padding-top: 24px;
}

.section-dark {
  background:
    radial-gradient(circle at 14% 0%, rgba(196, 154, 60, 0.065), transparent 30%),
    rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
  margin: 0 0 28px;
  max-width: 980px;
  font-size: clamp(2.7rem, 5.8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.section-text {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.8;
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 46px;
}

.home-features {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  min-height: 250px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(196, 154, 60, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #15120e;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.4s;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(196, 154, 60, 0.12), transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 154, 60, 0.28);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.feature-label,
.card-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.feature-stat {
  margin-top: 26px;
  color: var(--gold-2);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.stats,
.services-grid,
.gallery-grid,
.documents-grid,
.home-projects,
.info-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.stat,
.about-panel,
.contact-card,
.contact-form,
.document-card,
.service-card,
.project-card,
.gallery-item,
.home-project,
.info-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat,
.about-panel,
.contact-card,
.contact-form,
.document-card,
.info-card {
  padding: 34px;
}

.stat {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 154, 60, 0.22);
}

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

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card.large {
  grid-column: span 2;
}

.service-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 154, 60, 0.22);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.service-content {
  padding: 34px;
}

.service-number,
.project-label,
.document-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-content h3,
.document-card h3,
.info-card h3,
.contact-card h2,
.contact-form h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.service-content p,
.project-body p,
.about-panel p,
.document-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.about-panel p + p {
  margin-top: 18px;
}

.info-card,
.document-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}

.info-card:hover,
.document-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 154, 60, 0.2);
}

.projects-list {
  display: grid;
  gap: 38px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(480px, 0.92fr);
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.5);
}

.project-media {
  min-height: 560px;
  background: #111;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  padding: clamp(40px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-body h2 {
  margin: 0 0 22px;
  max-width: 720px;
  font-size: clamp(2.45rem, 3.6vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.project-body p {
  max-width: 680px;
}

.project-body p + p {
  margin-top: 18px;
}

.project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.project-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(196, 154, 60, 0.1);
  border: 1px solid rgba(196, 154, 60, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 0.2s, border-color 0.2s;
}

.project-meta span:hover {
  background: rgba(196, 154, 60, 0.18);
  border-color: rgba(196, 154, 60, 0.4);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.project-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}

.project-gallery img:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(196, 154, 60, 0.35);
}

.home-project {
  min-height: 440px;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.home-project img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-project:hover img {
  transform: scale(1.05);
}

.home-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.86));
  transition: opacity 0.3s;
}

.home-project:hover::after {
  opacity: 0.88;
}

.home-project-body {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-project:hover .home-project-body {
  transform: translateY(-4px);
}

.home-project-body h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.home-project-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-item {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 800;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-caption {
  background: rgba(5, 4, 3, 0.88);
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lb.lb-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lb-bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 1, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lb-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, calc(100vw - 140px));
  max-height: calc(100vh - 80px);
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.lb-cap {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.lb-counter {
  margin-top: 8px;
  color: rgba(246, 239, 229, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lb-close {
  top: 22px;
  right: 22px;
}

.lb-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lb-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(196, 154, 60, 0.14);
  border-color: rgba(196, 154, 60, 0.38);
}

.lb-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.lb-next:hover {
  transform: translateY(-50%) translateX(2px);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
}

.about-image,
.about-visual {
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image:hover,
.about-visual:hover {
  transform: scale(1.01);
}

.about-image img,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image:hover img,
.about-visual:hover img {
  transform: scale(1.04);
}

.contact-info {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-info a {
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--gold-2);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  border-radius: 18px;
  padding: 17px 18px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(196, 154, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 154, 60, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.map-wrap {
  width: 100%;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 34px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(92%) hue-rotate(180deg) brightness(0.88) contrast(0.9) saturate(0.75);
}

.cta-panel {
  padding: clamp(38px, 6vw, 72px);
  border-radius: 36px;
  border: 1px solid rgba(196, 154, 60, 0.28);
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.72)),
    url("images/Gallery-4.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, box-shadow 0.4s;
}

.cta-panel:hover {
  border-color: rgba(196, 154, 60, 0.44);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.48);
}

.cta-panel h2 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.cta-panel p {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.12rem;
}

.footer {
  padding: 70px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer h3 {
  margin: 0 0 18px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer a,
.footer p {
  color: rgba(246, 239, 229, 0.62);
  line-height: 1.7;
  text-decoration: none;
  margin: 0;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold-2);
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(246, 239, 229, 0.46);
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    width: calc(100% - 48px);
  }

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

  .project-media {
    min-height: 440px;
  }

  .project-body h2 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
  }

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

  .project-gallery img {
    height: 240px;
  }
}

@media (max-width: 991px) {
  .container,
  .hero-inner,
  .header-inner {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 96px;
  }

  .brand-logo-box {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 18px;
  }

  .brand-title {
    font-size: 0.98rem;
    letter-spacing: 0.2em;
  }

  .brand-subtitle {
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .menu-toggle span:nth-child(1) {
    top: 21px;
  }

  .menu-toggle span:nth-child(2) {
    top: 31px;
  }

  .menu-toggle span:nth-child(3) {
    top: 41px;
  }

  body.menu-open .menu-toggle span:nth-child(1),
  body.menu-open .menu-toggle span:nth-child(3) {
    top: 31px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-inner {
    padding: 62px 0 78px;
  }

  .hero-title {
    font-size: clamp(3rem, 11.5vw, 5.2rem);
  }

  .section {
    padding: 78px 0;
  }

  .split-head,
  .home-features,
  .services-grid,
  .gallery-grid,
  .documents-grid,
  .about-layout,
  .contact-layout,
  .info-grid,
  .home-projects {
    grid-template-columns: 1fr;
  }

  .service-card.large {
    grid-column: span 1;
  }

  .project-media {
    min-height: 420px;
  }

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

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

  .map-wrap {
    height: 320px;
  }

  .lb-prev {
    left: 10px;
  }

  .lb-next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner,
  .header-inner {
    width: calc(100% - 30px);
  }

  .header-inner {
    min-height: 92px;
  }

  .brand {
    gap: 14px;
  }

  .brand-logo-box {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 16px;
  }

  .brand-title {
    max-width: 210px;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    white-space: normal;
  }

  .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.26em;
  }

  .menu-toggle {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .menu-toggle span {
    width: 26px;
  }

  .menu-toggle span:nth-child(1) {
    top: 19px;
  }

  .menu-toggle span:nth-child(2) {
    top: 28px;
  }

  .menu-toggle span:nth-child(3) {
    top: 37px;
  }

  body.menu-open .menu-toggle span:nth-child(1),
  body.menu-open .menu-toggle span:nth-child(3) {
    top: 28px;
  }

  .mobile-menu {
    padding: 118px 26px 40px;
  }

  .mobile-menu a {
    font-size: 1.22rem;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.62) 0%, rgba(5, 4, 3, 0.34) 42%, rgba(5, 4, 3, 0.74) 100%),
      var(--hero-image, url("images/Hero-1.jpg")) center / cover no-repeat;
  }

  .hero::after {
    height: 220px;
  }

  .hero-inner {
    padding: 42px 0 54px;
  }

  .hero-title {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(2.05rem, 8.8vw, 2.75rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
  }

  .hero-text {
    margin-bottom: 30px;
    font-size: 0.98rem;
    line-height: 1.72;
    max-width: 92%;
  }

  .hero-eyebrow,
  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.17em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-height: 58px;
    font-size: 0.82rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-tight {
    padding-top: 14px;
  }

  .section-title {
    font-size: clamp(2.05rem, 9.6vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .section-text {
    font-size: 1rem;
    line-height: 1.75;
  }

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

  .feature-card,
  .service-content,
  .stat,
  .about-panel,
  .contact-card,
  .contact-form,
  .document-card,
  .info-card {
    padding: 28px;
  }

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

  .feature-card h3 {
    font-size: 1.55rem;
  }

  .feature-stat {
    font-size: 2.35rem;
  }

  .service-content h3,
  .document-card h3,
  .info-card h3 {
    font-size: 1.65rem;
  }

  .project-card {
    border-radius: 26px;
  }

  .project-media {
    min-height: 285px;
  }

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

  .project-label,
  .service-number,
  .document-card span,
  .card-label,
  .feature-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .project-body h2 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: clamp(2.05rem, 9.2vw, 3.05rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .project-body p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .project-meta {
    gap: 8px;
    margin-top: 24px;
  }

  .project-meta span {
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .project-gallery img {
    height: 260px;
    border-radius: 16px;
  }

  .home-project,
  .home-project img {
    min-height: 360px;
  }

  .home-project-body {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .home-project-body h3 {
    font-size: 1.65rem;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 300px;
  }

  .gallery-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.92rem;
  }

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

  .cta-panel {
    padding: 34px 26px;
    border-radius: 28px;
  }

  .cta-panel h2 {
    font-size: clamp(2rem, 9.4vw, 3.2rem);
  }

  .cta-panel p {
    font-size: 1rem;
  }

  .footer {
    padding: 58px 0 32px;
  }

  .map-wrap {
    height: 260px;
    border-radius: 20px;
  }

  .lb-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }

  .lb-prev,
  .lb-next {
    width: 44px;
    height: 44px;
  }

  .lb-prev {
    left: 6px;
  }

  .lb-next {
    right: 6px;
  }

  .lb-wrap {
    max-width: calc(100vw - 30px);
  }
}

@media (max-width: 390px) {
  .brand-title {
    max-width: 180px;
    font-size: 0.82rem;
    letter-spacing: 0.13em;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .hero-title {
    font-size: clamp(1.95rem, 8.2vw, 2.45rem);
  }

  .project-body h2 {
    font-size: clamp(1.9rem, 8.7vw, 2.75rem);
  }

  .section-title {
    font-size: clamp(1.95rem, 9vw, 2.9rem);
  }
}

.home-features .feature-card {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(21, 18, 14, 0.96) 0%, rgba(21, 18, 14, 0.88) 54%, rgba(21, 18, 14, 0.55) 100%),
    var(--feature-image) center / cover no-repeat !important;
}

.home-features .feature-card:nth-child(1) {
  --feature-image: url("images/Service-construction.jpg");
}

.home-features .feature-card:nth-child(2) {
  --feature-image: url("images/Service-construction.jpg");
}

.home-features .feature-card:nth-child(3) {
  --feature-image: url("images/Service-machinery.jpg");
}

.home-features .feature-card:nth-child(4) {
  --feature-image: url("images/Project-gurmazovo-1.jpg");
}

.home-features .feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 18%, rgba(196, 154, 60, 0.16), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(5, 4, 3, 0.46) 100%);
  pointer-events: none;
}

.home-features .feature-card > * {
  position: relative;
  z-index: 2;
}

.home-features .feature-card .feature-stat {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .home-features .feature-card {
    background:
      linear-gradient(180deg, rgba(21, 18, 14, 0.86) 0%, rgba(21, 18, 14, 0.95) 56%, rgba(21, 18, 14, 0.98) 100%),
      var(--feature-image) center / cover no-repeat !important;
  }
}
@media (min-width: 1181px) {
  .project-card {
    grid-template-columns: minmax(560px, 1.05fr) minmax(520px, 0.95fr);
  }

  .project-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    align-self: center;
    border-radius: 30px 0 0 30px;
  }

  .project-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #080706;
  }

  .project-card:hover .project-media img {
    transform: none;
  }

  .project-body {
    min-height: 560px;
  }
}
@media (min-width: 1181px) {
  .about-layout {
    grid-template-columns: minmax(640px, 1fr) minmax(420px, 0.72fr);
    align-items: stretch;
  }

  .about-panel .section-title {
    font-size: clamp(3rem, 4.2vw, 4.8rem);
    line-height: 0.95;
    max-width: 720px;
  }

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

  .about-panel .stat {
    padding: 26px 22px;
    min-height: 170px;
  }

  .about-panel .stat strong {
    font-size: clamp(2.2rem, 3vw, 3.1rem);
    letter-spacing: -0.04em;
  }

  .about-panel .stat span {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .about-visual {
    min-height: 100%;
    max-height: 760px;
  }

  .about-visual img {
    object-fit: cover;
    object-position: center;
  }
}
.home-features .feature-card:nth-child(1) {
  --feature-image: url("images/Service-construction.jpg");
}

.home-features .feature-card:nth-child(2) {
  --feature-image: url("images/Service-renovation.jpg");
}

.home-features .feature-card:nth-child(3) {
  --feature-image: url("images/Service-machinery.jpg");
}

.home-features .feature-card:nth-child(4) {
  --feature-image: url("images/Project-gurmazovo-1.jpg");
}

.home-features .feature-card {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.78) 48%, rgba(10, 8, 6, 0.36) 100%),
    var(--feature-image) center / cover no-repeat !important;
}

.home-features .feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 154, 60, 0.18), transparent 36%),
    linear-gradient(180deg, transparent 0%, rgba(5, 4, 3, 0.36) 100%);
  pointer-events: none;
}

.home-features .feature-card > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .home-features .feature-card {
    min-height: 460px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.18) 0%, rgba(5, 4, 3, 0.34) 38%, rgba(5, 4, 3, 0.92) 78%, rgba(5, 4, 3, 0.98) 100%),
      var(--feature-image) center top / cover no-repeat !important;
  }

  .home-features .feature-card:nth-child(1) {
    background-position: center center !important;
  }

  .home-features .feature-card:nth-child(2) {
    background-position: center center !important;
  }

  .home-features .feature-card:nth-child(3) {
    background-position: center center !important;
  }

  .home-features .feature-card:nth-child(4) {
    background-position: center center !important;
  }

  .home-features .feature-card h3 {
    font-size: 1.48rem;
    line-height: 1.08;
  }

  .home-features .feature-card p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .home-features .feature-card .feature-stat {
    margin-top: 24px;
    font-size: 2.55rem;
    text-shadow: 0 10px 35px rgba(0, 0, 0, 0.72);
  }
}
@media (min-width: 1181px) {
  .projects-list {
    gap: 42px;
  }

  .project-card {
    display: grid;
    grid-template-columns: minmax(520px, 0.95fr) minmax(520px, 1.05fr);
    grid-template-areas:
      "media body";
    align-items: center;
    min-height: auto;
    padding: 38px;
    gap: 42px;
  }

  .project-media {
    grid-area: media;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 26px;
    align-self: center;
    background: rgba(255, 255, 255, 0.025);
  }

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

  .project-body {
    grid-area: body;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
  }

  .project-body h2 {
    max-width: 560px;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 3.1vw, 3.65rem);
    line-height: 0.98;
  }

  .project-body p {
    max-width: 620px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .project-body p + p {
    margin-top: 18px;
  }

  .project-meta {
    margin-top: 24px;
  }

  .project-gallery {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 560px;
  }

  .project-gallery img {
    height: 132px;
    border-radius: 16px;
    object-fit: cover;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card:hover .project-media img {
    transform: none;
  }
}

@media (min-width: 1380px) {
  .project-card {
    grid-template-columns: minmax(620px, 1fr) minmax(560px, 0.92fr);
    gap: 54px;
    padding: 44px;
  }

  .project-media {
    aspect-ratio: 16 / 9;
  }

  .project-gallery img {
    height: 145px;
  }
}
@media (min-width: 1181px) {
  .projects-list {
    gap: 36px !important;
  }

  .project-card {
    display: grid !important;
    grid-template-columns: minmax(560px, 1fr) minmax(420px, 0.78fr) !important;
    grid-template-areas:
      "label title"
      "lead lead"
      "media gallery"
      "second gallery"
      "meta meta" !important;
    gap: 22px 38px !important;
    align-items: start !important;
    padding: 38px !important;
    min-height: 0 !important;
  }

  .project-body {
    display: contents !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  .project-label {
    grid-area: label !important;
    margin: 0 !important;
    align-self: end !important;
  }

  .project-body h2 {
    grid-area: title !important;
    margin: 0 !important;
    max-width: 620px !important;
    font-size: clamp(2.2rem, 3vw, 3.45rem) !important;
    line-height: 0.98 !important;
  }

  .project-body p:nth-of-type(1) {
    grid-area: lead !important;
    max-width: 1000px !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .project-media {
    grid-area: media !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    align-self: start !important;
    border-radius: 24px !important;
    background: #080706 !important;
    overflow: hidden !important;
  }

  .project-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
  }

  .project-body p:nth-of-type(2) {
    grid-area: second !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  .project-gallery {
    grid-area: gallery !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 0 !important;
    align-self: start !important;
    max-width: none !important;
  }

  .project-gallery img {
    height: 126px !important;
    border-radius: 16px !important;
    object-fit: cover !important;
  }

  .project-meta {
    grid-area: meta !important;
    margin: 0 !important;
    padding-top: 4px !important;
  }

  .project-card:hover {
    transform: none !important;
  }

  .project-card:hover .project-media img {
    transform: none !important;
  }
}

@media (min-width: 1450px) {
  .project-card {
    grid-template-columns: minmax(680px, 1fr) minmax(470px, 0.72fr) !important;
    gap: 24px 46px !important;
    padding: 44px !important;
  }

  .project-gallery img {
    height: 138px !important;
  }
}