:root {
  --black: #1c1c1b;
  --black-soft: #242421;
  --beige: #e9e3d9;
  --cream: #f7f5f1;
  --white: #ffffff;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --bronze: #b38455;
  --border: rgba(31, 31, 31, 0.1);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text);
}

body,
button,
input,
textarea,
select {
  font-family: Inter, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

p {
  color: var(--muted);
}

nav.container-fluid {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

nav a {
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}

nav a[role="button"] {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
}

main.container,
footer.container,
section .container {
  max-width: 1180px;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding: 4rem;
  overflow: hidden;
  border-radius: 30px;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-label {
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-label.light {
  color: #d4b28d;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
  margin-bottom: 1.2rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-actions a[role="button"]:first-child {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.hero-actions .outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 6rem;
  overflow: hidden;
  border-radius: 24px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stats article {
  margin: 0;
  padding: 1.6rem;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.stats strong {
  display: block;
  color: var(--black);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.05em;
  margin-bottom: 0.25rem;
}

.stats span {
  color: var(--muted);
}

.intro {
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: start;
}

.intro h2,
.section-heading h2,
.architect-card h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.intro p {
  font-size: 1.08rem;
  line-height: 1.8;
}

.architect-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  margin-bottom: 6rem;
}

.architect-card {
  padding: 3rem;
  border-radius: 30px;
  background: var(--beige);
}

.architect-card p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.architect-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 30px;
}

.dark-section {
  margin-left: calc(50% - 50vw);
  width: 100vw;
  padding: 6rem max(2rem, calc((100vw - 1180px) / 2));
  margin-bottom: 6rem;
  background: var(--black);
  color: var(--white);
}

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

.dark-section p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-grid article {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background-size: cover;
  background-position: center;
  box-shadow: none;
}

.service-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.2)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent);
}

.service-grid article div {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.service-grid span,
.process-grid span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--bronze);
  font-weight: 900;
}

.service-grid h3 {
  font-size: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 6rem;
}

.project-grid article {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--white);
  box-shadow: none;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.project-grid article div {
  padding: 1.2rem;
}

.project-grid p {
  margin-bottom: 0.35rem;
  color: var(--bronze);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.project-grid h3 {
  font-size: 1.35rem;
}

.process-section {
  padding: 4rem;
  margin-bottom: 6rem;
  border-radius: 30px;
  background: var(--beige);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-grid article {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.process-grid h3 {
  font-size: 1.25rem;
}

.faq-section {
  max-width: 860px;
  margin: 0 auto 6rem;
}

details {
  margin-bottom: 0.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

summary {
  font-weight: 800;
  cursor: pointer;
}

.contact-section {
  margin-bottom: 4rem;
}

.contact-section article {
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--black);
  box-shadow: var(--shadow);
}

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

.contact-section h3 {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section input,
.contact-section textarea,
.contact-section select {
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
}

.contact-section label {
  color: rgba(255, 255, 255, 0.8);
}

.contact-section button {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--black);
  font-weight: 900;
}

footer.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border);
}

footer small {
  grid-column: 1 / -1;
}

footer a {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .stats,
  .service-grid,
  .project-grid,
  .process-grid,
  .architect-section,
  footer.container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 760px;
    padding: 2rem;
  }
}

@media (max-width: 680px) {
  nav.container-fluid {
    position: static;
  }

  nav.container-fluid ul:last-child {
    display: none;
  }

  .hero {
    min-height: 680px;
    border-radius: 22px;
    padding: 1.4rem;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .stats,
  .service-grid,
  .project-grid,
  .process-grid,
  .architect-section,
  footer.container {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 1rem;
  }

  .architect-card,
  .process-section,
  .contact-section article {
    padding: 1.5rem;
  }

  .dark-section {
    padding: 4rem 1rem;
  }

  .service-grid article {
    min-height: 340px;
  }

  footer small {
    grid-column: auto;
  }
}