/* Bishop Construction Inc. — preview stylesheet */
:root {
  --bg: #f7f4ef;
  --bg-alt: #efeae3;
  --surface: #ffffff;
  --ink: #2a2a28;
  --ink-muted: #5c5a55;
  --line: #ddd6cb;
  --accent: #6b7c6e;
  --accent-dark: #556557;
  --charcoal: #1f1f1d;
  --max: 1080px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(31, 31, 29, 0.06), 0 8px 24px rgba(31, 31, 29, 0.06);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--charcoal); }

.preview-banner {
  background: var(--charcoal);
  color: #f0ebe4;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}
.preview-banner strong { font-weight: 600; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}
.logo span { color: var(--accent); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-cta {
  display: none;
  text-decoration: none;
  background: var(--charcoal);
  color: #f7f4ef !important;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 560;
}
.nav-cta:hover { background: var(--accent-dark); }

@media (min-width: 720px) {
  .nav-cta { display: inline-block; }
}
@media (max-width: 560px) {
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.85rem; }
  .logo { font-size: 0.92rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  display: grid;
  align-items: end;
  color: #faf8f5;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,18,0.35) 0%, rgba(20,20,18,0.55) 45%, rgba(20,20,18,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  max-width: 40rem;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.6vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.hero p {
  margin: 0 0 1.5rem;
  color: rgba(250, 248, 245, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: #f7f4ef;
  color: var(--charcoal);
}
.btn-primary:hover { background: #fff; color: var(--charcoal); }
.btn-ghost {
  background: transparent;
  color: #f7f4ef;
  border-color: rgba(247, 244, 239, 0.45);
}
.btn-ghost:hover { border-color: #f7f4ef; color: #fff; }
.btn-dark {
  background: var(--charcoal);
  color: #f7f4ef;
}
.btn-dark:hover { background: var(--accent-dark); color: #fff; }

/* Trust */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.trust-inner span:not(:last-child)::after {
  content: "·";
  margin-left: 1.25rem;
  color: var(--line);
}

/* Sections */
section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.015em;
  font-weight: 650;
  color: var(--charcoal);
}
.section-lead {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
}
.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--charcoal);
  font-weight: 620;
}
.service-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Who / Area */
.two-col {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.panel h2 { margin-top: 0; }
.panel p { margin: 0; color: var(--ink-muted); }
.area-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.area-list li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.88rem;
  color: var(--ink);
}

/* Gallery */
.work-note {
  margin: -0.75rem 0 1.5rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 40rem;
}
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
}
.gallery figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* How it works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
  position: relative;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.65rem;
}
.steps strong {
  display: block;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.steps span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact-aside p { color: var(--ink-muted); margin: 0 0 1rem; }
.contact-aside .direct {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.contact-aside a { font-weight: 560; text-decoration: none; }
.helper {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
label .req { color: var(--accent-dark); }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(107, 124, 110, 0.35);
  border-color: var(--accent);
}
textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 0.35rem; border: none; }
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(247, 244, 239, 0.82);
  padding: 2.25rem 0 2.5rem;
  font-size: 0.92rem;
}
.site-footer a { color: #f7f4ef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}
.footer-trust { margin: 0 0 0.85rem; color: rgba(247, 244, 239, 0.65); }
.footer-note { margin: 0; max-width: 42rem; color: rgba(247, 244, 239, 0.55); font-size: 0.88rem; }
