@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: #0d1b2e;
  color: #e8edf4;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOPBAR ── */
.topbar {
  background: #b81c2e;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 7px 20px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep { color: rgba(255,255,255,.35); }

/* ── NAV ── */
nav {
  background: #091525;
  border-bottom: 2px solid #b81c2e;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo { height: 36px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(232,237,244,.55);
  padding: 8px 13px;
  border-radius: 3px;
  transition: color .2s, background .2s;
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(184,28,46,.15);
}
/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8edf4;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FLAG HEADER ── */
.flag-header {
  width: 100%;
  height: 380px;
  background: #091525 url('https://brecelectric.com/media/2019/08/header2.jpg') center 35% / cover no-repeat;
  border-bottom: 3px solid #b81c2e;
}

/* ── VAN BAR ── */
.van-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: #091525;
  border-bottom: 3px solid #b81c2e;
}
.van-side { height: 200px; overflow: hidden; }
.van-side img { width: 100%; height: 100%; object-fit: cover; }
.van-side.left img { object-position: right center; }
.van-side.right img { object-position: left center; }
.van-mid {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  min-width: 260px;
}
.van-mid-logo { height: 58px; filter: brightness(0) invert(1); margin-bottom: 10px; }
.van-tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #b81c2e;
  white-space: nowrap;
}
.van-page-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px);
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}
.van-page-title span { color: #b81c2e; }

/* ── LAYOUT ── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 72px 36px; }
.rule { height: 1px; background: rgba(255,255,255,.07); margin: 0 36px; }

/* ── SECTION LABELS ── */
.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #b81c2e;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: #b81c2e;
  display: inline-block;
  flex-shrink: 0;
}
.sec-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.sec-title span { color: #b81c2e; }
.sec-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232,237,244,.7);
  margin-top: 16px;
  max-width: 640px;
}

/* ── HERO (HOME) ── */
.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 36px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.hero-spec {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: rgba(232,237,244,.5);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-spec strong { color: #e8edf4; font-weight: 600; }
.hero-copy {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232,237,244,.7);
  margin-bottom: 16px;
}
.hero-copy strong { color: #fff; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

/* ── BUTTONS ── */
.btn-red {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #b81c2e;
  color: #fff;
  padding: 12px 26px;
  border-radius: 3px;
  display: inline-block;
  transition: background .2s;
}
.btn-red:hover { background: #8f1522; }
.btn-outline {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(232,237,244,.25);
  color: #e8edf4;
  padding: 12px 26px;
  border-radius: 3px;
  display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: #b81c2e; color: #fff; }
.btn-white {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #fff;
  color: #b81c2e;
  padding: 13px 32px;
  border-radius: 3px;
  display: inline-block;
  transition: background .2s;
}
.btn-white:hover { background: #f0f0f0; }

/* ── CONTACT PANEL (hero sidebar) ── */
.contact-panel {
  background: #091525;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid #b81c2e;
  border-radius: 4px;
  padding: 4px 0;
}
.cp-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cp-row:last-child { border-bottom: none; }
.cp-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.cp-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(232,237,244,.4);
  margin-bottom: 5px;
}
.cp-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.cp-val a { color: #fff; }
.cp-val a:hover { color: #b81c2e; }
.cp-val-sm {
  font-size: 14px;
  color: rgba(232,237,244,.6);
  line-height: 1.55;
}

/* ── SERVICES LIST ── */
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 36px;
}
.svc-item {
  background: #0d1b2e;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: background .2s;
}
.svc-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: #b81c2e;
  transition: width .25s;
}
.svc-item:hover { background: #112240; }
.svc-item:hover::after { width: 3px; }
.svc-bullet {
  width: 6px; height: 6px;
  background: #b81c2e;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.svc-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #e8edf4;
  line-height: 1.3;
}

/* ── PHOTO GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 185px);
  gap: 4px;
  margin-top: 36px;
}
.gal-item { overflow: hidden; border-radius: 2px; }
.gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.8) saturate(.75);
  transition: transform .4s ease, filter .3s;
}
.gal-item:hover img { transform: scale(1.06); filter: brightness(.95) saturate(1); }

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.team-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.team-card {
  background: #091525;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.team-card:hover { border-color: #b81c2e; transform: translateY(-3px); }
.team-photo {
  width: 100%; height: 210px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
}
.team-info { padding: 18px; }
.team-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b81c2e;
  margin-top: 4px;
}
.team-email {
  font-size: 13px;
  color: rgba(232,237,244,.45);
  margin-top: 10px;
  display: block;
}
.team-email:hover { color: #b81c2e; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232,237,244,.7);
  margin-bottom: 16px;
}
.about-copy p strong { color: #fff; }
.red-bar { width: 44px; height: 4px; background: #b81c2e; margin: 20px 0 24px; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(.85);
}
.about-img-accent {
  width: 52%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 4px solid #0d1b2e;
  filter: saturate(.85);
  margin-top: -50px;
  margin-left: auto;
}

/* ── CTA BAND ── */
.cta-band {
  background: #b81c2e;
  padding: 64px 36px;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 48px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin: 14px auto 28px;
  max-width: 480px;
  line-height: 1.6;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 52px;
  margin-top: 36px;
  align-items: start;
}
.contact-block { margin-bottom: 28px; }
.cb-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b81c2e;
  margin-bottom: 6px;
}
.cb-val {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
}
.cb-val a { color: #fff; }
.cb-val a:hover { color: #b81c2e; }
.cb-sub {
  font-size: 14px;
  color: rgba(232,237,244,.6);
  margin-top: 3px;
  line-height: 1.55;
}
.contact-form {
  background: #091525;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid #b81c2e;
  border-radius: 4px;
  padding: 32px;
}
.contact-form h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 22px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(232,237,244,.4);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  padding: 10px 13px;
  color: #e8edf4;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #b81c2e; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 13px;
  background: #b81c2e;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
}
.form-submit:hover { background: #8f1522; }

/* ── FOOTER ── */
footer {
  background: #060f1a;
  border-top: 3px solid #b81c2e;
  padding: 48px 36px 24px;
}
.foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.foot-logo { height: 26px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.foot-desc { font-size: 13px; line-height: 1.65; color: rgba(232,237,244,.4); max-width: 220px; }
.foot-vs { margin-top: 16px; }
.foot-vs img { height: 28px; opacity: .4; }
.foot-col h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b81c2e;
  margin-bottom: 12px;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 8px; }
.foot-col ul li a {
  font-size: 13px;
  color: rgba(232,237,244,.4);
  transition: color .2s;
}
.foot-col ul li a:hover { color: #e8edf4; }
.foot-col p { font-size: 13px; color: rgba(232,237,244,.4); line-height: 1.7; }
.foot-col p a { color: rgba(232,237,244,.4); }
.foot-col p a:hover { color: #e8edf4; }
.foot-bottom {
  max-width: 1140px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(232,237,244,.25);
  flex-wrap: wrap;
  gap: 6px;
}

/* ── ACCORDION ── */
.accordion { border: 1px solid rgba(255,255,255,.07); border-radius: 4px; overflow: hidden; }
.acc-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.acc-item:last-child { border-bottom: none; }
.acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  background: #0d1b2e;
  transition: background .2s;
  user-select: none;
}
.acc-header:hover { background: #112240; }
.acc-item.open .acc-header { background: #112240; border-left: 3px solid #b81c2e; }
.acc-bullet {
  width: 7px; height: 7px;
  background: #b81c2e;
  border-radius: 50%;
  flex-shrink: 0;
}
.acc-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #e8edf4;
  flex: 1;
}
.acc-arrow {
  color: #b81c2e;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #091525;
  border-left: 3px solid #b81c2e;
}
.acc-body p {
  padding: 24px 28px 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(232,237,244,.7);
}
.acc-body a { margin: 0 28px 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px; position: sticky; }
  .hamburger { display: flex; }
  .nav-links {
    display: none !important;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: #091525;
    border-bottom: 2px solid #b81c2e;
    flex-direction: column;
    padding: 8px 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 15px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 20px 52px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .gal-item:first-child { grid-column: span 2; grid-row: span 1; height: 200px; }
  .gal-item { height: 160px; }
  .contact-layout { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .van-bar { grid-template-columns: 1fr; }
  .van-side.right { display: none; }
  .van-mid { padding: 24px; border: none; min-width: unset; }
  .wrap { padding: 48px 20px; }
  .rule { margin: 0 20px; }
}
