:root {
  --ink: #151515;
  --ink-soft: #26231f;
  --paper: #f5f1e8;
  --paper-2: #ebe4d7;
  --muted: #70695f;
  --line: #d7cfbf;
  --gold: #c99a3d;
  --gold-deep: #a97922;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20,20,20,.96);
  border-bottom: 1px solid rgba(201,154,61,.35);
  backdrop-filter: blur(12px);
  color: #fff;
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--gold); color: var(--ink); font-weight: 900; letter-spacing: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.brand strong { display: block; font-size: 15px; letter-spacing: .2px; }
.brand small { display: block; color: #bdb7ad; font-size: 11px; }
nav { display: flex; align-items: center; gap: 23px; font-size: 13px; font-weight: 800; }
nav > a:not(.nav-cta) { color: #ded8ce; }
nav > a:hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--gold); padding: 9px 14px; color: var(--gold); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: url('assets/gallery-05.jpeg') center 52% / cover no-repeat;
  transform: scale(1.015);
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,12,12,.93) 0%, rgba(12,12,12,.79) 43%, rgba(12,12,12,.33) 72%, rgba(12,12,12,.48) 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; padding: 110px 0 90px; }
.hero-copy-wrap { max-width: 720px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 2.2px; font-size: 12px; font-weight: 900; color: var(--gold-deep); }
.eyebrow.light { color: #e1bc6b; }
h1 { font-size: clamp(54px, 7.3vw, 96px); line-height: .9; letter-spacing: -4.5px; margin: 0 0 25px; }
h1 span { color: #dfb65f; }
.hero-copy { max-width: 650px; font-size: 19px; color: #e3ded6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 14px 21px; font-weight: 900; cursor: pointer; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.gold { background: var(--gold); color: var(--ink); }
.button.gold:hover { background: #dfb65f; }
.button.ghost { border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(0,0,0,.12); }
.button.dark { background: var(--ink); color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; font-weight: 800; color: #d5cec4; }

.hero-card {
  background: rgba(18,18,18,.88);
  border: 1px solid rgba(201,154,61,.5);
  padding: 38px;
  backdrop-filter: blur(8px);
  box-shadow: 15px 15px 0 rgba(201,154,61,.75);
}
.hero-card-rule { width: 60px; height: 4px; background: var(--gold); margin-bottom: 26px; }
.card-top { font-size: 11px; letter-spacing: 3px; font-weight: 900; color: #d8b46a; margin: 0 0 18px; }
.hero-card h2 { font-size: 34px; line-height: 1.05; margin: 0 0 18px; letter-spacing: -1.2px; }
.hero-card p { color: #c8c2b8; margin-bottom: 24px; }
.hero-card a { color: #e4be6d; font-weight: 900; font-size: 13px; }

.section { padding: 95px 0; }
.section-heading-row { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; margin-bottom: 45px; }
.section-title { max-width: 780px; font-size: clamp(36px, 5vw, 60px); line-height: 1.01; letter-spacing: -2.4px; margin: 0; }
.section-intro, .gallery-heading p, .reviews-heading p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cec4b1; border: 1px solid #cec4b1; }
.service-card { background: #f8f4eb; padding: 34px; min-height: 255px; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.service-card:hover::after { transform: scaleX(1); }
.service-number { font-size: 12px; font-weight: 900; color: var(--gold-deep); }
.service-card h3 { font-size: 24px; margin: 30px 0 8px; }
.service-card p { color: #615a50; margin: 0; }

.gallery-section { background: #171717; color: #fff; padding: 100px 0; }
.gallery-heading { display: grid; grid-template-columns: 1fr 390px; gap: 60px; align-items: end; margin-bottom: 36px; }
.light-title { color: #fff; }
.gallery-heading p { color: #bdb6aa; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; }
.gallery-item {
  padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: #222;
  position: relative;
}
.gallery-item::after { content: "View"; position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(201,154,61,.55); padding: 5px 9px; font-size: 11px; font-weight: 900; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.portrait img { object-position: center 28%; }

.quality-section { background: #26231f; color: #fff; padding: 105px 0; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.quality-section p { color: #c9c2b7; max-width: 600px; }
.gold-rule { width: 80px; height: 4px; background: var(--gold); margin: 30px 0 20px; }
.quality-note { font-size: 18px; }
.check-list { border-top: 1px solid #5a544c; }
.check-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #5a544c; }
.check-list b { font-size: 12px; color: #d2a64e; }
.check-list strong { color: #fff; }

.reviews-section { background: #f3ede2; }
.reviews-heading { display: grid; grid-template-columns: 1fr 410px; gap: 60px; align-items: end; margin-bottom: 36px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { background: #fff; border: 1px solid var(--line); padding: 30px; min-height: 220px; box-shadow: 0 12px 30px rgba(50,40,20,.06); }
.review-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; }
.review-card p { font-size: 20px; line-height: 1.45; margin: 0 0 20px; }
.review-card span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.review-placeholder { opacity: .76; border-style: dashed; }
.review-note { color: #7c7469; font-size: 12px; margin-top: 16px; }

.warranty { background: var(--gold); }
.warranty-box { border: 2px solid var(--ink); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 35px; background: rgba(255,255,255,.14); }
.warranty .eyebrow { color: #5e4618; }
.warranty h2 { font-size: 44px; line-height: 1; margin: 0 0 15px; letter-spacing: -1.5px; }
.warranty p { max-width: 700px; color: #443719; }

.quote-section { padding: 100px 0; background: #ece5d9; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.phone { display: inline-block; font-size: 32px; font-weight: 900; margin: 16px 0; border-bottom: 3px solid var(--gold); }
.service-area { color: #625b51; }
.quote-form { display: grid; gap: 16px; background: #fff; border-top: 5px solid var(--gold); padding: 30px; box-shadow: 0 18px 45px rgba(55,43,22,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 900; }
.quote-form input, .quote-form textarea {
  width: 100%; display: block; margin-top: 7px; padding: 14px;
  border: 1px solid #bdb4a5; background: #fbfaf7; resize: vertical; color: var(--ink);
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid rgba(201,154,61,.35); border-color: var(--gold-deep); }
.submit-button { width: 100%; min-height: 50px; }
.form-message { min-height: 25px; margin: 0; font-size: 13px; color: #555; }
.form-message.success { color: #2d6d3b; font-weight: 800; }
.form-message.error { color: #a33a31; font-weight: 800; }
.form-small { font-size: 11px; color: #756e64; margin: -2px 0 0; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

footer { background: #111; color: #fff; padding: 38px 0; border-top: 1px solid rgba(201,154,61,.4); }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-wrap p { color: #aaa; margin: 3px 0 0; font-size: 12px; }
.footer-contact { display: flex; flex-direction: column; text-align: right; }
.footer-contact a { font-size: 20px; font-weight: 900; color: #e2ba69; }
.footer-contact span { color: #999; font-size: 11px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 28px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: min(95vw, 1280px); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 18px; right: 22px; border: 0; background: transparent; color: #fff; font-size: 42px; cursor: pointer; line-height: 1; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 680px; }
  .hero-grid, .quality-grid, .quote-grid, .section-heading-row, .gallery-heading, .reviews-heading { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; box-shadow: 10px 10px 0 rgba(201,154,61,.75); }
  .cards, .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  h1 { letter-spacing: -2.8px; }
  .hero { min-height: 720px; }
  .hero-grid { padding: 82px 0 64px; }
  .hero-shade { background: linear-gradient(180deg, rgba(12,12,12,.78) 0%, rgba(12,12,12,.92) 64%, rgba(12,12,12,.96) 100%); }
  .hero-card { padding: 28px; }
  .section, .gallery-section, .quality-section, .quote-section { padding: 72px 0; }
  .cards, .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .warranty-box { display: block; padding: 30px; }
  .warranty .button { margin-top: 14px; }
  .footer-wrap { align-items: flex-start; }
}


/* Free call/text quote actions */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}
.quote-call-button {
  display: inline-flex;
  margin-top: 10px;
  justify-content: center;
}
@media (max-width: 640px) {
  .contact-actions .button,
  .quote-call-button {
    width: 100%;
  }
}

.footer-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-socials a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #c79a3b;
  border-radius: 999px;
  color: #e7c56a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.footer-socials a:hover {
  background: #c79a3b;
  color: #111;
}
.footer-copyright {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  font-size: .9rem;
  opacity: .8;
}

/* Steel fences & gates */
.steel-section { background: #101010; color: #fff; padding: 105px 0; border-top: 1px solid rgba(201,154,61,.35); border-bottom: 1px solid rgba(201,154,61,.25); }
.steel-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.steel-copy > p:not(.eyebrow) { color: #c9c2b7; max-width: 610px; font-size: 18px; }
.steel-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 30px 0; }
.steel-points span { border-left: 3px solid var(--gold); padding: 8px 0 8px 12px; font-weight: 800; color: #e9e3d9; }
.steel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steel-feature { position: relative; min-height: 480px; overflow: hidden; border: 1px solid rgba(201,154,61,.4); box-shadow: 16px 16px 0 rgba(201,154,61,.28); }
.steel-feature img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; display: block; }
.steel-feature-label { position: absolute; left: 18px; bottom: 18px; background: rgba(0,0,0,.82); border: 1px solid rgba(201,154,61,.65); padding: 10px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; font-weight: 900; }

/* Categorized gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.gallery-filter { appearance: none; border: 1px solid #645c52; background: transparent; color: #e6dfd5; padding: 10px 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; font-size: 11px; cursor: pointer; transition: .2s ease; }
.gallery-filter:hover, .gallery-filter.active { background: var(--gold); border-color: var(--gold); color: #151515; }
.gallery-item.is-hidden { display: none; }

@media (max-width: 900px) {
  .steel-grid { grid-template-columns: 1fr; gap: 42px; }
  .steel-feature { min-height: 400px; }
  .steel-feature img { min-height: 400px; }
}
@media (max-width: 620px) {
  .steel-section { padding: 72px 0; }
  .steel-points { grid-template-columns: 1fr; }
  .steel-actions .button { width: 100%; }
  .steel-feature, .steel-feature img { min-height: 330px; }
  .gallery-filters { gap: 8px; }
  .gallery-filter { flex: 1 1 calc(50% - 8px); }
}


/* Bradshaw Gates logo in site header */
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #f1efe8;
  border: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 760px) {
  .brand-logo { width: 46px; height: 46px; }
}

/* 2026 gallery + footer usability refresh */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 30px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: #202020;
  border-radius: 14px;
}
.gallery-filters { margin: 0; gap: 10px; }
.gallery-filter {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #5c574f;
  border-radius: 999px;
  background: #151515;
  color: #eee8de;
  font-size: 12px;
  letter-spacing: .7px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.gallery-filter:hover { border-color: var(--gold); background: #26231f; color: #fff; }
.gallery-filter.active { background: var(--gold); border-color: var(--gold); color: #121212; box-shadow: 0 7px 20px rgba(201,154,61,.18); }
.gallery-status { margin: 0; color: #bdb6aa; font-size: 13px; white-space: nowrap; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 24px;
}
.gallery-item,
.gallery-item.wide,
.gallery-item.tall {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.gallery-item::before {
  content: attr(data-title);
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 16px 14px;
  text-align: left;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  pointer-events: none;
}
.gallery-item::after {
  content: "View photo";
  top: 12px;
  right: 12px;
  bottom: auto;
  opacity: 1;
  transform: none;
  border-radius: 999px;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(5px);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover { border-color: rgba(201,154,61,.8); transform: translateY(-2px); }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-item.is-hidden { display: none; }

.site-footer { padding: 54px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  gap: 44px;
  align-items: start;
}
.footer-brand-name { display: block; font-size: 24px; margin-bottom: 8px; }
.footer-brand-block p { margin: 6px 0; color: #aaa; }
.footer-area { max-width: 340px; line-height: 1.55; }
.footer-nav h3, .footer-connect h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.footer-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-link-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  color: #ddd6cb;
  font-weight: 750;
  font-size: 13px;
  background: #171717;
}
.footer-link-grid a:hover { border-color: var(--gold); color: #fff; background: #211e19; }
.footer-phone { display: inline-block; color: #e2ba69; font-size: 25px; font-weight: 900; margin-bottom: 14px; }
.footer-socials { margin: 0; display: grid; gap: 9px; }
.footer-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 9px;
  padding: 9px 12px;
}
.footer-socials a:first-child { background: var(--gold); color: #111; border-color: var(--gold); }
.footer-copyright { margin-top: 36px; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .gallery-section { padding: 64px 0; }
  .gallery-heading { margin-bottom: 24px; gap: 18px; }
  .gallery-toolbar { position: sticky; top: 76px; z-index: 8; display: block; padding: 10px; margin-bottom: 20px; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
  .gallery-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-filter { width: 100%; min-height: 44px; padding: 10px 8px; }
  .gallery-status { margin-top: 9px; text-align: center; font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall { aspect-ratio: 4 / 3; }
  .gallery-item::before { font-size: 14px; padding: 48px 14px 14px; }
  .gallery-item::after { font-size: 10px; }

  .site-footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand-block { grid-column: auto; }
  .footer-link-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-link-grid a { min-height: 48px; }
  .footer-phone { font-size: 28px; }
  .footer-socials { grid-template-columns: 1fr; }
}
