:root {
  --ink: #12202b;
  --ink-2: #213342;
  --paper: #f4f1eb;
  --white: #fff;
  --muted: #697681;
  --gold: #c0924e;
  --gold-dark: #9b7032;
  --line: rgba(18, 32, 43, .14);
  --shadow: 0 24px 70px rgba(18, 32, 43, .12);
  --radius: 8px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 16px/1.7 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: .96; letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: 1.04; letter-spacing: -.045em; }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { color: var(--muted); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 50px; }
.section-head h2 { max-width: 680px; margin-bottom: 0; }
.section-head p { max-width: 420px; margin-bottom: 4px; }
.dark { color: var(--white); background: var(--ink); }
.dark p { color: #aeb9c1; }

.topbar { padding: 8px 0; color: #c8d0d5; background: #0b141b; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(18,32,43,.96); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--gold); font: 700 1.1rem/1 Georgia, serif; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); }
.nav a { color: #d7dde1; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); color: white; background: transparent; font-size: 1.3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: var(--gold);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .25s ease;
}
.btn:hover { border-color: var(--gold-dark); background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.text-link { color: var(--gold-dark); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,22,.96) 0%, rgba(8,16,22,.74) 52%, rgba(8,16,22,.2) 100%), url("../images/placeholder.svg") center/cover; }
.hero-content { position: relative; z-index: 1; max-width: 850px; padding: 110px 0 130px; }
.hero h1 { margin-bottom: 25px; max-width: 820px; }
.hero p { max-width: 580px; color: #c1cbd1; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.16); background: rgba(9,18,24,.72); backdrop-filter: blur(8px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.15); }
.stat strong { display: block; color: var(--gold); font: 700 1.8rem Georgia, serif; }
.stat span { color: #bbc4ca; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.page-hero { position: relative; padding: 125px 0 115px; overflow: hidden; color: white; background: var(--ink); }
.page-hero::after { content: ""; position: absolute; top: -120px; right: -80px; width: 520px; height: 520px; border: 1px solid rgba(192,146,78,.35); transform: rotate(35deg); }
.page-hero h1 { position: relative; z-index: 1; max-width: 850px; margin-bottom: 20px; }
.page-hero p { position: relative; z-index: 1; max-width: 580px; color: #bfc9cf; }
.breadcrumbs { position: relative; z-index: 1; margin-bottom: 30px; color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; z-index: -1; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); }
.image-frame img { width: 100%; min-height: 480px; object-fit: cover; }
.feature-list { display: grid; gap: 18px; margin: 28px 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.feature-list li::before { content: "✓"; color: var(--gold-dark); }

.card { border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-body { padding: 30px; }
.card-number { display: block; margin-bottom: 22px; color: var(--gold); font: 700 2.4rem Georgia, serif; }
.card p:last-child { margin-bottom: 0; }
.service-card { padding: 38px 30px; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 36px; color: var(--gold); border: 1px solid var(--gold); font: 700 1.2rem Georgia, serif; }
.project-card { position: relative; overflow: hidden; min-height: 430px; color: white; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,16,22,.94), transparent 65%); }
.project-card:hover img { transform: scale(1.04); }
.project-info { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; }
.project-info h3 { margin-bottom: 5px; }
.project-info span { color: var(--gold); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 310px; object-fit: cover; transition: transform .4s, filter .4s; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.75); }

.process { counter-reset: step; }
.process-item { position: relative; padding: 30px 24px 30px 68px; border-top: 1px solid rgba(255,255,255,.18); }
.process-item::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; color: var(--gold); font: 700 1.4rem Georgia, serif; }
.process-item h3 { margin-bottom: 8px; }
.quote { padding: 42px; border-left: 3px solid var(--gold); background: var(--paper); }
.quote p { color: var(--ink-2); font: italic 1.4rem/1.6 Georgia, serif; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-list { display: grid; gap: 24px; margin-top: 34px; }
.contact-item { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-item strong { display: block; margin-bottom: 4px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-item span, .contact-item a { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #faf9f7; font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.form-status { margin: 15px 0 0; color: var(--gold-dark); font-weight: 700; }

.cta { padding: 72px 0; color: white; background: var(--ink-2); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.8rem); }
.footer { padding: 75px 0 25px; color: #d0d8dc; background: #0b141b; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h3 { color: var(--white); font-size: 1rem; }
.footer p, .footer a { color: #95a3ac; font-size: .88rem; }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #788892; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 30px; background: rgba(5,10,14,.92); }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 20px; right: 24px; border: 0; color: white; background: none; font-size: 2rem; cursor: pointer; }

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 78px; right: 0; left: 0; display: none; align-items: stretch; padding: 20px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: grid; }
  .nav a { padding: 10px 0; }
  .nav .btn { margin-top: 5px; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 700px; }
  .hero-stats { position: relative; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head, .cta .container { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding: 90px 0; }
  .grid-3, .grid-4, .gallery-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(5), .field.full { grid-column: auto; }
  .gallery-item img { height: 260px; }
  .image-frame::before { display: none; }
  .image-frame img { min-height: 330px; }
  .stat { padding: 18px 12px; }
  .footer-bottom { flex-direction: column; }
}
