:root {
  --ink: #151515;
  --coal: #242424;
  --muted: #6f7478;
  --line: #e4e0d8;
  --paper: #f7f4ee;
  --white: #ffffff;
  --amber: #d99a22;
  --amber-dark: #9f6710;
  --steel: #59636c;
  --olive: #56624b;
  --shadow: 0 18px 45px rgba(21, 21, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  direction: rtl;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--coal);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber-dark);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--white);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber-dark);
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.lead {
  color: #ece9e3;
  max-width: 680px;
  font-size: 1.12rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.88), rgba(21, 21, 21, 0.42) 54%, rgba(21, 21, 21, 0.18)),
    url("assets/hero-construction.jpg") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 42px;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.18);
}

.stat {
  padding: 24px;
  background: rgba(21, 21, 21, 0.58);
}

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

.stat span {
  color: #eee8de;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.project-card,
.value-card,
.team-card,
.info-panel,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(21, 21, 21, 0.03);
}

.service-card,
.value-card,
.team-card,
.contact-card {
  padding: 26px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--coal);
  color: var(--amber);
  font-weight: 900;
}

.service-card p,
.value-card p,
.team-card p,
.contact-card p {
  color: var(--muted);
  margin-top: 10px;
}

.project-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.project-body {
  padding: 22px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  background: #f0ede6;
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 800;
}

.tag.status {
  color: var(--ink);
  background: rgba(217, 154, 34, 0.22);
}

.why-band {
  color: var(--white);
  background: var(--coal);
}

.why-band .section-head p,
.why-band .value-card p {
  color: #d7d0c5;
}

.why-band .value-card {
  background: #2f2f2f;
  border-color: rgba(255, 255, 255, 0.1);
}

.cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #3a3328);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta p {
  color: #e5ded3;
  max-width: 620px;
  margin-top: 12px;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.9), rgba(21, 21, 21, 0.55)),
    url("assets/hero-construction.jpg") center / cover no-repeat;
  padding: 92px 0;
}

.page-hero p {
  max-width: 690px;
  margin-top: 16px;
  color: #e9e4dc;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.info-panel {
  padding: 32px;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 22px;
  border-right: 4px solid var(--amber);
  background: var(--white);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--coal);
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--amber);
  background: rgba(217, 154, 34, 0.16);
}

.details-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.project-gallery {
  display: grid;
  gap: 14px;
}

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

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-gallery img {
  aspect-ratio: 4 / 3;
}

.detail-copy {
  display: grid;
  gap: 22px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.before-after figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.before-after figcaption {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 28px;
}

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

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--coal);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdfa;
  padding: 12px 14px;
  color: var(--ink);
}

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

.map {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(20%);
}

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

.socials a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}

.site-footer {
  color: #eee8df;
  background: var(--ink);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #c9c1b5;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9a196;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  .nav-links {
    position: absolute;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 14px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 10px;
  }

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

  .stats,
  .grid.three,
  .grid.two,
  .split,
  .details-layout,
  .contact-layout,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-inner {
    display: grid;
    align-items: start;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-text span {
    display: none;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .stats {
    margin-top: 42px;
  }

  .mini-gallery,
  .before-after {
    grid-template-columns: 1fr;
  }

  .actions,
  .btn {
    width: 100%;
  }
}
