:root {
  --gold: #c9a063;
  --gold-dark: #a9803f;
  --gold-light: #e0c48f;
  --black: #0b0b0c;
  --charcoal: #1c1c1d;
  --stone: #5d5d60;
  --cream: #ecebe9;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 4px solid var(--gold);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 56px; height: 56px; display: block; flex: none; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.3rem; font-weight: 800; letter-spacing: .1em; }
.brand-text small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }
nav a { text-decoration: none; margin-left: 18px; font-size: .95rem; opacity: .9; }
nav a:hover { opacity: 1; }
.nav.wrap { max-width: 1240px; }
.tab-soon {
  margin-left: 18px;
  font-size: .95rem;
  opacity: .6;
  cursor: default;
  border: 1px dashed rgba(255,255,255,.45);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.call-btn {
  background: var(--gold);
  color: var(--black);
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.call-btn:hover { background: var(--gold-dark); }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(8,8,9,.86) 0%, rgba(8,8,9,.62) 55%, rgba(8,8,9,.42) 100%),
    url("/images/hero.jpg") center 40% / cover no-repeat,
    #0b0b0c;
  color: var(--white);
  padding: 120px 0 110px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; max-width: 16ch; }
.hero p { margin: 18px 0 28px; max-width: 52ch; font-size: 1.1rem; opacity: .9; }
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  margin-right: 10px;
  margin-bottom: 10px;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Sections */
section { padding: 70px 0; }
section h2 { font-size: 1.9rem; margin-bottom: 8px; }
.lead { color: var(--stone); margin-bottom: 36px; max-width: 60ch; }
.alt { background: var(--white); }

/* Services */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 26px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.alt .card { background: var(--cream); box-shadow: none; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--stone); font-size: .98rem; }

/* Projects */
.photo {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #cfcdca;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--charcoal);
  font-weight: 600;
  font-size: .95rem;
}
.photo span { background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 4px; }

/* About */
.about { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center; }
.about p { margin-bottom: 14px; }
ul.checks { list-style: none; }
ul.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }

/* Contact */
.contact { background: var(--black); color: var(--white); }
.contact .lead { color: #c9c8c5; }
.contact-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.big-phone { font-size: 2rem; font-weight: 800; text-decoration: none; color: var(--gold-light); }
form { display: grid; gap: 12px; }
label { font-size: .9rem; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  font: inherit;
  margin-top: 4px;
}
textarea { min-height: 110px; resize: vertical; }
button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 14px;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--gold-dark); }
.note { font-size: .85rem; color: #aab0ac; }

footer { background: var(--black); color: #b5b3ae; border-top: 4px solid var(--gold); text-align: center; padding: 22px 0; font-size: .9rem; }

/* Multi-page additions */
nav a.active { opacity: 1; border-bottom: 2px solid var(--gold-light); padding-bottom: 3px; }

.page-hero {
  background: linear-gradient(135deg, #2a2a2c 0%, #151516 60%, #0b0b0c 100%);
  border-bottom: 3px solid var(--gold);
  color: var(--white);
  padding: 56px 0 50px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.page-hero p { margin-top: 10px; max-width: 56ch; opacity: .9; }

.more-link { display: inline-block; margin-top: 26px; font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* Vertical offer list */
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack .card {
  border-top: none;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 10px 32px;
  align-items: center;
  min-height: 170px;
  padding: 40px 36px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stack .card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.stack .card h3 { margin: 0; font-size: 1.7rem; line-height: 1.2; }
.stack .card p { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.stack .card .go { font-weight: 700; white-space: nowrap; border-bottom: 2px solid rgba(255,255,255,.7); padding-bottom: 2px; }
.stack .c1 { background: #121213; border-left: 8px solid var(--gold); }
.stack .c2 { background: #3b3b3e; }
.stack .c3 { background: #8f6a2e; }
.stack .c4 { background: #5a5a5e; }
.stack .c5 { background: #26262a; }
.stack .c6 { background: #7a5c28; }
.stack .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--black); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
@media (max-width: 800px) {
  .stack .card { grid-template-columns: 1fr; padding: 28px 24px; min-height: 0; }
  .stack .card .go { justify-self: start; }
}

.cta { background: var(--gold); color: var(--black); text-align: center; padding: 50px 0; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin-bottom: 20px; opacity: .9; }
.cta .btn-light { background: var(--black); color: var(--gold-light); }
.cta .btn-light:hover { background: var(--charcoal); }

/* About page: three columns side by side */
.page-hero.slim { padding: 32px 0 28px; }
.page-hero.slim h1 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.about-section { padding: 36px 0 56px; }
.about-section > .wrap { max-width: 1240px; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.about-cols .card { padding: 30px 28px; }
.about-cols .card h2 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 14px; }
.about-cols .card p { color: var(--charcoal); font-size: 1rem; margin-bottom: 14px; }
.about-cols .checks { margin-top: 18px; }
.about-cols .checks li { font-size: .98rem; }
.about-cols .social { flex-direction: column; align-items: flex-start; margin-top: 18px; }
@media (max-width: 900px) { .about-cols { grid-template-columns: 1fr; } }

/* Social links */
.social { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.social-btn:hover { background: var(--gold-dark); }
.social-btn .badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.foot-social { margin-bottom: 8px; }
.foot-social a { color: var(--gold-light); margin: 0 10px; font-weight: 600; text-decoration: none; }
.foot-social a:hover { text-decoration: underline; }

/* Photo gallery */
.group { margin-bottom: 52px; scroll-margin-top: 130px; }
.group:last-child { margin-bottom: 0; }
.group h2 { font-size: 1.5rem; margin-bottom: 16px; padding-left: 14px; border-left: 5px solid var(--gold); }

.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #d9dcd8;
  line-height: 0;
}
.tile[hidden] { display: none; }
.collage.n1 { grid-template-columns: minmax(0, 420px); }
.collage.n4 { grid-template-columns: repeat(2, 1fr); }
.backrow { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 8px; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.04); }

/* Photos on the home page */
.photo.has-img { padding: 0; position: relative; overflow: hidden; text-decoration: none; background: #d9dcd8; }
.photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo.has-img:hover img { transform: scale(1.04); }
.photo.has-img span { position: relative; margin: 14px; }

/* Photo viewer */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(8,8,9,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}
.lb.open { display: flex; }
.lb figure { max-width: min(1100px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--white); }
.lb img { max-width: 100%; max-height: 80vh; border-radius: 6px; object-fit: contain; }
.lb figcaption { font-weight: 600; text-align: center; }
.lb button {
  position: absolute;
  background: rgba(255,255,255,.16);
  color: var(--white);
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.lb button:hover { background: rgba(255,255,255,.3); }
.lb .x { top: 16px; right: 16px; }
.lb .prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 14px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) { .collage, .collage.n4 { grid-template-columns: repeat(2, 1fr); } .collage.n1 { grid-template-columns: minmax(0, 420px); } }
@media (max-width: 480px) {
  .collage { gap: 10px; }
  .lb .prev, .lb .next { top: auto; bottom: 18px; transform: none; }
}

@media (max-width: 1280px) {
  .nav { justify-content: center; }
  nav { order: 3; width: 100%; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 0; }
  nav a { margin: 0 12px; font-size: .92rem; }
  .tab-soon { margin: 0 12px; font-size: .88rem; }
}
@media (max-width: 900px) {
  header { position: static; }
  .group { scroll-margin-top: 20px; }
}
@media (max-width: 640px) {
  nav a { margin: 0 8px; }
  .tab-soon { margin: 0 8px; }
  .hero { padding: 70px 0; background-position: 60% 40%; }
  .page-hero { padding: 40px 0 36px; }
  section { padding: 50px 0; }
}

/* Trust band + extras */
.trust { background: var(--black); color: var(--gold-light); border-bottom: 3px solid var(--gold); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding: 14px 0; font-size: .92rem; font-weight: 700; letter-spacing: .03em; }
.trust li::before { content: "\2713\00a0"; color: var(--gold); }
.foot-lic { margin-bottom: 6px; color: var(--gold-light); font-weight: 600; }
.quote { border-left: 4px solid var(--gold); padding-left: 14px; font-style: italic; margin: 16px 0; }
.phones { display: flex; flex-direction: column; gap: 4px; }
.info-list { list-style: none; margin-top: 18px; }
.info-list li { margin-bottom: 8px; }
.info-list b { color: var(--gold-light); }
.mail-link { display: inline-block; margin-top: 4px; color: var(--gold-light); font-weight: 700; font-size: 1.2rem; }

/* Concrete replacement guide */
.flyer-block { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 36px; align-items: center; margin-top: 56px; padding-top: 48px; border-top: 3px solid var(--gold); }
.flyer-text h2 { font-size: 1.7rem; margin-bottom: 14px; }
.flyer-text p { margin-bottom: 14px; max-width: 52ch; }
.flyer { display: block; border-radius: 10px; overflow: hidden; line-height: 0; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.flyer img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) { .flyer-block { grid-template-columns: 1fr; } .flyer { order: 2; max-width: 420px; } }
.flyer-block.home { margin-top: 0; padding-top: 0; border-top: none; }
.flyer-section { background: var(--white); }
.flyer-text .more-link { margin-left: 8px; }
.contact-grid.with-flyer { grid-template-columns: 1fr minmax(260px, 400px); align-items: start; }
@media (max-width: 800px) { .contact-grid.with-flyer { grid-template-columns: 1fr; } .contact-grid.with-flyer .flyer { max-width: 400px; } }
.contact-split { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-split { grid-template-columns: 1fr; } .contact-split .flyer { max-width: 400px; } }

/* Pages with no photos yet */
.no-photos { background: var(--white); border-top: 4px solid var(--gold); border-radius: 10px; padding: 40px 32px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.no-photos h2 { margin-bottom: 10px; font-size: 1.5rem; }
.no-photos p { color: var(--stone); max-width: 56ch; margin: 0 auto; }
.foot-credit { margin-top: 4px; font-size: .8rem; opacity: .7; }

.more-btn { display: block; margin: 22px auto 0; background: var(--black); color: var(--gold-light); border: 2px solid var(--gold); padding: 12px 28px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.more-btn:hover { background: var(--charcoal); }
