:root {
  --brand-primary: #d62828;
  --brand-primary-hover: #a81f1f;
  --brand-dark: #1a1a1a;
  --color-soft: #f2f2f2;
  --color-muted: #6b6b6b;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
  padding-bottom: 64px; /* leave room for the mobile CTA bar */
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--brand-primary-ink, var(--brand-primary)); }

/* Header */
.site-header {
  border-bottom: 3px solid var(--brand-primary);
  background: var(--brand-header, var(--brand-dark));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.brand-logo {
  width: min(70vw, 240px);
  height: auto;
  display: block;
}

.brand-name {
  color: var(--brand-header-text, var(--color-white));
  font-size: 1.15rem;
  font-weight: 800;
}

.site-nav {
  display: none;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--brand-header-text, var(--color-white));
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover { color: var(--brand-primary); }

/* The logo image already includes the phone number, so this link only
   needs to show up once nav is visible, as a secondary tap target — not
   duplicated as its own competing block. */
.header-call {
  display: none;
  font-weight: 700;
  color: var(--brand-header-text, var(--color-white));
  text-decoration: none;
  white-space: nowrap;
  font-size: .95rem;
}

@media (min-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
  .brand-logo { width: 220px; }
  .site-nav { justify-content: center; }
  .header-call { justify-self: end; }
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .header-call { display: inline-block; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--brand-primary-text, var(--color-white));
}
.btn-primary:hover { background: var(--brand-primary-hover); }

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-text);
}

/* Hero */
.hero {
  background: var(--brand-dark);
  color: var(--brand-dark-text, var(--color-white));
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 .75rem;
}

.hero p {
  color: var(--brand-dark-text, #d9d9d9);
  opacity: .88;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  color: var(--brand-dark-text, var(--color-white)) !important;
  opacity: 1 !important;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .75rem !important;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 2.5rem 0; }
section h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.trust-strip {
  background: var(--color-soft);
  text-align: center;
  padding: 1.5rem 0;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem;
}

.service-card h3 {
  margin: 0 0 .5rem;
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.service-card p { margin: 0; color: var(--color-muted); }

.service-catchall {
  margin-top: 1rem;
  font-style: italic;
  color: var(--color-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.gallery-empty {
  color: var(--color-muted);
  font-style: italic;
}

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.project-card { color: var(--color-text); text-decoration: none; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: white; }
.project-card img { width: 100%; aspect-ratio: 4/3; display: block; object-fit: cover; }
.project-card span { display: block; padding: .75rem; }.project-card strong, .project-card small { display: block; }.project-card small { color: var(--color-muted); margin-top: .15rem; }
.gallery-filters { display: flex; gap: .4rem; overflow-x: auto; margin: 0 0 1rem; }.gallery-filters a { flex: none; color: var(--color-text); text-decoration: none; padding: .45rem .7rem; border: 1px solid #ccc; border-radius: 4px; }.gallery-filters a.active { background: var(--brand-dark); color: var(--brand-dark-text); border-color: var(--brand-dark); }
.project-heading { padding-bottom: .5rem; }.project-heading h1 { margin-bottom: .25rem; }.back-link { display: inline-block; margin-bottom: 1rem; }.project-service { color: var(--brand-primary); font-weight: 700; }.project-summary { max-width: 45rem; }
.project-media-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-top: 1rem; }.project-media-grid figure { margin: 0; }.gallery-open { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }.gallery-open img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }.project-media-grid figcaption { padding: .45rem 0; color: var(--color-muted); }
#lightbox { width: min(94vw, 1100px); max-height: 94vh; padding: 2.5rem 1rem 1rem; border: 0; border-radius: 4px; background: #111; color: white; }#lightbox::backdrop { background: rgb(0 0 0 / .85); }#lightbox img { display: block; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }#lightbox p { text-align: center; }.lightbox-close { position: absolute; top: .25rem; right: .5rem; color: white; background: none; border: 0; font-size: 2rem; cursor: pointer; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.project-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Forms */
.form-page {
  max-width: 32rem;
  margin: 0 auto;
}

form p { margin: 0 0 1rem; }

form label { display: block; font-weight: 600; margin-bottom: .3rem; }

form input[type=text],
form input[type=email],
form input[type=tel],
form select,
form textarea {
  width: 100%;
  padding: .6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

form ul.errorlist {
  color: var(--brand-primary);
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  font-size: .9rem;
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 10;
}

.mobile-cta-bar .btn {
  flex: 1;
  border-radius: 0;
  padding: 1rem .5rem;
}

.btn-call {
  background: var(--brand-dark);
  color: var(--brand-dark-text, var(--color-white));
}

.btn-quote {
  background: var(--brand-primary);
  color: var(--brand-primary-text, var(--color-white));
}

@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: var(--brand-dark-text, #ccc);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.25rem;
}

.footer-inner a { color: var(--brand-dark-text, var(--color-white)); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.about-band { background: var(--color-soft); }
.about-band p { max-width: 48rem; }
.credentials { font-weight: 700; }
.business-hours dl { display: grid; grid-template-columns: auto 1fr; max-width: 22rem; gap: .25rem 1rem; }
.business-hours dt { font-weight: 700; }
.business-hours dd { margin: 0; }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
