/* Shared page content (about, projects, home sections) — shell in site.css */
section { padding: 4.2rem 0; }

.sec-head { margin-bottom: 1.8rem; }
.sec-head h2 { font-size: clamp(2rem, 6vw, 3.4rem); margin-top: .35rem; }
.sec-head p { margin-top: .8rem; color: var(--muted); max-width: 56ch; }

#about { background: var(--cream); }
.about-grid { display: grid; gap: 1.6rem; }
.about-copy p { margin-bottom: 1rem; color: #333; max-width: 62ch; }
.about-copy a { color: #111; font-weight: 600; }

.facts { display: grid; gap: .7rem; margin-top: 1.2rem; }
.fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: .6rem;
  border-top: 1px solid #ddd6c4;
  padding-top: .7rem;
  font-size: .95rem;
}
.fact b {
  font-family: Oswald, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #7a7568;
}

.about-photo { position: relative; }
.about-photo img { width: 100%; height: 320px; object-fit: cover; }
.badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--yellow);
  color: var(--black);
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .7rem .85rem;
  font-size: .85rem;
}

#projects { background: #ece7da; }
.proj-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2dccb;
  display: block;
}
.card img { width: 100%; height: 220px; object-fit: cover; transition: transform .45s ease; }
.card:hover img { transform: scale(1.04); }
.card figcaption { padding: .85rem 1rem 1rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .25rem; color: var(--black); }
.card p { color: var(--muted); font-size: .88rem; }

#services { background: var(--black); color: #fff; }
#services .sec-head p { color: #c8c4b8; max-width: 56ch; }
#services .g-grid { margin-top: .25rem; }

.g-grid {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, 1fr);
}
.g-grid a,
.g-grid button.js-gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #2a2a2a;
}
.g-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: saturate(.92);
  transition: transform .4s ease, filter .3s ease;
}
.g-grid a:hover img,
.g-grid button.js-gallery-item:hover img {
  filter: none;
  transform: scale(1.04);
}

#process { background: var(--cream); }
.steps {
  display: grid;
  gap: .9rem;
  grid-template-columns: 1fr;
}
.step {
  border: 1px solid #ddd6c4;
  padding: 1.1rem 1rem;
  background: #fff;
}
.step em {
  font-style: normal;
  font-family: Oswald, sans-serif;
  color: var(--black);
  letter-spacing: .08em;
  font-size: .78rem;
}
.step h3 { margin: .35rem 0 .4rem; font-size: 1.3rem; color: var(--black); }
.step p { color: #555; font-size: .95rem; }

.partners { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.partners span {
  border: 1px solid #d5cebb;
  padding: .45rem .7rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: Oswald, sans-serif;
}

#cta-band {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #2b2b2b;
  padding: 3.5rem 0;
}
.cta-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-inner p { color: #c8c4b8; max-width: 40ch; margin-top: .5rem; }
.phone-xl {
  font-family: Oswald, sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-block;
  margin-top: .5rem;
}
.phone-xl:hover { filter: brightness(1.08); }

/* Gallery lightbox */
body.bid-open { overflow: hidden; }
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, .92);
}
.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
}
.gallery-lightbox-figure { margin: 0; }
.gallery-lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #111;
  border: 1px solid #2a2a2a;
}
.gallery-lightbox-figure figcaption {
  margin-top: .75rem;
  color: #c8c4b8;
  font-size: .92rem;
  text-align: center;
}
.gallery-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox-close:hover { color: var(--yellow); }
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, .85);
  border: 1px solid #333;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.gallery-lightbox-nav:hover { border-color: var(--yellow); color: var(--yellow); }
.gallery-prev { left: -3rem; }
.gallery-next { right: -3rem; }

@media (min-width: 640px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .g-grid img { height: 180px; }
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  .about-photo img { height: 420px; }
  .cta-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
  .g-grid { grid-template-columns: repeat(4, 1fr); }
  .g-grid img { height: 200px; }
}

@media (max-width: 899px) {
  .gallery-prev { left: .25rem; }
  .gallery-next { right: .25rem; }
}

/* Home #contact */
#contact { background: var(--black); color: #fff; }
#contact h2 { font-size: clamp(2.1rem, 7vw, 4rem); max-width: 14ch; }
.contact-grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.phone-xl {
  display: inline-block;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.1rem);
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: .02em;
  margin-top: .35rem;
}
.contact-list { list-style: none; display: grid; gap: .85rem; margin: 0; padding: 0; }
.contact-list li { border-top: 1px solid #2c2c2c; padding-top: .8rem; color: #e8e4d8; }
.contact-list small {
  display: block;
  font-family: Oswald, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8d8a80;
  font-size: .7rem;
  margin-bottom: .2rem;
}
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }
.quote-note { color: #c8c4b8; max-width: 42ch; margin-top: .4rem; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
